Skip to content

Reserve and bind prepared follow-up assignments on completed children (T33) #181

Closed

Description

@erickb336

Sage task T33

Extract prepared continuation admission for #88 and #138. A completed native child can receive a new run only after core saves its exact task target and reserves capacity again. Keep each assignment and terminal receipt separate so an old stop cannot release later work.

Preserve the task, role, project, owner session and epoch. Require a completed predecessor, a new run, a saved run target and exact task-message hash. Permit one linear continuation per predecessor across concurrent requests. Bind it only to the same child and a new turn. A resumed lead may keep its existing team; every slot and child limit still applies.

Use named preparation options for the immutable run target and optional predecessor. Existing initial preparation calls and journal records remain valid. The adapter remains responsible for native dispatch/delivery evidence and current logbook truth. Initial-spawn failure evidence cannot release a continuation.

Scope: core admission, role ownership policy, public exports, run-target validation, documentation and provider tests. No shared state-tool or Claude-hook edits. Native follow-up wiring remains a later component.

Acceptance: new tests compared with detached main, old behavior preserved, build/check/full tests and exact-head CI pass, and two clean code/security/QA review cycles on the final commit. Installed automatic Sage remains disabled.

Activity

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