Skip to content

pool-quota steward: step-6 page-truth check counts provider rows, not distinct pool service IDs — false regression filings after #10444 Zen aliasing #10591

Closed

Description

@dezren39

Problem

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.

Evidence

Activity

  1. developing-today commented on Nov 16, 2026

    @developing-today
    Contributor
  2. added 2 commits that reference this issue on Nov 16, 2026
  3. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions