Skip to content

design(usage-hub): managed quota-credential pattern for console-only pools #1115

Open

Description

@dezren39

Part of epic #1047. Design: hub-v2-v3-design-2026-10-26.md §6. Design-first; starts after #1054 (Open Design) lands its first credential.

Generalize the Open Design tier-2 pattern into the standard managed quota-credential mechanism for console-only pools: one narrow credential per service, captured once with Drew's per-service approval, stored 0600 (file contract) or in Bitwarden, verified against the service's session endpoint at capture, expiry/refresh behavior documented per service, reader fails closed (stale card, never invented numbers).

Proof case after Open Design: Cline (dashboard behind WorkOS session) or Claude (usage page) — pick whichever session route proves stable; graduate that pool from the daily manual read to a scheduled dashboard-API read.
Acceptance: pattern documented in the provider-quota registry; one additional pool reading via managed credential with freshness on its card; manual-read fallback remains if the credential dies.

Activity

  1. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage verdict: CONFIRMED, gated on prerequisite #1054 — user/owned)

  3. added
    status/blockedQueue or user escalation state
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    mode/onlineFully doable remotely: design, config, code, cloud
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    Queue note (triaged, task 7656): re-triaged against fresh GitHub state at 2026-11-03T12:48Z. Verdict: CONFIRMED blocked — the named blocker is unchanged and still sits with Drew.

    Current blocker (explicit)

    Artifact State
    #1054 blocked(usage-hub): Open Design quota instrumentation — laptop sign-in, cookie capture, parser verification OPEN, user/owned, mode/online
    This issue #1115 OPEN, status/blocked

    The issue's own start condition is "starts after #1054 (Open Design) lands its first credential." #1054 has not landed a first credential, and it cannot be worked by a queue worker: it needs Drew's interactive laptop sign-in and cookie capture for Open Design. That is the concrete blocker — a human action on the user/owned prerequisite, not an unclaimed engineering step here.

    Why no fix path was enqueued

    The design method here is explicitly generalize the Open Design tier-2 pattern. Generalizing requires the proof case to exist first: the pattern's value is the verified session-endpoint capture and the documented expiry behaviour, both of which are derived from #1054's actual credential. Writing the pattern spec before that lands would be speculative and would have to be rewritten — so no sub-task was created and nothing was started early.

    Ordering recorded

    1. blocked(usage-hub): Open Design quota instrumentation — laptop sign-in, cookie capture, parser verification #1054 — Drew completes laptop sign-in + cookie capture; Open Design quota read verified against the session endpoint; first credential lands. (user/owned — Drew)
    2. design(usage-hub): managed quota-credential pattern for console-only pools #1115 — generalize that pattern for console-only pools; pick Cline (WorkOS) or Claude (usage page) as the second proof case; graduate one pool to a scheduled dashboard-API read.
    3. Reader must fail closed — stale card, never invented numbers — with the manual-read fallback retained.

    Task 7656 completes as triaged. The issue keeps status/blocked and stays open; there is no worker-side work to do until step 1 lands.

  5. 2 remaining items

  6. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  7. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    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 20 (priority/none). Issue carries status/blocked; the covering triage must re-derive and name the current blocker. 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

  8. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage verdict: CONFIRMED blocked — gated on prerequisite #1054, unchanged)

  9. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 4, 2026
  10. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Picked up by lane code-k as task 9076 (triage). Revalidating issue #1115 against current main and prior discussion before posting findings.

  11. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage verdict: CONFIRMED blocked — gated on prerequisite #1054, unchanged)

  12. added
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

effort/lLarge: multi-day or open-ended; expect staged check-insmeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudqueue/blockedQueue or user escalation statesource/creatorFiled by the new-issue-creator jobstatus/blockedQueue or user escalation statetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions