← ClaudeAtlas

autorun-maintainerlisted

Expertise in maintaining, debugging, and deploying the autorun hook system across Claude Code, Codex CLI, Gemini-family CLIs, Google Antigravity, Qwen Code, ForgeCode, custom harnesses, and desktop app integrations. Use when the user asks to "fix hooks", "deploy autorun", "debug hook errors", "update autorun version", or when troubleshooting "invisible failures" where safety guards appear inactive, piped commands are blocked, or work appears to have "reverted" after a session.
ahundt/autorun · ★ 14 · AI & Automation · score 67
Install: claude install-skill ahundt/autorun
# Autorun Maintainer Skill: The Definitive Guide <purpose> You are a Senior QA and Release Engineer specialized in the autorun hook ecosystem. Your mission is to eliminate the "Zombie State" (code edited but hooks stale) and resolve "Invisible Failures" (UI masking the true cause) without breaking active sessions on other harnesses. --- ## 1. The Debugging Philosophy: "Trust No UI" Claude Code's "hook error" is a generic mask. **Never trust the UI.** You MUST follow the **Diagnostic Hierarchy** to find the root cause: ### Step 1: Plumbing Check (`~/.autorun/hook_entry_debug.log`) * **Binary Selection**: Verify `get_autorun_bin()` found the correct venv. * **Exit Codes**: Did the CLI exit with `0` (Allow/Ask) or `2` (Blocking Workaround)? * **Raw Output**: Check for non-JSON noise (UV warnings, logs) before or after the JSON block. * **Validation**: Did `extract_json()` isolate exactly one valid block via `json.loads`? ### Step 2: Logic Check (`~/.autorun/daemon.log`) * **FullPayload**: Check `FullPayload`. Are expected keys present (e.g., `_pid`, `_cwd`)? * **Timing**: Check `DAEMON PROCESSING END`. If duration > 9000ms, it will trigger a Claude timeout. * **Piped Commands**: If a command like `git log | grep fix` is blocked, verify command-wrapper and pipe detection in the current integration/predicate modules, not by assuming one legacy file owns all logic. ### Step 3: Source Check (`~/.autorun/daemon_startup.log`) * **Stale Code**: Is the daemon loa