[Senate] Fix recurring engine worktree acquisition failures

← All Specs

Goal

Stop recurring Senate engines from burning cycles on acquire_fail:worktree_creation_failed before any substantive task logic runs. The fix should identify why recurring engines fail during workspace acquisition and either repair the supervisor/worktree path or make the affected engines fail closed with a safer cadence.

Acceptance Criteria

☐ Root cause of acquire_fail:worktree_creation_failed identified with evidence from recurring engine task runs
☐ A code or configuration fix lands for the worktree acquisition path, or the affected recurring tasks are reconfigured to stop thrashing until the infra fix is ready
☐ At least the recurring Quest engine CI and Orchestra operator watchdog are covered by the fix or mitigation

Approach

  • Inspect the recurring task runs for task 80ffb77b-8391-493c-8644-37086c8e2e3c and 7afeeab6-a0de-49d7-8897-d28bc957cfe7.
  • Trace the failure path through Orchestra supervisor/worktree acquisition code and current workspace metadata.
  • Apply the narrowest fix that prevents repeated acquisition failures, then verify by rerunning or dry-running the affected engines.
  • Dependencies

    • docs/planning/specs/quest-engine-ci.md - quest engine recurring driver

    Dependents

    • Recurring Senate engines that currently abandon before their logic starts

    Work Log

    2026-04-26 06:46:33Z

    • Spec created during engine-failure triage task 9e45545a-0eeb-4698-9d79-ffda3f456b45 for follow-up implementation.

    Tasks using this spec (1)
    [Senate] Fix recurring engine worktree acquisition failures
    Senate done P86
    File: senate_recurring_engine_worktree_acquire_failures_spec.md
    Modified: 2026-05-01 20:13
    Size: 1.6 KB