Repository navigation
Description
Missing behavior
The prepared Codex runtime saves exact task instructions, but its composed tool policy cannot bind a child from native delivery evidence. An MCP start callback is not reliable for every native child.
Sage task T20. This is the next runtime component for #88 and #138.
Scope
Verify the initial child's native identity, active turn and exact admitted message before its tool policy runs. Require the matching parent dispatch result. Save the transcript reference, retain capacity on missing evidence, and refuse terminal or replaced turns before and after awaited policy evaluation.
Edit Codex runtime sources and packaged tests only. No Claude hook or shared state-tool changes.
Acceptance
- A prepared child binds through its first tool without a SubagentStart callback.
- Missing results, changed task bytes, foreign identity, links and stale turns refuse tool evaluation.
- A valid retry after a matching result creates one binding.
- A turn that ends during awaited evaluation cannot receive permission.
- Packaged MCP and regression checks pass; each new test fails on detached main.
- Build, check, full tests and two clean code/security/QA cycles pass before merge.
Limits
This component does not complete later assignments, reports, capacity release, logbook target checks, compaction recovery or installed automatic Sage. Automatic Sage remains incomplete; see #88.
Current status
Draft PR #156 is at c5df3b04ed99b20f4de7999096fc436b9783c96b. Two code, security and QA review cycles are clean. Build and check pass; the local full suite passes all 1,024 tests on the same executable code before a trailing-blank-line cleanup. All six focused checks pass on the final head. The same six tests fail on detached main; the PR states the input-support prerequisite limit. Final-head CI is in progress. Installed automatic Sage remains disabled.
Activity