Repository navigation
Backlog
Backlog
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look
Description
Finding
TestLaunchStep.test_live_mid_loop_cap_exhaustion_hands_back_next_candidate in pm-stack/opencode-claimant/test_claimant.py fails on current main.
Evidence (2026-11-24, queue task 23267 lane)
- Pristine control:
git archive origin/main(2f51a35efdaa) extracted to a clean directory, no local changes:python3 -m unittest test_claimant→ 63 tests, FAILED (failures=1) — this test.python3 run_hermetic_tests.py→ 236 tests, FAILED (failures=1) — same test (offline_claimant.TestLaunchStep...).
- The failure:
AssertionError: 0 != 1attest_claimant.py:260(self.assertEqual(len(launched), 1)). - Test output includes
Warning: Could not determine cap room. Exiting.— the test drives the claimant in live mode against the operator's real mode file/state, so it may be environment-sensitive rather than a pure logic regression; either way it is red on main today.
Why it matters
The hermetic suite is the claimant's offline verification oracle; a permanently red test trains everyone to ignore the suite, and the mid-loop hand-back path (#1187 criterion 2 family) loses its regression coverage.
Acceptance criteria
- The test passes deterministically in a clean checkout (hermetic: no dependence on the operator's live mode file or broker state), or is shown to cover behaviour that no longer exists and is removed with the reason recorded.
python3 run_hermetic_tests.pyexits 0 on main.
{
"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-24T13:17:50Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}Metadata
Metadata
Assignees
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/sSmall: expected under 2 hours of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first look
Activity
developing-today commentedon Nov 24, 2026
CODE-5295
developing-today-fleet commentedon Nov 24, 2026
Intake review
git archive origin/maincontrol, both the direct unittest run (63 tests) and the hermetic runner (236 tests) fail on exactly this test,AssertionError: 0 != 1attest_claimant.py:260. The body already carries acceptance criteria.Could not determine cap room), fix that layer, and treat the full hermetic suite going green as the oracle.