GeezerVison is showing github.com — impl(pm-stack): watchdog heartbeat + self-failure checker (#1260 follow-on 5) · Issue #9992 · developing-today/code
impl(pm-stack): watchdog heartbeat + self-failure checker (#1260 follow-on 5) #9992DescriptionDesign note: doc/2026-11-14T12-54-00Z_design_pm_stack_slo_watchdog (PR #9987, for #1260, epic #1184). Filed by queue worker lane code-c, task 16644.
Scope (§5 of the note): the watchdog writes a heartbeat line to its journal every run (5-min cadence); a minimal independent checker in the page-health-push pattern reads it — 2 missed cycles raise NEEDS ORCHESTRATOR, 3 page Drew. The checker shares no code with the watchdog beyond reading the journal.
Acceptance: killing the watchdog in a test scenario raises the alerts at the stated thresholds; the journal stays append-only (a wedged watchdog cannot rewrite history). Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 17, 2026
🤖 Agent note · picked up + triaged
- Agent: queue worker (repo-worker-code), lane any-g
- Session / ID: task 19077
- Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-g); execution-lane assignment: direct (fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187)
- Task: Triage issue impl(pm-stack): watchdog heartbeat + self-failure checker (#1260 follow-on 5) #9992: impl(pm-stack): watchdog heartbeat + self-failure checker (design(pm-stack): SLOs + self-healing for the PM stack itself — freshness SLOs with error budgets, watchdog remediates before alerting #1260 follow-on 5)
- Fresh verification (2026-11-17): issue impl(pm-stack): watchdog heartbeat + self-failure checker (#1260 follow-on 5) #9992 OPEN with no labels at all (never triaged; one filing comment). No hard-stop labels. Design §5 read on origin/main this run: heartbeat line to the journal every run (5-min cadence); the checker is the existing page-health-push pattern; 2 missed cycles raise NEEDS ORCHESTRATOR, 3 page Drew; journal append-only; the checker shares no code with the watchdog beyond reading the journal.
- Verdict: work kind
task/small-fix · priority/normal · effort/m · kind/feature, app/pm-stack (labels applied this run, plus status/triaged and queue/queued for the follow-on) — priority mirrors the follow-on family (sibling impl(pm-stack): SLO sampler + journal + health-page error-budget display (#1260 follow-on 1) #9988 carries priority/normal).
- Not built: fresh greps across pkgs/ on origin/main find no NEEDS ORCHESTRATOR and no watchdog heartbeat implementation — this slice is genuinely unstarted.
- Sequencing (the packet's first step): the heartbeat lands in the journal follow-on 1 (impl(pm-stack): SLO sampler + journal + health-page error-budget display (#1260 follow-on 1) #9988, SLO sampler + journal) creates, and the acceptance's kill test kills that sampler loop. impl(pm-stack): SLO sampler + journal + health-page error-budget display (#1260 follow-on 1) #9988 is OPEN and unlanded — as are impl(pm-stack): watchdog remediation executor — catalogue, caps, cooldowns, circuit breakers (#1260 follow-on 2) #9989/impl(pm-stack): post-remediation verification + journal/feed mirroring (#1260 follow-on 3) #9990/impl(pm-stack): watchdog escalation router — page vs NEEDS ORCHESTRATOR, budget-aware (#1260 follow-on 4) #9991 — so the follow-on packet is dep-gated: its claimer dep-blocks on impl(pm-stack): SLO sampler + journal + health-page error-budget display (#1260 follow-on 1) #9988 if it still hasn't landed, rather than inventing a journal format. The checker half is independent by design (it reads only the journal file) and its thresholds are already settled, so the packet is fully specified once the gate clears.
- Fix packet:
repo-health:v1:fix:developing-today/code:issue:9992 → enqueued as task 20462 (queue repo-health-code-pilot, status queued, priority 30; packet file hidden_files/19077-fix-packet-9992.json).
dezren39 commented on Nov 22, 2026
PR opened: #12305. It adds the five-minute append-only heartbeat, independent two-/three-cycle checker, alert CLI runner, and focused tests. The checker runner is ready for page-health-push to invoke. That scheduler is external to this checkout and remains unwired here; this PR does not claim that end-to-end schedule integration is complete. dezren39 commented on Nov 22, 2026 dezren39 commented on Nov 22, 2026 agent-note:v1
state: parked
task: 20462
worker: repo-worker-code
lane: oc-code-06
origin: openchamber-scheduled-lane
Task 20462 parked for 30 minutes, preserving the canonical PR #12305 (03b4020) and clean existing worktree. Fresh checks: #9992 OPEN/no hard-stop labels; #9988 CLOSED/status:done; PR #12305 OPEN with CodeRabbit NEUTRAL and Proof SKIPPED. Review identifies a startup-grace bug when the journal predates monitoring activation. Independent page-health-push scheduling/stdout delivery is not established, and the existing feed writer replaces full snapshots so a partial NEEDS ORCHESTRATOR write is unsafe. No code changes or tests this resume.
resume: continue this PR after the monitoring activation/grace, scheduler delivery, and safe feed publisher contracts are available; resolve review findings and verify fresh CI. dezren39 commented on Nov 22, 2026 agent-note:v1
state: done
task: 20462
worker: repo-worker-code
lane: oc-code-02
origin: openchamber-scheduled-lane
Task outcome verified: canonical PR #12305 merged 2026-11-22 at merge commit b47c1de5de2ef3d72340cb25fa19e2dfaf6f7c76 (head 976d367477abebb658626889c9973ca429fc2c48). It delivers the watchdog heartbeat and independent checker, startup grace, threshold/dedupe behavior, and resolved review findings. PR evidence reports focused suites 17/17 passing (575 assertions), tsc --noEmit clean, and git diff --check clean. The external page-health-push scheduler invocation/stdout delivery remains an operational boundary outside this repository and was explicitly documented in the merged PR; no local substitute was invented. Closing this issue against the merged implementation. dezren39 commented on Nov 22, 2026 Closed as implemented. Implemented in merged PR #12305; merge commit b47c1de. External scheduler invocation is documented as an operational boundary in the PR.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|