Repository navigation
cortex: accept numbered partial review files for a rolling slot (#341) - #7
Merged
Merged
Conversation
The Cortex board is rolling, but its review file was not: `check` demanded one `batches/reviews/<slot>.md` per record, so the first sitting closed the slot and a human who ruled on the members that had landed could only rule on a later arrival by editing a ledger file that is already someone's evidence. `batch_problems` now resolves `reviews/<slot>-r<N>.md` (N >= 2) to the record `batches/<slot>.md` for the member check, accepts either the file's own stem or the slot's in the title, and refuses `-r0`/`-r1` — the first review is `<slot>.md`. A record's `- review:` key repeats, one line per review file, and every line must resolve (`_record_values`); the old check saw only the first. `rule --batch <slot>` needed no change: it validates the record, never the review file, so a ruling traced to a `-r2` sitting already names the slot. Doctrine: `batches/AGENTS.md` (a slot closes when nothing is left in a board state, not when the first review lands), `batches/reviews/AGENTS.md` (the numbered-file grammar and the title rule), `batches/packets/TEMPLATE.md` (the submit URL commits to the next free review path), `REFERENCE.md` and schema decision 57. Cites PyAutoBrain#341. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VsKeuX83FNGjLqs2axLHeR
This was referenced Sep 3, 2026
feat(batch): batch status box on both dashboards + rolling science review
PyAutoLabs/PyAutoBrain#341
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Cortex board is rolling, but its review file was not:
checkdemanded onebatches/reviews/<slot>.mdper record, so the first sitting closed the slot and a later arrival could only be ruled on by editing a ledger file that is already someone's evidence.batch_problemsresolvesreviews/<slot>-r<N>.md(N >= 2) to the recordbatches/<slot>.mdfor the member check, accepts either the file's own stem or the slot's in the title, and refuses-r0/-r1(the first review is<slot>.md).- review:key repeats, one line per review file, and every line must resolve; the old check saw only the first.rule --batch <slot>needed no change: it validates the record, never the review file.batches/AGENTS.md(a slot closes when nothing is left in a board state, not when the first review lands),batches/reviews/AGENTS.md(numbered-file grammar and title rule),batches/packets/TEMPLATE.md(submit URL commits to the next free review path),REFERENCE.md, schema decision 57.Part of PyAutoLabs/PyAutoBrain#341 (batch phase 6: batch status box on both dashboards + rolling science review). Merge order: this PR first, then PyAutoBrain, then PyAutoMind — the Brain's numbered-review collect path must not land before
cortex.py checkaccepts it.Test plan
python -m pytest tests/in PyAutoCortexpython scripts/cortex.py checkclean on the worktree🤖 Generated with Claude Code
https://claude.ai/code/session_01SgtS7NhqeziqgxKfSiMzRL