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 — C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate · Issue #9572 · developing-today/code

C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate #9572

New issue
Copy link
New issue
Copy link
Open
Open
C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate#9572
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

Description

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

C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate

Component of the reporting-architecture program (starter epic #9568).
Source: Drew's directive, Reports chat, 2026-11-13 09:11 CST.
Statements: S2.3–S2.7, S2.12 (alerts), S2.13, S2.14 (+ S3.15 page inputs).

Scope

A prediction system, not a vibe:

  • What is predicted: per-pool exhaustion times; arrival of new
    models/plans; complete-downtime windows (all pools walled at once);
    reset durations expressed as ranges in Drew's formats — "between X
    and Y hours from now", "2.5 to 3.7 days", "2 days 4 hours to up to 3
    days 16 hours", "likely runs out between tomorrow afternoon and Sunday
    2 am".
  • Recorded bases (each prediction names its basis): trailing-30-day
    rates; rates used until the last reset; rates since a named config
    change; past-day vs trailing-30d comparison.
  • Adjustments: day-type models — same time-of-day on other days, other
    Fridays, other weekends; spike-day modeling (a week running ~10% light
    predicts a ~+20% spike day, and the model says so explicitly).
  • Tracking & methodology: every prediction is logged with its inputs
    and scored against the outcome; methodology updates are themselves
    logged; the loop runs until predictions are relatively accurate, and
    the accuracy record is a report (C6/C7 consume it).
  • Delivery: push notifications with useful info; forecast pages
    (predicted workhorse full-wall; predicted wall-until) are C6 surfaces
    fed by this component's data.

Boundaries / collisions

  • Data substrate exists: the laptop quota gatherer (quota-current.json),
    the burn plan (plan-current.md, v46+), Turso quota records, and the
    Fleet Reports Space streams. This component adds the prediction +
    scoring layer; it does not build a second gatherer.
  • Pool composition facts come from the pool review/steward jobs; routing
    recommendations are C5's.

Acceptance

  • Merged design: prediction record schema (basis, inputs, range,
    issued-at), scoring rules, methodology-change log format.
  • Live predictions for every open pool, refreshed on gatherer ticks,
    with the first scored outcomes published.
  • Downtime-window prediction demonstrated against a known wall
    (e.g. a Sunday-evening reopening set) with the error recorded.

Activity

Next
  1. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    status:to-do
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

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

    CODE-3170

  3. dezren39
    added a parent issue on Nov 13, 2026
    • Reporting architecture — event-driven reporting, quota forecasting, living report pages (design-mill starter) #9568
  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up + triaged

    • Agent: queue worker (repo-worker-code), lane any-g
    • Session / ID: task 19038
    • 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 C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate #9572: C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate
    • Fresh verification (2026-11-17): issue C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate #9572 OPEN; labels were app/pm-stack, status:to-do (never triaged; one Kaneo-link comment). No hard-stop labels.
    • Verdict: work kind kind/design · priority/normal · effort/l (labels applied this run, plus status/triaged and queue/queued for the follow-on). No task/ label: the repo's packet kinds have no design kind, and the repo's own design label carries the work kind here (the follow-on packet's kind is a schema constraint, named in its body).
    • Priority why: no expedite/next-up label (Drew's set untouched); the reporting program sits under the pm-stack/infrastructure weight in the priorities brief — ordinary band.
    • Program state (fresh-read this run): parent epic Reporting architecture — event-driven reporting, quota forecasting, living report pages (design-mill starter) #9568's merged design folder (doc/2026-11-13T15-12-00Z_design_reporting-architecture-event-driven/) holds only the intake note + statement inventory, and every sibling component — C1 — Chat operating model: category side chats, insert-only job writes #9569 (C1), C2 — Event pipeline: webhook/catchup queues, threshold hook drains, cron triage #9570 (C2), C3 — Health hooks: failure-triggered checks that troubleshoot and report #9571 (C3), C5 — Efficiency accounting + provider/model policy #9573 (C5), C6 — Report pages & spaces freshness: mobile-first, questions module, confirmable actions, incident pages #9574 (C6), C7 — Rollups, design pages, per-project spaces, reports timeline #9575 (C7) — is OPEN with no component design run. Adjacent quota designs (pm-stack forecasting 2026-11-01, quota-throughput contract, fleet quota admission 2026-11-14) exist, but none defines C4's prediction record schema, scoring rules, or methodology-change log — acceptance item 1 is genuinely unstarted.
    • Routing: design-mill pattern — one summit session owns the component design; the follow-on's deliverable is the design merged under doc/ within Reporting architecture — event-driven reporting, quota forecasting, living report pages (design-mill starter) #9568's build-out (prediction record schema with basis/inputs/range/issued-at; the named bases + day-type and spike-day adjustments; scoring rules and the accuracy record C6/C7 consume; the methodology-change log format; the substrate contract over the existing gatherer/burn plan/Turso records — no second gatherer) plus granular implementation issues filed under C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate #9572 for the live loop (acceptance items 2–3, including the downtime-window demonstration against a known wall).
    • Design packet: repo-health:v1:fix:developing-today/code:issue:9572 → enqueued as task 20425 (queue repo-health-code-pilot, status queued, priority 30; packet file hidden_files/19038-design-packet-9572.json).
  6. dezren39
    added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued queue task
    and removed
    status:to-do
    on Nov 17, 2026
  7. dezren39
    removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Picked up by felix — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while felix posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    on Nov 23, 2026
  10. 1 remaining item

  11. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 23, 2026
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: felix (kind muse), lane felix
    • Task: C4 — Quota forecasting: exhaustion, downtime, and reset-duration predictions, tracked until accurate #9572 C4 quota forecasting — done check against current main (Stage-3 line S1/S2/S3/S5/S6 landed this week), then land only the missing bounded slice per the issue's acceptance and the 2026-11-17 triage routing (design first, granular implementation issues for the live-loop remainder).
    • Starting now; verification/design record follows on this issue.
  13. developing-today
    added
    status:in-review
    on Nov 23, 2026
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Coordination note — Lane WA (archer)

    Lane WA has claimed the C4.1 child, #13257 (complete-downtime window prediction), served by the queue shortlist as a fresh unclaimed foundation slice (claim on that issue at 2026-11-23T12:47Z). Flagging here so the #9572 done-check pass doesn't duplicate the C4.1 slice: downtime-window derivation + records + scoring hooks are being worked under #13257. The other C4 children (#13258–#13262) are untouched by this lane.

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done check + design slice landed (lane felix)

    Done check (against origin/main 1edebd5): partially done. The Stage-3 line covers exactly one C4 kind — per-pool exhaustion as a point projection, published per tick (S1 #12695/PR #12724) and scored (S2 #12696, closed: accuracy ledger + backtest, 5,028 forecasts scored). NOT covered: a prediction record with named basis/range/methodology version; complete-downtime windows (S2.4); reset-duration ranges (S2.13); day-type + spike-day adjustments (S2.6/S2.7 — deferred by the Stage-3 design on a data-sufficiency gate, ~4–5 samples/weekday cell at 33 days); model/plan arrival prediction (S2.3 second half); forecast push alerts (S2.12); the methodology-change log format (S2.5).

    Gate check: #9572 is not gated on the C3 chain (#9571 / PR #12226). Its substrate — gatherer, snapshot store, Stage-3 forecast product, alerts ledger (S5 postIncident precedent) — is live. Recorded in the design (§0).

    Landed (acceptance item 1): PR #13268 — doc/2026-11-13T15-12-00Z_design_reporting-architecture-event-driven/c4-forecasting-design.md: prediction record schema (kind, subject, issued-at, singular named basis, inputs, range + stored rendered string in Drew's formats, methodology version, honesty states), scoring rules per kind (range coverage/width over S2's rules), methodology-change log format with an operational 'relatively accurate' bar, day-type/spike models behind the sufficiency gate. Docs only; no new dependencies; no schedule changed. Remote verification: fleet-command run 45176299417 (developing-today/fleet) — link check over the design folder, conclusion success. Awaiting Felix's review/merge.

    Remainder filed under #9572 (acceptance items 2–3): #13257 C4.1 downtime windows → #13262 C4.6 known-wall demonstration (item 3); #13258 C4.2 reset-duration ranges; #13261 C4.5 push alerts; #13259 C4.3 day-type/spike (data-gated: re-measure sufficiency first); #13260 C4.4 arrivals. Item 2 completes as C4.1/C4.2 publish their kinds with first scored outcomes (exhaustion is already live via S1).

    Enqueue note (per the repo's filing rules): the six C4 issues were filed without pilot packets this pass — C4.6 depends on C4.1 and C4.3 is data-gated, so blanket enqueueing would serve gated work prematurely; they are sequenced in the design (§8) and pickable via shortlist fill in that order.

  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Released by felix (outcome: done). Done check: Stage-3 covers exhaustion point-forecast + scoring only. Landed C4 design (acceptance item 1) as PR #13268; remainder filed as #13257/#13258/#13259/#13260/#13261/#13262. Not gated on #9571/PR #12226.

  17. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Coordination note — Lane WE (archer)

    Lane WE has claimed the C4.4 child, #13260 (new model / plan arrival predictions), served by the queue shortlist as a fresh unclaimed slice (claim on that issue, comment 7101532297). Flagging here so the #9572 line stays singular: WE works only the #13260 slice (honesty-first arrival-record emission: named basis or explicit no_basis, never a speculative date), in the shapes S1/S2 already established. No other C4 child is touched by this lane.

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

    Merge pull request #13268 from developing-today/felix/9572-c4-design

    c1700bc
  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged note — Felix, 2026-11-23: PR #13268 merged after my review. C4 acceptance item 1 (prediction record, scoring rules, methodology log) is landed; items 2–3 proceed as the filed slices C4.1–C4.6 (#13257, #13258, #13259, #13260, #13261, #13262) in the design's §8 sequence. Issue stays open as the C4 tracker.

  21. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Progress note — Lane WA (archer): the C4.1 slice of #13257 has landed (PR #13295, merged 619b7e56e6dc), conformed to the C4 design from PR #13268: downtime_window records now publish on gatherer ticks into quota-predictions.jsonl + the quota-prediction ledger source. Remaining for C4.1: §3 scoring of downtime windows (criterion 2 on #13257), which feeds this epic's acceptance item 2 (first scored outcomes).

  22. developing-today-fleet
    added
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    on Nov 27, 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

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

    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.