Repository navigation
Description
Missing behavior
The terminal admission component records when a child stops, but the merged Codex runtime does not yet expose a verified child report to its parent. A completion record alone must not make report text trusted.
Sage task T23. This is the next report-intake component for #88, after #159.
Scope
Add a parent operation to inspect an initial assignment's completed report. It can first reconcile terminal admission for that assignment; it does not reconcile other children. Resolve the exact current owner, prepared task, reservation, native child and turn, then verify report provenance from the saved protected transcript. Parse the shared required report fields and return exact assignment identity and a report hash. Preserve the report as evidence to inspect; do not treat its claims as a verdict or task success.
Use the provider-neutral core report parser and the separate Codex preparation server. Do not edit Claude's active hook or shared state-tool work. Later-assignment integration, durable report receipts, run completion, and review acceptance remain separate components.
Acceptance
- Only the verified parent reads its own assigned child's report.
- Native completion, initial task hash, transcript identity and report provenance must match the same assignment and turn.
- A stopped callback or a reported status label is insufficient. Interruption does not provide a completed report.
- Missing, malformed, forged, stale, ambiguous, or changed evidence refuses the read.
- Required fields and supported status values are validated. The returned hash identifies the exact report text.
- Reading a report does not accept its findings, create a verdict, finish a run, or change task state.
- Sage off permits inspection of preserved assigned work without enabling new work.
- Packaged MCP tests cover normal and rejected reads and fail on detached main.
- Build, check, full tests, and two clean code/security/QA cycles pass before merge.
Limits
This does not enable installed automatic Sage. The required-hook failure and #94 remain activation blockers. Automatic Sage remains incomplete; see #88.
Activity