Repository navigation
control: deliver own, so a message is always a prompt of its own - #383
Open
micmmakarov wants to merge 1 commit into
Open
micmmakarov wants to merge 1 commit into
micmmakarov wants to merge 1 commit into
Conversation
…its own A message handed to a live Claude Code session by its Stop hook, a plain waiter or its inbox is not read as the person's prompt, and Claude Code tells the model not to take it as their approval: a session asked that way to merge pull requests declined. A machine set to `deliver own` passes those rungs over for a Claude Code session it can copy, so the message is the prompt of a turn the daemon runs (resume, or a copy of a held session). The default, `any`, is the ladder as it was. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Miša Mаkaröv <info1117@gmail.com>
This branch has not been deployed
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.
Why
A Talk message sent from spacesheep to a Claude Code session that was mid-turn arrived as the Stop hook's block. The session read "merge the mergeable" there and declined: Claude Code tells its model that hook output, a background command's output and an inbox request do not carry the person's approval. Rewording the frame cannot change that, and should not.
What
A machine-level setting, made at the machine's own terminal like its mode:
Set to
own, a message for a Claude Code session that can be copied never takesturn,inbox, or awaiterthat is not a channel. The ladder goes on toresumeorfork, where the message is the prompt of a turn the daemon runs, in the machine's mode.sdkand a channel's waiter are unchanged. Where that would leave no delivery at all (the copy is itself held), the ladder applies as it stands.No signed field, no hello field, nothing a receiver has to know: the command format and its vectors are untouched.
Cost, said to the person when they set it
A session open in a window answers in a copy, and its window is not told. Later messages go to that copy, as today.
Tests
ownTurnViewin the routing tests (mid-turn, plain waiter, inbox, channel, sdk, no fork, Codex).deliver: ownacksmode: fork, and its Stop is handed nothing.control-daemon,control-cliand the usage tests pass; typecheck clean.Not done: tried against a real open Claude Code window with the built daemon. Spec:
spec/CONTROL.md§6.🤖 Generated with Claude Code