Repository navigation
The card's sealed detail says what kind of answer waits - #310
Merged
Merged
Conversation
A waiting row's detail now carries `a`: a question, a command shown whole, or an approval to review in the app. Only a whole command (one printable line of at most 90 characters, not cut or folded) lets the app offer Approve and Deny on the card. Closes #309 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Problem
A card row that waits carries its question in the sealed detail (
q). The app cannot tell a question from a command approval, and it cannot tell ifqis the complete command or only a description. So the app cannot safely offer Approve and Deny on the Dynamic Island (promptclickrun/bighelp#1050).Change
The sealed detail of a waiting row now says what kind of answer waits (
a):q: a question.c: a command, andqis the whole command.a: an approval that the person reads in the app first.cis set only when the command is one printable line of at most 90 characters that the card shows without a cut or a fold (card_detail.whole_command). Every other approval shows its description, as before, and getsa. If the size limit of the row later cutsq,cbecomesa.The field is optional. An app that does not know it ignores it. No feature flag and no version change.
Trust boundary
cis a promise to the phone that a yes on the card is a yes to exactly the characters on screen. The text stays in the sealed detail, so the notification service and Apple still cannot read it.Tests
On a Mac,
python3 -m unittest discover -s tests:KeyError: 'a').mainon this Mac.Not tested: a real Hermes approval on a real host.
Closes #309
Model and harness: Claude Fable 5.2 in Claude Code.
🤖 Generated with Claude Code