Files
loki/scripts/test
CatoandClaude Opus 5.5 dd44fac73e feat(review): take over the browser, hand it back, and see what comes next (#1545)
* feat(orangecat): a bot can ask Loki, as the person

POST /api/orangecat/ask on the signed OrangeCat rail: one of the person's
OrangeCat bots asks Loki a question and the turn runs as the Loki user
linked to that actor, read-only, so a relayed question can never dispatch,
approve or spend. An unlinked actor is told the one step that links it.
Door test: no secret, no signature, a tampered or oversize body are all
refused before a database or a model is reached.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et

* feat(review): take over the browser, hand it back, and see what comes next

The owner, 2026-11-02, beside Grok Bot's live Handler: "I want to see how
the machine is being used and click through", led through it and in
control, "and it should be objectively so". The project review's browser is
the fleet's one agent-driven browser, so it gets that first.

- Take over: the person's clicks on the picture, wheel scrolls, typed text,
  Enter and Back reach the page; each answers with a fresh picture, and the
  screen polls faster while they drive. Hand back returns it: the worker
  goes back to the page and scroll it was on, finishes that page so its
  notes stay about the right page, then reviews the person's page next.
- Inputs are data (two coordinates, at most 200 characters, one of ten
  keys), queued atomically in site_reviews.control (migration 0132, one
  column) and taken by the worker in one statement at its checkpoint. The
  read-only guard is unchanged for the person: a form button sends nothing.
- Under the picture: Live/You, what Loki does now, the next page, pages done.
- Tests: real-Chromium take over (inspection-takeover-browser.ts); the
  workspace test drives take over at 320/390/768/1440 in both themes and
  checks a click on the scaled picture lands on the same page point.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et

* style(review): format the generated migration snapshot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 10:24:49 +01: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
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
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
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00