Repository navigation
cortex conductor: collect reads the pull manifest's checkpoints table (PyAutoMind#382) - #331
Merged
Merged
Conversation
… (PyAutoMind#382) `collect`'s checkpoint leg had one lookup — `runs[<jobid>]` — and one of the two science projects cannot fill it: its pull carries no job id at all. The manifest (PyAutoCortex decision 51) therefore always writes a `checkpoints` table keyed by the run directory relative to the pull root, which is the only name both sides can say, and `leg_checkpoint` gains that as its third lookup: `runs[ident]` → `runs[stem]` → `checkpoints[<run dir rel>]`. A `bytes: 0` entry fails the leg, exactly like a zero `checkpoint_bytes`. A manifest with no `schema` key is read as the phase-2 shape, so nothing already written breaks. `agents/conductors/cortex/AGENTS.md` and `skills/cortex/cortex.md` describe the new shape. Three tests added; `pytest tests -q` 744 passed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SESCzU1FcwktEAdTZfmf3j
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
Phase 3 of the
cortex-birthepic (PyAutoLabs/PyAutoMind#382):cortex collectreads the pull manifest's v1checkpointstable. Lookup orderruns[ident]→runs[stem]→checkpoints[<run dir relative to the pull root>];bytes: 0is FAIL; a manifest withoutschemastill reads as the phase-2 shape. The manifest is now written by the projects' own sync CLIs (subhalo_validation main; autolens_profiling PR), so the checkpoint leg stops being UNOBSERVABLE wherever a run is in flight.Scripts Changed
agents/conductors/cortex/_cortex.py— manifest reader +_manifest_run_dir_keyagents/conductors/cortex/AGENTS.md,skills/cortex/cortex.md— docstests/test_cortex_conductor.py(+3)Test Plan
pytest tests -q→ 744 passed; tenant firewall OKGenerated by the PyAutoLabs agent workflow.