Skip to content

Preserve native nested report handoff verification on main (T6) #248

Closed

Description

@erickb336

Sage task T6 in the Codex manual logbook. Task IDs are local to the provider logbook.

Purpose

Parent: #88. Preserve a native lead → reviewer → chief report-handoff check on main. The broader integration already contains this fixture, while its production prerequisites have reached main through separate PRs.

This task extracts verification for existing behavior. It does not claim a new orchestration feature, complete automatic Sage, or real-model review quality.

Scope

Start from latest main. Extract the integration's scripts/fixtures/codex-native/nested-report.mjs and the --sage-nested-report route. Adapt main's existing fixture setup narrowly. Do not copy the entire fixture split or unmerged production changes.

Use an isolated profile and fixed simulated responses with the actual pinned Codex runtime. Create a lead run and its reviewer run against an actual temporary branch target. Exercise nested native identities, exact saved briefs, reviewer completion, parent-owned report recording, chief inspection, run endings and review acceptance.

Acceptance

  • Verify both native identities, their saved assignments and parent relationships through actual events and protected transcripts.
  • Verify exact report bytes and immutable receipts through the consumed production tools.
  • Finish only the matching runs; record one review verdict and preserve an unchanged retry.
  • Keep task, gates and merge readiness unchanged. No real merge or push occurs in the fixture.
  • Add refusal-sensitive controls for foreign ownership and substituted receipts. Demonstrate that weakening those checks makes the controls fail.
  • Preserve existing routes and tests. Avoid importing sage_update_task, the legacy review writer, or unmerged policy rearrangements.
  • Run build, check, focused tests, the exact-head native route, and the full suite with fake process tools first on PATH.
  • Prove each new test's baseline behavior on detached main; distinguish missing fixture APIs from production regressions. Preserve failed captures and use bounded deterministic barriers.
  • Complete two clean code/security/QA cycles on the final head. End every owned process and record cleanup.
  • Document measured evidence and limits. Simulated responses do not prove real-model judgment, all workflow routes, installed activation or the real-project pilot required by Missing feature: automatic Sage workflows and gated autopilot in Codex #88.

Ownership

Claude #140 owns the shared task-set/replan, merge-check and related mutation work. Do not edit those bodies or Claude hooks/roles. #239, #243 and #246 remain separate dependencies. This extraction must not weaken their required guarantees.

Use branch codex/t6-nested-report-evidence. The PR title ends in (T6) and its body starts with Closes #<issue> and Sage task T6.

Activity

  1. added
    codex
    on Oct 15, 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