Skip to content

0.1.0 RL4: the release package carries the drivers 0.1.0 launches with #1699

Closed

Description

@jparker2006

Parent

Ticket RL4 of spec #1223. Size: S.

What to build

0.1.0's release package carries the drivers it launches with. Today tools/release/build_products.py puts openwiz and runtime/ in the archive (the install, pull, access, cloudroom, setup and login runtimes), and nothing from adapters/ or kernel/. So 0.1.0 would install without the boat.dev driver it launches with.

  • Carry the drivers: each merged driver (adapters/<name>/) and the kernel files the drivers and KN6's caller need go into the runtime product, at the paths KN6 calls them from, verified the way the rest of runtime/ is.
  • Mapping: they land where the runtime product's tracked-tree receipt maps them back to tracked paths at the source commit (for example runtime/adapters/<driver>/ and runtime/kernel/), or the tool's mapping is extended, so products and prepare don't refuse.
  • Contracts: if the archive's layout changes, contracts/install.v1.md (the installed layout and manifest) and contracts/release-candidate.v1.md (the product inventory) are updated in the same pull request (a contract edit, granted with this ticket's approval).
  • Pull forward: build now against the drivers' open pull requests (KN3 #1368: 0.1.0 KN3: the driver for the user's own computer (and any VPS) #1455, KN4 #1369: 0.1.0 KN4: the Cloudroom driver #1458, KN5 #1370: 0.1.0 KN5: the boat.dev driver #1444) and KN6's caller, and merge main in as each lands.

Owned paths

  • tools/release/build_products.py in openwizdev/OpenWiz (shared: what the runtime product carries)
  • tools/release/package.py in openwizdev/OpenWiz (shared: the archive)
  • tools/release/ tests in openwizdev/OpenWiz (new and changed tests only)
  • contracts/install.v1.md, contracts/release-candidate.v1.md in openwizdev/OpenWiz (shared: only if the layout changes)

Relies on: nothing

Links

Acceptance criteria

  • Red first: a tools/release/test_package.py case shows today's archive carries no driver, then carries exactly the selected adapters/<driver>/ and kernel files and nothing else from those folders
  • A trial Packages run on main after KN3 to KN6 merge builds, and its checksums verify
  • Installing that trial archive with tools/install/install.py puts the boat.dev driver where KN6's caller finds it, and the driver kit's version check passes from the installed location
  • 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>.

Proof

The package test red then green, the trial Packages run, and the install read-back.

Builder Claude Code Opus 5.5 Medium; reviewer a fresh Codex Sol 6.2 Medium thread, 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. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: working
    harness: claude-code
    model: opus-5.5-medium
    skills: build-ticket@0.1.2, launch-fleet@0.1.2
    step: Merged main for the WizSkills pin; head ac79fb5 waits for CI.
    time: 2026-11-20T10:43:40Z

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Builder question (#1699): the installed driver needs an executable mode, and that rule is outside this ticket's owned paths.

    What I found:

    • KN6's merged caller (WizSkills skills/launch-fleet/scripts/host.py, driver()) runs $OPENWIZ_ADAPTERS/<host>/driver and refuses unless that file is executable (os.access(path, os.X_OK)).
    • The package's asset mode rule is 0700 only for the openwiz program and *.sh files, 0600 for everything else. It lives in tools/install/install.py line 102 (invalid asset mode refusal) and tools/release/product_identity.py mode(); contracts/install.v1.md says "programs and shell runtime scripts 0700".
    • So packaging adapters/boat/driver as runtime/adapters/boat/driver installs it 0600, and host.py says "no driver for host boat". AC3 can't pass without changing that rule.

    Options:

    1. Extend the mode rule (my pick): runtime/adapters/<name>/driver is also 0700. One-line supporting edits in tools/install/install.py:102 and tools/release/product_identity.py:mode(), plus the owned contracts/install.v1.md line ("programs, shell runtime scripts and driver entry points 0700"). No test fixture changes needed (none generates a driver path); a red-first install test proves it.
    2. Change KN6's host.py to run the driver as python3 -I <driver> without needing the executable bit: another ticket's logic, in WizSkills, and it breaks driver v1's "an executable" contract for non-Python drivers.
    3. Rename the packaged driver to driver.sh: host.py wouldn't find it. Not viable.

    I'm building everything else now (selection, mapping, contracts, package test) and will add the two supporting edits only on an approval of option 1.

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

    @jparker2006
    MemberAuthor

    Builder evidence for the question above (#1699). A local trial over this branch with KN3, KN4 and KN5's branches merged (synthetic program binary, real runtime tree):

    • As the branch stands: collect, package and checksums pass, and the tracked-tree check maps all 10 driver and kit files back. Installed, runtime/adapters/boat/driver is 0600; host.py's driver('boat') says is not an executable file, and the kit's version check fails Permission denied.
    • With option 1 applied in a scratch copy only (runtime/adapters/<name>/driver is 0700 in install.py:102 and product_identity.py:mode()): the three drivers package 0700, the install activates, host.py finds runtime/adapters/boat/driver with OPENWIZ_ADAPTERS=<root>/current/runtime/adapters, and the kit prints pass version: openwiz:records v1, and the schema is driver v1 from the installed runtime.

    Those two one-line supporting edits are still waiting for a record-author answer. My draft PR doesn't include them.

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

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for RL4: tools/install/install.py and tools/release/product_identity.py, only the mode rule that lets runtime/adapters/<name>/driver install at 0700, like the program and .sh files, with a failing test first that the installed driver is executable and passes the kit's version check from the installed location. Nothing else in those files changes. Why: without it, an installed driver lands as 0600 and neither KN6's caller nor the kit can run it. List it under the PR's rulings.

  12. removed
    needs-info
    on Nov 20, 2026
  13. added 4 commits that reference this issue on Nov 20, 2026
  14. 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 approval after re-checking the installer merge
    time: 2026-11-20T10:54:11Z
    pr: #1796

  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merge queued: #1796 at ac79fb5c19350c633697fe6b0d1be4f115bd517b, position 3, on the Codex re-check APPROVE (7037709659), after the earlier APPROVE at 31d1ae2 (7036767904). Polish issue: #1878.

  16. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: merged: #1796 as 830191c06de1a1d3dd49891bedafccd21e59fafe at its re-checked head ac79fb5. launch-fleet: archived: #1699, 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