Problem
ECC has ecc delegate --from-session <id> --task "..." which creates a child session with a TaskHandoff message. Our orchestrator can spawn sub-agents but todos can't be delegated to parallel sessions. There's no sin-code todo delegate command.
What to do
sin-code todo delegate <id> --to <agent-type>:
- Creates a new session (or worktree) for the todo
- Sends
TaskHandoff message (requires typed messaging issue)
- Sets
todo.Assignee = "session:<id>"
- Sets
todo.Status = "in_progress"
sin-code todo delegate <id> --to <agent-type> --worktree:
- Creates isolated git worktree for the delegate
sin-code team status <id> — show delegation tree for a todo
- On delegate session completion → auto-complete todo
- TUI: delegated todos show session tree icon (🌳)
Acceptance criteria
Problem
ECC has
ecc delegate --from-session <id> --task "..."which creates a child session with a TaskHandoff message. Our orchestrator can spawn sub-agents but todos can't be delegated to parallel sessions. There's nosin-code todo delegatecommand.What to do
sin-code todo delegate <id> --to <agent-type>:TaskHandoffmessage (requires typed messaging issue)todo.Assignee = "session:<id>"todo.Status = "in_progress"sin-code todo delegate <id> --to <agent-type> --worktree:sin-code team status <id>— show delegation tree for a todoAcceptance criteria
sin-code todo delegatecreates a session--worktreecreates isolated worktreeteam statusshows delegation tree