diff --git a/README.md b/README.md index c77e98c..fed093e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ green, you go pick a task on the Mind): - **[PyAutoMind Dashboard](https://pyautolabs.github.io/PyAutoMind/)**: planned and active development tasks on the scientist's mind. - **[PyAutoHeart Dashboard](https://pyautolabs.github.io/PyAutoHeart/)**: the health of every repository, rolled into the authoritative GREEN/STALE/YELLOW/RED release verdict. - **[PyAutoHands Dashboard](https://pyautolabs.github.io/PyAutoHands/)**: what shipped — the released library versions and the release train's recent runs. +- **[PyAutoDNA Dashboard](https://pyautolabs.github.io/PyAutoDNA/)**: software stacks — observed environments, compatibility decisions and validated upgrade campaigns. - **[PyAutoMemory Dashboard](https://pyautolabs.github.io/PyAutoMemory/)**: the scientist's long-term knowledge — the reading queue, citation work and each sub-wiki's maturity. - **[PyAutoEyes Dashboard](https://pyautolabs.github.io/PyAutoEyes/)**: what the software shows — every figure the libraries draw on realistic data, one row per visualization project, with freshness against the latest release. @@ -69,6 +70,7 @@ PyAutoScientist is organised as a software organism whose repositories mirror th | Hands | [PyAutoHands](https://github.com/PyAutoLabs/PyAutoHands) | Executes builds and releases: packages libraries, generates notebooks, creates tags and publishes releases to PyPI. | | Pulse | [PyAutoPulse](https://github.com/PyAutoLabs/PyAutoPulse) | The dashboard of how fast the PyAuto libraries run: it gathers each library's profiling results into one board, so run times and how they change across releases can be seen in one place. | | Insight | [PyAutoInsight](https://github.com/PyAutoLabs/PyAutoInsight) | Coordinates inference campaigns and their tasks in one place, showing results, diagnostics, provenance and missing evidence across projects while keeping scientific conclusions with the human and Cortex. | +| DNA | [PyAutoDNA](https://github.com/PyAutoLabs/PyAutoDNA) | Records software-stack specifications, tracks what local, RAL and CI environments run, and coordinates validated upgrades with compatibility evidence and rollback history. | | Nerves | [PyAutoNerves](https://github.com/PyAutoLabs/PyAutoNerves) | Provides the configuration and serialization layer connecting shared conventions across the scientific libraries and workspaces. | | Gut | [PyAutoGut](https://github.com/PyAutoLabs/PyAutoGut) | Holds stale branches, dead code and other condemned material as recoverable Git references before it is permanently removed. | diff --git a/scripts/organism_board.py b/scripts/organism_board.py index 20eb184..96dbc8d 100644 --- a/scripts/organism_board.py +++ b/scripts/organism_board.py @@ -121,6 +121,8 @@ def theme(): ("Mind", "PyAutoMind", "tasks — pick what to work on", "Use the start-dev skill. "), ("Heart", "PyAutoHeart", "health — is the organism ok?", "Use the health skill."), ("Hands", "PyAutoHands", "releases — what shipped", "Use the release skill."), + ("DNA", "PyAutoDNA", "software stacks — versions, compatibility and upgrades", + "Review PyAutoDNA software stacks and compatibility. Compare observed environments with recommended stacks, explain drift and propose validated upgrades. Read the repository AGENTS.md first."), ("Memory", "PyAutoMemory", "knowledge — papers and wikis", "Use the memory skill. "), ) diff --git a/tests/test_organism_board.py b/tests/test_organism_board.py index 484aa63..effd728 100644 --- a/tests/test_organism_board.py +++ b/tests/test_organism_board.py @@ -192,3 +192,20 @@ def test_missing_evidence_is_never_green_or_zero(): "status": "unknown", "label": "Heart unknown"} assert ob.section_summaries(_snap("STALE · 65"))["dashboards"]["status"] == "stale" assert ob.section_summaries(_snap("WHATEVER"))["dashboards"]["status"] == "unknown" + + +def test_dna_headline_is_owned_by_dna_and_unavailable_stays_unknown(monkeypatch): + def get(url): + if "/PyAutoDNA/" in url: + return json.dumps({"message": "2 observed · 4 unknown", "color": "lightgrey"}) + raise OSError("unavailable") + monkeypatch.setattr(ob, "_get", get) + snapshot = ob.collect("Example") + dna = next(row for row in snapshot["boards"] if row["name"] == "DNA") + assert dna["headline"] == "2 observed · 4 unknown" + assert dna["url"] == "https://example.github.io/PyAutoDNA/" + assert "PyAutoDNA" in dna["door"] + assert "2 observed" in ob.render(snapshot, "html") + monkeypatch.setattr(ob, "_get", lambda url: (_ for _ in ()).throw(OSError("offline"))) + missing = next(row for row in ob.collect("Example")["boards"] if row["name"] == "DNA") + assert missing["headline"] is None