Skip to content

Dispatch saved assignments to an existing Codex child (T54) #218

Closed

Description

@erickb336

Sage task T54
Parent work: #88 and #138. Depends on #217.

After a child completes an assignment, the chief must be able to send that same child a new saved assignment. The native follow-up must match the saved recipient and message, retain ownership, and reserve capacity only once.

Scope:

  • Prepare a follow-up with the completed predecessor's assignment ID.
  • Return the exact saved child UUID and message.
  • Refuse follow-up preparations through initial spawn.
  • Verify owner, epoch, task, role, predecessor completion, exact recipient/message and authenticated pending native call.
  • Revalidate current run/review targets after evaluator approval, before the continuation reservation.
  • Consume the existing atomic continuation reservation through native policy.

Acceptance:

  • A valid follow-up uses one reservation and retains the original child.
  • Wrong recipient/message, unfinished predecessor, foreign ownership and invalid targets refuse without capacity changes.
  • Changed or held work during awaited evaluation refuses.
  • Denied evaluator creates no reservation; repeated dispatch does not run again.
  • Tests use valid records so unrelated validation cannot mask their intended refusal.
  • New tests fail detached main; build/check/full suite and two clean code/security/QA cycles pass.
  • A narrow real-CLI probe with simulated responses verifies the consumed follow-up path and cleanup.

Use existing core admission, native follow-up observation and T53 capture APIs. Keep active-child run enforcement, task/run creation, review acceptance and broader recovery separate. No changes to Claude's active functions. This unit does not enable installed automatic Sage.

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