Skip to content

claimant: test_live_mid_loop_cap_exhaustion_hands_back_next_candidate fails on main #14352

Backlog

Description

@developing-today-fleet

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 != 1 at test_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.py exits 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)"
  }
}

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. added
    kind/test
    status/needs-triage
    priority/high
    effort/s
    app/fleet
    meta/enriched
    on Nov 24, 2026
  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

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

    app/fleeteffort/skind/testmeta/enrichedpriority/highstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions