Repository navigation
Description
Parent
Ticket DW11 of spec #1987 (0.1.1). Size: S. Planned from this bug report; the report is kept below.
What to build
The boat.dev driver watches a new run's first turn for a short settle time. On a usage_limit event (an expired login or a rate limit), or a first turn that finishes with no tool call, start fails with exit 1 and a fixed reason naming the limit type and the turn log's path (no raw log text), and stops the sandbox it started, as the local driver already does for its first turn. A later turn that ends this way shows on the ticket through KN11's retry-then-show path. This is what most likely goes wrong at an in-person install, so it comes first in the boat.dev work.
Owned paths
adapters/boat/inopenwizdev/OpenWiz(shared with DW10: the first-turn watch and its tests)
Relies on: kernel/driver.v1.md
Links
none
Acceptance criteria
- With the fake
boat, a first turn that logsusage_limit(auth expiry) makesstartfail with the fixed reason and stop the sandbox, red first - A first turn that finishes with no tool call fails the same way
- A normal first turn still answers the run id within the settle time
- No raw log text, login or token appears in any answer
- Merge gate: merges after the 0.1.0 cut
- Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test
catches: <the bug>, orno new test: <why>. A bug gets a failing test first.
Proof
P7: the driver's tests on the fake boat, red first.
The original report
Found live (2026-11-20): two start calls answered a run id; within seconds boat's turn log held {"limitType":"auth_expiry","provider":"claude","summary":"Claude OAuth token expired"} (event type usage_limit) and the turn was finished with nothing built and no status note. Nothing surfaced it: the tickets sat untouched for 45 minutes until a person read the turn log.
The local driver already fails start when its first turn ends at once with a refusal or sign-in line. The boat driver should do the same: watch the first turn for a short settle time and, on a usage_limit event (auth expiry, rate limit) or a turn that finished without a tool call, answer a fixed reason, the limit type and the log path (no raw text), and stop the sandbox. A later turn that ends this way should show on the ticket (KN11's retry-then-show). 0.1.1 unless cheap.
Activity
[-]boat.dev driver: a first turn that ends on a usage limit or expired harness login is reported as started[/-][+]0.1.1 DW11: the boat.dev driver fails a start whose first turn hits a usage limit or expired login[/+]jparker2006 commentedon Nov 20, 2026
launch-fleet: start checked, branch room/1907-boat-first-turn-watch
Started by hand under the J87 planner's fleet.sh-outage ruling (OpenWiz #1958):
fleet.sh claimfailed only with "conflicting PR check snapshots". Start conditions read at 20:13Z: open; labelled ready-for-agent only, not held; no open blocker; no other live claim, builder or pull request; plan approval 7049330143 (revision 2) current, asfleet.sh spec 1987printedstart #1907at 20:01Z.jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.2.0
step: Fixed R3 once more (macOS stop reads no process environment) at f5d6bac; handed back for the final check.
time: 2026-11-20T22:52:44Z
pr: #2024
#1907: the boat tests run on a PATH of the fake boat and named tools …
#1907: green: tests and the kit pass on a fixtures-only PATH; 14 of 14
#1907: the boat tests build their environment from scratch, without B…
#1907: green: tests and the kit pass in a from-scratch environment; 1…
#1907: the first-turn test checks only its own run's processes, never…
6 remaining items
#1907: turn supervisors record themselves in the run's folder; cleanu…
#1907: names in place of comments in the R3 fix
#1907: names in place of comments in the R3 fix
#1907: green: review R3 fixed; 18 of 18 and the kit, main merged in
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2026
kernel/driver.v1.md (the login-line section) changed in #2026; its fresh builder's brief names the change.
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2028
kernel/driver.v1.md (the Supported platforms line), kernel/driver-kit/ and adapters/template/ changed in #2028; its builder was told at 21:53Z.
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2028
kernel/driver.v1.md (supported platforms) and kernel/driver-kit/ changed in #2028; its builder was told at 21:52Z.
#1907: red: on macOS the driver's supervisor and stop ask ps for ever…
#1907: on macOS the supervisor records its turn's processes from ps's…
#1907: names in place of comments in the macOS R3 fix
#1907: since() keeps main's start-time form; members() matches it
#1907: green: R3 fixed once more, macOS stop reads no process environ…
jparker2006 commentedon Nov 20, 2026
launch-fleet: cost unknown (PR #2024): no cost command
jparker2006 commentedon Nov 22, 2026
launch-fleet: archived