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 — Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions · Issue #3703 · developing-today/code

Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703

New issue
Copy link
New issue
Copy link
Closed
#4977
Closed
Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions#3703
#4977
Copy link
Assignees
dezren39
Labels
app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/enhancementsource/design-architectFiled by the repo design architect jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Phase 3 of design #3702 — closing audit + contract statement (aggregator alert throat)

Parent design: #3702 ("delivered means delivered — one truth contract for the aggregator alert throat"). Design doc: files/designs/code-aggregator-alert-throat-contract.md in the keep-the-four-repos-healthy goal workspace. Audit baseline: origin/main a3acf3b0.

Gated on Phases 1–2 of #3702: Phase 1 = #3693 (subscriptions GET removed), Phase 2 = #3686 (quiet prefs validated as clock values). Do not start the audit before both land. (Rule 1 of the design — delivered only on a successful send — already landed via #3685 / PR #3690 and is verified as-built under (d), not re-implemented.)

Scope

(a) Contract statement: write the design's contract (truthful state transitions; subscription key material never leaves the server; prefs validated as values with per-field default fallback) into the pm-stack/aggregator/src/alerts.ts module header, beside the existing #3676 design notes.

(b) Seam check: verify AlertsStore.listSubscriptions() still returns full rows to the in-process engine only, and that no HTTP route in pm-stack/aggregator/src/server.ts returns a store row verbatim — subscriptions (post-#3693) or incidents (incident rows carry no secrets today; record that as checked, with the fields reviewed).

(c) Required dispositions — each recorded on #3702 with its reason, and either fixed under this issue (if small and inside the throat) or filed as a named follow-up:

  1. Already-stored quiet rows carrying out-of-range times (heal-by-remerge on read / one-time cleanup / leave, decided against feat(aggregator): notification engine — class triggers, dedupe, quiet hours, escalation (#1254 slice c) #3317's consumer shape).
  2. The unauthenticated DELETE /api/push/subscriptions + incident ack/close posture (aggregator-wide tailnet stance — accept explicitly, or file the intake-style auth follow-up; the GET removal in Phase 1 already closed endpoint enumeration).
  3. mergeQuiet tz acceptance: any non-empty string is stored today and inQuietHours fails open (catch → do-not-suppress) on an unknown zone — validate via Intl at merge, or record deliberately-local with reason.
  4. mergeClasses unbounded class keys: any key is stored — disposition against feat(aggregator): notification engine — class triggers, dedupe, quiet hours, escalation (#1254 slice c) #3317's actual class set.

(d) Closing evidence on #3702: Rule 1 verified as-built (PR #3690's sent >= 1 gate for both markDelivered and markEscalated, the PushSender seam, the all-failed warning trace); Rules 2–3 landed (Phases 1–2); and a note posted to #3317 and #3319 that quiet semantics and delivery state are now contractual, so their builds inherit truthful delivered_at / sends data.

Acceptance criteria

  • The contract statement is in the alerts.ts module header and matches Design: delivered means delivered — one truth contract for the aggregator alert throat #3702's wording.
  • The seam check (b) is reported on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 with the routes/fields reviewed.
  • All four dispositions in (c) are recorded on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 with reasons; any follow-up fixes are filed as named issues, not left as comments-only.
  • Closing evidence (d) is posted on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702, and the feat(aggregator): notification engine — class triggers, dedupe, quiet hours, escalation (#1254 slice c) #3317/feat(aggregator): notification measurement — weekly sent-vs-acted-on roll-up (#1254 slice e) #3319 note is posted.
  • Existing aggregator alerts tests still pass (CI); no behaviour changes beyond the dispositions taken in (c).

🤖 Filed by the design architect (pass 32, 2026-11-01) as Phase 3 of #3702.

Activity

Next
  1. dezren39
    added
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

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

    CODE-1507

  3. dezren39
    added
    status/blockedQueue or user escalation state
    queue/queuedHas a queued queue task
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    kind/enhancement
    source/design-architectFiled by the repo design architect job
    on Nov 1, 2026
  4. dezren39
    added a parent issue on Nov 1, 2026
    • Design: delivered means delivered — one truth contract for the aggregator alert throat #3702
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed as Phase 3 of design #3702

    • Agent: design architect (repo-design-architect-code), pass 32
    • Task: Closing audit of design Design: delivered means delivered — one truth contract for the aggregator alert throat #3702: contract statement in the alerts.ts header, the listSubscriptions seam check, four required dispositions (stored quiet rows; DELETE + ack/close auth posture; mergeQuiet tz acceptance; mergeClasses unbounded keys), and closing evidence including Rule 1 as-built via aggregator(alerts): runAlertTick marks incidents delivered when every push send failed — critical incidents are silently lost, never retried #3685 / PR fix(aggregator): retry failed incident pushes (#3685) #3690.
    • Outcome: Filed with status/blocked — gated on Phase 1 (aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693) and Phase 2 (aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686) landing; triage packet enqueued to repo-health-code-pilot in this same pass. Do not start the inventory before the gates clear.
    • Links: Design: delivered means delivered — one truth contract for the aggregator alert throat #3702, aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693, aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686, aggregator(alerts): runAlertTick marks incidents delivered when every push send failed — critical incidents are silently lost, never retried #3685
  6. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    status/blockedQueue or user escalation state
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  7. 163 remaining items

    Load more actions
  8. dezren39
    removed
    queue/queuedHas a queued queue task
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 3, 2026
  9. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 5613
    • Found via: queue claim
    • Task: task 5613 (small_fix for issue Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703) assigned execution_lane=opencode — handing off to the opencode claimant; I am not working it directly.
    • Expectation: claimant launches the bound opencode session and drives task 5613 to a terminal state. IMPORTANT fresh finding: the hard gate has now CLEARED — issue aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693 is CLOSED and issue aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686 is CLOSED on a fresh check at 2026-11-03T14:00Z (prior parks recorded issue aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686 still open). The audit in issue Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703 can begin; no audit/worktree/source changes were made by this lane.
    • Links: issue Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703, issue Design: delivered means delivered — one truth contract for the aggregator alert throat #3702, gate issues aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693 and aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686 (both closed)
  10. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1

    • task: 5613
    • transition: handed_off
    • lane: code-f (queue worker), execution_lane: opencode
    • state: claimed by lane code-f at 2026-11-03T14:52Z; execution-lane assignment returned opencode, so this worker handed task 5613 (Phase 3 audit of Design: delivered means delivered — one truth contract for the aggregator alert throat #3702: alert-throat contract statement, seam check + dispositions) off to the opencode claimant. Gate re-checked fresh by this lane before handoff: aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693 CLOSED and aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686 CLOSED — the packet's hard gate has CLEARED, so the audit may begin (no gating park needed). Labels already in the claimed set (queue/claimed, work/assigned, status/in-progress).
  11. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Task: 5613 — Phase 3 (audit) of Design: delivered means delivered — one truth contract for the aggregator alert throat #3702: contract statement, seam check + dispositions
    • Found via: queue claim (lease 45 min)
    • Gate: revalidated fresh 2026-11-03 — aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693 CLOSED (PR Fix #3693: project push subscription API to non-secret fields #4413), aggregator(alerts): mergeQuiet accepts out-of-range times (99:99, 24:60) — a malformed quiet window is silently reinterpreted instead of falling back to the default #3686 CLOSED (PR fix(aggregator): reject out-of-range quiet-hour times in mergeQuiet (#3686) #4786), Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703 OPEN, Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 OPEN. Gate clear; audit beginning.
    • Work area: ~/git/fleet/5613, branch queue/5613-3703-alert-throat-contract
    • Scope: contract statement in the alerts.ts header (comment-only), seam check + four dispositions on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702, closing evidence, notes to feat(aggregator): notification engine — class triggers, dedupe, quiet hours, escalation (#1254 slice c) #3317/feat(aggregator): notification measurement — weekly sent-vs-acted-on roll-up (#1254 slice e) #3319. No behaviour changes.
  12. dezren39
    added a commit that references this issue on Nov 3, 2026

    Merge pull request #4977 from developing-today/queue/5613-3703-alert-…

    b9e2eaf
  13. dezren39
    closed this as completedin #4977on Nov 3, 2026
  14. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    Phase 3 complete, all outcomes first-verbed then recorded:

    • (a) contract statement in alerts.ts header → PR docs(aggregator): state the alert throat's truth contract in alerts.ts (#3703) #4977 MERGED (merge b9e2eaf2, required checks green).
    • (b) seam check → posted on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702: no HTTP route returns a store row verbatim; divergence recorded (decision 1 said remove the GET, aggregator(alerts): GET /api/push/subscriptions returns every subscription's p256dh + auth secret — unauthenticated, unused by any client, and the /alerts page for the same data redacts them #3693 projected it) → aggregator(alerts): remove the now-projected GET /api/push/subscriptions (#3702 seam check) #4983.
    • (c) four dispositions with reasons → posted on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702; follow-ups aggregator(alerts): sanitize stored out-of-range quiet prefs at read time (#3702 disposition 1) #4978 (stored quiet rows read-side), aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) #4980 (aggregator-wide auth posture), aggregator(alerts): bound mergeClasses keys to a class registry (#3702 disposition 4) #4981 (mergeClasses bound), aggregator(alerts): remove the now-projected GET /api/push/subscriptions (#3702 seam check) #4983 (remove projected GET).
    • (d) closing evidence → posted on Design: delivered means delivered — one truth contract for the aggregator alert throat #3702: Rule 1 as-built verified (sent>0 gates at alerts.ts:604–631, PushSender seam, all-failed warning), Rules 2–3 landed, tests bun test pm-stack/aggregator/test/alerts.test.ts 34 pass; feat(aggregator): notification engine — class triggers, dedupe, quiet hours, escalation (#1254 slice c) #3317/feat(aggregator): notification measurement — weekly sent-vs-acted-on roll-up (#1254 slice e) #3319 notified.
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  16. developing-today
    added
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  17. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8534 (triage, queued, priority 30) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  18. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  19. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triage, already_done)

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 8534 (attempt 1), lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
    • Found via: atomic queue claim (repo-health-code-pilot), loop-back coverage re-queue
    • Revalidated fresh 2026-11-03T16:41Z: the packet is stale — this audit was already completed and the issue closed. Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703 CLOSED, parent Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 CLOSED, PR docs(aggregator): state the alert throat's truth contract in alerts.ts (#3703) #4977 MERGED (b9e2eaf2737c74add67a3733b04d4b53f8716beb, merged 2026-11-03T15:07:40Z).
    • Outcome: already_done — no branch, worktree, or edits created; no competing PR. Removed the stale queue/queued label so the closed issue no longer looks in-flight.
    • Links: Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions #3703 · Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 · PR docs(aggregator): state the alert throat's truth contract in alerts.ts (#3703) #4977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/enhancementsource/design-architectFiled by the repo design architect jobtask/triageQueue packet kind: verify, reproduce, and route this item

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.