Repository navigation
Web: a guided 60-second tour for judges - #34
Merged
Merged
Conversation
POST /api/check now reuses a real model verdict for the same normalized text against the same settled ledger and feedback for 10 minutes (256 entries max) and marks it "cached": true. Fallback verdicts are never cached. The UI appends " · cached" to the model name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A "Take the tour" button in the hero and a one-time nudge for new visitors start a 7-step driver.js tour themed to the page: the wall, the check (Next runs the MongoDB example for real and waits for the verdict), the OVERRULED receipt, learning, the watcher, import and AGENTS.md. Also stops the learning panel overflowing at 375px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Shipwright · ApproveRecommendation: approve PR #34 · Tier
WalkthroughThe PR adds a short in-memory cache for /api/check verdicts keyed by normalized text and a ledger/feedback fingerprint, and adds a driver.js guided tour to the web UI with a launch button and a nudge toast.
Estimated review effort: 3 (Moderate) · ~20 minutes Review7 findings are in the Shipwright check instead of an inline comment. ✅ Full review input coverage: 10/10 changed files · 4 review shard(s) · 638 changed lines. Open the Shipwright check for full evidence and the audit bundle. Use |
This was referenced Oct 18, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 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.
Stacked on #32.
Why
Judges should understand Sthira in about a minute without anyone presenting. The page tells a story (what you decided, then an agent about to act, then the verdict), but a first-time visitor has to find it alone.
What
All in
web/static/index.html, styled to Ojas's design (his CSS variables, Bricolage/Newsreader, hard-shadow buttons, ink arrow):driver.js@1.3.1from jsDelivr, exact version,crossorigin="anonymous"):EXAMPLES[0], so the recorded fallback still matches), runs the existingrunCheck()flow and waits for the verdict. While it runs the button says "Checking…" and repeated clicks are ignored.localStorageinside try/catch.popoverClass: "sthira-tour", and resets the page's globalfooterrule so it doesn't leak into driver's popover footer.prefers-reduced-motion: driver animation and smooth scroll are turned off, and the nudge doesn't animate in.textContent. No data goes in as HTML..twogrid and the three dials) made the page 409px wide.min-width:0on grid children plus a shrinkable ring fixes it.Test plan
PYTHONPATH=. python -m pytest -q: 57 passednode --checkon the extracted page scriptprefers-reduced-motion: reduceturned on (the code path is there)🤖 Generated with Claude Code
Summary by ShipWright
Change: Feature · Merge risk: 🟢 Low · updated on each push