Skip to content

Verify reused Codex lead recovery after a rejected child spawn (T62) #235

Closed

Description

@erickb336

Sage task T62

Part of #88. Verify that a reused Codex lead can recover a rejected child spawn without losing assignment history. The relevant production recovery readers already exist on main; integration contains the missing regression and native route. This is verification of existing behavior unless a concrete defect is found.

Scope

Extract the resumed-lead regression and the narrow --sage-followup-failed-child diagnostic from the integration work. Edit test/probe sources and packages/sage-codex/runtime/dispatch-failure.md; build generated copies. Do not alter Claude's active #140 functions.

Acceptance

  1. Complete one lead assignment, then reuse the same native lead for a second assignment.
  2. Refuse its specialist spawn through the known unknown-model preflight response.
  3. Require the original native lead identity and exact failed-call evidence. Refuse foreign-parent evidence and a root attempting to claim the lead's failure.
  4. Release only the rejected child reservation, once. Preserve the two lead bindings and their assignment history.
  5. Cover on/off modes, repeated reconciliation and a valid replacement reservation. Label synthetic capacity checks clearly.
  6. Run the exact-head native probe with simulated model responses, final counts and temporary-profile cleanup.
  7. Run build/check/full tests, exact-head CI and two independent clean code/security/QA cycles. Check new tests on detached main; if they pass, report existing-behavior coverage and use targeted negative mutations.

Limits

This does not establish active-child process restart, cross-session ownership transfer, real-model behavior or installed automatic Sage. Keep #88 open. Start from the latest main after the current task-reader component; never use this proof to claim missing production functionality was newly added.

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