docs: Lift A docs pass, plus watchdog exits 0 after a tick #103
Reference in New Issue
Block a user
Delete Branch "docs/lift-a-docs-pass"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs pass after Lift A (#102), plus one watchdog fix found while writing it.
Docs
docs/watchdog.md: signals and thresholds, alert lifecycle, admin surfaces, knobs, install (unit paths repointed withsed),--once, backtest, known limits.CLAUDE.md: North Star #4, Lift A modules under "What's built", the watchdog timer under "Run as a service", test count 2414.docs/incidents.md#8: full write-up (Evidence vs labelled Theory, Human response timeline); Lift A shipped; the plugin-loader root cause (router-link.jsexported a Map, so opencode 1.18 rejected the whole plugin and identity never arrived from #99 until #102); identity now confirmed arriving.docs/admin-portal.md,docs/api.md,docs/data-model.md,docs/clients.md: the watchdog endpoints and tables,blocked, the plugin loader contract. They describe what shipped and say plainly what did not: the Loops panel shows severity, key and time only, and there is no per-model stall rollup, Block-beside-evidence or Blocked list yet (North Star #4 is partly met).Status:.opencode.json:autoadvertises 200k context (was 782k), matching the live global config.Fix
watchdog --onceexited with the number of alerts fired, so the first real alert would mark the systemd oneshot FAILED. It now exits 0 once the tick has run and logs the count. The new test fails against the old exit path.Verification
test_incumbent_routing::test_debug_log_emits_incumbent_identity, also failing onmain).ruff@0.16.9: no new findings in touched Python files.watchdog --onceagainst a copy of the live DB: exit 0,0 alert(s) fired.After merge: the main checkout holds identical local copies of
CLAUDE.md,docs/incidents.md,opencode.jsonand six untrackedplans/files; restore/remove them beforegit pull.🤖 Generated with Claude Code
https://claude.ai/code/session_01N9biTbFC63yDfYfUsZmhgd