Add goal notifications and collector health
Test and publish / test (push) Successful in 1m40s
Test and publish / publish (push) Successful in 3m45s

This commit is contained in:
2026-10-23 20:45:51 +01:00
parent 667091efb0
commit 453cef40af
8 changed files with 375 additions and 3 deletions
+2
View File
@@ -113,6 +113,8 @@ Collectors never use the site login. Each one sends its own bearer key.
| GET, POST | `/api/v1/reports` | admin | list or store nightly/weekly report output (`period_start`, `period_end`, `model`, `prompt_hash`, `body`) |
| GET | `/api/v1/notifications/status` | admin | ntfy configuration and whether nudges are configured |
| PUT | `/api/v1/notifications/config` | admin | set ntfy server/topic, enabled flag, and optional retention days |
| POST | `/api/v1/notifications/goals/check` | admin | evaluate today's goals and send ntfy alerts for unmet goals behind pace |
| GET | `/api/v1/health/collectors` | admin | collector last-seen age/status and activity/sample ingestion counts |
| POST | `/api/v1/privacy/purge?before=RFC3339` | admin | permanently delete old activities, samples, and reports |
| GET | `/`, `/setup` | admin | the dashboard app |
| GET | `/tracker.user.js`, `/assets/*`, `/healthz`, `/readyz` | none | the userscript and the app's scripts hold no secrets |