Files
loki/scripts
CatoandClaude Opus 5.5 6bf344efb6 feat(watch): "Not quite" and "Show me" on the walkthrough; done fixes keep Watch + Share (#1090)
* feat(watch): "Not quite" and "Show me" on the walkthrough; done fixes keep Watch + Share

Operator, 2026-10-08: "do 1 and 2" — say a fix is not quite right from the
walkthrough itself, and see an idea on the live page before it is built.

- Not quite (owner + reporter, never a shared link): typed or spoken (the
  widget's mic), filed as a follow-up on the same page. The owner's starts
  the fix at once via startOwnerBuild, now shared with Report's owner-pass
  path (lib/feedback/owner-build.ts); the reporter's goes to the inbox.
- Show me: /api/widget/preview turns the words into a few edits from a
  closed vocabulary (style, text, hide, insert, css) against the page
  outline; widget/preview.ts sanitizes them (tag/attribute allow-list, no
  url()/@import/expression, no handlers or javascript: links), applies them
  in the owner's browser only and undoes them exactly. "Build this" sends
  the words plus what the preview showed. Charged to the owner's AI budget,
  rate-limited, never available to a viewer ticket.
- Done fixes keep "Watch the fix" + Share on the row; the last card gets
  "Copy page link" for sharing the site without a walkthrough.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(owner-build): read the shared owner-build module, and pin that 'Not quite' uses it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 08:05:18 -07:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00