From 0b4471dec08cf4900bc6000190f1f3124fa1fec6 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 8 Oct 2026 14:08:53 +0100 Subject: [PATCH 1/2] feat: register Broca assistant evidence board --- AGENTS.md | 1 + ORGANISM.md | 12 ++++++++++++ board/_theme.py | 10 ++++++++++ config/policy.yaml | 4 ++++ tests/test_board_theme.py | 19 +++++++++++++++++-- 5 files changed, 44 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index da39a259..ac50757b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,6 +17,7 @@ Canonical boundaries live in `PyAutoBrain/ORGANISM.md`; the full body map | Organ | Repo | Role | |-------|------|------| | **Brain** | PyAutoBrain | Reasoning/orchestration layer; how work is decomposed and routed; the specialist agents. | +| **Broca** | PyAutoBroca | Assistant evaluation history, upkeep evidence, collection receipts and a private dashboard. Brain interprets; Mind tracks fixes; public assistants remain independent. | | **Mind** | PyAutoMind | Intent, goals, priorities, workflow state; every task starts as a markdown prompt here. | | **Cortex** | PyAutoCortex | The Cortex — what is true in the science: the body map (`projects.yaml`) and one ledger per science project (runs, results, learnings, where to pick up); the science mirror of the Mind. | | **Memory** | PyAutoMemory | Long-term scientific/software/project knowledge (see science pointer below). | diff --git a/ORGANISM.md b/ORGANISM.md index f2d1c356..8af2d0b9 100644 --- a/ORGANISM.md +++ b/ORGANISM.md @@ -149,3 +149,15 @@ provenance. Mind tracks implementation tasks. Project campaigns retain their original stack identity; adoption changes the default for new work only through an explicit operation. Dashboard refreshes collect and render, never install, submit compute or mutate live environments. + +## Broca — assistant evidence + +PyAutoBroca owns assistant evaluation history, collection receipts and the private +assistant upkeep board. Public assistants retain definitions and reproducible +runners, remain independently usable, and never depend on Broca. Brain interprets +evidence and routes accepted changes through Mind; Cortex retains science +records, Heart retains readiness. Benchmarks and maintenance inventory are +separate evidence kinds. Missing or incomparable results never establish a pass. +Broca's board consumes the shared presentation contract; its private registration +must not create a public Pages link. Public export requires separately reviewed +sanitization. Broca does not automatically launch model or HPC campaigns. diff --git a/board/_theme.py b/board/_theme.py index 9daeebbf..675b6004 100644 --- a/board/_theme.py +++ b/board/_theme.py @@ -67,6 +67,11 @@ # hero: (lift, base) — the hero's radial gradient, echoing each logo's # vignette: a tinted lift behind the wordmark falling to near-black. ORGANS = { + "broca": { + "organ": "Broca", "tagline": "Evaluate. Maintain. Improve.", + "ink_light": "#8b3e68", "ink_dark": "#f4a5ce", "glow": "#f4a5ce", + "hero": ("#351329", "#09030a"), + }, "brain": { "organ": "Brain", "tagline": "Reason. Plan. Decide.", @@ -191,6 +196,10 @@ # are ~1KB of path data, stay sharp on any screen, and take the accent. # Keep them that way — a mark is a logo's glyph in line art, not a rendering. MARKS = { + "broca": ( + '' + '' + ), # Brain — a circuit brain: two lobed hemispheres either side of a spine, # each branching into elbowed, node-tipped traces, inside a ring. "brain": ( @@ -835,6 +844,7 @@ def navigation_cards(items, label="Board sections", *, columns=None): _PROMPT_HEADINGS = { + "broca": ("Improve your assistants with ", "Broca", ""), "brain": ("Plan your next move with your ", "Brain", ""), "mind": ("Put your ", "Mind", " to work"), "cortex": ("Explore science with your ", "Cortex", ""), diff --git a/config/policy.yaml b/config/policy.yaml index b6328c67..1cff1d00 100644 --- a/config/policy.yaml +++ b/config/policy.yaml @@ -130,6 +130,7 @@ test_witness: pyautopulse: PyAutoPulse/tests pyautoinsight: PyAutoInsight/tests pyautodna: PyAutoDNA/tests + pyautobroca: PyAutoBroca/tests # PyAutoGut has no test suite — deliberately absent, so the conductor's # "strengthen tests first" advice is correct there rather than noise. @@ -160,6 +161,9 @@ board: # carries; each renderer skips its own entry). Parsed by board/_board.py # (yaml) and by the Mind renderer's footer (stdlib regex on this block — # keep one `name: Repo` pair per line). + # Private boards are registered separately and never added to public Pages links. + private_boards: + broca: PyAutoBroca boards: brain: PyAutoBrain mind: PyAutoMind diff --git a/tests/test_board_theme.py b/tests/test_board_theme.py index 0dd15052..9d1bc10e 100644 --- a/tests/test_board_theme.py +++ b/tests/test_board_theme.py @@ -102,8 +102,23 @@ def test_navigation_escapes_owner_text_and_follows_the_banner(): re.M).group(1), re.M) +PRIVATE_BOARDS = re.findall( + r"^ (\w+): \S+$", + re.search(r"^ private_boards:\n((?: \w+: \S+\n)+)", + (BRAIN_HOME / "config" / "policy.yaml").read_text(), + re.M).group(1), re.M) + + +def test_private_boards_have_identity_without_public_navigation(): + assert "broca" in PRIVATE_BOARDS + assert not set(PRIVATE_BOARDS) & set(POLICY_BOARDS) + for key in PRIVATE_BOARDS: + assert key in _theme.ORGANS and key in _theme.MARKS + assert _theme.prompt_heading(key) + + def test_every_declared_board_has_a_complete_palette_entry(): - for key in POLICY_BOARDS: + for key in POLICY_BOARDS + PRIVATE_BOARDS: assert key in _theme.ORGANS, key o = _theme.ORGANS[key] for field in ("organ", "tagline", @@ -446,7 +461,7 @@ def test_the_nerves_board_is_in_the_family_and_readable(): def test_every_theme_entry_but_the_umbrella_is_a_declared_board(): # The reverse of the palette check: a palette for a board nobody declares # is a footer chip that can never appear. - assert set(_theme.ORGANS) <= set(POLICY_BOARDS) | {"organism"} + assert set(_theme.ORGANS) <= set(POLICY_BOARDS + PRIVATE_BOARDS) | {"organism"} def test_legacy_dashboard_prompts_preserve_arguments_and_paths(): From fa051175135ffcfd82a8b9d947e7b7fc9398f568 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 8 Oct 2026 14:15:21 +0100 Subject: [PATCH 2/2] docs: clarify Broca public repository and unhosted board --- AGENTS.md | 2 +- ORGANISM.md | 10 +++++----- config/policy.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ac50757b..3f4c5a34 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,7 +17,7 @@ Canonical boundaries live in `PyAutoBrain/ORGANISM.md`; the full body map | Organ | Repo | Role | |-------|------|------| | **Brain** | PyAutoBrain | Reasoning/orchestration layer; how work is decomposed and routed; the specialist agents. | -| **Broca** | PyAutoBroca | Assistant evaluation history, upkeep evidence, collection receipts and a private dashboard. Brain interprets; Mind tracks fixes; public assistants remain independent. | +| **Broca** | PyAutoBroca | Assistant evaluation history, upkeep evidence, collection receipts and an operational dashboard. Brain interprets; Mind tracks fixes; public assistants remain independent. | | **Mind** | PyAutoMind | Intent, goals, priorities, workflow state; every task starts as a markdown prompt here. | | **Cortex** | PyAutoCortex | The Cortex — what is true in the science: the body map (`projects.yaml`) and one ledger per science project (runs, results, learnings, where to pick up); the science mirror of the Mind. | | **Memory** | PyAutoMemory | Long-term scientific/software/project knowledge (see science pointer below). | diff --git a/ORGANISM.md b/ORGANISM.md index 8af2d0b9..2219b66a 100644 --- a/ORGANISM.md +++ b/ORGANISM.md @@ -152,12 +152,12 @@ submit compute or mutate live environments. ## Broca — assistant evidence -PyAutoBroca owns assistant evaluation history, collection receipts and the private -assistant upkeep board. Public assistants retain definitions and reproducible +PyAutoBroca owns assistant evaluation history, collection receipts and the +assistant upkeep board. Broca is a public repository; committed evidence must be +suitable for publication, with raw transcripts and private project data excluded. Public assistants retain definitions and reproducible runners, remain independently usable, and never depend on Broca. Brain interprets evidence and routes accepted changes through Mind; Cortex retains science records, Heart retains readiness. Benchmarks and maintenance inventory are separate evidence kinds. Missing or incomparable results never establish a pass. -Broca's board consumes the shared presentation contract; its private registration -must not create a public Pages link. Public export requires separately reviewed -sanitization. Broca does not automatically launch model or HPC campaigns. +Broca's board consumes the shared presentation contract; its unhosted board registration +must not create a broken public Pages link. Hosted publication is a separate step. Broca does not automatically launch model or HPC campaigns. diff --git a/config/policy.yaml b/config/policy.yaml index 1cff1d00..7eb9297f 100644 --- a/config/policy.yaml +++ b/config/policy.yaml @@ -161,7 +161,7 @@ board: # carries; each renderer skips its own entry). Parsed by board/_board.py # (yaml) and by the Mind renderer's footer (stdlib regex on this block — # keep one `name: Repo` pair per line). - # Private boards are registered separately and never added to public Pages links. + # Unhosted/private boards are registered separately, without public Pages links. private_boards: broca: PyAutoBroca boards: