Repository navigation
Description
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.
- Limit the template and kit harness guard to fixture directories #2357 (Limit the template and kit harness guard to fixture directories): Accept a resolved harness only inside the named fixture folders, not anywhere under the checkout, and add a case that rejects a checkout-local executable outside them.
- Classify Cloudroom sign-in phrases within a single diagnostic stream #2358 (Classify Cloudroom sign-in phrases within a single diagnostic stream): In room_said, match the sign-in phrases on stdout and stderr separately, and add a split-phrase case that expects the generic diagnostic.
- Document long-form blocker references in the records kit guide #2359 (Document long-form blocker references in the records kit guide): Point the B1 line at kernel/records.v1.md and name the two accepted blocker forms (short and own-repository long form).
- Keep the driver platform declaration check language-neutral #2360 (Keep the driver platform declaration check language-neutral): Make the shared README check assert only that a platform is named, and keep the Linux/macOS and Python assertions for the Cloudroom driver alone.
- The driver template must never start a real harness in tests or a red-first kit run #2561 (The driver template must never start a real harness in tests or a red-first kit run): URGENT, do this first. The template's turn command refuses to run a real harness unless an explicit opt-in variable a live check sets on purpose is present (or defaults to a fake). The kit puts no-op agent-CLI stubs first on PATH whenever the driver under test still matches the template. Failing-first test: an unedited template copy run by the kit starts no
claudeorcodexprocess. One line inadapters/template/README.mdsays so. Build and run the red test with stub CLIs first on PATH, so the red run itself can't start a real harness.
Owned paths
kernel/driver-kit/test_kit.pyadapters/template/test_driver.pyadapters/cloudroom/driveradapters/cloudroom/test_driver.pykernel/records-kit/README.mdadapters/template/driverkernel/driver-kit/kit.pyadapters/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
Closesline 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
jparker2006 commentedon Nov 22, 2026
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)
jparker2006 commentedon Nov 22, 2026
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
#2569: red: review R1 to R3: an alternate harness name, an older or r…
#2569: green: review R1 to R3: the kit runs a template-holding driver…
#2569: green: merge origin/main into room/2569-polish-s2337 and resol…
jparker2006 commentedon Nov 24, 2026
Builder question:
After merging
origin/main(f589c160) intoroom/2569-polish-s2337(head751db56172b3aa87bcb36bf124b2ddf07df7da4a) 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 tomainafter #2635 was approved, both outside #2569's owned paths:kernel/live-rig/test_heads.py(10 failures)kernel/live-rig/test_rig.py(4 failures)Why they fail without weakening #2561 / #2357:
adapters/template/driver(and wrappers around it) without settingOPENWIZ_TEMPLATE_LIVE=1inself.env, so the approved The driver template must never start a real harness in tests or a red-first kit run #2561 guard refuses to start the harness.kernel/driver-kit/kit.pyinto a synthetic tempself.checkoutwithout copyingkernel/driver-kit/fixtures(and intest_heads.py, withoutadapters/template/driver) intoself.checkout, while putting the repository'skernel/driver-kit/fixturesonPATH; the approved The driver template must never start a real harness in tests or a red-first kit run #2561 / Limit the template and kit harness guard to fixture directories #2357 kit guards fail closed whenTEMPLATEis unreadable orfake-harnessresolves outside the kit's ownFIXTURE_FOLDERS.Smallest change (setup-only, no assertion changes):
kernel/live-rig/test_heads.py: copyadapters/template/driverandkernel/driver-kit/fixturesintoself.checkout, putself.checkout/kernel/driver-kit/fixturesonPATHinstead of the repo'skernel/driver-kit/fixtures, and addOPENWIZ_TEMPLATE_LIVE='1'toself.env.kernel/live-rig/test_rig.py: copykernel/driver-kit/fixtures(instead of onlykernel/driver-kit/fixtures/planted) intoself.checkout, putself.checkout/kernel/driver-kit/fixturesonPATHinstead of the repo'skernel/driver-kit/fixtures, and addOPENWIZ_TEMPLATE_LIVE='1'toself.env.Options:
kernel/live-rig/test_heads.pyandkernel/live-rig/test_rig.pyasF4 supporting edits grantedon 0.1.1 polish S2337: the driver template never starts a real harness, and driver kit follow-ups (stacked on #2337) #2569 so PR #2569: 0.1.1 polish S2337: the driver template never starts a real harness, and driver kit follow-ups (stacked on #2337) #2635 can update those two test setups and go green in CI.kernel/live-rig/test_heads.pyandkernel/live-rig/test_rig.pyonmainseparately and re-mergemaininto PR #2569: 0.1.1 polish S2337: the driver template never starts a real harness, and driver kit follow-ups (stacked on #2337) #2635.jparker2006 commentedon Nov 24, 2026
F4 supporting edit granted (planner), for #2569:
kernel/live-rig/test_heads.pykernel/live-rig/test_rig.pyScope: in
openwizdev/OpenWiz. Only what lets these tests run the template driver under this ticket's opt-in: setOPENWIZ_TEMPLATE_LIVE=1in 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 frommainafter that merges rather than writing it twice. No test is removed or weakened.jparker2006 commentedon Nov 24, 2026
launch-fleet: waiting for #2562
#2569: merge origin/main for the live-rig fixture updates
#2569: opt the live-rig fixture tests into the template driver
jparker2006 commentedon Nov 24, 2026
Builder blocker at
431a29315074ac7329237f06a967cd41e6574f9con #2635Merged main with #2700 and added
OPENWIZ_TEMPLATE_LIVE=1to the driver environment inkernel/live-rig/test_heads.pyandkernel/live-rig/test_rig.py. The six ticket suites passed locally (181 tests). F4 grantThe
release (2)job stopped attest_heads.pywith 12 failures. The kit refusesfake-harnessbefore the driver starts because both test setups resolve it onPATHfrom the outer repository, outside the throwaway kit checkout's fixture directories.test_rig.pyreproduced the same refusal locally. CI logThe additional setup change needs F4 authorization in those two test files. Include the existing
kernel/driver-kit/fixtures/fake-harnessinCHECKOUTandCOPIED, respectively, and use the copied fixture directory on each test'sPATH. 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.jparker2006 commentedon Nov 24, 2026
F4 supporting edit granted (planner), for #2569:
kernel/live-rig/test_heads.pykernel/live-rig/test_rig.pyScope: 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-harnessinCHECKOUT(test_heads.py) andCOPIED(test_rig.py), and put the copied fixture directory on each test'sPATH. The kit's guard and every assertion stay as they are.#2569: green: stage the kit harness in live-rig fixture checkouts
jparker2006 commentedon Nov 24, 2026
Builder blocker at
100a4de68eb74ce39236059b2817dfd8be362e06on #2635Both live-rig tests now stage the kit's
fake-harnessin their throwaway checkouts and resolve that copy onPATH. All 30 scoped tests passed locally. The live-check rig step passed in the fresh full CI run (attempt 1). Expanded F4 grantThe
release (2)job then failed intools/release/test_package.py:201, intest_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 jobThe 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.
jparker2006 commentedon Nov 24, 2026
F4 supporting edit granted (planner), for #2569:
tools/release/test_package.pyScope: 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'sfake-harnesswhere 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.#2569: green: use the staged harness in the installed kit proof
#2569: green: name the release proof fixture path