--- name: blocked-action-fallback description: > Use the moment an action fails or a tool is missing (MCP server down, gh GraphQL rejected, connector not enabled, network 403, script needs the Mac). Walks an ordered ladder of legitimate alternate routes before reporting a blocker, and draws a hard line between "this route is broken" (try another) and "this action was refused" (stop, never route around it). --- # Blocked-Action Fallback — Try Every Legitimate Route, Then Report Once ## The failure this prevents Two opposite failures, both seen in Nov 2026 sessions: 1. **Giving up on the first error.** A thread hit "gh pr create: GraphQL blocked" or "Gmail connector not enabled" and handed the CEO a to-do list ("please click Ready", "please send this email"). The CEO's standing rule: never tell him to do our work; exhaust alternate routes first. 2. **Treating a refusal as a broken route.** Re-trying an action that a permission system, safety check, or branch protection *refused* by switching tools (MCP → gh → raw API) is evasion, not resilience. See CLAUDE.md "NEVER Bypass Branch Protection". ## Step 0 — classify the failure (do not skip) Quote the exact error, then label it: | Class | Examples | What you do | |-------|----------|-------------| | **ROUTE BROKEN** | MCP server disconnected, proxy 403 on a host, GraphQL endpoint rejected while REST works, CLI not installed, timeout, 5xx | Walk the ladder below | | **NOT YET CONFIGURED** | connector exists on the account but not enabled for this session, missing env var, repo not attached | Use the setup tool that exists for it (attach repo, connector card, environment docs), keep doing all work that doesn't depend on it | | **REFUSED** | a tool call denied by the permission/safety layer, `REVIEW_REQUIRED`, ruleset/branch-protection block, a platform ToS or rate limit, a human said no | **Stop.** Do not retry the same intent through another tool. Record it as BLOCKED with the quoted reason | If unsure whether it is BROKEN or REFUSED, treat it as REFUSED. ## The ladder (ROUTE BROKEN only) Try in order; stop at the first that works. Log each attempt (route, command, result) — that log is the evidence if you end up reporting a blocker. 1. **Native tool / MCP** for the service (GitHub MCP, Gmail MCP, etc.). If the server is "still connecting", search for its tools again before giving up. 2. **Repo CLI with existing auth** — `gh`, `npm run