From 129a6710cc5ba103e05e91ceb00769227d0a98a9 Mon Sep 17 00:00:00 2001 From: dtoro Date: Tue, 7 Jul 2026 21:27:21 +0200 Subject: [PATCH] =?UTF-8?q?cutover:=20watchdog=20fully=20tested=20?= =?UTF-8?q?=E2=80=94=20Matrix=20alert=20verified,=20Matrix=20env=20vars=20?= =?UTF-8?q?added=20to=20compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 4 ++++ scripts/cutover-checklist.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f22be2b..4b55d1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -97,6 +97,10 @@ services: OIKOS_DATABASE_URL: postgres://oikos:${OIKOS_DB_PASSWORD:-oikos_dev}@postgres:5432/oikos?sslmode=disable OIKOS_DEBUG: "true" 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"] stop_signal: SIGTERM stop_grace_period: 30s diff --git a/scripts/cutover-checklist.md b/scripts/cutover-checklist.md index 0d457fc..c138ecc 100644 --- a/scripts/cutover-checklist.md +++ b/scripts/cutover-checklist.md @@ -27,7 +27,7 @@ Status: [x] = done, [ ] = pending - [x] **Agent activity**: `curl http://localhost:8090/api/v1/agent-activity` → returns data - [x] **Scheduler ticking**: 30s ticks logged - [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