Skip to content

Read verified Codex child reports (T23) - #162

Merged
erickb336 merged 2 commits into
mainfrom
codex/t23-verified-reports
Oct 13, 2026
Merged

erickb336 merged 2 commits into
mainfrom
codex/t23-verified-reports

Conversation

@erickb336

@erickb336 erickb336 commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Closes #161
Sage task T23

A Codex parent can inspect its assigned child's verified final report through sage_read_report. The reader checks native parent identity, current assignment, initial task hash, terminal evidence, transcript provenance, required fields, and the exact report hash. Sage off permits inspection of preserved work.

The reader can reconcile terminal admission for the requested assignment. It leaves other children unchanged. It does not accept findings, record verdicts, finish runs, or mark tasks successful. Later assignments and durable receipts remain separate work. Automatic Sage remains incomplete; see #88.

Changes

  • Add the shared bounded report parser and Codex report inspection adapter.
  • Expose a separate parent tool with authenticated native caller identity.
  • Add packaged parser, report, provenance, ownership, interruption, and two-child regression tests.
  • Extend the isolated native CLI probe with --sage-report.
  • Edit source under packages/ and regenerate the provider plugins.

Validation

All tests and native probes use fake ps, pgrep, and kill first on PATH.

  • npm run build: built 273 files.
  • npm run check: all checks pass.
  • git diff --check: pass.
  • node --test scripts/codex-server.test.mjs: 85 tests, 85 pass, 0 fail.
  • All ten new tests fail on detached main 610d2a6. Main lacks the new module, parser, and tool, so these are API prerequisite failures, not proof of a previous behavioral regression.
  • The added two-child regression fails on pre-repair commit 475b5be: missing sibling evidence blocks a valid report. It passes after the repair and also proves a terminal sibling remains unchanged.
  • node scripts/probe-codex-lifecycle.mjs --sage-report: native CLI 0.160.0 verifies exact report identity and hash, unchanged admission after inspection, and temporary-profile cleanup. Responses are simulated.
  • npm test on final head 569a2dd: 1,067 tests, 1,067 pass, 0 fail, 0 cancelled, 0 skipped.
  • Exact-head CI 38395393942: passed on 569a2dd.

Reviews

Code, security, and QA cycle 1 are clean on 569a2dd. The earlier sibling-reconciliation finding was repaired. Cycle 2 is also clean on the same unchanged commit.

Not verified

Real-model operation, installed automatic Sage, full policy composition, durable report acceptance, and later-assignment reports. The native probe uses a temporary profile and simulated responses.

@erickb336
erickb336 marked this pull request as ready for review October 13, 2026 12:15
@erickb336
erickb336 merged commit 9b6c4ba into main Oct 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read verified Codex child reports (T23)

1 participant