docs: record deployment, live self-healing, and publishing constraints
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]>
This commit is contained in:
1 parent
06122c66dd
commit
1d0fd9c8ca
1 file changed
+33
-1
@@ -254,10 +254,42 @@ and speculate about nothing.
|
||||
- `ReservationCount` is reservations, not attendance. For a past class, the attendee list's
|
||||
`HasSignedIn` / `HasNoShow` flags are the real signal.
|
||||
|
||||
### Deployment
|
||||
|
||||
Deployed to the hermes host at `~/repo/wodify`, with a wrapper at `~/.local/bin/wodify`.
|
||||
The wrapper puts `src/` on `PYTHONPATH` rather than pip-installing: the query path is
|
||||
stdlib-only, and staying out of the hermes venv means `hermes update` cannot clobber or drop
|
||||
it. It uses the hermes venv's interpreter because `prime` needs `websockets` from there.
|
||||
|
||||
Chrome runs on that host, so `prime` works locally with no tunnel. The `wodify-viewer`
|
||||
hermes skill (v4.0.0) now tells the agent to use the CLI and treat the browser as fallback.
|
||||
|
||||
Verified live on the host: `list date`, `list workout` (12 attendees + the WOD), and a full
|
||||
`prime` whose walk log reads
|
||||
`{"log":["schedule=true","date=true","classes=4","class=true","hasGoToWorkout=true","goto=true"],"ok":true}`.
|
||||
|
||||
### Self-healing, confirmed in the wild
|
||||
|
||||
Wodify redeployed mid-session (`moduleVersion` went `4qHsLi2Es1qvgd2NhStmPw` →
|
||||
`Lr5GpsYppagRVIiIPnDo2g`). The stale cache did **not** return wrong data — it raised:
|
||||
|
||||
```
|
||||
STALE: schedule: Wodify redeployed (module changed=True, api changed=False). Re-prime.
|
||||
```
|
||||
|
||||
Exit 3, no fallback, no guess. Intended behaviour, fired unprompted.
|
||||
|
||||
### Publishing
|
||||
|
||||
Test fixtures use **fictional** names. Real gym members' names were scrubbed and the git
|
||||
history squashed before first publication — do not reintroduce live attendee names into
|
||||
fixtures or docs, even in examples. The gym host and location id are not secrets and stay.
|
||||
|
||||
### Not yet done
|
||||
- No deploy back to the CDP host / hermes skill rewiring — local build first, by request
|
||||
- `classes` (the Home variant of `GetClasses`) still returns placeholders only; superseded by
|
||||
`schedule` and kept solely as a labelled trap
|
||||
- Not pushed to the remote: the git server exposes no SSH port, and HTTPS needs a password
|
||||
that has to be entered by a human
|
||||
|
||||
## Gotchas found the hard way
|
||||
|
||||
|
||||
Reference in new issue
Block a user