Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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). |
Expand Down
12 changes: 12 additions & 0 deletions ORGANISM.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 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.
10 changes: 10 additions & 0 deletions board/_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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": (
'<path stroke="currentColor" d="M13 8h22a8 8 0 0 1 8 8v13a8 8 0 0 1-8 8H23l-10 7v-7a8 8 0 0 1-8-8V16a8 8 0 0 1 8-8Z"/>'
'<path d="M12 24h5l3-8 6 16 4-10 3 2h4"/>'
),
# Brain — a circuit brain: two lobed hemispheres either side of a spine,
# each branching into elbowed, node-tipped traces, inside a ring.
"brain": (
Expand Down Expand Up @@ -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", ""),
Expand Down
4 changes: 4 additions & 0 deletions config/policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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).
# Unhosted/private boards are registered separately, without public Pages links.
private_boards:
broca: PyAutoBroca
boards:
brain: PyAutoBrain
mind: PyAutoMind
Expand Down
19 changes: 17 additions & 2 deletions tests/test_board_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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():
Expand Down
Loading