All contracts

Workspace Intelligence / JSON Schema

Workspai Agent Customization Pack Report

Defines the versioned agent customization pack report v1 boundary used by Workspai and its consumers.

Schema version
rapidkit-agent-customization-pack.v1
Contract path
contracts/workspace-intelligence/agent-customization-pack-report.v1.json
Publication
embedded-type, json-schema
Defined fields
26
Artifact bindings
1

Why this contract exists

Architecture role

Projects workspace intelligence into stable grounding surfaces for agents and integrations.

Consumption boundary

  • Workspai CLI
  • AI agents
  • IDEs and MCP clients

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/agent-customization-pack.jsonrapidkit-agent-customization-pack.v1
workspai workspace agent-sync --write --json --preset enterprise

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
answerContractarrayYesDefines the answercontract value at this contract boundary.
capabilityMatrixobjectYesDefines the capabilitymatrix value at this contract boundary.additionalProperties: true
driftobjectYesDefines the drift value at this contract boundary.additionalProperties: false
drift.missingRequiredarrayYesDefines the missingrequired value at this contract boundary.
drift.staleReportsarrayYesDefines the stalereports value at this contract boundary.
drift.strictViolationsarrayYesDefines the strictviolations value at this contract boundary.
experimentalobjectYesDefines the experimental value at this contract boundary.additionalProperties: false
experimental.hooksEnabledbooleanYesDefines the hooksenabled value at this contract boundary.
experimental.mcpReadybooleanYesDefines the mcpready value at this contract boundary.
generatedAtstringYesDefines the generatedat value at this contract boundary.format: date-time
intelligenceChainobjectYesDefines the intelligencechain value at this contract boundary.additionalProperties: false
intelligenceChain.contractPathstringYesDefines the contractpath value at this contract boundary.minLength: 1
intelligenceChain.currentStepstringYesDefines the currentstep value at this contract boundary.const: "agent-sync"
intelligenceChain.schemaVersionstringYesDefines the schemaversion value at this contract boundary.minLength: 1
outputInventoryarrayYesDefines the outputinventory value at this contract boundary.
outputInventory[].kindenumYesDefines the kind value at this contract boundary.enum: report, grounding, instruction, prompt, skill, skill-resource, operational-skill, skills-index, explain-report, agent, rule, hook, mcp-design
outputInventory[].pathstringYesDefines the path value at this contract boundary.minLength: 1
outputInventory[].requiredbooleanYesDefines the required value at this contract boundary.
outputInventory[].statusenumYesDefines the status value at this contract boundary.enum: written, planned, skipped
outputInventory[].targetsarrayYesDefines the targets value at this contract boundary.
presetenumYesDefines the preset value at this contract boundary.enum: minimal, enterprise
refreshCommandstringYesDefines the refreshcommand value at this contract boundary.minLength: 1
schemaVersionstringYesDefines the schemaversion value at this contract boundary.const: "rapidkit-agent-customization-pack.v1"
sourceReportsarrayYesDefines the sourcereports value at this contract boundary.
targetsarrayYesDefines the targets value at this contract boundary.
workspaceRootstringYesDefines the workspaceroot 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://workspai.dev/schemas/agent-customization-pack-report.v1.json",
  "title": "Workspai Agent Customization Pack Report",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schemaVersion",
    "generatedAt",
    "workspaceRoot",
    "preset",
    "targets",
    "sourceReports",
    "intelligenceChain",
    "outputInventory",
    "capabilityMatrix",
    "drift",
    "answerContract",
    "refreshCommand",
    "experimental"
  ],
  "properties": {
    "schemaVersion": {
      "const": "rapidkit-agent-customization-pack.v1"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "workspaceRoot": {
      "type": "string",
      "minLength": 1
    },
    "preset": {
      "enum": [
        "minimal",
        "enterprise"
      ]
    },
    "targets": {
      "type": "array",
      "items": {
        "enum": [
          "all",
          "vscode",
          "agents",
          "copilot",
          "cursor",
          "claude",
          "codex",
          "orca"
        ]
      }
    },
    "sourceReports": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "intelligenceChain": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "contractPath",
        "currentStep"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "minLength": 1
        },
        "contractPath": {
          "type": "string",
          "minLength": 1
        },
        "currentStep": {
          "const": "agent-sync"
        }
      }
    },
    "outputInventory": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "kind",
          "targets",
          "required",
          "status"
        ],
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "kind": {
            "enum": [
              "report",
              "grounding",
              "instruction",
              "prompt",
              "skill",
              "skill-resource",
              "operational-skill",
              "skills-index",
              "explain-report",
              "agent",
              "rule",
              "hook",
              "mcp-design"
            ]
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "required": {
            "type": "boolean"
          },
          "status": {
            "enum": [
              "written",
              "planned",
              "skipped"
            ]
          }
        }
      }
    },
    "capabilityMatrix": {
      "type": "object",
      "additionalProperties": true
    },
    "drift": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "missingRequired",
        "staleReports",
        "strictViolations"
      ],
      "properties": {
        "missingRequired": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "staleReports": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "strictViolations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "answerContract": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "refreshCommand": {
      "type": "string",
      "minLength": 1
    },
    "experimental": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "hooksEnabled",
        "mcpReady"
      ],
      "properties": {
        "hooksEnabled": {
          "type": "boolean"
        },
        "mcpReady": {
          "type": "boolean"
        }
      }
    }
  }
}