Skip to content

[DRAFT] - Subagents, reborn#2716

Draft
krissetto wants to merge 2 commits intodocker:mainfrom
krissetto:subagents-v2
Draft

[DRAFT] - Subagents, reborn#2716
krissetto wants to merge 2 commits intodocker:mainfrom
krissetto:subagents-v2

Conversation

@krissetto
Copy link
Copy Markdown
Contributor

No description provided.

krissetto added 2 commits May 8, 2026 20:21
Adds a new runtime-managed subagent system that enables LLM-driven
persistent child sessions with full lifecycle control:

- New 'subagents:' config key (schema v9) alongside legacy 'sub_agents:'
- pkg/inbox: generic concurrent Queue + Signal primitives
- pkg/subagent: Manager, Handle, Toolset (6 model-facing tools)
- Runtime glue: wake_policy, subagent_runner, subagent_tools, inject,
  subagent_envelopes — patched into upstream loop.go at safe points
- EventBus + SessionRecorder replacing PersistenceObserver (exclusive)
- LiveSessionTree + live registry + full-session-on-attach
- Server: 9 live-session HTTP endpoints + LiveSessionClient interface
- SSE registry completeness test (42/42 event types)
- Zero upstream file deletions, zero public API breaks
- All upstream subsystems retained: hooks, toolexec, observer,
  transforms, cache, pause, agent_router, compactor

Assisted-By: docker-agent
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