Is this a solid plan? currently the "captain" creates the subworkers.
Goal
Promote high-value ephemeral sub-agents to permanent agentIds so they retain knowledge between runs. Keep spawn pattern for one-shot tasks.
Current Prob
All sub-agents are ephemeral, no persistent memory, no agent-to-agent messaging, everything funnels through Captain (Opus 4.6).
Proposed Changes
Make Permanent (agentId): Scout (research, Sonnet 4.6), Bolt (code, Opus 4.6), Lens (analytics, Opus 4.6). Each gets own AGENTS.md, MEMORY.md, and memory dir under shared workspace.
Stay Ephemeral: Echo, Pulse, Shade, Interns â standalone/event-driven tasks.
Comms: Discord inbound â Captain only. Captain delegates via sessions_send. Workers post to their output channels. Captain synthesizes.
Migration (sequential, verified per step)
Verify sub-agent tool access â DONE
Enable agent-to-agent messaging
Add Scout as first permanent agent, test end-to-end
Add Bolt and Lens same pattern
Update AGENTS.md â replace spawn templates for permanent agents
Phase 1 Result:
memory_search: â unavailable to sub-agents
read, message, web_search, exec, browser: â
Model aliases: â don't resolve â use full path anthropic/claude-sonnet-4-6
Key Rules
Don't separate workspaces. Don't add all agents at once. Don't remove sessions_spawn â it's the fallback. Don't let workers manage cron or respond to Discord directly.
Success = Scout/Bolt/Lens persist knowledge, Captain delegates via sessions_send, ephemeral spawn still works, no gateway errors.
Coms Flow
Blacklist â #orders â Captain (main)
â sessions_send
âââââââââââŒââââââââââ
â â â
Scout Bolt Lens
â â â
#find-output #build-output #track-output
â â â
âââââââââââŒââââââââââ
â
Captain synthesizes
â
#captain-output