Repository navigation
Closed
3 / 33 of 3 issues completedClosed
3 / 33 of 3 issues completed
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codepm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/humanFiled directly by a humanFiled directly by a humanstatus:done
Description
Part of epic #1184 (PM stack coherence — ideal-system design series, 2026-10-26).
Why
Today the aggregator learns about the world from a fleet feed a sandbox collector republishes roughly every 5 minutes, and a stale feed renders indefinitely — freshness is bounded by the poll, and failures are silent until someone notices. An ideal stack is event-driven: GitHub webhooks and local service events push state changes to the aggregator, which pushes them to open browsers in seconds; polling survives only as a reconciliation backstop that proves the push path hasn't missed anything.
Design questions to answer
- Which event sources are in scope v1 (GitHub webhooks via the existing App/tunnel, Kaneo webhooks, collector-local events, orchestration publishes) and what is the delivery path for each?
- Transport to the browser: SSE vs WebSocket, per-page subscriptions, and how the machine-first JSON twins expose the same stream?
- Ordering, dedupe, and replay: how does a reconnecting client catch up, and how does reconciliation detect a missed event?
- Failure posture: when push is down, how is that surfaced (health page, freshness chips) and what poll interval is the fallback?
- Auth: how are webhook signatures and browser subscriptions authenticated under the single-URL/Access model (design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182)?
Acceptance
- Design note landed in repo
doc/+ implementation issues filed and linked as sub-issues of epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184; open questions needing Drew named explicitly in the design note.
Acceptance criteria
- A design note is landed in the repo
doc/answering the design questions above: v1 event sources and delivery paths, the browser transport (SSE vs WebSocket) and its JSON-twin exposure, ordering/dedupe/replay, the failure posture with polling as reconciliation only, and webhook/subscription auth under the design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 Access model. - Implementation issues are filed and linked as sub-issues of epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184.
- Open questions needing Drew are named explicitly in the design note.
- The design states how a missed event is detected by reconciliation, and how push-down is surfaced on the health page / freshness chips.
Metadata
Metadata
Assignees
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codepm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/humanFiled directly by a humanFiled directly by a humanstatus:done
Activity
developing-today commentedon Oct 27, 2026
CODE-376
dezren39 commentedon Oct 28, 2026
Intake review
Related: epic #1184 (parent) · #1182 (Access model — webhook and subscription auth answers depend on it) · #1110 (the orchestration-section rejection, part of the freshness-honesty problem this redesigns).
Notes: Still live — verified this run: no merged PR introduces webhooks/SSE freshness; merged-PR searches return only unrelated number coincidences. The issue arrived with a
## Acceptancesection; the appended## Acceptance criteriaformalizes it.effort/mfor the design pass (implementation is separate follow-up work).Risks / suggested approach: Design-only deliverable in this issue: the acceptance bar is the landed design note plus filed, linked implementation issues — per the standing rule, a design with no implementation link is not finished work. The reconciliation design is the load-bearing part — push without a missed-event detector recreates today's silent-staleness failure with better latency.
— repo-fleet-monitor intake pass, 2026-10-28T03:55Z
43 remaining items
dezren39 commentedon Nov 14, 2026
Gate cleared — Drew answered (dropped-thread-catcher, Step 2C application, 2026-11-14).
Evidence: decisions-page set decisions-chat-2026-11-14-1028, answered 2026-11-14T16:40:36Z — ledger item subissue-parent-1252 closed as answered: "Authorize restructuring under #1184", with Drew's guidance: "Review all the work under this issue number and the other work in the repo, and restructure. I believe you can make nests, so figure out the logical structure and make smaller parents. Then group up the parents into larger issues, and continue repeating that until you have whatever depth-and-width tree of issues you need to adequately represent the true nature of the work in the repo." Ledger read-back by the catcher confirms status answered with the resolution and guidance recorded.
Unblock: the gate task 4942 already completed (2026-11-14T13:58Z), so no queue task remained to release; the Drew gate itself is cleared. Labels synced: status/blocked, queue/blocked and user/escalated removed. The restructuring work Drew authorized is the follow-on for triage/orchestration routing — it is not blocked on Drew anymore.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — gate answered, restructuring routed, closing (task 18099, queue repo-health-code-pilot, lane code-a)
doc/(doc/2026-11-01T21-05-00Z_design_event_driven_freshness/, via PR docs(pm-stack): salvage event-driven freshness design from archive PR #7382 (#7297) #7940) answering the design questions, with Drew's open questions named; the implementation issues impl(pm-stack): reconcile freshness gaps and surface push health #3976, impl(pm-stack): publish durable freshness invalidations from verified sources #3977, impl(aggregator): add replayable freshness SSE and JSON twin #3978 were filed and are all CLOSED, with the implementation on main (pm-stack/aggregator/src/freshness.ts,freshness-delivery.ts— SSE stream + JSON twin,freshness-reconcile.ts,freshness-fallback.ts) — all verified by task 4942's done note (comment 6878333022, 2026-11-14, already_done). The one clause that could not be satisfied literally — native sub-issue linking of impl(pm-stack): reconcile freshness gaps and surface push health #3976–impl(aggregator): add replayable freshness SSE and JSON twin #3978 under epic epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184, which sits at GitHub's 100 sub-issue cap — was the subject of ledger itemsubissue-parent-1252.repo-health:v1:fix:developing-today/code:issue:1252, dedupe-checked at enqueue — broker revived the key from done task 4942): audit epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184's sub-issues, nest the design(pm-stack): event-driven freshness — replace the 5-minute polling feed with push (webhooks + SSE/WebSocket), polling as reconciliation only #1252 freshness family (impl(pm-stack): reconcile freshness gaps and surface push health #3976–impl(aggregator): add replayable freshness SSE and JSON twin #3978) under a smaller parent as the pilot, continue grouping by family, and record the tree on epic epic(dashboard): PM stack coherence - single-URL, fresh data, triage-able, hierarchical #1184, which stays OPEN as the program home.dezren39 commentedon Nov 17, 2026
Agent note — freshness family nested under this issue (lane any-j, task 19469)
Per Drew's 2026-11-14 authorization on this issue: the implementation issues #3976, #3977, and #3978 are now native sub-issues of #1252 (verified via the sub-issues API after linking), forming the nest #1184 → #1252 → #3976/#3977/#3978. This satisfies the intent of the acceptance clause that the 100 sub-issue cap on #1184 had made literally unsatisfiable. The tree is recorded on epic #1184.