mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-05 17:28:00 +01:00
Owner, 2026-10-10: "How am I supposed to confirm if it worked or not? I have
to go and test it." "Confirm it worked" asked the owner to assert what only
a look could tell — and Loki had not looked.
Now, once a fix is deployed, Loki reads the live page as text and answers
the report's question itself, once per fix, on the owner's AI budget, from
the inbox read a person made (never a timer — no-free-background-ai walks
the call graph):
looks_fixed → the card says "Close it" with what Loki saw
not_visible → "Try again", with what is missing
cannot_tell → (layout, colour, a flow) the card leads with "See it on the
site" and "It worked" / "Not fixed" sit beside it; "Do all"
leaves these for the owner's eyes and says how many
- src/lib/feedback/verify-live-rules.ts (pure, tested): the page as text,
the question, the verdict, who is due.
- src/lib/feedback/verify-live.ts: fetch, ask, stamp the verdict on the
run's fix ledger (FixShipping.verify).
- /api/feedback/inbox calls it after attachFeedbackWork, two per load.
- recommend.ts: CONFIRM only on a looks_fixed verdict; new LOOK kind, not
taken by "Do all"; doAllLabel says "closes"; looksLine for the banner.
- DecisionCard: a LOOK renders the walkthrough + It worked + Not fixed.
- row-story: the full row says what Loki saw.
- docs/paths.md and CHANGELOG.
Claude-Session: https://claude.ai/code/session_011L2dmcydDLYAiNQwK4XcF4
Co-authored-by: Claude <noreply@anthropic.com>