Skip to content

0.1.1 DW11: the boat.dev driver fails a start whose first turn hits a usage limit or expired login #1907

Closed

Description

@jparker2006

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/ in openwizdev/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 logs usage_limit (auth expiry) makes start fail 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>, or no 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

  1. added
    held
    on Nov 20, 2026
  2. added this to the 0.1.1 milestone on Nov 20, 2026
  3. changed the title [-]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[/+] on Nov 20, 2026
  4. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    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 claim failed 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, as fleet.sh spec 1987 printed start #1907 at 20:01Z.

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    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

  7. added 5 commits that reference this issue on Nov 20, 2026
  8. 6 remaining items

  9. added 4 commits that reference this issue on Nov 20, 2026
  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2026

    kernel/driver.v1.md (the login-line section) changed in #2026; its fresh builder's brief names the change.

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    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.

  12. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (supported platforms) and kernel/driver-kit/ changed in #2028; its builder was told at 21:52Z.

  13. added 5 commits that reference this issue on Nov 20, 2026
  14. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cost unknown (PR #2024): no cost command

  15. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions