feat: rebuild the site around what FixMap actually does - #101
Merged
Conversation
The site explained FixMap in abstractions — "scan locally", "rank with reasons", "explain the route" — without ever showing a command or its output, never mentioned --explain or verify, and claimed v0.7.1 while 0.7.3 was published. The browser demo was worse: seven fabricated files whose contents were bags of keywords, rigged so every preset produced a clean win. A demo that cannot fail is not evidence. The demo now runs the real thing. `buildReportFromRepo` is extracted out of `plan.ts` so the report assembly no longer lives behind the filesystem scanner, and `browser.ts` exports it alongside `explainFile` and `verifyPlan`. The page imports the same code the CLI runs and points it at a sample repository written like a real one: resolving imports, committed build output, an examples directory, a lockfile, a type declaration. Three tabs walk the actual workflow — plan, ask why, verify. The default preset is the case FixMap handles worst. "Password reset emails never arrive" is a symptom with no symbol, and it ranks the email template above the file that sends the mail. The next preset adds one identifier and the ranking sharpens, with the reason visible. Showing the weak case and its remedy is more convincing than hiding it, and it is the documented failure mode rather than a surprise a user finds alone. Also new: an anatomy section showing one command and the four outputs it produces, a card per command, six concrete reasons to use it, and a version read from packages/cli/package.json so it cannot go stale again. The hero terminal listed output its own command does not produce. It now shows the exact ranking, confidence labels included, that the printed command returns against the demo's sample repository. Fixes horizontal overflow on mobile: grid children default to min-width:auto, so wide <pre> blocks stretched the page past the viewport instead of scrolling inside their own box. Co-Authored-By: Claude Opus 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.
The site explained FixMap in abstractions and never showed a command or its output.
--explainandverifywere absent entirely, and the film note claimed v0.7.1 while v0.7.3 was published.The browser demo was the weakest part: seven fabricated files whose
textSamplevalues were bags of keywords, arranged so every preset produced a clean win. A demo that cannot fail is not evidence of anything.The demo now runs the real thing
buildReportFromRepois extracted out ofplan.ts, so report assembly no longer sits behind the filesystem scanner.browser.tsexports it alongsideexplainFileandverifyPlan. The page imports the same code the CLI runs and points it at a sample repository written like a real one — resolving imports, committed build output underdist/, anexamples/directory, a lockfile, a type declaration.Three tabs walk the real workflow:
explainFileagainst any of the 16 files — all four statuses reachableverifyPlanagainst four pretend diffs, including the one that exits non-zeroPicking
dist/auth/reset-password.jsin the second tab returns "Excluded: generated output forsrc/auth/reset-password.ts, which the next build overwrites. That file was ranked instead." — produced by the shipped code, not written into the page.The default preset is the case FixMap handles worst
"Password reset emails never arrive" is a symptom with no symbol, and it ranks the email template above the file that sends the mail. The next preset adds
sendMailand the ranking sharpens, with the reason visible on the row.This is the documented failure mode. Showing it, next to its remedy, beats letting a user discover it alone on their own repository.
Also
plan,--explain,verify,mcp, plus the Actionpackages/cli/package.jsonso it cannot go stale againTwo accuracy fixes
The hero terminal listed output its own command does not produce — the shown ranking came from a different task string. It now prints the exact ranking, confidence labels included, that its command returns.
Mobile had genuine horizontal overflow: grid children default to
min-width: auto, so wide<pre>blocks stretched the document to 674px inside a 375px viewport. They now scroll inside their own box.Verification
npm run cigreen: 219 tests, all three benchmark suites byte-identical — the core refactor changed no behavior🤖 Generated with Claude Code