fix(computer-use): require explicit lab root - #4072
Conversation
|
This is a synthesis of the independent blind review by @Sol-404ARE at exact head What I checked myself:
Findings from Sol's review (file:line anchored): Standards — NO-GO — 3×P2 (worst P2)
Excluded: docs-only commit Spec — NO-GO — 1×P2 (worst P2)
Remaining Spec mapping is green: all four existing Lab-backed launcher/harness call the shared parser, the private fallback is removed, launcher→harness Verification: What I did not judge: a true Gate: Standards 3×P2 and Spec 1×P2 remain; despite
|
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
76b4ca5 to
6ca9c43
Compare
Summary
computer-use restart-soakfails outside one contributor's machine because its launcher and harness resolve the fixture from a private absolute path.The restart scripts embedded that path directly, and the real AX harness retained it as a fallback even though the real AX launcher already required
MAKA_CU_AX_MODEL_LAB_ROOT.Require the existing environment variable through one shared parser so every Lab-backed entry point fails early with an actionable error and never depends on a contributor-specific checkout. The parser rejects blank, relative, missing, and incomplete fixture roots, then returns the canonical path of a checkout with an executable
test-app/launch.sh.Document the public fixture checkout, absolute-path export, automatic fixture build, and the shared setup for both canonical
real-axruns and the non-qualifying restart soak.Run a pure Node contract in CI that verifies every Lab-backed entry point uses the shared parser and does not embed the external checkout name.
Evidence
Verification
node --test scripts/ax-tree-audit.test.mjs scripts/computer-use/lab-root.test.mjsnode --test --test-concurrency=1 scripts/ci-test-plan.test.mjs scripts/verify-windows-harness.test.mjsnode scripts/asf-license-headers.mjs checkbiome lint .biome format .git diff --checkThe full Computer Use harness was not run because it requires a local Codex CUA Lab fixture and built workspace artifacts. Full build and typecheck were not run for this script-only draft.
AI use
Select exactly one:
Tool(s) and scope: Codex implemented the shared environment validation, tests, operator documentation, CI wiring, and PR description.
Checklist
Does this PR entail a change in behavior?