Repository navigation
Finish recorded runs from saved Codex reports (T52) - #215
Merged
Merged
Conversation
erickb336
marked this pull request as ready for review
October 14, 2026 03:19
This was referenced Oct 14, 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 #213
Sage task T52
The chief can finish an existing logbook run from its child's authenticated saved report. The registered sage_finish_run tool takes an assignment ID and exact report hash. Launcher configuration fixes the external logbook location; the tool request cannot choose it.
Shared core publishes exact report bytes before updating the matching run. Identical retries preserve the first timestamp and result. Conflicting evidence and unrelated terminal records refuse. This does not change task state, record review verdicts, release admission or change Sage mode.
Configuration version 3 adds the fixed logbook root; versions 1 and 2 retain their existing routes. The extended native report probe consumes the real MCP tool and checks the saved report, matching run, unchanged other state and stable retry.
Head:
30411c5248d597aa0468cc5f4b40c81bd6fbb4f8, based on mainae0e261.Validation:
npm run build: passed; generated provider copies committed.npm run check: all checks pass.node scripts/probe-codex-lifecycle.mjs --sage-report: exited 0 on Codex CLI 0.160.0. Exact report bytes, one finished run, unchanged retry/tasks/verdicts/admission/mode. One native child completed; the temporary profile was removed. Responses were simulated.npm test -- --test-concurrency=1: tests 1202, pass 1202, fail 0, cancelled 0, skipped 0.All repository tests and probes use fake ps, pgrep and kill first on PATH. The native probe uses simulated model responses and must not be read as real-model or installed automatic Sage evidence. No real-project pilot, complete policy or automatic activation is claimed. Claude #140's task transitions and merge guards remain untouched.