Repository navigation
Open
Labels
effort/mMedium: expected under 1 day of workMedium: expected under 1 day of workkind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudFully doable remotely: design, config, code, cloudpriority/highImportant and time-sensitiveImportant and time-sensitivesource/humanFiled directly by a humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
Priority P1 — order 5b. Horizon: Week. Design: quota-plane-design-2026-10-26.md (usage-billing-hub goal files), Stage 2. Parent context: epic #1047. (§2) — on the framework + gatherer from this epic.
OpenCode Go console adapter: console session -> per-workspace window data (5h/weekly/monthly $ windows) for Personal and Lab separately (per-credential, see #1113). Replaces picker-value manual reads. Note the lapse dates (Personal Nov 2, Lab Nov 6; #1118): the adapter must handle a lapsed workspace as a state, not an error.
Acceptance: both workspaces current on the tick until lapse; lapse renders as lapsed.
Acceptance criteria
- OpenCode Go per-workspace window data (5h/weekly/monthly $ windows) for Personal and Lab is current on the quota-plane tick, per-credential — restating the body's Acceptance line as the criteria section.
- A lapsed workspace (Personal Nov 2, Lab Nov 6 per chore(usage-hub): OpenCode Go lapse handling — Personal Nov 2, Lab Nov 6 #1118) renders as lapsed — a state, not an error.
- The adapter runs on the framework + gatherer from epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047 (Stage 2), replacing picker-value manual reads.
Metadata
Metadata
Assignees
Labels
effort/mMedium: expected under 1 day of workMedium: expected under 1 day of workkind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudFully doable remotely: design, config, code, cloudpriority/highImportant and time-sensitiveImportant and time-sensitivesource/humanFiled directly by a humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Oct 27, 2026
CODE-297
dezren39 commentedon Oct 27, 2026
REVIEW FINDING (2026-10-26): this provider's adapter ALREADY EXISTS in OpenChamber's quota module (server/lib/quota/providers). Re-scope from "build adapter" to: wire the existing provider into the quota gatherer (#1151), verify it against the live account on the gatherer host (credential provenance is the open question, per #1155), fix gaps found, and confirm its output shape maps onto quota-current. Keep this issue open until the provider is arriving on the 15-minute tick.
dezren39 commentedon Oct 28, 2026
Intake review
quota-plane-design-2026-10-26.md(usage-billing-hub goal files, §2); feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113 (per-credential workspaces), chore(usage-hub): OpenCode Go lapse handling — Personal Nov 2, Lab Nov 6 #1118 (lapse dates); sibling adapters feat(quota-plane): adapter — ClinePass via dashboard session token #1159 (5a), feat(quota-plane): adapter — Claude via claude.ai session (usage API) #1163 (5c), feat(quota-plane): adapter — Command Code via CLI/app credential #1165.meta/follow-upbefore this pass.priority/high. Its Acceptance line has been expanded into the appended## Acceptance criteriasection (original body preserved verbatim above it).kind/feature,priority/high(P1 in body),effort/m,source/human,status/needs-triage,meta/enriched.dezren39 commentedon Nov 3, 2026
agent-note:v1
task: 2444
lane: code-d
transition: handed_off
state: Task 2444 (triage: quota-plane adapter — OpenCode Go console, per-workspace windows) claimed by lane code-d and assigned execution_lane=opencode by the lane router. Handed off per worker runbook §1b — the opencode claimant session drives it to terminal state.
19 remaining items
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
agent-note:v1
event: picked-up
task: 2444 (repo-health-code-pilot; worker repo-worker-code; lane bf419306-c4ef-470f-a553-beabf93239de)
state: claimed and revalidated; resuming from handed_off checkpoint
verified: Fresh issue read shows #1161 OPEN with no hard-stop labels. Search found no open PR referencing #1161, and the claimed-task queue has no other task for #1161. Existing related PR #2115 is merged but titled for #1153, not this issue.
action: Resuming triage on current main; next inspect current code and related quota-plane work to determine whether #1161 is already implemented, blocked, or needs a scoped fix/split. No source worktree created yet.
labels: synced to work/assigned + queue/claimed + status/in-progress; removed queue/queued + status/needs-triage.
dezren39 commentedon Nov 4, 2026
agent-note:v1
event: done
task: 2444 (repo-health-code-pilot; worker repo-worker-code; lane bf419306-c4ef-470f-a553-beabf93239de)
state: triaged; issue #1161 remains open for the outstanding lapse-state acceptance
verified: Current main ece818d already routes configured OpenCode quota providers through the 15-minute gatherer. OpenChamber has per-credential OpenCode Go reads (merged PR #771); code PR #5080 preserves the quota read and per-workspace pool mapping. Aggregator tests verify credential labels/windows and pool splits; OpenChamber provider tests cover distinct workspace rows and the 5h/weekly/monthly windows. Live check recorded on #1155 (comment 6600706560): subscribed workspaces read OK; a no-subscription workspace is reported as such.
tests:
bun test test/quota-gather-map.test.ts— 49 passed;bun run test server/lib/quota/providers/opencode-go.test.js— 45 passed.remaining: Current aggregator behavior has no distinct
lapsedstate; the Go lapse test still maps the no-subscription result to an error row. #1118 owns post-lapse rendering and its task 3018 is queued until the Nov 6 lapse window has passed. No competing implementation or new task/PR was created; #1161 stays open pending that follow-up.labels: removed this task's work/assigned, queue/claimed, and status/in-progress labels; no in-flight labels remain.