Skip to content

0.1.1 DW12: the boat.dev driver fails a start that can't push to the target repository #2019

Closed

Description

@jparker2006

Parent

Ticket DW12 of spec #1987 (0.1.1). Size: S.

What to build

Found live today: a boat.dev builder started, built its change green, and then its push failed with "Permission denied", because boat's GitHub App had no write access to the target repository. The driver reported nothing. At start, the boat.dev driver confirms the sandbox can push to the target repository before the run counts as started. If it can't, start fails at once (exit 1) with one plain line naming the fix: install the host's GitHub App on this repository, with write access. It names the repository and nothing else: no token or account detail. Where the kit can tell, its start check reports the same failure plainly. The same builder may take this on top of DW11 (#1907), since they change the same driver.

Owned paths

  • adapters/boat/ in openwizdev/OpenWiz (shared with DW10 and DW11: the push-access check and its tests)
  • kernel/driver-kit/kit.py in openwizdev/OpenWiz (shared with KN25: the start check's push-access line only)

Relies on: kernel/driver.v1.md

Links

Acceptance criteria

  • With the fake boat reporting no write access, start fails fast with the one plain line naming the fix and the repository, red first
  • A repository the sandbox can push to starts as today
  • No token, key or account detail 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

P8: the driver's tests on the fake boat, red first.

Activity

  1. added this to the 0.1.1 milestone on Nov 20, 2026
  2. added
    ready-for-agent
    on Nov 20, 2026
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/2019-boat-push-access

    Started by hand under the J87 planner's F6 prepare ruling for DW12. DW12 is built by DW11's builder (the same thread, not a fresh one) from #2024's approved head f5d6bac (APPROVE 7052744178). #1907 (#2024) has now merged; the builder merged main into #2048 (head 921d2e2, hand-back 7053523684). Plan approval 7049667990 (revision 3).

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2026

    kernel/driver.v1.md (relied on) changed on main in #2026; the builder was told.

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (relied on) changed on main in #2028; the builder was told.

  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: Text-only fix since 921d2e2: push-access wording names the connected GitHub account; head 6597ade, CI running.
    time: 2026-11-22T00:36:11Z
    pr: #2048

  7. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: merge gate added by the J87 planner. DW12's pull request (#2048) merges only after (1) #1907 (#2024) has merged and main is merged in, with every check green, and (2) DW12's own short live step passes at its final approved head: two starts from the PC, one against a repository where boat.dev's GitHub App has read-only access (it must fail fast with the fix line) and one against a writable repository (it must start as today). DW11's live run does not cover this.

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

    @jparker2006
    MemberAuthor

    Planner ruling for DW12 #2019, R1: the documented limit is accepted. A test push can't see GitHub branch rulesets, so the start check promises only that the sandbox's login can push, and the README tells users to let boat.dev's GitHub App bypass any ruleset that would block its branch. Pushing and deleting a test branch on every start would set off the user's webhooks and CI each time, which costs more than it protects. DW12's live step still checks the main case: a start against a repository boat.dev can only read fails at once with the fix line.

  10. added a commit that references this issue on Nov 20, 2026
  11. jparker2006 commented on Nov 21, 2026

    @jparker2006
    MemberAuthor

    DW12 live step, #2048 at 921d2e2c2cf3933a85a001fc12703a868591ef61, 2026-11-21 (owner's Linux PC, boat CLI 1.0.103, the boat.dev driver from that head, harness claude, model haiku).

    1. Read-only repository, octocat/Hello-World (the owner's account can read it but not push to it): start refused fast: exit 1 after 10.7 s, with the one plain line naming the repository and the fix:
      {"error": "the sandbox cannot push to octocat/Hello-World: install boat.dev's GitHub App on this repository, with write access", "next": "install boat.dev's GitHub App on octocat/Hello-World with write access, then start again"}
      No token or account detail in the answer. No agent turn ran (the sandbox shows no conversation or agent events), and the driver stopped its sandbox (boat: stopped, stop completed). Nothing was written there: the check is a refused git push --dry-run.
    2. Writable throwaway, jparker2006/openwiz-boat-demo#27 (a fresh ready-for-agent ticket): start started as today: exit 0 after 29.6 s, the sandbox running and the builder at work (it cloned the repository and read 0.0.10 spec: the cockpit, page 1 #27). The driver's stop answered stopped: true; boat showed the sandbox stopped (stop completed) 35 s after it was created. No branch, pull request or comment was made.

    PASS: 2 of 2 at this head.

    Earlier attempt the same day, recorded honestly. The first read-only target was openwizdev/OpenWiz, chosen because boat.dev's GitHub App is not installed in that organization. But the sandbox's git login is the owner's own GitHub account, which can push there, so the check correctly answered "can push" and start succeeded. A builder ran for about 44 s (sandbox created to stopped); its actions were reads only (listed files, cloned the repository, gh issue list), and it was stopped through the driver's stop. Nothing was written: no branch, pull request or comment. Lesson for the README: the check measures what the sandbox's git login may push, which on a GitHub-connected boat account is the user's own access, not only the App's install scope.

    Spend: boat plan minutes only (three short sandboxes); no extra starts, no wallet.

  12. added a commit that references this issue on Nov 22, 2026
  13. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

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

  14. 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