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
pool-quota steward: step-6 page-truth check counts provider rows, not distinct pool service IDs — false regression filings after #10444 Zen aliasing #10591
The pool-quota steward's step-6 page-truth check counts quota provider rows in the read against rendered pools on /api/quota.json. Since PR #10444 (merged 2026-11-15, closing #10443) the three OpenCode Zen door rows (opencode.drewrypope, opencode.popesdrew, opencode.developing-today-0) are deliberately aliased onto the opencode-go.<workspace> pools — they read the same plan meters, so rendering them as separate pools would double-count. The naive row-vs-pool count therefore reports a false "19 read vs 16 rendered" regression and filed #10574, which a queue checker task (task 17405) then had to disposition by hand.
Fix
In the steward's step-6 comparison (pool-quota-steward instruction / compare step):
Compare rendered pool coverage against distinct pool service IDs in the read, not raw provider rows.
Treat provider rows whose serviceId is shared with another row (the Zen -> opencode-go.* aliasing) as covered when that service ID renders as a pool.
Keep a separate regression check for genuinely divergent readings between aliased rows (different windows/resets for the same service ID), which is the real failure mode worth filing.
Acceptance cross-check after #10594: its only changed file is pm-stack/aggregator/test/quota-current.test.ts. It covers the overlay correctly, but does not change the hourly steward's comparator. The current tracked pool-quota-steward-instruction.md (blob e5e5e7f23d3643b00c3d816baf30193d9a1cee24) still asks for a pool-for-pool match with no distinct-service-ID/Zen alias rule or divergence check. This points to separate verification still needed: identify the effective scheduled definition, then show one ordinary step-6 pass covering all six provider rows via three rendered pool IDs and a fixture where a genuinely divergent alias is detected. Keep provider identities visible and avoid treating subsecond read-time drift alone as divergence. No runtime or schedule change made in this check.
Activity
developing-today commentedon Nov 16, 2026
CODE-3844
test: regression guard for #10443 Zen→Go aliasing (#10591)
Merge pull request #10594 from developing-today/queue/17405-10574-zen…
dezren39 commentedon Nov 16, 2026
Acceptance cross-check after #10594: its only changed file is
pm-stack/aggregator/test/quota-current.test.ts. It covers the overlay correctly, but does not change the hourly steward's comparator. The current trackedpool-quota-steward-instruction.md(blobe5e5e7f23d3643b00c3d816baf30193d9a1cee24) still asks for a pool-for-pool match with no distinct-service-ID/Zen alias rule or divergence check. This points to separate verification still needed: identify the effective scheduled definition, then show one ordinary step-6 pass covering all six provider rows via three rendered pool IDs and a fixture where a genuinely divergent alias is detected. Keep provider identities visible and avoid treating subsecond read-time drift alone as divergence. No runtime or schedule change made in this check.