Cloudflare Access (Managed OAuth) runs the OAuth flow for clients such as
ChatGPT; the origin verifies the signed Cf-Access-Jwt-Assertion itself --
RS256 in stdlib by construct-and-compare, issuer, AUD, expiry.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
wodify mcp --http HOST:PORT serves MCP streamable HTTP at /mcp, stdlib only.
A bearer token of 32+ chars is mandatory and checked before the path; prime is
not offered over HTTP; tool calls are serialized.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
wodify mcp serves every CLI command over MCP stdio, stdlib-only. Tools run
cli.main in-process, so the allowlist, write guard and SQLite cache are the
CLI's by construction.
list mine / the my_classes tool returns the account's reserved classes with
roster and workout in one call, and says so plainly when none is reserved.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
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]>
- endpoint moved: WodifyClient_Class/Classes/Class/ActionGetClassAttendees
(old Schedule_OS GetClassAttendees no longer fires anywhere in the app)
- render.attendees() delegates to attendee_rows() — PersonName, not Name
- test fixtures updated to ClassDetailAttendee.List wire shape
- CLAUDE.md: diagnosis notes (path re-prefix + lazy attendee action)
prime now captures 8/8 actions; 138 tests pass
The remaining open item. Probing settled it: the Home-variant GetClasses
returns placeholder records even when the real client calls it -- confirmed by
capturing the app's own request/response pair during a live walk (200, ~10 KB,
zero real records, empty ScheduleList). Every screen-variable override
(WBDataFetchIsComplete, IsLoading, ProgramsWithHistory, all date/program
combos) changes nothing. It is not parameter-gated; it is empty by design.
So the fix is honesty, not persistence: the action is removed from the
allowlist (a test pins it out so it cannot quietly return), and `wodify
classes` becomes an argparse alias of `schedule`, the class-list action that
actually returns data. `schedule` also gains the default-to-today behaviour
the old command had.
134 tests, no network required.
Co-Authored-By: Claude Opus 5 <[email protected]>
Deployed to the hermes host via PYTHONPATH rather than pip-installing into the
hermes venv, so `hermes update` cannot clobber it. The wodify-viewer skill is
now v4.0.0 and directs the agent to the CLI, with the browser as fallback.
Also records that the staleness guard fired unprompted: Wodify redeployed
mid-session and the stale cache raised VersionStale (exit 3) instead of
returning a plausible empty result.
Co-Authored-By: Claude Opus 5 <[email protected]>
A CLI that answers "what classes ran", "who was there" and "what was the
workout" with a single HTTP POST each -- no browser at query time.
Wodify's athlete app is an OutSystems Reactive SPA. Driving it with a headless
browser works but is slow and, for an LLM agent, expensive: a full page render
to read a few lines back out of the DOM. Its data actions are plain JSON
endpoints, so this talks to them directly.
wodify list date 2026-07-25 time, coach, booked/max, title, duration, ID
wodify list workout <id> attendee names + that class's workout
Two phases. `prime` attaches over CDP to a browser that is already logged in and
captures the session cookies, the CSRF token, and each action's apiVersion and
body shape. Everything after that is stdlib HTTP -- the query path has no
third-party dependencies at all.
Three things genuinely require the browser, which is why priming exists:
- the session bearer nr1W_Theme_UI is HttpOnly, so it cannot be exported by hand
- X-CSRFToken is not in cookies, localStorage, or any JS global
- apiVersion is per-action, not global
Read-only is enforced in code, not by the credential (Wodify issues no
read-only token): an explicit allowlist plus a write-marker guard applied even
to allowlisted paths, so a careless registry edit fails closed. Tests assert
that real mutating endpoint names are refused.
Responses are cached in SQLite, keyed by the local date they were fetched on, so
a repeat query the same day touches no network. All fetching funnels through
service.py so a call site cannot forget the cache.
Staleness is explicit rather than silent: responses carry
hasModuleVersionChanged/hasApiVersionChanged, and the client raises
VersionStale/SessionExpired instead of returning a plausible empty result. That
matters because every bug found while building this produced confident wrong
output rather than an error -- see CLAUDE.md for the field-name traps.
History squashed before first publication: earlier commits embedded real gym
members' names in test fixtures. Fixtures now use fictional names.
122 tests, no network required.
Co-Authored-By: Claude Opus 5 <[email protected]>