After the 2026-11-10 Wodify redeploy, prime captured zero actions and every
query reported NOT PRIMED. It looked like another endpoint move. It was not:
every allowlisted path and response shape is unchanged.
The app's service worker was serving the old OutSystems runtime to pages
running the new screen code. That mixed app throws in
Controller.callServerDataSource before any data action is sent, so there was
nothing to observe. Measured per tab setting: bypassing the service worker
alone fixes it; disabling the HTTP cache alone does not.
- cdp.open_page: Network.setBypassServiceWorker on the prime tab. Per-tab,
nothing in the profile is unregistered or cleared.
- cdp.close: close the tab the session opened. Every prime leaked one.
- prime: refuse to save a capture with no actions, leave the existing cache
alone, and say why. Page errors are collected and reported, which is what
separates "the browser's copy of the app is broken" from "Wodify moved its
endpoints".
- Skill/: the cron prompts applied the generic exit-code table to `list`
commands. For `list`, 3 is session expired, 4/5 are stale / not primed,
6 is an unindexed class id. Exit 5 was not handled at all. Also document
the `waitlist` value of the YOU column.
- CLAUDE.md / README: record the diagnosis, the measurements, the Firebase
red herring, and both exit-code tables.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
prime ran the in-page click walk as a task while drain() also read the
websocket. `websockets` forbids concurrent recv(), so this was always broken --
it just failed differently by version: loudly on websockets 15.0.1, and
silently on 16.0, where the JS still executed but its return value was lost.
The `walk: None` in every prime summary was that failure being swallowed by a
bare `except Exception`, and I read past it.
CDPSession now runs exactly one reader coroutine that dispatches command
replies to futures and events to a queue, so call() and drain() can safely run
concurrently -- which priming genuinely needs, since the requests being observed
are triggered by the script being awaited.
call() also gains a timeout so a lost reply fails instead of hanging, and the
walk now reports its error rather than reporting None.
Tests use a fake websocket that asserts the socket never has more than one
concurrent reader.
129 tests, no network required.
Co-Authored-By: Claude Opus 5 <[email protected]>