check: fixes for #296, #298, #300

Merged
OA
39m ago
+1721-334

Check branch for the full CI matrix before main. Refs #296, #298, #300.


Summary by cubic

Fixes OpenCode 2 issues #296, #298, and #300, and bundles related robustness fixes for Pi stream-limit routing, OpenCode 2 setup migration, and the release script.

What changed

  • Vault quota-minimum refusals now use the shared quota-minimum message when a route would pass with the minimum set to zero; other vault and admission refusals stay unchanged.
  • Pool login replacement compares the selected row's epoch and identity and reselects after a stale write, so a mismatched account cannot fall back to an unconditional replacement by row ID.
  • Setup and shutdown share one ordered cleanup with per-step timeouts, and startup refuses an explicit state override pointing back to the tokenless vault left after a completed move.
  • Pi routes terminal stream limits like HTTP refusals, and streamed usage failures keep explicit reset evidence so holds match HTTP 429.
  • The release script rechecks that only version files changed before committing and pushes atomically.