All contracts

Evidence and release gates / JSON Schema

RapidKit Release Readiness Evidence

Defines the versioned release readiness v1 boundary used by Workspai and its consumers.

Schema version
release-readiness-v1 | v1
Contract path
contracts/release-readiness.v1.json
Publication
embedded-type
Defined fields
15
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/release-readiness-last-run.jsonrelease-readiness-v1
workspai readiness --json

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
actionenumNoDefines the action value at this contract boundary.enum: dev, test, build, start, lint, format
blockingbooleanYesDefines the blocking value at this contract boundary.
blockingReasonsarrayYesDefines the blockingreasons value at this contract boundary.
evidencePathstringNoDefines the evidencepath value at this contract boundary.
gatesarrayYesDefines the gates value at this contract boundary.
gates[].detailsarrayYesDefines the details value at this contract boundary.
gates[].evidencePathstringNoDefines the evidencepath value at this contract boundary.
gates[].gateenumYesDefines the gate value at this contract boundary.enum: env, doctor, analyze, verify, dependency
gates[].statusenumYesDefines the status value at this contract boundary.enum: pass, warn, fail
gates[].summarystringYesDefines the summary value at this contract boundary.
generatedAtstringYesDefines the generatedat value at this contract boundary.format: date-time
overallStatusenumYesDefines the overallstatus value at this contract boundary.enum: pass, warn, fail
projectPathstringYesDefines the projectpath value at this contract boundary.minLength: 1
schemaVersionenumYesDefines the schemaversion value at this contract boundary.enum: release-readiness-v1, v1
workspacePathstringYesDefines the workspacepath value at this contract boundary.minLength: 1

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/release-readiness.v1.json",
  "title": "RapidKit Release Readiness Evidence",
  "type": "object",
  "required": [
    "schemaVersion",
    "generatedAt",
    "workspacePath",
    "projectPath",
    "overallStatus",
    "blocking",
    "blockingReasons",
    "gates"
  ],
  "properties": {
    "schemaVersion": {
      "enum": [
        "release-readiness-v1",
        "v1"
      ]
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "workspacePath": {
      "type": "string",
      "minLength": 1
    },
    "projectPath": {
      "type": "string",
      "minLength": 1
    },
    "action": {
      "enum": [
        "dev",
        "test",
        "build",
        "start",
        "lint",
        "format"
      ]
    },
    "overallStatus": {
      "enum": [
        "pass",
        "warn",
        "fail"
      ]
    },
    "blocking": {
      "type": "boolean"
    },
    "blockingReasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "gates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "gate",
          "status",
          "summary",
          "details"
        ],
        "properties": {
          "gate": {
            "enum": [
              "env",
              "doctor",
              "analyze",
              "verify",
              "dependency"
            ]
          },
          "status": {
            "enum": [
              "pass",
              "warn",
              "fail"
            ]
          },
          "summary": {
            "type": "string"
          },
          "details": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "evidencePath": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "evidencePath": {
      "type": "string"
    }
  },
  "additionalProperties": true
}