cutover: watchdog fully tested — Matrix alert verified, Matrix env vars added to compose
This commit is contained in:
@@ -97,6 +97,10 @@ services:
|
|||||||
OIKOS_DATABASE_URL: postgres://oikos:${OIKOS_DB_PASSWORD:-oikos_dev}@postgres:5432/oikos?sslmode=disable
|
OIKOS_DATABASE_URL: postgres://oikos:${OIKOS_DB_PASSWORD:-oikos_dev}@postgres:5432/oikos?sslmode=disable
|
||||||
OIKOS_DEBUG: "true"
|
OIKOS_DEBUG: "true"
|
||||||
OIKOS_APPROVAL_HMAC_SECRET: ${OIKOS_APPROVAL_HMAC_SECRET:-dev-secret}
|
OIKOS_APPROVAL_HMAC_SECRET: ${OIKOS_APPROVAL_HMAC_SECRET:-dev-secret}
|
||||||
|
OIKOS_MATRIX_HOMESERVER: ${OIKOS_MATRIX_HOMESERVER:-https://matrix.hubris.network}
|
||||||
|
OIKOS_MATRIX_USER: ${OIKOS_MATRIX_USER:-@hermes:hubris.network}
|
||||||
|
OIKOS_MATRIX_TOKEN: ${OIKOS_MATRIX_TOKEN}
|
||||||
|
OIKOS_MATRIX_ROOM: ${OIKOS_MATRIX_ROOM:-!alerts:hubris.network}
|
||||||
command: ["notifier"]
|
command: ["notifier"]
|
||||||
stop_signal: SIGTERM
|
stop_signal: SIGTERM
|
||||||
stop_grace_period: 30s
|
stop_grace_period: 30s
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Status: [x] = done, [ ] = pending
|
|||||||
- [x] **Agent activity**: `curl http://localhost:8090/api/v1/agent-activity` → returns data
|
- [x] **Agent activity**: `curl http://localhost:8090/api/v1/agent-activity` → returns data
|
||||||
- [x] **Scheduler ticking**: 30s ticks logged
|
- [x] **Scheduler ticking**: 30s ticks logged
|
||||||
- [x] **Notifier polling**: running
|
- [x] **Notifier polling**: running
|
||||||
- [x] **Watchdog tested**: 2026-07-07 — API stop/reset cycle verified. Failure detection + counting + automatic reset all work. Crontab path fixed (was stale .claude/worktrees/goofy-austin-b648b8 path, now /Users/dtoro/Projects/oikos). Matrix alert path not tested — needs MATRIX_TOKEN for full end-to-end.
|
- [x] **Watchdog tested**: 2026-07-07 — full cycle verified. API down → failure counting → Matrix alert sent (!alerts:hubris.network) → API recovery → counter reset. Crontab path fixed (was stale worktree path, now /Users/dtoro/Projects/oikos). MATRIX_TOKEN wired in crontab env.
|
||||||
|
|
||||||
## Rollback drill
|
## Rollback drill
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user