Repository navigation
docs: the check-in door and the .cortex/pull.json contract - #11
Merged
Merged
Conversation
The Brain's cortex conductor gained one door — `pyauto-brain cortex checkin` — that pulls every active project through its own `sync_cli`, scores every live phase, moves what came back, re-renders the board, pushes the ledger where the rule allows and summarises by project. This is the Cortex's half of it: the pointer a reader arrives at, and the contract the door writes against. - `REFERENCE.md` gains a `## Check-in` section: the flags, the sweep rule (`status: active` plus any project owning a live phase), the per-project failure isolation, a table of every `.cortex/pull.json` key and who writes it, why the file is merged and never clobbered (autolens_profiling's own `hpc/sync` writes the `checkpoints`/`runs` tables that make the checkpoint leg scorable at all), and the push rule — `gh auth status` plus a clean `main`, `claude/checkin-<date>` from a fresh `origin/main`, explicit paths, a code-classified diff refused before the branch is cut. - `README.md` and `AGENTS.md` name `checkin` as the one command rather than `collect --pull --apply`, which is now the scorer it composes. The manifests live outside this repository, in the science trees, so `cortex.py check` says nothing about them — deliberately: this repo holds rulings, not mirrors. Stacked on #10 — retargets to main when it merges. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6
Base automatically changed from
feature/cortex-checkin-p1-shed-review-slot
to
main
September 4, 2026 14:19
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.
Phase 2 of the
cortex-checkinepic (PyAutoLabs/PyAutoBrain#349) — the Cortex half. Stacked on #10 — retargets to main when it merges. The door itself is PyAutoLabs/PyAutoBrain#350, stacked on PyAutoBrain#348.Docs only. No phase, no ruling, no
projects.yamlrow is touched.What changed
REFERENCE.md— a new## Check-insection. The flags ofpyauto-brain cortex checkin, the sweep rule (status: active, plus any project owning asubmitted | runningphase), the per-project pull-failure isolation, and a table of every.cortex/pull.jsonkey with who writes it:project,pulled_at,cmd,rc,phases_liveschema,checkpoints,runsPlus why the file is merged, never clobbered —
autolens_profiling's ownhpc/syncwrites thecheckpoints/runstables that are the only window onto the RAL-onlysearch_internal/checkpoint.hdf5, so overwriting them would send the scorer's checkpoint leg back toUNOBSERVABLEeverywhere — and the push rule (gh auth status+ a cleanmain,claude/checkin-<date>from a freshorigin/main, explicit paths, a code-classified diff refused before the branch is cut, nevermain, never--force).The manifests live outside this repository, in the science trees, so
cortex.py checksays nothing about them and no check rule was added — deliberate: this repo holds rulings, not mirrors. The check-in's own<project>: pulled → <path>note is the record that one was written.README.md/AGENTS.md— checking in ispyauto-brain cortex checkin --apply(after--dry-run), notcollect --pull --apply;collectis named as the scorer it composes.AGENTS.mdgains thecheckinrow in the verb table and notes that each pulled project gets a manifest.python3 scripts/cortex.py check: OK.python3 -m pytest -q: 115 passed.dashboard --check(rendered with this branch's Brain worktree): current — the renderer is untouched.🤖 Generated with Claude Code
https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6