Usage
Options
Working directory path. Defaults to current directory.
Force enable Mubit for diagnostics.
Override Mubit API key for testing.
Override Mubit project ID.
Override Mubit actor ID.
Diagnostic Checks
The doctor command checks:Environment
- Current working directory
- Local repository ID detection
- Git repository status
Mubit Configuration
- API key presence (environment variables and config)
- Project ID resolution
- Actor ID detection
- Run scope configuration
- Endpoint connectivity
- Write timeout settings
Sync Automation
- Automation enabled status
- Git hook setup (post-commit, post-push)
- Agent completion hooks
- Auto-pull configuration
- Remote sync state
- Cooldown settings
OpenAI Integration
- OpenAI API key presence
- Agent mode status
Example Output
Exit Codes
0- All checks passed- Non-zero values indicate configuration issues (doctor always exits 0 but reports problems in output)
Common Issues
Mubit API Key Not Found
Problem:env MUBIT_API_KEY present: no
Solution: Set your Mubit API key:
Mubit Runtime Disabled
Problem:Mubit runtime: disabled
Possible Causes:
- API key not set or invalid
- Network connectivity issues
- Mubit explicitly disabled with
--no-mubit
Sync Automation Not Working
Problem:Sync automation: disabled
Solution: Enable automation:
Git Hooks Not Installed
Problem:post-commit:off or agent-complete:off
Solution: Reinstall hooks:
Related Commands
- codaph setup - Configure Codaph settings
- codaph status - Check project status
- codaph init - Initialize project