Workspace Intelligence command
workspai doctor
Diagnose the active project or workspace and produce actionable findings with evidence-backed remediation guidance.
- Category
- Workspace Intelligence
- Workspace Intelligence
- Yes
- Produced artifacts
- 3
- Related contracts
- 5
- Registration
- commander
- Registered options
- 9
Operational role
This purpose is versioned in the CLI runtime command surface. It is not inferred from page copy or a generic command template.
Canonical invocation
This invocation is derived from the runtime command surface. Commands with a registered intelligence execution include their canonical evidence-producing flags.
npx workspai doctorRuntime signature
Arguments, aliases, and options come from the versioned snapshot of the live Commander tree emitted by the CLI. Contract-declared delegated commands intentionally expose only their canonical invocation.
Arguments and aliases
Aliases: None
- scope · optional
Options
- --workspace [path]
- --project
- --json
- --strict
- --ci
- --profile <profile>
- --fix
- --plan
- --apply
Contract relationships
Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.
Produced artifacts
Artifacts are durable machine-readable outputs. Their schema, path, and producer relationship must remain stable across CLI, CI, IDE, MCP, and agent consumers.
| Artifact | Schema version | Contract |
|---|---|---|
| .workspai/reports/doctor-fix-result-last-run.json | rapidkit-doctor-fix-result-v1 | contracts/workspace-intelligence/doctor-fix-result.v1.json |
| .workspai/reports/doctor-last-run.json | doctor-workspace-evidence-v1 | contracts/doctor-workspace-evidence.v1.json |
| .workspai/reports/doctor-project-last-run.json | doctor-project-evidence-v1 | contracts/doctor-project-evidence.v1.json |