Repository navigation
Updater UX: UPDATE guards the write, step order, risk-first confirm, one line per step, offline guide (#762) - #765
Merged
Merged
Conversation
…irm (#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…ils (#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…stale ones (#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…is step 1 (#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…back (#762) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
…ails, writing Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN
Member
Author
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.
Closes #762.
These are the UX fixes from the 2026-11-22 review, all picked by the owner. They include the owner's decision to move the typed word UPDATE from the update-mode step to the flash write. Nothing new is sent to any device: the bytes, and the order of requests, are unchanged.
Slices
Each was built red first, one commit per slice.
Confirmationis now only made byinit?(typed:for:), for the word UPDATE in any case with surrounding spaces allowed, or byinit?(restoring:)for a restore plan only. The oldConfirmation(plan)is gone, so nothing can write without the word. Restore after a mismatch is a click and a confirm (cos, answer a). In the app, the write alert has a "Type UPDATE" field, and its button stays off until the word is typed.enter(confirmed:)takes aConfirmedthat only the confirm's own button makes, with the title, body and button text kept in the Kit. The message and its refusals are unchanged. README step 7.3 is updated to match.confirmDetailsholds the sectors and addresses (WritePlan.text), shown under a Details disclosure by the button, since an alert can't hold a disclosure.LC6000Lines: a backup starting clears the step's line and the last backup's; a write starting clears the backup's line; the step starting clears its own.UpdaterScreen.lc6000Stepsputs "Quit DeckBridge first. It talks to the LC6000." first. The LC6000 steps sit inside the LC6000 box, and show only when an LC6000 is found (showsLC6000Steps). With none, the box says "Plug in the LC6000 and switch it on." A chip in update mode shows as "An LC6000 chip in update mode": naming which chip would need a new request at every look (cos, answer b), so the backup names it.recoveryGuide(bundled:)opens the local copy, falling back to GitHub. It's never site text.App wiring (build only)
LC6000Lines.Tests
Mutation checks, each restored from a cp backup, and each made a test fail:
typed:.Confirmedaccept any button.The string-only slices (3, 4, 7) weren't mutation-checked.
Held for the owner's screenshots (#761's preview mode, once #764 lands). I'll merge #764 and agent2's #763 into this branch when they're in.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VCgWWtMsRLyAoGPQD9M6xN