Repository navigation
broke ai: short answers with a breakdown, actions and follow-ups - #7
Merged
Merged
Conversation
Answers lead with one sentence and the key number. A split of money is a breakdown block drawn as rows with the category icons, things to do are actions that open the broke page that does them, and follow-up questions are buttons under the answer. Output only: nothing new goes to the model. Co-Authored-By: Claude Opus 5.5 <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.
Answers in the Ask broke ai panel are short and built to act on.
The direction is anchored on Cash App's AI answers: number first, one block, tap-to-act rows. Max picked it from three directions shot on the running app.
Privacy: output side only. Nothing new goes to the model,
gate.tsis untouched, and AI still runs on the user's own CLI session. Merchant names reach the blocks the same way they reach text: tokens swapped back on this Mac byunmaskStream.Code: prompt in
src/lib/llm/shared.ts, block parsing insrc/lib/reply.ts(test:node src/lib/reply.test.ts), rendering insrc/components/Assistant.tsx.Known: answers where nothing turns up ("Which subscriptions should I cancel?" with none found) still run to two paragraphs.
Screenshots
Same throwaway user and sample statement, real Claude answers, dark mode unless noted.
Before
After
Directions considered
Test plan
npx tsc --noEmit,npm run linton changed filesnode src/lib/reply.test.ts@broke.testuser, sample statement imported, asked with Claude in dark, light and at phone width🤖 Generated with Claude Code