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 — aggregator: forecast per-pool quota exhaustion intervals · Issue #3983 · developing-today/code

aggregator: forecast per-pool quota exhaustion intervals #3983

New issue
Copy link
New issue
Copy link
Closed
Closed
aggregator: forecast per-pool quota exhaustion intervals#3983
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus/triagedTriaged and routed (see agent note)task/fixhas a fix task queued

Description

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

Parent chain: #1184 → #1256 → this issue. GitHub currently caps #1184 at 100 direct sub-issues and rejects additional links (REST 422), so implementation slices are nested under #1256, already a native child of #1184; no existing parent links were changed.

Design context: #1256; doc/2026-11-01T21-07-00Z_design_pm-stack_forecasting/2026-11-01T21-07-00Z_design_pm-stack_forecasting.md (§2). Depends on the measured live-rate contract in #3933; do not duplicate its quota extraction or near-limit/wall threshold rules.

Goal

Add a time-to-exhaustion interval that composes live per-pool usage, observed rate, and reset time, complementing (not replacing) the existing point-pace and quota-wall derivations.

Acceptance criteria

  • Consume the live quota contract from aggregator: finish quota throughput data + record the design contract (#851) #3933: pool identity, remaining/limit, reset time, measured timestamped burn, source age/coverage, and explicit missing/estimated markers.
  • Where enough fresh rate observations exist, return an exhaustion interval and whether its P50/P80 falls before or after reset; expose the rate window and source.
  • If rate, remaining amount, or reset is missing/stale, or there is no measured burn history, return an explicit unknown state rather than “safe” or a fabricated date.
  • Reuse aggregator: finish quota throughput data + record the design contract (#851) #3933 existing near-limit/wall rules; do not add another threshold/attention path. Queued issues are not converted into token demand; any scheduled-work scenario must be separately labelled and use attributable measured inputs.
  • Tests cover reset boundaries, stale/missing rates, zero rate, limit already reached, and a measured exhaustion-before-reset case.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 1, 2026
  2. dezren39
    added a parent issue on Nov 1, 2026
    • design(pm-stack): forecasting — epic ETAs from measured velocity, quota-wall prediction, and stall-risk scoring #1256
  3. github-actions
    assigned
    dezren39
    on Nov 1, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  7. 226 remaining items

    Load more actions
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 12, 2026
  9. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 8750
    lane: any-o
    state: picked_up
    worker: repo-worker-code
    finding: #3983 is OPEN with no hard-stop labels; #3933 is CLOSED via merged PR #7354, and the live-rate contract is confirmed in the recorded completion. Canonical implementation PR #8522 is OPEN at head 8b1dea3; prior session binding was cleared in queue cleanup, and this task is now claimed by lane any-o.
    next: Resume PR #8522: freshly verify checks, mergeability, and diff; if checks are still pending, park with the CI resume condition.

  10. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 8750
    lane: any-o
    state: in-progress
    worker: repo-worker-code
    finding: Resumed canonical PR #8522 and added reset_passed handling for dated windows whose reset is at or before now, including the at-limit regression test. Merged current origin/main with a merge commit and pushed head 31d9863. Targeted forecast + #3933 tests pass (32); GitHub reports MERGEABLE. New checks are running/queued.
    next: Wait at most five minutes for checks; park if still pending.

  11. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 12, 2026
  12. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 8750
    lane: any-o
    state: parked
    worker: repo-worker-code
    finding: PR #8522 is MERGEABLE at head 5e7e688. The expired-reset CodeRabbit finding is fixed with a regression test; targeted tests pass (32/32). Latest-main parity check, proxy fallback, docs build, affected-embed and scripts-test 3.12 passed during the bounded poll; scripts-test 3.14 and mcpx checks were still pending. The earlier parity failure came from main advancing with PR #8923; after merging latest main, parity now passes.
    resume: Recheck every CI result and review thread on the exact head; if all required checks are green and findings are dispositioned, revalidate issue/PR and merge.

  13. dezren39
    added a commit that references this issue on Nov 12, 2026

    Merge pull request #8522 from developing-today/queue/8750-3983-exhaus…

    2d27f3b
  14. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — PR #8522 merged with all Codex findings dispositioned (task 8750, lane code-c)

    • Agent: queue worker lane code-c (task 8750; claimed direct — the lane row's 2026-11-03 opencode session ses_e5e5668ee9dffew1e9HBjhjSbN no longer exists in the laptop session store, i.e. the stale-binding pattern; the implementation was already complete on the PR)
    • Merge: PR feat(aggregator): per-pool quota exhaustion intervals from measured burn (#3983) #8522 merged 2026-11-12T20:53:50Z, merge commit 2d27f3b, head 5525bf1. The gate named in the packet (aggregator: finish quota throughput data + record the design contract (#851) #3933 contract) was already satisfied. Remaining CI failures on the PR were only the clean-main mcpx set tracked by issue fleet-stalling: main mcpx test failures block clean PR checks (run 43191539255) #8900 (mcpx-test unit / e2e shards 0,3,4,5 / ci-ok) — this PR is aggregator-only.
    • Codex disposition (all four findings replied on their threads and resolved):
      • P2 freshness-before-exhausted (4533929230): already fixed on the branch — freshness check precedes the exhausted shortcut, stale sources return unknown/stale_source.
      • P1 property coverage (4533929234): already present — seeded property tests assert P80-never-later-than-P50 and foreign/reset-straddling observations never change a forecast.
      • P2 live-overlay forecasts (4533929238): already fixed — overlayQuotaCurrent deletes pool.exhaustion when it replaces/adopts/clears windows, with a test.
      • P2 obsolete rate pairs (4555789594): fixed in this pass, commit 9141f3f — rate pairs are now filtered by recency relative to now (later side ≤ RATE_WINDOW_MS old), not just separation; regression test from the finding's own example (yesterday's pairs + one observation now → unknown/no_measured_burn), ablation-verified (fails without the fix).
    • Tests: bun test test/quota-exhaustion.test.ts test/quota-current.test.ts — 71 pass, 0 fail on the merged head (re-run after merging current main into the branch).
    • Disposition: issue aggregator: forecast per-pool quota exhaustion intervals #3983 closed on this evidence (the PR carried no closing keyword). Task 8750 completes fixed_merged.
  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 12, 2026
  16. dezren39
    closed this as completedon Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus/triagedTriaged and routed (see agent note)task/fixhas a fix task queued

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.