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.1 — Complete-downtime window prediction (all pools walled at once) · Issue #13257 · developing-today/code

C4.1 — Complete-downtime window prediction (all pools walled at once) #13257

New issue
Copy link
New issue
Copy link
Done
Done
C4.1 — Complete-downtime window prediction (all pools walled at once)#13257
Copy link
Labels
status:in-review

Description

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

Component of #9572 (C4 quota forecasting), per its design record (doc/2026-11-13T15-12-00Z_design_reporting-architecture-event-driven/c4-forecasting-design.md).

Scope: derive complete-downtime windows — intervals where every routing pool is predicted walled simultaneously — from the Stage-3 forecast product (quota-forecast.json, #12695) plus per-pool reset times. Emit C4 prediction records of kind downtime_window (schema in the design): range with earliest/latest reopening, basis named, logged for scoring.

Boundaries: consumes the existing forecast product and gatherer substrate; no second gatherer; no placement effect (advisory data for C6 pages and forecast alerts).

Acceptance:

  • Downtime-window records published on gatherer ticks alongside quota-forecast.json (PR feat(pm-stack): C4.1 complete-downtime window records on gatherer ticks (#13257) #13295, merged 2026-11-23).
  • Windows scored per the design scoring rules (start/end error, overlap) in the accuracy ledger (PR feat(pm-stack): score downtime_window records in the accuracy ledger (#13257 criterion 2) #14344, merged 2026-11-24).
  • A window with no defensible basis is an honesty state, never an invented interval (PR feat(pm-stack): C4.1 complete-downtime window records on gatherer ticks (#13257) #13295, merged 2026-11-23).

Activity

  1. developing-today commented on Nov 23, 2026

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

    CODE-4832

  2. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Lane claim — Lane WA (archer)

    Taking #13257 (C4.1 complete-downtime window prediction), served by the queue shortlist (rank 6, rechecked unclaimed).

    Ownership check: no assignees, no labels, only comment is the bot task link — no live claim. Premise check and substrate survey first (design record doc/2026-11-13T15-12-00Z_design_reporting-architecture-event-driven/c4-forecasting-design.md, the #12695 forecast product, gatherer publication point); then one slice: one PR making one acceptance criterion pass, with its test.

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

    feat(quota): forecast-alert evaluation for C4 prediction records (#13261

    c14c6ab
  4. developing-today
    added
    status:in-review
    on Nov 23, 2026
  5. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    feat(pm-stack): C4.1 complete-downtime window prediction records (#13257

    6569d04

    Merge pull request #13295 from developing-today/lane-wa-13257

    619b7e5
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice landed — Lane WA (archer)

    PR #13295 merged (619b7e56e6dc, head-SHA guarded at 6569d04a58c).

    Design conformance: the C4 design (PR #13268) landed mid-slice; this PR was reconciled to it before merge — the records are the design's (§1 schema, §7 derivation), not a parallel shape.

    What landed:

    • pm-stack/aggregator/src/quota-downtime.ts — pure derivation over the tick's Stage-3 forecast product (impl(quota-plane): stage-3 S1 — forecast product: per-tick quota-forecast from the analytics pace math #12695): per-pool wall intervals [wall, reset) intersected across every routing pool (canonical provider id); earliest = last member wall, latest = earliest member reset; basis since_last_reset with detail; §4 rendered string stored at issuance; supersedes linked from the log tail; methodology c4-meth:1.
    • Gatherer wiring (fail-soft, after the forecast publication): records append to quota-predictions.jsonl beside the forecast product and mirror into the Turso ledger under the C4 source quota-prediction.
    • pm-stack/aggregator/c4-methodology-log.jsonl — the §6 log's first entry.

    Acceptance:

    • Criterion 1 — downtime-window records published on gatherer ticks alongside the forecast product (proven by unit tests + the gather-quota integration test asserting the tick appends the record).
    • Criterion 3 — a window with no defensible basis is a published insufficient_history honesty state with a named reason, never an invented interval; a defensible no-window tick publishes no record (absence is the scored signal, §3).
    • Criterion 2 — remains: scoring downtime windows per §3 (start/end error, interval overlap) in the accuracy ledger. The mirrored records landed here are its input; that is the next slice.

    Verification (laptop route): bun test src/quota-downtime.test.ts 15/15; mutation check (intersection every→some) fails 9/15, restored green; gather + forecast + accuracy suites 38/38; tsc --noEmit 0 errors. Remote dispatch attempted (run 45178762980) and failed at command execution — the fleet-build container has no bun (#13159 family), not a test result.

    #13257 stays open on criterion 2.

  7. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Triage verdict — not resolved; one criterion remains, now routed (queue task 22291, fresh reads 2026-11-24)

    Verified landed:

    • Criterion 1 ✓ and criterion 3 ✓ — PR #13295 merged 2026-11-23T13:15:18Z; pm-stack/aggregator/src/quota-downtime.ts is on current main (17,028 bytes) and downtime-window records publish on gatherer ticks beside the forecast product, with the insufficient_history honesty state for basis-less windows.

    Verified NOT landed:

    • Criterion 2 ✗ — scoring downtime windows in the accuracy ledger. pm-stack/aggregator/src/quota-forecast-accuracy.ts on current main contains no downtime_window scoring (its only kind is its own quota-forecast-accuracy record). The design's §3 rules are defined and waiting: start error and end error (signed minutes), interval overlap (intersection ÷ union of predicted vs realized window), a predicted window that never occurs scores as a false window, a realized complete-downtime with no prediction scores as a miss, and no_basis states are not scored.

    Routing: criterion 2 is filed as a scoped feature_slice packet on repo-health-code-pilot (dedupe repo-health:v1:slice:developing-today/code:issue:13257:slice-2), scoped to extending the existing accuracy module to the downtime_window kind against the prediction log PR #13295 established. #13257 stays open on that slice; it closes when the slice lands and this criterion is checked.

  8. dezren39
    added a commit that references this issue on Nov 24, 2026

    feat(pm-stack): score downtime_window records in the accuracy ledger (#…

    5e04939
  9. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Criterion 2 landed via PR 14344 (merged 2026-11-24, squash): downtime_window scoring per design section 3 in pm-stack/aggregator/src/quota-forecast-accuracy.ts — start/end error (signed minutes), interval overlap (intersection over union), false-window/miss outcomes with S2-shaped precision/recall, honesty states unscored; realized windows join from the same snapshot-store pool-state history (no second gatherer). Tests: bun test src/quota-forecast-accuracy.test.ts 21/21 (7 new: hit, partial overlap, false window, miss, honesty-unscored, realized join); downtime+forecast+weekly-review 44/44; tsc clean apart from the pre-existing missing-bun-types env error (identical on unmodified main). Lane oc-code-08, queue task 23140.

  10. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Triage verdict — resolved, all criteria landed; closing (queue task 24598, fresh reads 2026-11-26)

    Premise + ownership: issue open, no assignees, only label status:in-review (no held/user label, no Drew-decision gate); all 5 prior comments are completed slices/verdicts — no live competing claim.

    Verified landed (independent reads this run):

    • Criterion 1 ✓ + Criterion 3 ✓ — PR feat(pm-stack): C4.1 complete-downtime window records on gatherer ticks (#13257) #13295 merged 2026-11-23T13:15:18Z (merge commit 619b7e56e6dc); pm-stack/aggregator/src/quota-downtime.ts is on current main (17,028 bytes, sha 2053570b), publishing downtime-window records on gatherer ticks with the insufficient_history honesty state.
    • Criterion 2 ✓ — PR feat(pm-stack): score downtime_window records in the accuracy ledger (#13257 criterion 2) #14344 merged 2026-11-24T12:47:04Z (merge commit 5e04939117a3); pm-stack/aggregator/src/quota-forecast-accuracy.ts on main (45,267 bytes) contains the downtime_window scoring section (design §3: start/end error, interval overlap, false-window/miss, honesty states unscored).

    All three acceptance boxes in the body are already checked and match the merged record. No remaining work; closing as completed.

  11. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Closed as implemented.

  12. developing-today-fleet
    closed this as completedon Nov 26, 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

    status:in-review

    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.