You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
collect-fleet-feed poolFor still maps openai providers to retired pool id 'openai', losing burn attribution on the openai.main card (PR #5089 Codex finding) #5252
Essence: "When the scraped OpenCode server has active sessions using openai, openai-codex, or chatgpt, this rename silently removes them from the main ChatGPT quota card. In pm-stack/aggregator/scripts/collect-fleet-feed.ts, poolFor still returns \"openai\" for these providers (lines 189-192), while the collector attaches activeSessions only when that result exactly matches pool.id (line 639). Update the burn mapper alongside this rename so previously attributed sessions continue to appear under openai.main."
No-response evidence
The inline thread contains only the Codex comment; no reply followed it before the PR merged.
No follow-up commit on main changes poolFor.
Still live on current main (verified 2026-11-04 by gh api raw read)
Lines 191-194: case "openai": case "openai-codex": case "chatgpt": return "openai";
Line 641: if (poolFor(provider, s.model) === pool.id) sessions.push(s); pm-stack/aggregator/src/quota-extract.ts:505 defines the pool as id: "openai.main" — there is no pool with id openai, so sessions on those providers never match and never appear in activeSessions (burn attribution) on the main ChatGPT card.
Acceptance criteria
poolFor maps the main-account providers (openai, openai-codex, chatgpt, and openai.main itself if it appears as a provider id) to openai.main, so active sessions are again attached to the main ChatGPT pool card.
A test or documented check covers the provider -> pool mapping for the renamed pool.
Or: the finding is resolved on this issue by a documented decision with reasoning recorded.
agent-note:v1
task: 9085
lane: code-l
stage: picked_up
next: re-verify the poolFor/openai.main finding against current main with fresh reads, record the verdict here, and route the fix packet if confirmed.
agent-note:v1
task: 9085
lane: code-l
stage: done
outcome: triaged — finding CONFIRMED live on current main; fix routed as task 9091
Re-verification 2026-11-04T02:52Z (fresh gh api raw reads at ref=main):
pm-stack/aggregator/scripts/collect-fleet-feed.ts:191-194 — case "openai": case "openai-codex": case "chatgpt": return "openai";
pm-stack/aggregator/scripts/collect-fleet-feed.ts:641 — if (poolFor(provider, s.model) === pool.id) sessions.push(s); (exact match only)
pm-stack/aggregator/src/quota-extract.ts:505 — pool defined as id: "openai.main"; a grep confirms NO pool with id exactly "openai" exists in quota-extract.ts.
Verdict: the Codex P2 from PR #5089 is real and still live — sessions on the main ChatGPT account (providers openai/openai-codex/chatgpt) never match the openai.main pool, so their burn attribution silently vanished from the openai.main card at the rename.
Routing: fix enqueued as task 9091 (small_fix, dedupe key repo-health:v1:fix:developing-today/code:issue:5252): poolFor returns "openai.main" for the three providers, plus a guard so a future rename cannot silently orphan a mapping. Per pr-comment-review rules, the PR #5089 thread was NOT replied to; all discussion stays here.
agent-note:v1
task: 9091
kind: small_fix
state: picked_up -> handed_off (execution lane: opencode) — attempt 3/4, re-handoff
lane: code-h (claiming), execution via opencode claimant
evidence: issue #5252 OPEN, labels queue/claimed + status/in-progress + work/assigned; no hard-stop labels. Prior handoff (06:47Z) expired unlaunched.
next: claimant implements the one-line poolFor fix (openai/openai-codex/chatgpt -> "openai.main" in pm-stack/aggregator/scripts/collect-fleet-feed.ts) plus the rename guard, per the packet — and per the packet's routing note, does NOT reply to the PR #5089 review thread; discussion stays on #5252.
Tests: targeted quota test 30/30; pool-ID consistency check and diff check passed. Manual CI run 41882480524 passed its contract corpus but failed on existing unrelated suite failures; local clean main reproduced the board/ref, registry, and health failures. Typecheck's existing GhKind error also reproduced on clean main.
Activity
dezren39 commentedon Nov 4, 2026
🤖 Agent note · filed
dezren39 commentedon Nov 4, 2026
agent-note:v1
task: 9085
lane: code-l
stage: picked_up
next: re-verify the poolFor/openai.main finding against current main with fresh reads, record the verdict here, and route the fix packet if confirmed.
dezren39 commentedon Nov 4, 2026
agent-note:v1
task: 9085
lane: code-l
stage: done
outcome: triaged — finding CONFIRMED live on current main; fix routed as task 9091
Re-verification 2026-11-04T02:52Z (fresh gh api raw reads at ref=main):
pm-stack/aggregator/scripts/collect-fleet-feed.ts:191-194—case "openai": case "openai-codex": case "chatgpt": return "openai";pm-stack/aggregator/scripts/collect-fleet-feed.ts:641—if (poolFor(provider, s.model) === pool.id) sessions.push(s);(exact match only)pm-stack/aggregator/src/quota-extract.ts:505— pool defined asid: "openai.main"; a grep confirms NO pool with id exactly"openai"exists in quota-extract.ts.Verdict: the Codex P2 from PR #5089 is real and still live — sessions on the main ChatGPT account (providers openai/openai-codex/chatgpt) never match the openai.main pool, so their burn attribution silently vanished from the openai.main card at the rename.
Routing: fix enqueued as task 9091 (small_fix, dedupe key
repo-health:v1:fix:developing-today/code:issue:5252): poolFor returns "openai.main" for the three providers, plus a guard so a future rename cannot silently orphan a mapping. Per pr-comment-review rules, the PR #5089 thread was NOT replied to; all discussion stays here.7 remaining items
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
opencode, so this lane hands off per runbook §1b — the opencode claimant launches the bound session. Note from the packet: do NOT reply to the PR feat(aggregator): rename the main ChatGPT pool openai -> openai.main #5089 review thread; discussion lives on issue collect-fleet-feed poolFor still maps openai providers to retired pool id 'openai', losing burn attribution on the openai.main card (PR #5089 Codex finding) #5252.dezren39 commentedon Nov 4, 2026
agent-note:v1
task: 9091
kind: small_fix
state: picked_up -> handed_off (execution lane: opencode) — attempt 3/4, re-handoff
lane: code-h (claiming), execution via opencode claimant
evidence: issue #5252 OPEN, labels queue/claimed + status/in-progress + work/assigned; no hard-stop labels. Prior handoff (06:47Z) expired unlaunched.
next: claimant implements the one-line poolFor fix (openai/openai-codex/chatgpt -> "openai.main" in pm-stack/aggregator/scripts/collect-fleet-feed.ts) plus the rename guard, per the packet — and per the packet's routing note, does NOT reply to the PR #5089 review thread; discussion stays on #5252.
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 4, 2026
🤖 Agent note · pr_opened
queue/9091-5252-openai-pool-mappingatfb81e57fa; OpenAI-family sessions now map toopenai.main.dezren39 commentedon Nov 4, 2026
🤖 Agent note · done
fa8b84abac39fedb1f2d256d7b93fe0fa870f26a. The OpenAI-family providers now map toopenai.main.GhKinderror also reproduced on clean main.workflow_dispatchonly; evidence is documented on the PR.