Repository navigation
docs: relay and handoff design proposal - #173
Merged
Merged
Conversation
Compares letting Claude Code's native background sessions do delegation while ccs observes them, a handoff MCP tool, a ccs daemon relay and the TUI as relay. Revised after an adversarial review that found claude --bg and claude agents already cover delegation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun
brtkwr
enabled auto-merge
October 30, 2026 09:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A design proposal, not built: how far ccs should go with sessions talking to each other (t3code-style delegation, handoff and queueing).
The recommendation, after codex's adversarial review:
claude --bg/claude agentsdo the delegating. ccs readsclaude agents --json, marks background sessions, and opens them withclaude attachin a new tab.handoffMCP tool for live sessions. It needs its own envelope, never ccs's "typed by the user" wrapper. Off by default, project-scoped and size-bounded.ccs daemonfor queued delivery and work while the TUI is closed. The doc lists what it would need to be safe: delivery states, authority, cost limits, its own store, versioning.The review's main findings, now in the doc: Claude Code already delegates natively; reusing the user wrapper would present model text as the user's;
sessions.jsoncan't hold concurrent writers; and receipts only arrive for messages that don't go straight in.🤖 Generated with Claude Code
https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun