Repository navigation
Description
Outcome
Subagent, Parallel, and Team work participates in the new session-owned history/lifecycle, with reconstructible accepted facts and honest interruption instead of an unused extension abstraction or accidental authority inheritance.
Parent: #2659.
Scope
Implement the registered in-process delegation record/reconstruction paths required for first cutover. Keep root/child session ownership, run/tool correlation, extension operation state, cancellation/settlement, output ownership, and source provenance explicit. Include Team creation directly through the API, not only tool-originated Teams.
Acceptance
- Real Subagent, Parallel, and Team scenarios exercise their registered record handlers through the new kernel, including multiple children and direct API Team entry.
- Discarding live objects and reconstructing accepted history restores established relationships/operation facts without spawning workers, invoking tools/models/hooks, or inventing an originating tool call.
- Root ownership/deletion and interruption prevent stale child advancement or unauthorized access; independently finalized conversations/resources keep their own lifecycle rules.
- Read-only versus direct-write children preserve filesystem authority, no-FS restrictions, isolation, and parent mutation barriers.
- Child results/progress cannot rewrite accepted invocation identity, expose private/withheld payloads, or gain system/permission authority from stored history or provenance.
- Failure, cancellation, late result, parent loss/deletion, and resource-cleanup tests distinguish established facts from unknown external effects and unavailable resources.
Dependencies and boundaries
Build on session, executable coordinator/loop, recovery, production ownership, and applicable governance/read-model contracts. Use narrow owned capability seams; do not export the legacy aggregate or a broad private capability bundle as a shortcut. No distributed/networked extension framework, automatic replay of delegation, preserved same-active-run/tree replica handoff, cross-run background execution, or learning-system redesign. Any first-cutover feature deferral/removal needs an explicit product decision rather than silent omission.
Design context: extensions and execution boundaries.
Activity