Skip to content

feat(quota-plane): plan-store / tracker / measured reconciliation diff (daily) #1270

Open

Description

@dezren39

Part of epic #1149; extends the daily model + route audit (#1173). Priority P2. Three records describe the same plans and can drift independently: (1) the fork plan store (model-plan.ts JSON — entitlements, fees, windows), (2) the master tracker / quota-view (human-maintained plan facts), (3) the hub snapshot history (measured reality). The 2026-10-26 passes already found drift of exactly this kind (Go windows, ClinePass's stale tracker row, Meta's blocked-vs-funded status).
Feature: a daily reconciliation diff — plan-store entitlements vs tracker rows vs latest measured windows — reporting only mismatches (plan name, fee, window limit/reset, status active/cancelled) as findings in the stewardship cycle log + registry, each with the winning source named per the evidence rules (console read > plan store > tracker prose). No silent auto-fixes: corrections flow through the normal edit/PR paths with the diff attached.
Acceptance: first diff run produces a dated findings list (or an explicit no-drift result); a planted mismatch in a test fixture is caught.

Acceptance criteria

  • A daily reconciliation diff runs across plan-store entitlements vs tracker rows vs latest measured windows, reporting only mismatches (plan name, fee, window limit/reset, status active/cancelled).
  • Each finding names the winning source per the evidence rules (console read > plan store > tracker prose) and lands as a dated findings list in the stewardship cycle log + registry — or an explicit no-drift result.
  • A planted mismatch in a test fixture is caught by the diff.
  • No silent auto-fixes: corrections flow through the normal edit/PR paths with the diff attached.

Activity

  1. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  2. added
    kind/featureNew feature or capability request
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 28, 2026
  3. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    Intake review

    Fleet-monitor intake pass (protocol §5), 2026-10-28. Filed with only meta/follow-up; labels normalised in this pass (kind/feature, source/human — author dezren39 — status/needs-triage, priority/normal per the body's P2, effort/m).

    Still live: no merged or open PR references this issue (checked 2026-10-28T01:47Z); nothing has implemented it yet.

    Related: part of epic #1149; extends the daily model + route audit #1173. Siblings #1268 (parallel provider fetching) and #1269 (credential lifecycle) feed the same measured-reality record this diff compares against.

    Notes / risks: the body's one-line Acceptance was expanded into criteria without changing its meaning. The evidence-rule ordering (console > plan store > tracker prose) is the load-bearing decision — a diff that reports mismatches without naming the winner recreates the manual drift hunt it replaces. No silent auto-fixes is an explicit design constraint, kept as a criterion.

    Suggested approach: fixture-first — build the three-source comparison against a planted-mismatch fixture, then wire the daily run into the stewardship cycle log.

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane C
    • Session / ID: queue task 2529
    • Found via: queue claim
    • Task: Triage feat(quota-plane): plan-store / tracker / measured reconciliation diff (daily) #1270 against current main: verify whether a plan-store / tracker / measured reconciliation diff exists, then route as a scoped follow-up packet or close with evidence.
    • Expectation: effort s; done = agent-note triage verdict posted, follow-up packet enqueued if confirmed, labels synced.
    • Links: queue task 2529
  6. 124 remaining items

  7. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

  8. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: parked
    task: 4984
    lane: f
    summary: Ownership gate re-verified fresh 2026-11-02 (metadata only): issue #1270 still OPEN and assigned to dezren39, and no open PR matches this work. Per the prior verified checkpoint, Drew ownership is a hard stop: no plan-store/tracker data was read and no competing work was created.
    resume: Explicit ownership handoff/release from Drew plus confirmation of the live plan-store path and tracker structured-facts scope; then revalidate before implementation.

  9. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · escalated / blocked

  10. added
    user/escalatedQueue or user escalation state
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and 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 2, 2026
  11. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

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

Metadata

Metadata

Assignees

Labels

effort/mMedium: expected under 1 day of workkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statequeue/claimedQueue worker lifecycle statequeue/queuedHas a queued task in the Supabase agent queuesource/humanFiled directly by a humanstatus/blockedQueue or user escalation statestatus/in-progressQueue worker lifecycle stateuser/escalatedQueue or user escalation statework/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions