Repository navigation
Conversation
Surfaces are 8 px, controls 6 px and parts inside a control 4 px. Every hard-coded radius in the desktop renderer, the Store edition and the web demo moves onto the tokens; only dots and spinners stay round. Adds --tint, --tint-strong and --hairline to the base tokens, and a test that fails on a hard-coded radius. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
confirmDialog(options) resolves true on accept and false on cancel. Requests are answered one at a time, oldest first. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
One ConfirmHost, mounted in App, answers every confirmation: YOLO, cloud model, delete thread, remove project, discard changes, reset learning, remove local connection and delete task. Cancel has focus when it opens, the action button names the action, Escape and the backdrop cancel, and nothing behind the dialog reacts to the keyboard. Each existing sentence keeps all of its facts. The specs that answered a native dialog now answer the in-app one through answerConfirm; a new spec covers focus, Escape, shortcuts and a confirm opened over Settings. Adds the approved design, this PR's plan and the status entry. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 3 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This was referenced Nov 16, 2026
This branch was successfully 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.
First of five PRs for the chat and prompts refresh. Val approved the design on 2026-11-15:
docs/superpowers/specs/2026-11-15-chat-prompts-refresh-design.md. This PR is the foundation the other four build on; its plan isdocs/superpowers/plans/2026-11-15-chat-refresh-foundation.md.What changes
One radius scale for every button and component. Surfaces are 8 px, controls 6 px, and parts inside a control 4 px. The tokens change in
tokens.css, and the 285 radius declarations that were written as numbers in the desktop renderer, the Store edition and the web demo move onto them (apps/siteis untouched). Only status dots, progress dots and spinners stay round, so the send button and the other round buttons become rounded squares.scripts/test/radius-scale.test.mjsfails on a hard-coded radius above 2 px and pins how many circles each stylesheet has.Three derived tokens in the base
:rootonly:--tint,--tint-strong,--hairline. No theme block changes.One in-app confirm dialog replaces all ten
window.confirmcalls: YOLO (composer and approval card), cloud model, delete thread with worktree, remove project, discard changes, reset learning, remove local connection, delete task (row menu and page).confirmDialog(options)returns a promise; oneConfirmHostinApprenders the current request. Cancel has focus when it opens, the action button names the action, Escape and the backdrop cancel, Tab stays inside, and nothing behind the dialog reacts to a key. Each existing sentence keeps all of its facts, split across title, body, path and a kept/lost list.What was and was not run
This was written in a session that could not install dependencies, so CI is the first full run.
scripts/test/radius-scale.test.mjs(4 tests); the confirm store's unit test, type-stripped (4 tests); the rest ofscripts/test(232 of 234 pass, 1 skipped; the 1 failure,cf8-retention"real Playwright worker", needs the npm registry and fails the same way on unchangedmainthere).pnpm build,pnpm test,pnpm test:e2e. The Electron specs changed here have never executed.Review notes
layout.spec.tsradius assertions move to the new scale (sheet 8, row 6, composer 8, send 6, bubble 8).answerConfirm(page, "accept" | "cancel", text?)after the click that asks.approval-policy.spec.tsno longer stubswindow.confirm.confirm-dialog.spec.ts: focus on Cancel, Tab cycle, Escape, backdrop, a shortcut pressed behind the dialog, and a confirm opened over Settings.main.Next
Menus, transcript rows, the request panel and the composer follow as PRs 2 to 5, each with its own plan from the same design.
https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Generated by Claude Code