npx workspai doctor capabilities --validate --writeValidate every registered Doctor adapter and persist the governed capability and validation artifacts in the selected workspace.
NPM wrapper command
Inspect the contract-backed doctor capabilities command and its documented variants.
This purpose is versioned in the CLI runtime command surface. It is not inferred from page copy or a generic command template.
This invocation is derived from the runtime command surface. Commands with a registered intelligence execution include their canonical evidence-producing flags.
npx workspai doctor capabilities --writeThese flag or action variants are separately described by the runtime contract but remain part of this canonical command rather than separate command pages.
npx workspai doctor capabilities --validate --writeValidate every registered Doctor adapter and persist the governed capability and validation artifacts in the selected workspace.
npx workspai doctor capabilities --writePersist the canonical Doctor capability matrix as a governed workspace artifact.
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.
This command is declared by the cross-runtime capability contract and delegated outside the npm Commander tree. Its invocation remains canonical, but runtime-specific flags are documented by the selected project adapter.
Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.
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-capabilities.json | workspai.doctor-capabilities.v1 | contracts/workspace-intelligence/doctor-capabilities.v1.json |
| .workspai/reports/doctor-validation-last-run.json | workspai.doctor-validation.v1 | contracts/workspace-intelligence/doctor-validation.v1.json |