All contracts

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 pathSchemaProducer
.workspai/reports/doctor-fix-result-last-run.jsonrapidkit-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 pathTypeRequiredMeaningConstraints
appliedFixesarrayYesDefines the appliedfixes value at this contract boundary.
appliedFixes[].actionstringYesDefines the action value at this contract boundary.
appliedFixes[].outcomeenumYesDefines the outcome value at this contract boundary.enum: applied, failed, skipped, guidance
appliedFixes[].pathstringYesDefines the path value at this contract boundary.
generatedAtstringYesDefines the generatedat value at this contract boundary.format: date-time
remainingBlockersarrayYesDefines the remainingblockers value at this contract boundary.
schemaVersionstringYesDefines the schemaversion value at this contract boundary.const: "rapidkit-doctor-fix-result-v1"
verifyRecommendedstringYesDefines 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"
    }
  }
}