Skip to content

feat(multiagent): add continuable subagents and cold resume (DSH 2.10) - #215

Merged
Patel230 merged 1 commit into
mainfrom
feat/dsh-harness-rfc-2.10-continuable-subagents-cold-resume
Aug 20, 2026
Merged

feat(multiagent): add continuable subagents and cold resume (DSH 2.10)#215
Patel230 merged 1 commit into
mainfrom
feat/dsh-harness-rfc-2.10-continuable-subagents-cold-resume

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

Port of DSH subagent/subagent continuable children, resident turn routing, and cold resume into Hawk.

Key Changes

  • session: Added ParentSessionID and DelegationDepth to Session schema with durable persistence and recovery across JSONL and WAL layers.
  • multiagent: Implemented ContinuableManager managing durable child subagents with FIFO follow-up turns.
  • multiagent: Implemented process-local Activation epoch for resident children with inbox turn queue.
  • multiagent: Implemented cold resume reconstructing absent subagents from persisted session log + SubagentDescriptorFact.
  • multiagent: Enforced strict direct-parent authority verification against durable header (rejecting imposter / self-targeting callers with ErrUnauthorizedCaller).
  • multiagent: Added ListChildren and ListDescendants hierarchy queries.
  • tests: Comprehensive test coverage for continuable lifecycle, FIFO order, cold resume, authority rejection, depth monotonicity, and hierarchy listing.

Gated by gofmt, go vet, go test -race, make lint, and layer boundary guards.

Port of DSH subagent/subagent continuable children, resident turn routing, and cold resume into Hawk.

- session: Added ParentSessionID and DelegationDepth to Session schema with durable persistence and recovery.
- multiagent: Implemented ContinuableManager managing durable child subagents with FIFO follow-up turns.
- multiagent: Implemented process-local Activation epoch for resident children with inbox turn queue.
- multiagent: Implemented cold resume reconstructing absent subagents from persisted session log + SubagentDescriptorFact.
- multiagent: Enforced strict direct-parent authority verification against durable header (rejecting imposter / self-targeting callers).
- multiagent: Added ListChildren and ListDescendants hierarchy queries.
- tests: Comprehensive test coverage for continuable lifecycle, FIFO order, cold resume, authority rejection, depth monotonicity, and hierarchy listing.
@Patel230
Patel230 merged commit 8fc6dfb into main Aug 20, 2026
26 checks passed
@Patel230
Patel230 deleted the feat/dsh-harness-rfc-2.10-continuable-subagents-cold-resume branch August 20, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant