Workspace Intelligence / JSON Schema
Doctor fix execution result
Defines the versioned doctor fix result v1 boundary used by Workspai and its consumers.
- Schema version
rapidkit-doctor-fix-result-v1- Contract path
contracts/workspace-intelligence/doctor-fix-result.v1.json- Publication
- json-schema
- Defined fields
- 8
- Artifact bindings
- 1
Why this contract exists
Architecture role
Carries structured evidence, findings, and verdicts across governance boundaries.
Consumption boundary
- • Workspai CLI
- • CI and release automation
- • Developers
Related commands
Commands are linked only when the runtime contract identifies a direct production relationship. Supporting contracts may be consumed without having a single producer command.
Produced artifacts
These durable files are emitted by registered commands and validated against this contract.
| Artifact path | Schema | Producer |
|---|---|---|
| .workspai/reports/doctor-fix-result-last-run.json | rapidkit-doctor-fix-result-v1 | workspai doctor workspace |
Field reference
Every declared schema property or published capability path is listed here. Required means the contract declares or publishes that field at the shown boundary.
| Field path | Type | Required | Meaning | Constraints |
|---|---|---|---|---|
| appliedFixes | array | Yes | Defines the appliedfixes value at this contract boundary. | — |
| appliedFixes[].action | string | Yes | Defines the action value at this contract boundary. | — |
| appliedFixes[].outcome | enum | Yes | Defines the outcome value at this contract boundary. | enum: applied, failed, skipped, guidance |
| appliedFixes[].path | string | Yes | Defines the path value at this contract boundary. | — |
| generatedAt | string | Yes | Defines the generatedat value at this contract boundary. | format: date-time |
| remainingBlockers | array | Yes | Defines the remainingblockers value at this contract boundary. | — |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "rapidkit-doctor-fix-result-v1" |
| verifyRecommended | string | Yes | Defines the verifyrecommended value at this contract boundary. | — |
Canonical machine-readable definition
The raw synchronized contract remains authoritative. The educational sections above are projections of this definition.
Show raw JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "rapidkit-doctor-fix-result-v1",
"title": "Doctor fix execution result",
"type": "object",
"additionalProperties": true,
"required": [
"schemaVersion",
"generatedAt",
"appliedFixes",
"remainingBlockers",
"verifyRecommended"
],
"properties": {
"schemaVersion": {
"const": "rapidkit-doctor-fix-result-v1"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"appliedFixes": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"action",
"outcome"
],
"properties": {
"path": {
"type": "string"
},
"action": {
"type": "string"
},
"outcome": {
"enum": [
"applied",
"failed",
"skipped",
"guidance"
]
}
}
}
},
"remainingBlockers": {
"type": "array",
"items": {
"type": "string"
}
},
"verifyRecommended": {
"type": "string"
}
}
}