Repository navigation
Verify native nested report handoff (T6) - #249
Merged
Merged
Conversation
9 tasks
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.
Closes #248
Sage task T6
Result
Preserves the existing native lead → reviewer → chief report handoff on main. It adds verification only: no production policy, installed activation, task-update writer, or Claude-owned changes.
Final head:
fef171bfac8543468dd2dd993d3be30447811df3.The pinned CLI 0.160.0 route uses fixed simulated responses and an isolated temporary branch. Actual production tools prepare both children, record the lead-owned reviewer report, let the chief inspect the exact saved receipt, finish only the matching runs, and accept one pinned verdict. Acceptance retry leaves the logbook and admission unchanged. Protected native transcripts verify both briefs and parent identities. Task, gates, and merge readiness remain unchanged.
Validation
npm run build: 306 files.npm run check: pass.node scripts/probe-codex-lifecycle.mjs --sage-nested-report: exit 0. Two child identities, two saved reports, two finished runs, one verdict; no malformed events, rejected requests, or unexpected completed items. Complete bounded capture and successful cleanup.npm test -- --test-concurrency=1: 1,413 passed, zero failed, skipped, or cancelled; exit 0 on this exact head.node --test --test-name-pattern='nested report probe|report inspection refuses|T43: recorded report proof|T59: review acceptance rejects' scripts/codex-server.test.mjsAll execution uses fake process commands first on PATH and the fixed hardware-query guard. Raw evidence remains local.
The five new groups on detached main fail because the fixture helper is absent: a helper-file load failure covering four groups and a missing-module failure in the public contract test. These are not five production behavioral regressions. Isolated mutations that remove the issuer check or exact receipt-reference check fail the intended refusal assertions.
Two initial native captures exposed fixture mistakes: an incorrect tool name/message-ID comparison, then invalid review findings syntax and an incorrect nested hook actor assumption. Both failed captures remain separate. Public MCP registry and review-parser checks now cover the repaired contracts; the successful final run retains all identity and receipt assertions.
Limits
Responses are simulated. This does not prove real-model review judgment, every workflow, installed automatic Sage, or the real-project pilot required by #88. No merge or push occurs inside the fixture.