Daily bug scan: public replay route regression

The scan found one concrete regression tied to recent durable-options routing work: the deployed public route check now fails because /replay/options returns HTML instead of JSON on https://flow.deltaisland.io.

Recorded as Beads issue islandflow-r7n

Summary

I scanned the commits from the last 24 hours, focused on the recent options-history and live-tape routing changes, and verified the new public route checker against the live app origin. The only concrete failure was the replay endpoint check.

Changes Made

Context

Commit 1424a27 added scripts/check-public-api-routes.ts and wired it into deploy verification to catch same-origin routing mistakes after the durable options history work. That script now provides a concrete signal that the public replay path is misrouted.

Important Implementation Details

bun run scripts/check-public-api-routes.ts https://flow.deltaisland.io
...
error: /replay/options returned non-JSON content (text/html; charset=UTF-8)

Expected Impact for End-Users

Replay-mode options data requested through the public app origin can land on the Next.js app instead of the API, which breaks the endpoint and can leave replay experiences incomplete or empty.

Validation

Issues, Limitations, and Mitigations

Follow-up Work