Repository navigation
Description
Reporting architecture — event-driven reporting, quota forecasting, living report pages (design-mill starter)
Directive: Drew, Reports side chat, 2026-11-13 09:11 CST. Urgency 400 (High).
This epic is the starter issue for the reporting-architecture design mill:
statement inventory → proto design (merged, see the design doc under
doc/2026-11-13T15-12-00Z_design_reporting-architecture-event-driven/) →
summit elaboration → component designs → granular issues. The epic does
NOT close on the design pass.
Program (five threads; thread 5 already routed away)
- Chat operating model — one category side chat per job family; jobs
execute, update the backend/repo themselves, insert their update into
their category chat insert-only (never read it), and end. Category map:
Reports (exceptions/decisions), Lanes (all lane effort), Designs, Issues
& PRs (all GitHub activity), Orchestration — queues, PM health &
questions, Pools & Quota (detail). The intake audit (chat-by-chat fates +
reroute list) is filed as this program's input; no rerouting ships
before Drew approves the map. - Event-driven reporting — Muse hooks + PM-stack triggers fill queue
items directly; GitHub org webhook + catchup-scan items land logged in
DBs AND in dedicated per-kind queues; hook drains fire at ≥10 new items
or oldest item ≥15 min → triage issues, review PRs, ensure a task minds
each, report quota current + projected. Heavy repeated crons retire;
surviving crons are named with reasons. Health checks (PM stack
reachable, OpenCode working) become failure-triggered hook scripts that
troubleshoot and report immediately. - Quota forecasting & efficiency — exhaustion / downtime /
reset-duration predictions as ranges on recorded bases (trailing-30d,
rates-until-last-reset, since-config-change, past-day vs 30d) with
day-type and spike-day adjustments; predictions logged, scored, and the
methodology refined until relatively accurate. Efficiency accounting
(quota vs merged PRs), routing-mode policy (ordered / round-robin /
weighted per provider), never-serve rules, free-provider inventory with
TESTED context windows, plan/model recommendations. Push notifications. - Report pages & spaces freshness — every space/report updated by its
owning task as data arrives (staleness is a defect); spaces may run off
a hook-produced JSON blob. Mobile-first is a hard requirement for
all spaces, reports, and PM-stack pages. The shared questions module
embeds beside facts; confirmation-bubble actions carry real effects
(queue an OpenAI/Anthropic/Fable reset at 100%); error question sets
spawn Muse tasks that update the page and notify. Custom incident
report pages + period/predicted-wall pages; a searchable reports index. - Rollups, design pages, Atlas — daily (midnight–midnight CT) /
weekly (Mon–Mon CT) / monthly / quarterly activity pages answering
"what did we do today?", with soft edit windows then restricted edit
forms; period snapshots cloned into dated frozen library spaces;
per-project spaces (Fleet, PM stack, Atlas, ID); per-design pages with
subdesign trees and implementation rollups (done / in-progress /
blocked / queued) up to roadmap/epic pages; a reports timeline
(quarter → month → week → day). Everything ingests into Atlas many
times daily, recency-biased, with metadata links, cross-linked
embeddings, rich page metadata, and query-planner boosts for
error-driven investigation (first-appearance of an error string →
issues/PRs/commits → queue attempts/models/worktrees → transcript
expectations → rhyming/class fixes). - Identity material — NOT this program. Drew's kiosk / cross-signing
elaboration was filed at intake as amendment comments on design(id): delegation + cross-signed identity ceremony #9132
(pointers design(id): string-path names — per-server resolution, search lenses, standing, authority groups #9121, design(id): append-list user-attribute protocol — signed submission, server order, pending queue #9127) of the federation/namespaces program epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106.
Collisions (consume / extend, never duplicate)
#1184 (PM-stack coherence; at the 100-sub-issue cap → cross-linked, not
parented), #9196 (orchestration — dispatch/selection/lifecycle substrate),
#9060 + #9070/#9073/#9074/#9075 (hierarchy, genealogy, Metadata, session
state), #9091 (Atlas v1 — C8 is an input, not a parallel program), #9106
(identity amendment target), #9178 (queue claim surface this program
assumes), #9180 (this program's rulings get FDRs). The Fleet Reports Space
(17 streams) and page-health-push are existing surfaces, not competitors.
Safety gates
Designs + issues only from the mill. No live job, cron, hook, or chat
delivery changes in the intake pass; chat rerouting ships only after Drew
approves the audit map; the standing cloud-reset rule (thread 3) requires
Drew's explicit ruling (proposed as an FDR per #9180) before any
automation acts on it.
Acceptance
- Statement inventory re-verified at atomic coverage by the summit
(zero unmapped). - Component designs for C1–C8 merged under doc/, each answering its
named open questions or batching them to Drew with defaults. - Granular implementation issues filed under each component.
- Coverage audit + traceability matrix posted here.
{"pm_meta": 1, "kind": "epic", "program": "reporting-architecture", "source": "Reports chat directive 2026-11-13 09:11 CST", "components": ["C1 chat operating model", "C2 event pipeline", "C3 health hooks", "C4 quota forecasting", "C5 efficiency + provider/model policy", "C6 report pages & spaces freshness", "C7 rollups + design pages + timeline", "C8 Atlas ingestion & investigation boosts"]}
Acceptance criteria
- Each programme thread (components C1-C8) has its design landed and granular implementation issues filed and linked.
- No chat rerouting shipped before Drew approved the category map (thread 0 gate).
- The epic's own rule is respected: it does not close on the design pass; it closes when its components' acceptance is met.
Activity
developing-today commentedon Nov 13, 2026
CODE-3166
dezren39 commentedon Nov 13, 2026
Component index (filed at intake, 2026-11-13)
Native sub-issues of this epic (verified by read-back):
Thread 5 (identity) was routed at intake to the federation/namespaces
program: amendment comment on #9132, pointers on #9121 and #9127.
Cross-link to #1184 posted there (it is at the sub-issue cap; this epic is
parented under #8990 per the #9060 precedent).
57 remaining items
dezren39 commentedon Nov 29, 2026
🤖 Census note — 2026-11-29 (lane CEN-C09, full issue census)
State verified today: reporting-architecture design-mill starter epic (statement inventory → proto design merged → summit elaboration → component designs → granular issues). Thread 0s component C1 (#9569) is delivered except its Q3 archive remainder, which lives inside this programme.
Pickup warning (the fact a picker needs first): this programmes design work is DIRECT-DISPATCH ONLY, reserved for its Summit owner (summit-direct). Its queue packet was incorrectly served to ordinary lanes 23 times (last recorded 2026-11-17) — ordinary lanes must NOT claim it; park it back if served.
Blocker: availability of the summit-direct owner; no lane-routable work exists here.
Census fixes: added priority/high, matching the bodys own stated urgency (Urgency 400 / High).
Verdict: blocked — owner-reserved programme epic; detail complete.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
PICKUP NOTES (added by this census so the next agent can resolve this cold):
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29 (wave 2 residual pass)
This issue already carries full census notes from parallel lanes today (CEN-C08/C09 and a Felix seat). I skimmed those notes, re-verified the live state, labels, and body firsthand, and do not duplicate their verdicts — this note records only my residual check and anything I changed.
Residual check: reporting-architecture design-mill starter epic (Drew directive 2026-11-13, urgency High — priority/high stands); kind/* missing — design-mill starter, kind/design added. Body had programme scope but no acceptance section; appended.
Actions taken by this pass: labels added:
kind/design; appended## Acceptance criteria(original body text unchanged above it).Priority:
priority/high— stands; no band change by this pass.