Skip to content

docs(gateway): a starting worker's leases are hidden from their owner - #989

Merged
V3RON merged 2 commits into
mainfrom
bug/405
Oct 25, 2026
Merged

V3RON merged 2 commits into
mainfrom
bug/405

Conversation

@V3RON

@V3RON V3RON commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Closes #405

Status

Implement: done (docs only) Audit: done, no fixes Review: round 1 passed, 0 findings Hardware: n/a Gate: running (after CI fix 8d4c11f, fix-check passed)
Next: gate

  • The startup window is documented where the CLI's "No lease is held by …" message and MCP lease_status are described (website), and in src/gateway/AGENTS.md Known gaps — checked by the spec and claims reviews against worker-registry.ts, dispatcher.ts, startup-read.ts and mcp/session.ts.
  • Docs advise agents not to request a new device on that message after a worker restart — present in all three places; spec review confirmed.

Assumptions

  • Assumption: where the website documents the message — no page quoted it, so I put it under "Through a gateway" in working-with-a-device and on the lease_status row in connect-your-agent.

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: skipped. Claims review: 0 blocking, 0 fixed, 1 notes.
Rounds: 1. Tokens: 25.1M.
Runs: 7. Cost USD: 0.9001. Agent seconds: 313.
Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: f8f9408
Round fix-check: 8d4c11f (CI fix, verified by coordinator)

Runs: 7. Cost USD: 0.9001. Agent seconds: 313.
Tokens input 116, output 22509, cache read 1383611, cache write 214533.
- build implementer: claude-sonnet-5-5 58 s $0.1416
- audit implementer: claude-sonnet-5-5 21 s $0.087
- review 1 reviewer: claude-sonnet-5-5 89 s $0.1833
- review 1 reviewer spec: claude-sonnet-5-5 12 s $0.074
- review 1 reviewer claims: claude-sonnet-5-5 31 s $0.131
- fix implementer: claude-sonnet-5-5 77 s $0.1914
- review fix-check reviewer: claude-sonnet-5-5 25 s $0.0918
Finding outcomes: {}. Classes: {}.
{"findings": []}

Written by an agent.

@V3RON

V3RON commented Oct 25, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • claims: website/src/content/docs/docs/using-devices/working-with-a-device.mdx:89 says the command fails with "No lease is held by "; the CLI raises that message only when --lease is omitted (src/cli/commands/passthrough.ts:56, :117). With --lease the gateway's error during startup was not checked.

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 25, 2026 08:12
@V3RON
V3RON merged commit b40ff84 into main Oct 25, 2026
42 checks passed
@V3RON
V3RON deleted the bug/405 branch October 25, 2026 08:30
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.

A gateway hides an owner's leases on a worker that is starting

1 participant