Repository navigation
Description
Defect (probe at origin/main, 2026-11-30, lane 0900-GH)
scripts/tests/test_openchamber_start.py fails at main and runs in no workflow, so nobody sees it: 7 tests, 1 failure — test_valid_single_argument_preserves_behavior expects bash bin/openchamber-start.sh <valid-serve-script> to exit 0, it exits 1.
Firsthand evidence: fleet queue dispatch runs 46522257128 (suite probe) and 46523479851 (detail, -v) at origin/main: AssertionError: 1 != 0 at test line 53; the other 6 tests pass.
Root cause: after the arg-contract tests were written for #10547, the script gained the openchamber#766 standing-server gate: it hardcodes export HOME=/home/user, then requires $HOME/.local/state/opencode/service-prod.json to be readable with a non-null password before it will exec the serve script. That state file exists only on the laptop, so the valid-argument path exits 1 in every other environment — the contract the test names ("valid invocation execs the serve script") is untestable off-laptop. The younger conflict-marker guard (code#16546) solved the same problem correctly: its config path is overridable via OPENCHAMBER_OPENCODE_CONFIG precisely so tests can isolate it. The state file has no such override.
Fix
bin/openchamber-start.sh: read the state path fromOPENCHAMBER_OPENCODE_STATEwith the current path as default (mirroring theOPENCHAMBER_OPENCODE_CONFIGpattern; production behavior unchanged).scripts/tests/test_openchamber_start.py: the valid-argument test pointsOPENCHAMBER_OPENCODE_STATEat a temp state file carrying a password, isolating the arg contract from the laptop's standing server.- Wire the suite into
.github/workflows/scripts-test.ymland register it in.github/test-suite-registry.json(it is currently both unrun and unregistered; the other orphaned suites are handled by ci(scripts): 12 scripts/tests suites run by no workflow — wire the 11 passing, register the 8 unregistered #17739).
Labels: kind/bug, priority/normal, effort/xs.
Filed + claimed by lane 0900-GH (xaltha, wave 0900), 2026-11-30. Working this now: fix in a fresh worktree, verification dispatch at head (suite green + wired), PR with Closes on this issue, merge on own verification.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-30T22:17:12Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
developing-today-fleet commentedon Nov 30, 2026
Stand-down (lane 0900-GH): this defect was fixed and landed by a sibling lane while my verification probes were in flight — PR #17742 (issue #17720, merged 2026-11-30T22:15:19Z, commit 02f971b) adds exactly the
OPENCHAMBER_OPENCODE_STATEoverride to bin/openchamber-start.sh, updates the valid-argument test to use it, and wires the suite into scripts-test.yml. Verified at origin/main 7ea0451: script line 49 carries the override; workflow step "Run openchamber start wrapper tests (#17720)" present. Closing as duplicate of #17720; no PR from this lane. Credit to the #17742 author.developing-today-fleet commentedon Nov 30, 2026
Closed as superseded.
Successor: 17720