storebound watch: store events for every app on the machine (rejected, approved, live, halted, crash threshold, reviews) to ntfy / Telegram / webhook / OS notification, loop or --once, baseline first, events.jsonl; storebound events and MCP events_recent; docs/watch.md; tests

This commit is contained in:
CRTkafa 2026-10-22 22:38:15 +08:00
parent 4fe26326cc
commit 78c541f2b8
16 changed files with 984 additions and 4 deletions

View file

@ -51,6 +51,10 @@ Fix the top signature first, then check its device / OS column: one model or one
installs but is not a rollback.
4. Next week: `storebound health --weekly` shows the change in percentage points next to last week.
## Watching for changes
- `storebound watch` polls every app on this machine and records store events (rejected, approved, live, rollout_halted, crash_threshold, review_low, review_needs_reply) in `~/.storebound/events.jsonl`; sinks: OS notification, ntfy, Telegram, webhook (docs/watch.md).
- `storebound events --since 24h [--app <name>] [--kind rejected] --json` (MCP `events_recent`) reads that log without touching the stores: start a session there before polling the stores yourself.
## Gotchas
- `vitals not readable`: the API is not enabled, the service account lacks the permission, or the app has no release
yet. `validate` only notes it; `storebound health` warns.