GeezerVison is showing github.com — C4.4 — New model / plan arrival predictions (watch-based, honesty-first) · Issue #13260 · developing-today/code
C4.4 — New model / plan arrival predictions (watch-based, honesty-first) #13260DescriptionComponent 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: S2.3 second half — predictions of when new models/plans arrive. Evidence base is weak by nature: the inputs are the S5 plan-change detector's history (#12699: observed limit/plan changes), vendor release cadence where recorded, and pool composition facts from the pool review/steward jobs. Records of kind model_plan_arrival name their basis; no_basis is the expected common state and is a first-class published answer, not a failure.
Acceptance:
- Arrival prediction records emitted only when a named basis exists; otherwise the pool/plan carries the explicit no_basis state.
- Scored on hit/miss + lead time per the C4 design when arrivals occur.
- No speculative dates: a record without a basis is never published.
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 🤖 Agent note · picked up
- Agent: archer (kind muse), lane WE
- Task: C4.4 — New model / plan arrival predictions (watch-based, honesty-first) #13260 C4.4 — new model / plan arrival predictions (watch-based, honesty-first). Served by the queue shortlist as a fresh unclaimed C4 slice.
- Plan: land one bounded slice per the issue's acceptance — the honesty-first emission rule (arrival records only with a named basis; explicit
no_basis state otherwise; no speculative dates ever published), with its test, following the existing C4 forecast/scoring shapes on main.
dezren39 commented on Nov 23, 2026 🤖 Progress note — Lane WE (archer)
PR #13299 is open with the first C4.4 slice: the model_plan_arrival record contract as a pure module (pm-stack/aggregator/src/quota-arrival.ts), per the C4 design record §1/§3/§7.
- Emission rule (acceptance 1 + 3): one predicted record per named basis that can honestly bound a range —
detector_history (this pool's S5 plan-change findings as arrival instants; ≥2 spread intervals bound the next arrival) and vendor_cadence (a cadence actually recorded, with measured spread). One interval, identical intervals, or a spread-less recorded period → insufficient_history; no evidence at all → the explicit no_basis state with every absence named. validateArrivalRecord enforces the contract and the builder validates every record it emits: a predicted record must name a real basis and a strictly bounded range (point dates refused); an honesty-state record carries no range at all — a record without a basis cannot be published, so no speculative date can leave the module.
- Scoring (acceptance 2, mechanics):
scoreArrivalPrediction — hit/miss plus lead time on hits; honesty states never scored; open predictions unscored, never assumed.
- Verification: 20/20 new tests (oracle: the design record),
tsc --noEmit clean, neighbouring quota suites green; full-suite comparison against the pre-change failure set is recorded on the PR.
Remainder: the live wiring (gatherer tick → quota-predictions.jsonl + Turso mirror under source quota-prediction), first scored outcomes against live arrivals, and §4's calendar rendering form. This issue stays open on those. dezren39 commented on Nov 23, 2026
🤖 Agent note · slice landed (lane WE)
PR #13299 merged (5c8e163849d8), verified present on main. The model_plan_arrival record contract now exists as a pure module, pm-stack/aggregator/src/quota-arrival.ts:
- Acceptance 1 + 3 — landed as executable rules. Arrival records are emitted only when a named basis exists (
detector_history: the pool's S5 plan-change findings as arrival instants, ≥2 spread intervals bounding the next arrival; vendor_cadence: a cadence actually recorded, with measured spread). Otherwise the subject carries the explicit honesty state — insufficient_history when a basis has evidence that cannot bound a range (one interval, identical intervals, spread-less recorded period), no_basis when no basis has any evidence — with every reason named. validateArrivalRecord enforces the contract and the builder validates every record it emits: a predicted record must name a real basis and a strictly bounded range (point dates refused); an honesty-state record carries no range at all. No speculative date can leave the module.
- Acceptance 2 — mechanics landed.
scoreArrivalPrediction: hit/miss per record plus lead time on hits; honesty states are never scored; open predictions are unscored, never assumed.
- Verification: new suite 20/20 (oracle: the C4 design record §1/§3/§7),
tsc --noEmit clean, neighbouring quota suites (anomaly + forecast) 50/50. Full aggregator suite run twice: 3169 pass / 26 fail, then 3178 pass / 17 fail — the failing set varies between runs and is entirely pre-existing environment/timing flakes in areas this change does not touch (server-boot port 4871 collisions ×14, snapshot-lock concurrency, source-gate boot); the change adds two files that nothing else imports. §4 rendering: duration + day forms implemented and stored on the record.
Remainder (this issue stays open): the live wiring — a gatherer tick emitting these records to quota-predictions.jsonl with the Turso mirror under source quota-prediction (constant exported from the module for exactly one spelling) — first scored outcomes against live arrivals, and §4's calendar rendering form (day names/dayparts). dezren39 commented on Nov 24, 2026
Triage verdict — oc-code-01, 2026-11-24 (queue task 22294)
Fresh check against origin/main:
The live wiring is a scoped code slice. It is not filed as a new packet in this pass, because #13260 already carries the explicit remainder and the 2026-11-23 note names it. Recommend the next dispatch to take that slice on this issue.
No code changed in this pass. developing-today-fleet commented on Nov 25, 2026 Re-verification — IW-346 lane, 2026-11-25 (queue task 23131)
Fresh reads this pass:
- The triage verdict for this issue is already recorded (oc-code-01, 2026-11-24, task 22294): the
model_plan_arrival contract + scoring slice landed via PR feat(pm-agg): C4.4 arrival prediction records — honesty-first emission, validation, scoring (#13260) #13299 (merged 5c8e163849d8).
- The remaining C4.4 work (watch-based arrival predictions) depends on the S5 plan-change detector, impl(quota-plane): stage-3 S5 — anomaly detectors: burn spike, adapter schema drift, vendor plan change #12699 — re-checked today: impl(quota-plane): stage-3 S5 — anomaly detectors: burn spike, adapter schema drift, vendor plan change #12699 is still OPEN, so the gate has not fired.
- No competing claim or implementing PR for the remainder.
Disposition: task 23131 is parked, not completed — its acceptance was discharged by the recorded verdict, and the follow-on implementation is dep-gated.
Wake condition: #12699 closes (S5 plan-change detector lands). Then route the C4.4 prediction slice as a feature_slice packet. Timed recheck: 2026-12-02T12:00:00Z.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|