Bun process that watches ~/.gstack/dispatch/ for dispatch files, validates
against schema, spawns Claude Code with acceptEdits permissions, enforces
TTL, manages concurrency (default 2), and reports completion via Clawvisor
callback or local disk.
Smart retry: rate_limit and tool_failure get one retry. context_overflow
strips learnings and retries. logic_error escalates immediately.
Includes heartbeat file, audit log, orphan detection, graceful shutdown,
and queue management with FIFO ordering.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>