All contracts

Workspace Intelligence / JSON Schema

RapidKit Blocker Resolution Hint

Defines the versioned blocker resolution v1 boundary used by Workspai and its consumers.

Schema version
rapidkit-blocker-resolution-v1
Contract path
contracts/workspace-intelligence/blocker-resolution.v1.json
Publication
json-schema
Defined fields
14
Artifact bindings
0

Why this contract exists

Architecture role

Defines a versioned interoperability boundary used by Workspai and contract-aware consumers.

Consumption boundary

  • Workspai CLI
  • Workspace Intelligence consumers
  • IDEs and agents

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.

This is a supporting, capability, cache, compatibility, or consumer contract. It has no single direct producer command in the canonical Workspace Intelligence execution registry.

Produced artifacts

These durable files are emitted by registered commands and validated against this contract.

No canonical file artifact is registered for this contract. It may describe capabilities, embedded data, runtime exchange, or supporting state instead of a standalone report.

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
blockerIdstringYesDefines the blockerid value at this contract boundary.minLength: 1
blockerSignaturestringYesDefines the blockersignature value at this contract boundary.minLength: 8
commandRetryHintstringNoDefines the commandretryhint value at this contract boundary.
fixHintsarrayYesDefines the fixhints value at this contract boundary.
fixHints[].actionKindenumYesDefines the actionkind value at this contract boundary.enum: edit-file, run-once, commit-files, refresh-baseline
fixHints[].detailstringYesDefines the detail value at this contract boundary.
fixHints[].studioActionIdenumNoDefines the studioactionid value at this contract boundary.enum: fix-lens, verify-gates, run-analyze, doctor-fix
fixHints[].targetPathstringNoDefines the targetpath value at this contract boundary.
resolutionClassenumYesDefines the resolutionclass value at this contract boundary.enum: artifact-missing, command-failed-repeat, config-fixable, semantic-attention, unresolvable-without-human
schemaVersionstringYesDefines the schemaversion value at this contract boundary.const: "rapidkit-blocker-resolution-v1"
sourceArtifactstringNoDefines the sourceartifact value at this contract boundary.
sourceCommandstringNoDefines the sourcecommand value at this contract boundary.
verifyArtifactstringNoDefines the verifyartifact value at this contract boundary.
verifyCommandstringNoDefines the verifycommand 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": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://getrapidkit.com/schemas/blocker-resolution.v1.json",
  "title": "RapidKit Blocker Resolution Hint",
  "type": "object",
  "required": [
    "schemaVersion",
    "blockerId",
    "resolutionClass",
    "blockerSignature",
    "fixHints"
  ],
  "properties": {
    "schemaVersion": {
      "const": "rapidkit-blocker-resolution-v1"
    },
    "blockerId": {
      "type": "string",
      "minLength": 1
    },
    "sourceCommand": {
      "type": "string"
    },
    "sourceArtifact": {
      "type": "string"
    },
    "resolutionClass": {
      "enum": [
        "artifact-missing",
        "command-failed-repeat",
        "config-fixable",
        "semantic-attention",
        "unresolvable-without-human"
      ]
    },
    "blockerSignature": {
      "type": "string",
      "minLength": 8
    },
    "commandRetryHint": {
      "type": "string"
    },
    "fixHints": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "actionKind",
          "detail"
        ],
        "properties": {
          "actionKind": {
            "enum": [
              "edit-file",
              "run-once",
              "commit-files",
              "refresh-baseline"
            ]
          },
          "targetPath": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "studioActionId": {
            "enum": [
              "fix-lens",
              "verify-gates",
              "run-analyze",
              "doctor-fix"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "verifyCommand": {
      "type": "string"
    },
    "verifyArtifact": {
      "type": "string"
    }
  },
  "additionalProperties": false
}