Repository navigation
Description
Parent
Ticket KN25 of spec #1365 (0.1.0). Size: M. Highest priority after the release work: in-person installs this weekend are mostly on MacBooks.
What to build
The boat.dev driver, the local driver, the template driver and the driver kit read /proc (stat, environ, cmdline) to find and stop their own processes, so they only work on Linux. Replace those reads with a portable way to list and stop the driver's own processes, using the standard library only: process groups the driver creates (start each run's supervisor in its own group or session and signal the group) and ps where a listing is needed. Keep Linux behaviour byte for byte wherever tests pin it. The kit's token and stop checks must work on macOS too; where macOS can't see a process's environment, the kit uses the run's process group instead of the environment mark, and its README says how. The Cloudroom driver already says "Linux or macOS" and reads no /proc: leave it, and note it in the pull request.
State the supported platforms: one line in the driver contract (kernel/driver.v1.md), each driver README's header and the Drivers page.
Prepare one command Jake pastes on his MacBook that runs the kit against the boat.dev driver at this pull request's head and prints pass or fail per check, with no secret, token or account detail in its output. Put it in the pull request description.
Owned paths
adapters/boat/inopenwizdev/OpenWiz(shared with DW10 and DW11: the process listing and stop only)adapters/local/inopenwizdev/OpenWiz(the process listing and stop only)adapters/template/inopenwizdev/OpenWizkernel/driver-kit/inopenwizdev/OpenWizkernel/driver.v1.mdinopenwizdev/OpenWiz(shared with DW8: the supported-platforms line only)drivers/index.htmlinopenwizdev/WizSite(shared with DW8 and WD4: the platforms line only)
Relies on: kernel/driver.v1.md
Links
none
Acceptance criteria
- A platform-faked test (no
/proc, as on macOS) fails first for each of the boat.dev, local and template drivers and the kit, then passes - On Linux, every existing driver and kit test passes unchanged
- The kit passes all five checks against each driver on fixtures on both the Linux path and the faked macOS path, in CI
- The contract, each README and the Drivers page state the supported platforms
- The pull request carries Jake's one-paste MacBook command, which prints only pass or fail per check
- Merge gate: merges after the 0.1.0 cut onto
main. Whether it also goes ontorelease-0.1.0is Jake's call. - 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
The platform-faked tests red then green, the unchanged Linux suite, and Jake's live 5 of 5 on a real Mac.
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: start checked, branch room/2010-macos-drivers
The J87 planner started this builder directly (Claude Code, Opus 5.5, Medium) when KN25 joined #1365 at revision 13. Review on a green PR goes to Codex, Sol 6.2, Medium; only real-user findings block. Merge is to main after the 0.1.0 cut; whether it also goes onto release-0.1.0 is Jake's call.
#2010: the drivers and the kit find and stop their processes without …
#2010: green: the drivers and the kit pass on Linux and on faked macOS
#2010: add no comments, per the comments contract
jparker2006 commentedon Nov 20, 2026
KN25 builder, for Jake's MacBook: a dry probe. It starts no agent, calls no
boatcommand, spends nothing and prints no token, username or home path. It runs in a fresh temp folder and downloads PR #2028's head (f21e815) as a tarball. It prints python3's version, the OS, whether/proc,ps,setsid,pgrep,curl,ghandboatexist, and whetherps -Eshows environments. It prints whether the kit loads, and each of the local, boat.dev and template drivers'versionanswer and whether itsschemamatches the kit's. Last, a stop probe: the template driver starts a syntheticfake-harness(just asleepgrandchild, no agent) and stops it. It printspasswhen the grandchild is gone, once with the grandchild in its own session and once in the turn's process group. Paste all of it into Terminal:On Linux it prints every line as expected, including
stop probe (session): passandstop probe (group): pass. Onmaintoday, a Mac would fail the stop probes, because the drivers there need/procandprctl.ETA to a green PR: #2028 is open at
f21e815. The changelog, owned-paths and privacy checks pass; lint, rust and release are running. The only earlier CI failure was the comment check, now fixed. The touched driver and kit suites pass locally, Linux and faked macOS, on Python 3.11 and 3.9. Expect CI green by about 21:15Z. The full five-check boat.dev command (it creates a throwaway private repository and runs a real boat agent) is in #2028's description, pinned to that head.#2010: red: R1 and R2, the kit passes what it cannot see on macOS
#2010: green: R1 and R2, the kit fails what it cannot see on macOS
#2010: green: merge main (DW8's Login lines) into the macOS drivers
jparker2006 commentedon Nov 20, 2026
launch-fleet: archived
jparker2006 commentedon Nov 21, 2026
launch-fleet: foreign merge verified: openwizdev/WizSite#122 merged at head a52f995d4f3206e3a8c92c4afc17b092fd73292e as 50d705ed34a657322298786a932fa9b92efd29fd (re-check APPROVE openwizdev/WizSite#122 (comment)). The Drivers page now states the platforms: Linux and macOS for the test kit, the template, and the boat.dev and own-computer drivers, with a supported Python.