Skip to content

0.1.1 polish S2337: the driver template never starts a real harness, and driver kit follow-ups (stacked on #2337) #2569

Done

Description

@jparker2006

Parent

#2286, the J308 polish batches (review follow-ups). Size: S.

What to build

Fix each issue below, as its issue text says; check each is still true at your base first. OpenWiz merges wait for the release-0.1.1 cut (the planner's freeze); build and review now.

Stacked (draft): these findings are in code that is still only in approved pull request #2337, which is held for the release-0.1.1 cut. Branch from room/2293-polish-g, open your pull request as a draft with room/2293-polish-g as its base, and say in its first line that it stacks on #2337. The lead retargets it to main once that merges. Never push to room/2293-polish-g.

Owned paths

  • kernel/driver-kit/test_kit.py
  • adapters/template/test_driver.py
  • adapters/cloudroom/driver
  • adapters/cloudroom/test_driver.py
  • kernel/records-kit/README.md
  • adapters/template/driver
  • kernel/driver-kit/kit.py
  • adapters/template/README.md

Relies on: nothing

Links

none

Acceptance criteria

  • Every issue listed above is fixed, or the pull request names it under Gaps with the reason.
  • Nothing outside the owned paths changes, except the fleet's standing supporting edits, each named in the pull request.
  • The pull request's body has one Closes line for this ticket and one for each issue it fixes.

Proof

A test that fails at the base first and passes after (red run kept), for each behaviour fix. Doc-only fixes say no new test: <why>.

Closes when merged

Closes #2357
Closes #2358
Closes #2359
Closes #2360
Closes #2561

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: started (the J308 lead's direct start under the J87 planner; Opus 5.5 Medium builder, J255; #2561 first, a planner-approved jump over the share)

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: build-ticket@0.2.2
    step: Handed back the stacked pull request with its local suite green.
    time: 2026-11-22T23:54:21Z
    pr: #2635

  5. added 3 commits that reference this issue on Nov 23, 2026
  6. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Builder question:

    After merging origin/main (f589c160) into room/2569-polish-s2337 (head 751db56172b3aa87bcb36bf124b2ddf07df7da4a) and resolving the 4 conflicted files, all six ticket suites pass locally and 6 of 7 CI jobs pass (CI/lint, CI/rust, CI/owned-paths, Changelog/changelog, Privacy/privacy, CI/release (1)).

    CI/release (2) ("The live-check rig's tests") fails on two test files added to main after #2635 was approved, both outside #2569's owned paths:

    1. kernel/live-rig/test_heads.py (10 failures)
    2. kernel/live-rig/test_rig.py (4 failures)

    Why they fail without weakening #2561 / #2357:

    Smallest change (setup-only, no assertion changes):

    • kernel/live-rig/test_heads.py: copy adapters/template/driver and kernel/driver-kit/fixtures into self.checkout, put self.checkout/kernel/driver-kit/fixtures on PATH instead of the repo's kernel/driver-kit/fixtures, and add OPENWIZ_TEMPLATE_LIVE='1' to self.env.
    • kernel/live-rig/test_rig.py: copy kernel/driver-kit/fixtures (instead of only kernel/driver-kit/fixtures/planted) into self.checkout, put self.checkout/kernel/driver-kit/fixtures on PATH instead of the repo's kernel/driver-kit/fixtures, and add OPENWIZ_TEMPLATE_LIVE='1' to self.env.

    Options:

  7. added
    needs-info
    on Nov 24, 2026
  8. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2569:
    kernel/live-rig/test_heads.py
    kernel/live-rig/test_rig.py

    Scope: in openwizdev/OpenWiz. Only what lets these tests run the template driver under this ticket's opt-in: set OPENWIZ_TEMPLATE_LIVE=1 in the environment the tests give the driver. The other half of the failure (the throwaway checkouts lack the template README and the kit's base fixture) is being fixed in the same two files by #2562 (pull request #2700): take it from main after that merges rather than writing it twice. No test is removed or weakened.

  9. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: waiting for #2562

  10. removed
    needs-info
    on Nov 24, 2026
  11. added 2 commits that reference this issue on Nov 24, 2026
  12. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Builder blocker at 431a29315074ac7329237f06a967cd41e6574f9c on #2635

    Merged main with #2700 and added OPENWIZ_TEMPLATE_LIVE=1 to the driver environment in kernel/live-rig/test_heads.py and kernel/live-rig/test_rig.py. The six ticket suites passed locally (181 tests). F4 grant

    The release (2) job stopped at test_heads.py with 12 failures. The kit refuses fake-harness before the driver starts because both test setups resolve it on PATH from the outer repository, outside the throwaway kit checkout's fixture directories. test_rig.py reproduced the same refusal locally. CI log

    The additional setup change needs F4 authorization in those two test files. Include the existing kernel/driver-kit/fixtures/fake-harness in CHECKOUT and COPIED, respectively, and use the copied fixture directory on each test's PATH. A temporary probe with that setup passed all 18 heads tests on the CI merge result and all 15 rig tests, with the kit's guard and test assertions in place.

  13. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2569:

    kernel/live-rig/test_heads.py
    kernel/live-rig/test_rig.py

    Scope: widens the earlier grant on these two files by the setup change in the builder blocker above: include the existing kernel/driver-kit/fixtures/fake-harness in CHECKOUT (test_heads.py) and COPIED (test_rig.py), and put the copied fixture directory on each test's PATH. The kit's guard and every assertion stay as they are.

  14. added a commit that references this issue on Nov 24, 2026
  15. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Builder blocker at 100a4de68eb74ce39236059b2817dfd8be362e06 on #2635

    Both live-rig tests now stage the kit's fake-harness in their throwaway checkouts and resolve that copy on PATH. All 30 scoped tests passed locally. The live-check rig step passed in the fresh full CI run (attempt 1). Expanded F4 grant

    The release (2) job then failed in tools/release/test_package.py:201, in test_runtime_carries_exactly_the_selected_drivers_and_kit_where_the_caller_finds_them. It installs a stock template copy as the boat driver and expects a passing version line from the installed kit with --harness absent-harness. The kit exits 2 with empty stdout because it refuses that harness before invoking the driver. The runtime package deliberately omits the canonical template and kit fixtures. CI job

    The release test and runtime packaging are outside the grant. The release proof needs a scoped decision that preserves the stock-template guard and still verifies the installed kit can check a supported driver. The live-rig fix is complete and CI remains red on the release package proof.

  16. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2569:

    tools/release/test_package.py

    Scope: only the setup of test_runtime_carries_exactly_the_selected_drivers_and_kit_where_the_caller_finds_them, so it proves the installed kit checks a supported driver the same way the live-rig tests now do: give the run this ticket's opt-in (OPENWIZ_TEMPLATE_LIVE=1) and stage the kit's fake-harness where the installed kit's guard accepts it, or point the test at a harness the kit supports. The kit's stock-template guard, the runtime package's contents and every assertion stay as they are.

  17. added 2 commits that reference this issue on Nov 24, 2026
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

    polishready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions