Skip to content

feat(gateway): the gateway's drained workers live in state.db - #786

Merged
V3RON merged 8 commits into
task/760from
task/759
Oct 20, 2026
Merged

V3RON merged 8 commits into
task/760from
task/759

Conversation

@V3RON

@V3RON V3RON commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #759

Status

Implement: done (4/4, audit probed 4/4) Review: round 1 + fix-check passed Hardware: n/a Gate: waiting for the stack
Next: gate the stack (#755 → #775 → #783 → #784 → #785 → #786)

Done when

  • pnpm test:changed passes.
  • rg -n "workers\.json" src docs --glob '!docs/internal/adr/**' finds only the gateway's old-file list, its test and the docs/CLI.md upgrade section.

Feature completion (#754)

Assumptions

none

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 2 blocking, 2 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 20.4M.
Runs: 9. Cost USD: 2.3576. Agent seconds: 1557.
Assessment: complete

Written by an agent.

@V3RON
V3RON changed the base branch from task/758 to task/760 October 20, 2026 17:13
@V3RON

V3RON commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Runs: 9. Cost USD: 2.3576. Agent seconds: 1557.
Tokens input 276, output 49905, cache read 5133982, cache write 346287.
- build implementer: claude-sonnet-5-5 497 s $0.4442
- audit implementer: claude-sonnet-5-5 147 s $0.1753
- review 1 reviewer: claude-sonnet-5-5 357 s $0.1787
- review 1 spec: claude-sonnet-5-5 32 s $0.1327
- review 1 code both: claude-opus-5-5 242 s $0.9575
- review 1 claims: claude-sonnet-5-5 59 s $0.142
- fix 1 implementer: claude-sonnet-5-5 121 s $0.1273
- review fix-check reviewer: claude-sonnet-5-5 35 s $0.0685
- review fix-check reviewer: claude-sonnet-5-5 67 s $0.1314
Finding outcomes: {"fixed":2}. Classes: {"testing 7":1,"testing 8":1}.
{
 "findings": [
  {
   "id": "R1",
   "role": "code",
   "class": "testing 7",
   "outcome": "fixed",
   "path": "src/daemon/main.test.ts",
   "fix": "610f3dee"
  },
  {
   "id": "R2",
   "role": "code",
   "class": "testing 8",
   "outcome": "fixed",
   "path": "src/gateway/drain-store.test.ts",
   "fix": "610f3dee"
  }
 ]
}```

_Written by an agent._

@V3RON
V3RON marked this pull request as ready for review October 20, 2026 17:16
@V3RON
V3RON added this pull request to stack #782 October 20, 2026 17:16
@V3RON
V3RON merged commit baddf40 into main Oct 20, 2026
25 of 26 checks passed
@V3RON
V3RON deleted the task/759 branch October 20, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The gateway's drained workers live in state.db

1 participant