Overview
The doctor command prints raw JSON values in pretty mode, which is hard to scan.
Background
Diagnostics is already present in the repository, but the current implementation leaves a concrete gap for users or maintainers. Relevant files: src/cli/commands.rs, docs/troubleshooting-index.md.
Specifications
- Render named sections with clear status lines.
- Show binary, config, history, plugins, protocol, remote, and VS Code checks.
- Keep JSON mode unchanged.
- Use warnings for failed checks.
Acceptance Criteria
- Behavior is covered by focused tests or documented manual verification.
- Errors are handled gracefully with actionable suggestions.
- Help text or docs are updated when the user-facing behavior changes.
Overview
The doctor command prints raw JSON values in pretty mode, which is hard to scan.
Background
Diagnostics is already present in the repository, but the current implementation leaves a concrete gap for users or maintainers. Relevant files: src/cli/commands.rs, docs/troubleshooting-index.md.
Specifications
Acceptance Criteria