npx workspai workspace repair approveBind explicit local approval to the exact hash of an immutable repair transaction plan.
Workspace Intelligence command
Own a durable repair transaction from governed planning and approval through checkpoint, execution, validation, canonical verification, closure, or rollback.
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 workspace repairThese 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 workspace repair approveBind explicit local approval to the exact hash of an immutable repair transaction plan.
npx workspai workspace repair cancelCancel an unmutated repair transaction and expire any prior approval.
npx workspai workspace repair decideSubmit an available decision and either roll back, release control, or compile a fresh immutable policy plan.
npx workspai workspace repair executeCheckpoint bounded files and execute approved repair, reconcile, audit, test, build, and canonical verification stages.
npx workspai workspace repair planResolve current canonical remediation evidence into an immutable, risk-bounded repair transaction plan.
npx workspai workspace repair proposeValidate a model-authored, hash-pinned source proposal and compile it into a CLI-owned immutable repair transaction.
npx workspai workspace repair resumeResume an interrupted approved transaction from its first unfinished durable stage.
npx workspai workspace repair rollbackRestore bounded checkpoint files only when their post-repair hashes still match the transaction.
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/workspace-repair-last-run.json | workspai.workspace-repair-transaction.v1 | contracts/workspace-intelligence/workspace-repair-transaction.v1.json |