From 1abd4035f84f2668ed22fc32fbc1fe2c683ef3a3 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 3 Sep 2026 19:39:46 -0400 Subject: [PATCH 1/2] maintenance: retire the science review slot from the batch conductor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deletes the batch conductor's `cortex` member kind whole — the rolling board, its record and packet, the review chips, partial reviews and carry-forward — and the cortex conductor's `plan` verb and gate-grading wrapper. Phase 1 of the `cortex-checkin` epic (PyAutoCortex#9). Dev batching is untouched. In the three days the second kind existed the conductor opened 0 slots, 0 rulings came from a packet, 0 partial reviews were filed and `review-minutes-actual` was never written; all 22 rulings were reached in a live session. Gate grading saw 2 gated refs and flipped 0. `cortex collect` is decoupled from the batch record and becomes the check-in: `--slot` is gone, the default scope is every phase in `submitted | running`, `--phase REL` narrows, and `apply_ops` still moves `running → pulled → awaiting-ruling` (rehearsed on a copy, refused if `cortex.py check` would not pass) and writes nothing else. `census`, `dashboard` and every payload builder phase 2 and 3 compose are untouched. The `KINDS` extension point stays: a member kind is a scorer plus a block builder plus a claim, which is what made the second board cheap to try and cheap to remove. _batch.py −865 lines, _cortex.py −233, _status.py −80. pytest 864 passed (903 collected before). Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6 --- AGENTS.md | 2 +- agents/conductors/batch/AGENTS.md | 116 +-- agents/conductors/batch/_batch.py | 968 ++---------------------- agents/conductors/batch/_integration.py | 3 +- agents/conductors/batch/_status.py | 105 +-- agents/conductors/cortex/AGENTS.md | 78 +- agents/conductors/cortex/_cortex.py | 360 ++------- agents/conductors/cortex/cortex.sh | 12 +- bin/pyauto-brain | 4 +- docs/organs/cortex.md | 34 +- skills/COMMANDS.md | 2 +- skills/batch/batch.md | 32 +- skills/cortex/cortex.md | 33 +- tests/_cortex_board.py | 16 +- tests/test_batch_freeze.py | 8 - tests/test_batch_kinds.py | 722 ------------------ tests/test_batch_status.py | 82 +- tests/test_cortex_conductor.py | 249 ++---- 18 files changed, 320 insertions(+), 2506 deletions(-) delete mode 100644 tests/test_batch_kinds.py diff --git a/AGENTS.md b/AGENTS.md index 4a634fc5..e1abe23d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -141,7 +141,7 @@ the `/` slash commands. | `workspace` | The voice — the organism's expressive function: plan/survey workspace + HowTo example authorship (workspace\|howto registers) — WorkspaceDecision (never writes) | `bin/pyauto-brain workspace` | | `eyes` | The perceptive function — the organism's sense of its own appearance: survey/review a visualization workspace's figure surface, critiques route to intake/start_dev — EyesSurvey/EyesReviewSurface (never renders, never edits) | `bin/pyauto-brain eyes` | | `profiling` | The proprioceptive function — the organism's sense of its own effort: campaign/ingest/triage plans over the autolens_profiling workspace — ProfilingDecision | `bin/pyauto-brain profiling` | -| `cortex` | The learning function — where the organism finds out what is true: reason over PyAutoCortex (phases, gates, rulings), render its board, grade the gates, admit ready phases into a slot — never submits a run, never writes a ruling | `bin/pyauto-brain cortex` | +| `cortex` | The learning function — where the organism finds out what is true: reason over PyAutoCortex (phases, gates, rulings), render its board, and check in on the runs — pull, score against the pre-registered witness, move what came back to awaiting-ruling; never submits a run, never writes a ruling | `bin/pyauto-brain cortex` | | `hygiene` | The maintenance function — the organism's sense of its own upkeep: code-quality debt (dev-loop cost + tidiness), delegating fixes — HygieneDecision | `bin/pyauto-brain hygiene` | | `clone` | The Mitosis Agent: partition the reference assistant, analyze the domain, emit the CloneDecision; --apply --mode lightweight-seed delegates the seed birth to Build; 'clone sync' patches the reference's generic-file diff onto the born siblings (dry run by default; rejected hunks are a human decision) | `bin/pyauto-brain clone` | | `build` | Coordinate execution: consult the vitals faculty, then delegate to PyAutoHands | `bin/pyauto-brain build` | diff --git a/agents/conductors/batch/AGENTS.md b/agents/conductors/batch/AGENTS.md index c9f4307e..1d35ad1d 100644 --- a/agents/conductors/batch/AGENTS.md +++ b/agents/conductors/batch/AGENTS.md @@ -154,25 +154,12 @@ pyauto-brain batch collect --fetch # laptop: `gh pr view` per PR pyauto-brain batch collect --integration # laptop: merge every member's head into one worktree root pyauto-brain batch collect --evidence ev.json --apply # the one form that writes pyauto-brain batch collect --out report.md --json - -pyauto-brain batch plan --kind cortex [--cortex DIR] [--cortex-budget N] -pyauto-brain batch plan --kind cortex --apply --review-at \ - [--slot ] [--shift