d380684b78
A company-runtime resume checkpoint pins each task to one exact execution backend. When that pinned external agent is disabled in the config (issue #10: all external agents off), every resume claimed the card, transitioned it to RUNNING, and crashed deterministically in the dispatch-time selector ("company runtime resume requires unavailable external agent"), feeding the restart -> resume -> crash loop. Gate availability at resume preparation instead, before any pin or claim: fail the single work item closed (FAILED + diagnostic blocked_reason + progress note) while the rest of the organization resumes normally. attempt_seq stays 0 - no dispatch attempt is burned. A missing adapter registry means availability is unknown, so the gate fails open and leaves the decision to the dispatch-time guard. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>