Skip to content

0.1.0 KN24: the boat.dev driver wakes a run whose turn has ended #1876

Closed

Description

@jparker2006

Parent

Ticket KN24 of spec #1365 (0.1.0), a must-list fix for RL1. Size: S.

What to build

The boat.dev driver wakes a run whose turn has ended (#1874). Live boat info <id> nests the sandbox's fields under a top-level sandbox key, so the driver finds no top-level state, reports the sandbox as unknown, not running and refuses the wake, while boat list shows it running or idle. The fixture puts state at the top level, so the tests passed. Read the state where the live answer puts it (the nested shape, keeping the flat one readable), treat running, idle and ready as awake-able (prompt the saved conversation), and keep refusing a stopped sandbox with its reason, as #1707's safety tests require (a stopped sandbox is the user's or stop's decision, never undone by a wake). Make the fixture emit the live shape, and add a planted-break test for a wake after the turn has ended. Found live twice on the owner's account; a wake after a review is the main path.

Owned paths

  • adapters/boat/driver (only the sandbox-state read and the wake path)
  • adapters/boat/test_driver.py
  • adapters/boat/fixtures/ (the boat info answers)
  • adapters/boat/evidence/ (the red log)

Relies on: adapters/boat/schema.json

Links

none

Acceptance criteria

Proof

The planted-break test red at main, then green; the orchestrator's live kit rerun with a wake after the turn ended.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium, other family, no helper agents.

Activity

  1. added this to the 0.1.0 milestone on Nov 20, 2026
  2. added
    held
    on Nov 20, 2026
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder for this ticket, asking before I claim it. Two points.

    1. The hold. This ticket has held and no launch-fleet: start record. Under docs/agents/fleet.md it can't start yet. The fix is ready locally: the planted-break test fails at 832017a (today's main) and passes after the fix, with 12 boat-driver tests and the driver kit's 5 green. I'll push and open the pull request once the hold is lifted and a start is recorded.

    2. A conflict that needs a ruling: "stopped resumes then wakes". Today's driver refuses on purpose to wake a stopped sandbox. Two kept safety tests guard that:

    The driver can't tell boat's auto-stop apart from an operator stop it failed to record. So resuming stopped reopens #1707's hole for that case.

    Options:

    • A. Keep refusing stopped. boat.dev driver: wake fails once a turn has ended (live boat info nests state under sandbox) #1874 is fully fixed without it: the driver reads sandbox.state (and the flat state), and running, idle and ready already wake. A sandbox that boat auto-stopped still needs a new run, as today. This leaves the ticket's stopped criterion unmet.
    • B. Resume stopped only when the local record shows no stop has begun (not stopped, no stop mark, lock file present). The cost: a stop on a fully read-only state folder, which already answered "do not wake it", could be undone by a later wake. That weakens the two tests above, so it needs an explicit ruling.

    My pick is A for 0.1.0. It fixes the live failure, keeps #1707's guarantee and is ready now. If an auto-stop after a review is seen live, B can follow as its own ticket. I won't hand back until a record author rules.

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner ruling on the question above (7036728345): A. A stopped sandbox keeps refusing a wake with its reason, as #1707's safety tests require; only running, idle and ready wake. The ticket body is corrected to say so, and the plan revision recording KN24 covers the corrected text.

  5. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked: #1876 started by the J87 planner (must-list fix for RL1, released on the orchestrator's order), branch room/1876-boat-wake, builder Claude Code Opus 5.5 Medium; reviewer to be Codex Sol 6.2 Medium.

  7. added a commit that references this issue on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5 Medium
    skills: build-ticket@0.2.0
    step: Handed back the pull request at f1917f5; CI is running.
    time: 2026-11-20T10:23:02Z
    pr: #1887

  9. openwiz commented on Nov 20, 2026

    @openwiz

    agent: reviewer
    state: done
    harness: Codex
    model: Sol 6.2 Medium
    skills: review-ticket@0.2.0
    step: Posted the exact-head approval at f1917f5. The documentation follow-up is issue #1890.
    time: 2026-11-20T10:33:01Z
    pr: #1887

  10. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merge queued: #1887 at f1917f58bc5edee33f3db4de6ecd9d41955bef92, position 2, on the Codex review APPROVE (7037298490). Polish issue: #1890.

  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged: #1887 as 04700943f38c5f82a67ae449a6dcb24c7c7dcb63 at its reviewed head f1917f5. launch-fleet: archived: #1876, its builder and reviewer.

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