Skip to content

Connect saved Codex reports to their recorded runs (T52) #213

Closed

Description

@erickb336

Part of #88 and #138. Sage task T52.

Connect an authenticated saved child report to its exact existing logbook run. This is a consumed runtime component; it does not enable installed automatic Sage.

Scope:

  • Shared state operation to publish exact report bytes and finish only the matching run.
  • Fixed external logbook configuration supplied by the launcher, not a tool request.
  • Codex report receipt validation and the registered sage_finish_run tool.
  • Preserve tasks, verdicts, admission and mode. Do not add review acceptance or task transitions in this change.

Acceptance:

  • Validate the chief, assignment, report hash, task, run, role and recovery proof before writing.
  • Identical retries retain the original result; conflicting evidence and unrelated terminal records refuse.
  • Recover a crash between report publication and run update without rewriting evidence.
  • Refuse redirected paths, foreign actors, malformed input and missing proof.
  • Run the consumed native report probe on the final extracted commit, with simulated responses explicitly identified. Check actual saved records and cleanup.
  • Prove each new test fails on detached main; distinguish absent API from behavioral failures.
  • Build/check/full tests and two clean code/security/QA cycles on the final head, then exact-head CI.

Source exists in the integration branch's finishReportedRun and runtime/run-report.mjs. Extract the minimum complete tool route and supporting configuration. Claude #140 does not edit run completion; avoid its active task-set, replan and mergeCheck logic. No real-model or automatic activation claim is part of this component.

Activity

  1. added
    codex
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions