GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impl(pm-stack): watchdog escalation router — page vs NEEDS ORCHESTRATOR, budget-aware (#1260 follow-on 4) · Issue #9991 · developing-today/code

impl(pm-stack): watchdog escalation router — page vs NEEDS ORCHESTRATOR, budget-aware (#1260 follow-on 4) #9991

New issue
Copy link
New issue
Copy link
Closed
#13019
Closed
impl(pm-stack): watchdog escalation router — page vs NEEDS ORCHESTRATOR, budget-aware (#1260 follow-on 4)#9991
#13019
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Design 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 (§4 of the note): route incidents to NEEDS ORCHESTRATOR or page Drew per the notes rules — remediation exhausted, user-facing facet failing first verification, 2+ facets bad together, stateful service down (always page); budget-aware tightening (<25% remaining pages on first failed verification; exhausted pages on detection with at most one remediation attempt).

Acceptance: each rule is exercised by a test or a scripted scenario; the page channel follows Drews §6.1 answer on #1260 once given (until then, the existing page-health-push path).

Activity

Next
  1. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3480

  2. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triage of record (task 19076, lane any-l)

    State: triaged. Issue #9991 OPEN, no labels, no hard-stop labels (fresh check 2026-11-17).

    Verdict:

    • Work kind: small-fix (implementation). Priority: normal — PM stack is a named program (drew-priorities-brief line 4); no expedite. Effort: l. Kind: enhancement.
    • Design is merged: PR docs(pm-stack): SLOs + self-healing watchdog design note (#1260) #9987 landed the SLO watchdog note; this issue is its section 7 follow-on 4, scoped by section 4 (read in full this triage).
    • Partially built, router missing: watchdog.ts already derives NEEDS ORCHESTRATOR tier items (impl(fleet): staleness watchdog - surface dead/stale stack inputs as NEEDS ORCHESTRATOR instead of silent decay #1148; derive.ts, server.ts) and the push path exists (aggregator push.ts / alerts.ts). Nothing applies the section 4 page rules — remediation exhausted, user-facing facet first-verification failure, 2+ facets bad, stateful service down — or the budget-aware tightening (<25% remaining; exhausted).
    • Not gated on Drew: design section 6 question 1 (page channel) has no answer on design(pm-stack): SLOs + self-healing for the PM stack itself — freshness SLOs with error budgets, watchdog remediates before alerting #1260, but this issue's own acceptance names the interim default — the existing page-health-push path until then. The router is built against that default; it is not an escalation.
    • Dependency note: the router consumes the remediation executor's exhaustion/cap signals — that executor is follow-on 2, issue impl(pm-stack): watchdog remediation executor — catalogue, caps, cooldowns, circuit breakers (#1260 follow-on 2) #9989 (task 20452, queued). The router packet is written to consume those signals; if the executor lands second, wire to its real signal shape then.

    Follow-on: task 20459 (small_fix, queued) — implement the section 4 router with budget thresholds, pages via the existing push path, and a test/scenario per rule.

    Acceptance check for the fix: every section 4 rule exercised by test or scripted scenario; budget tightening verified; tests pass; PR merged, issue closed with evidence.

  4. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/enhancement
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  5. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: parked
    task: 20459 · lane: any-n · worker: repo-worker-code

    Picked up and checkpointed (origin: openchamber-scheduled-lane). Fresh verification: #9991 remains OPEN and assigned to dezren39; no matching open PR. No worktree or code changes started.

    Parked because this medium-risk paging router requires a dedicated 45-minute implementation window, beyond the remaining scheduled run. Resume after explicit ownership release; revalidate first.

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Queue task 20459 (openchamber scheduled lane code-i): picked up, re-verified (OPEN, assigned to dezren39, no open PR), parked 6h pending explicit ownership release and a dedicated run. No branch or worktree created.

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    Task 20459 (OpenChamber scheduled lane, lane any-n) was claimed and freshly revalidated at 2026-11-18 14:46Z. Issue #9991 remains OPEN, assigned to dezren39 (Drew), and no open PR references it. No explicit ownership release is recorded. This medium paging-risk implementation requires an explicit release and a dedicated full 45-minute implementation run; no branch or worktree was created. Parked until 2026-11-18 15:16:48Z; resume only if ownership is released and the full run window is available, then revalidate.

  8. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/queuedHas a queued queue task
    on Nov 18, 2026
  9. 32 remaining items

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Claim — Lane JO (archer), 2026-11-23 ~01:03 CST. Taking #9991's named remainder from PR #12961: call routeEscalations + deliverEscalations from the aggregator server's watchdog tick with the real journal/feed/push sinks. Premise check first-hand before code: issue open, PR #12961 merged (ec2712729ba), no live claim on this slice (Lane GE's record is state=done). If the wiring premise fails verification I will record why and stand down instead of manufacturing code.

  11. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13019 from developing-today/lane-jo-9991

    abd8c49
  12. dezren39
    closed this as completedin #13019on Nov 23, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  14. dezren39
    reopened this on Nov 23, 2026
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice done + auto-close correction — Lane JO.

    Correction first: this issue was auto-closed by PR #13019's merge a moment ago and I have reopened it. The cause is mine: the PR body contained the sentence "This PR deliberately does not close #9991 in its merge wording", and GitHub's parser acts on the keyword even inside a negation (the same trap that bit #787 and #12966). The closure was an accident of wording, not a decision — so the close call is still open below, for the owning line to make deliberately.

    Landed: PR #13019 merged (abd8c49dfd77, head-SHA guarded at 3afabc6a2c83; escalation-tick.ts verified present on origin/main). This was the last named remainder from PR #12961's record:

    • src/escalation-tick.ts (new): the per-tick pipeline — SLO summaries + remediation state → buildEscalationInput → routeEscalations → deliverEscalations — with repeat suppression keyed on the decision itself (facet + route + reason + attempt cap): delivered once per incident, re-delivered on decision change or recovery + recurrence, retried next tick when a delivery reports an error.
    • src/server.ts: the tick call rides the scheduled live watchdog run in its own try/catch, with the real sinks — journal → the append-only watchdog journal (SLO journal file, escalation:<facet> lines; SloJournalLine gained the optional escalation field in src/slo-journal.ts); feed event → the activity stream impl(fleet): staleness watchdog - surface dead/stale stack inputs as NEEDS ORCHESTRATOR instead of silent decay #1148 reports into (stable per-decision source id); push → the page-health-push path, sendPush over the alerts store's incident-class subscriptions with sends logged; a page counts delivered only when a subscription accepts it, and no store / no eligible subscription reports {ok: false, error} instead of staying silent.

    Verification: escalation trio 47 pass / 0 fail (10 new tick tests); neighbours (remediation, slo, slo-journal, slo-sampler, watchdog, watchdog-runner, watchdog-heartbeat) 65/65; alerts/notifications/events 119/119; activity ×3 + slo-health-render 55/55; lib-deps + pool-state 19/19 — 305 across every suite touching the changed modules; bun build src/server.ts clean. One full-suite run produced no verdict (the laptop channel dropped mid-run under load — transport, not tests), stated plainly rather than claimed.

    The named seam: the tick reads remediation state through an injected reader that returns the empty state, because #9989's executor is a pure module with no production host — nothing attempted, nothing in flight is the stack's actual condition, and stateful/correlated/budget-exhausted pages all fire from the live summaries regardless. #9990's §3 verification presupposes the same host; a pointer is posted there.

    Close call, for the owning line: #9991's named scope (sampler #9988, executor module #9989, router PR #12125, adapter PR #12961, this wiring) is now complete. If the executor-host gap is judged to belong to #9990's line, this issue can close as completed; I have left it open rather than let a wording accident decide it.

  16. developing-today
    added
    status:to-do
    and removed
    status:done
    on Nov 23, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix picking up #9991 for a done-check pass: the router core (PR #12125), input adapter (PR #12961), and server-tick wiring (PR #13019) all appear merged, and Lane JO's record left the close call to the owning line. I will verify each piece against current origin/main and post a verification record; no reimplementation.

  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Verification record — Lane felix, 2026-11-23. Done-check against current origin/main (5c8e16384): #9991's named scope is fully landed. No reimplementation made.

    Pieces verified present on origin/main, each merged:

    • §4 router core — PR Add budget-aware watchdog escalation router #12125, MERGED 2026-11-21T04:34:35Z. pm-stack/aggregator/src/escalation.ts: facet classes with pad/grist/database as stateful (always page), BUDGET_TIGHTEN_PERCENT = 25 (<25% remaining tightens to page on first failed verification), budget-exhausted rule (page on detection after at most one remediation attempt), NEEDS ORCHESTRATOR vs page routes.
    • Escalation input adapter — PR feat(pm-stack): escalation input adapter — router input from SLO summaries + remediation state (#9991) #12961, MERGED 2026-11-23T05:56:30Z. src/escalation-input.ts: buildEscalationInput(summaries, remediationState, now) + SLO_FACET_MAP over the real slo.ts/remediation.ts shapes.
    • Server-tick wiring with real sinks — PR feat(pm-stack): wire the §4 escalation router into the watchdog tick (#9991) #13019, MERGED 2026-11-23T07:12:17Z. src/escalation-tick.ts present; src/server.ts builds the sink (journal → append-only SLO journal via escalationJournalLine; feed → activity stream; push → page-health-push sendPush over the alerts store) and calls escalationTicker.tick() inside the scheduled watchdog run in its own try/catch; src/slo-journal.ts carries the optional escalation field.

    Acceptance, point by point:

    • "Each rule is exercised by a test or a scripted scenario" — all three suites present on main: test/escalation.test.ts (router scenarios, 20/20 at PR Add budget-aware watchdog escalation router #12125), test/escalation-input.test.ts (14, end-to-end through real shapes), test/escalation-tick.test.ts (10) — 47 in the trio per the landing records. This pass verified presence, wiring, and merge state; it did not re-run the suites (remote-builds-only rule; the landing lanes' recorded runs stand).
    • "The page channel follows Drew's §6.1 answer on design(pm-stack): SLOs + self-healing for the PM stack itself — freshness SLOs with error budgets, watchdog remediates before alerting #1260 once given (until then, the existing page-health-push path)" — §6.1 is still unanswered on design(pm-stack): SLOs + self-healing for the PM stack itself — freshness SLOs with error budgets, watchdog remediates before alerting #1260 (the design note's §6 names it as an open question for Drew), and PR feat(pm-stack): wire the §4 escalation router into the watchdog tick (#9991) #13019 routes pages through exactly the interim page-health-push path the criterion specifies. Criterion met as written.

    The one named seam, dispositioned: the tick reads remediation state through an injected reader returning the empty state, because #9989's executor is a pure module with no production host. That host gap is recorded on #9990 (Lane JO's pointer, posted with PR #13019) — #9990's §3 verification presupposes the same host and #9990 remains open as its own work item. Stateful, correlated, and budget-exhausted pages fire from the live SLO summaries regardless.

    Close call (left to the owning line, per Lane JO's record): with the executor-host gap belonging to #9991's sibling #9990 line, this issue's scope — sampler #9988, executor module #9989, router #12125, adapter #12961, wiring #13019 — is complete and can close as completed. Left open here so the closure is a deliberate call, not a wording accident.

  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closing note — Felix, 2026-11-23: closing on the verification record above (comment 7102194714). Every piece of #9991's named scope is landed on main (router core PR #12125, input adapter PR #12961, server-tick wiring PR #13019; 47 rule-exercise tests across the three suites), and the page channel runs the interim path the acceptance specifies until Drew's §6.1 answer on #1260 lands. The one open thread — the remediation-state reader's empty state — belongs to #9990's line (its executor has no production host) and is recorded there; it is not #9991 scope.

  20. dezren39
    closed this as completedon Nov 23, 2026
  21. developing-today
    added
    status:done
    and removed
    status:to-do
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.