Skip to content

The card's sealed detail says what kind of answer waits - #310

Merged
promptclickrun merged 1 commit into
mainfrom
feat/island-moments
Nov 16, 2026
Merged

promptclickrun merged 1 commit into
mainfrom
feat/island-moments

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

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 if q is 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, and q is the whole command.
  • a: an approval that the person reads in the app first.

c is 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 gets a. If the size limit of the row later cuts q, c becomes a.

The field is optional. An app that does not know it ignores it. No feature flag and no version change.

Trust boundary

c is 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:

  • Before the change, the two new tests fail in both card suites (KeyError: 'a').
  • After the change: 1,843 tests, 26 failures, 382 errors, 42 skipped. The same suite without the change: 1,839 tests, 26 failures, 382 errors, 42 skipped. The four new test runs pass, and the failures and errors are the same ones as on main on 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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The card's sealed detail says what kind of answer waits

1 participant