Repository navigation
Save verified Codex child report receipts (T24) - #164
Merged
Merged
Conversation
erickb336
marked this pull request as ready for review
October 13, 2026 12:34
This was referenced Oct 13, 2026
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 #163
Sage task T24
A Codex parent can now save the exact report it inspected and read it after the native transcript is unavailable.
sage_record_reportrequires the child's name and the inspected text hash. Exact retries return the original receipt; conflicting evidence fails.The journal verifies the completed binding, current owner, task, run, required fields, and report hash. A separate recovery proof binds that receipt to native provenance before storage. A proof without a receipt grants no report authority. Recording a report does not accept findings, finish a run, create a verdict, or mark task success. Automatic Sage remains incomplete; see #88.
Changes
--sage-receipt.packages/sources and regenerateplugins/output. Claude's active hook and state tool are unchanged.Validation
All tests and probes put fake
ps,pgrep, andkillfirst on PATH.npm run build: built 274 files.npm run check: all checks pass.git diff --check: pass.scripts/providers.test.mjsandscripts/codex-server.test.mjs: 7 tests, 7 pass, 0 fail.9b6c4ba. Main lacks the receipt APIs and recording tool. These prove missing prerequisites; they are not a claim about a prior behavioral regression.node scripts/probe-codex-lifecycle.mjs --sage-receipt: CLI 0.160.0 exits zero; 12 simulated responses include nine parent requests and two child requests. One exact receipt survives child-transcript removal; inspection and retry leave the journal unchanged. The temporary profile is removed.node scripts/probe-codex-lifecycle.mjs --sage-report: existing inspection route passes, preserves admission state, and cleans up.npm teston final head232eab7: 1,074 tests, 1,074 pass, 0 fail, 0 cancelled, 0 skipped.232eab7.Reviews
Code, security, and QA completed two clean review cycles on unchanged commit
232eab7.Not verified
Installed automatic Sage, real-model behavior, full policy composition, later assignments, run completion, and review acceptance. Native probes use a temporary profile and simulated responses.