What problem does it solve?
Factory Doctor removes the friction of getting a flywheel repo and machine ready for autonomous work by diagnosing setup problems, permission issues, queue drift, and missing local prerequisites before dispatch starts.
Core Features & Use Cases
- Readiness Preflight: Checks gh auth, merge permissions, branch protection, CI, and queue configuration before a dispatch run.
- Safe Local Auto-Fixes: Applies reversible local fixes for missing queue scaffolding, required Python dependencies, and per-machine permission settings when allowed.
- Operational Troubleshooting: Helps when you see missing-queue, unauthenticated-gh, or merge-permission errors, or when dispatch and define-goal behave as if the environment is not ready.
- Use Case: Run it after cloning a repo, before the first autonomous goal, or whenever the factory loop stalls on setup or validation problems.
Quick Start
Use the factory-doctor skill to inspect the repository and automatically fix any safe local readiness issues it finds.