pub fn handle_diagnose(
colors: Colors,
config: &Config,
registry: &AgentRegistry,
config_path: &Path,
config_sources: &[ConfigSource],
executor: &dyn ProcessExecutor,
)Expand description
Handle –diagnose command.
Outputs comprehensive diagnostic information including:
- System information (OS, architecture, working directory)
- Git status and configuration
- Agent configuration and availability
- PROMPT.md validation
- Checkpoint status
- Project stack detection
This output is designed to be copy-pasted into bug reports.
§Arguments
colors- Color configuration for output formattingconfig- The current Ralph configurationregistry- The agent registryconfig_path- Path to the unified config fileconfig_sources- List of configuration sources that were loaded