Repository navigation
feat(web): side-by-side diff, and a conclusion that names its commit - #26
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A conclusion opens on all changes vs main. The predbat-memory conclusion was backfilled with its Commit: line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- cards open within a 3,000-row budget, so a whole-file diff of many files stays responsive - the last file is marked incomplete whenever the server cut the text - git's C-quoted paths (non-ASCII, quotes, backslashes) show unquoted 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.
What
Side-by-side diff. The drawer's Diff tab now reads like GitHub's "Files changed" split view:
/difftakescontext=3|10|all, and anything else is 400 before git runs.web/public/diffparse.js.A conclusion names its commit. The skill's conclusion template gains
Commit: <sha> on <branch>, copied from the fact that proves the goal. In the drawer, a conclusion's Diff tab opens on "All changes vs main", the whole winning branch. The predbat-memory conclusion was backfilled with that line in shared memory.Design:
docs/superpowers/specs/2026-11-27-diff-split-design.md; plan:docs/superpowers/plans/2026-11-27-diff-split.md.Tests
deno task checkand 341 unit tests pass.wordPartsand the row budget.parsePatchon a real 29-file branch diff matchesgit diff --shortstatexactly. Real quoted-path output also parses correctly..patchfiles, header-like content lines and cuts at every byte offset. Nothing threw.Deferred minors
\ No newlineis not shown.---/+++, or a cut between hunks.After merge
Restart
deno task webfrom the new main. No hosted change.🤖 Generated with Claude Code