Conversation
With no Recommended: line, a choice whose label ends with (recommended) / [recommended] (or whose description is or starts with one) is the recommendation: exactly one on pick one, any on pick any. The marker leaves the label (never the key); the raw label stays an alias, and the Inbox's storedChoices adds the marker-free label to records stored before, so the card's pick is not refused. Blocks with a Recommended: line are unchanged.
…e label A question with no Recommended: line whose recommendation is marked in a label adds recommendedInLabelText to the result and recommended_in_label: [keys] to structuredContent. Never a refusal.
…ption marker; long-thread fixture uses Recommended: Review follow-ups: a block with any Recommended: (or arrow) line, even an empty one, never reads a label marker; `Foo — Recommended: no, too slow` is prose (the description is a marker only as the bare word or led by a bracketed marker); the QuestionChoice.recommended doc comment is updated; the long-thread test fixture writes a clean label and a Recommended: line.
…mmended-marker-nudge
… marker in a description
…line, so hint changes merge apart)
…rker-nudge # Conflicts: # packages/server/inbox-mcp.ts
…d are nudged; leading and colon markers read - With a Recommended: line naming something, the line decides and every recommended marker leaves its label (the raw label stays an alias, and a marked label is matched by its plain label too): no 'Foo (Recommended) (your recommendation)', no second recommendation on the card. - [Recommended] Foo, (Recommended) Foo, (Recommended): Foo and Foo (Recommended): why are markers; 'Use the recommended defaults', '(not recommended)' and '(recommended by vendor)' stay prose. - ParsedQuestion.recommendedMarker; the send result's nudge fires on any question written with a marker, with or without the line (inboxQuestionKeysWithRecommendedMarker). - plannotator inbox --help: keep choice labels plain; mark the pick only with the Recommended: line (not in QUESTION_AUTHORING_GUIDE: send_message's description has 8 characters to spare before Claude Code's 2,048 cut).
1 task
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
Agents trained on other tools write their recommendation into a choice label:
- [ ] Foo (Recommended), the way Claude Code's AskUserQuestion teaches. The card then showed "(Recommended)" as label text, with no Recommended tag and no Accept recommended. The answer also lost "(your recommendation)".What changed
packages/core/question-block.ts,questionChoiceWithoutRecommendedMarker). This applies only when the block has noRecommended:line; an empty one counts as a line.(recommended)/[recommended]at the end of a label, with or without its own emphasis, or a description that is the bare word or starts with a bracketed marker.(Recommended): …,[recommended] — …,(Recommended) - …) leaves with the marker. This was the review follow-up.Recommended:line and a label carries the marker, send_message's and submit_guide's results addrecommendedInLabelText, and the structured fieldrecommended_in_label: [keys].Tests
packages/core/question-block.recommended-marker.test.tspackages/shared/inbox/store-recommended-marker.test.tspackages/server/inbox-recommended-marker.test.tsQuestionBlock.test.tsxAll pass, and so do the server's MCP and Inbox suites.
Not changed, reported only:
packages/ui/components/goal-setup/GoalSetupSurface.tsx:1309exports its own(recommended)label convention.Approved by the owner in the Inbox, 2026-10-27