oficina / equipo Public
VERDICT: READY WITH CHANGES
| Earlier findings | Status | |---|---| | R1 #1–2: hard cap, shell access to keys | STATED | | R1 #3: request reservations | CUT | | R1 #4: crash recovery | NOT RESOLVED | | R1 #5: budget changes | RESOLVED | | R1 #6: accounting scope and periods | STATED: per connection, usage-row time | | R1 #7: overflow billing | NOT RESOLVED | | R1 #8: interactive sign-in | CUT | | R1 #9–11: allowed-host paths, pins, isolated configuration | RESOLVED | | R1 #12: Run now | NOT RESOLVED: replay addressed; retry authorization unspecified | | R1 #13–14: coordinator authority, implementation dependencies | RESOLVED | | R1 #15–16: binding and deterministic selection | NOT RESOLVED | | R1 #17: estimates and usage normalization | NOT RESOLVED: estimates cut; monetary accounting still needs normalization | | R1 #18–19: calibration and subscription reservations | CUT | | R1 #20–21: invariants and wakeups | NOT RESOLVED | | R1 #22–24: starvation, housekeeping, advice ordering | RESOLVED | | R1 #25: adversarial acceptance | NOT RESOLVED: recovery and cross-role admission remain uncovered | | R2 Critical and Important: gateway bounds and transport | CUT |
- Important — §§2.3, 7, 11: The one-step overshoot bound lacks a durable lifecycle. Rechecking connection revisions does not establish that concurrent Engineering and Review admissions contend on one slot, or that the slot remains occupied until usage is charged. Restart recovery, cancellation and failure between process exit and charging are unspecified. Fix: Atomically claim a durable per-connection slot before launch; release it only after termination proof and a committed charge or
spend_unknown. Reconcile interrupted admissions before dispatch resumes, with crash and cross-role race acceptance cases.
- Important — §§2.3, 7–8: Ask bypasses the budget gate. Ask explicitly skips
Decide, while its inherited path checks connection health; no replacement enforces metered consent, serialization, budget or unknown-spend pauses. Repeated questions could therefore spend after the budget is exhausted. Fix: Keep Ask’s exact session/model binding, but pass every question through the same transactional metered admission guard, with explicit consent and hold behavior.
- Important — §§2.3, 10: Resume is not bound to the pause it clears.
resume_spend{connection}carries no unknown-spend generation; two separately issued Resume commands could let a delayed command clear a later attempt’s pause. Fix: Bind Resume to the observed pause revision and consume it atomically once; stale commands must leave newer unknown spend untouched.
- Important — §§7–8: Binding and release rules conflict at continuation boundaries. A healthy kept connection that fails a budget or busy bar falls through to another connection, contradicting the stated switching restriction. A consumed Run now also has no defined authorization lifetime for failover attempts. Fix: Hold a kept session when a spending bar blocks it unless an expressly permitted switch applies. Consume Run now into durable authorization for the specified step revision, defining which attempts it covers without permitting replay to start another execution.
- Important — §§2.3, 4, 10: Cost accounting remains underspecified. Cutting estimates does not resolve how Pi’s per-message usage, OpenCode’s updates and Vibe’s export become one complete attempt charge. Cached/reasoning overlap, cumulative versus incremental events, missing prices and monetary fields are undefined; existing
wire.Usagecarries no cost. Fix: Specify each adapter’s aggregation and completeness rules, normalized billable components, versioned prices and monetary representation; unpriceable usage must produce unknown spend.
- Important — §7:
Decidestill lacks a total comparison and consistent invariant. The room comparator evaluates maximum and shortest-window usage before handling connections with no windows, leaving its first two keys undefined. Invariant (a) also rejects a normal step released under urgent thresholds because its only stated exception is a kept session. Fix: Rank known versus unknown headroom before accessing window values and define missing-duration/tie handling. Express the invariant using effective priority after Run now, and clarify whether a metered preference overrides “subscription always ranks before metered.”
- Important — §§6–8: Wakeups can select an already-expired time forever. The minimum includes expired reset times, expired preferences and
by − 24 hafter the deadline check has fired. Re-evaluation can therefore immediately schedule the same past wakeup again. Fix: Select only future, unconsumed wakeups, persist deadline notification state, and define how stale window readings are retired when refresh supplies no replacement.
- Important — §§0.7, 2.1, 4.2: Zero Console balance is not pay-as-you-go disabled. OpenCode becomes a subscription on a balance snapshot, although the spec says later Console credit funds overflow. Replenishing that balance would permit paid requests without metered admission or budgeting. Fix: Require a persistent overflow-disabled setting for subscription classification; otherwise retain metered classification and make the confirmation describe the actual control.
- Important — §4.2: OpenCode’s control transport is missing. Its HTTP server binds inside the isolated network namespace, so the runner cannot reach its SSE and reply endpoints through host loopback. The existing egress bridge only carries outbound CONNECT traffic. Fix: Specify a per-attempt control bridge or an in-namespace stdio adapter, including fixed authority, lifecycle and policy attestation.
- Important — §2.2: Model listing replaces the required credential/inference proof. A successful
GET /v1/modelsdoes not establish that the selected model’s inference route works, contrary to Connections §§2.5–2.7; provider-specific probe routes are also unspecified. Fix: Define each provider’s authenticated health probe and selected-model validation, including accounting and admission treatment for any billable validation request.