Workspace Intelligence / JSON Schema
Workspai Agent Framework Admission Candidate v1
Defines the versioned agent framework admission candidate v1 boundary used by Workspai and its consumers.
- Schema version
workspai.agent-framework-admission-candidate.v1- Contract path
contracts/workspace-intelligence/agent-framework-admission-candidate.v1.json- Publication
- json-schema
- Defined fields
- 25
- Artifact bindings
- 0
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.
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 path | Type | Required | Meaning | Constraints |
|---|---|---|---|---|
| adapters | array | Yes | Defines the adapters value at this contract boundary. | minItems: 1 |
| adapters[].framework | object | Yes | Defines the framework value at this contract boundary. | additionalProperties: false |
| adapters[].framework.id | string | Yes | Defines the id value at this contract boundary. | pattern: ^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$ |
| adapters[].id | string | Yes | Defines the id value at this contract boundary. | pattern: ^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$ |
| adapters[].lanes | array | Yes | Defines the lanes value at this contract boundary. | minItems: 1 |
| adapters[].lanes[].evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 18 |
| adapters[].lanes[].evidence[].path | string | Yes | Defines the path value at this contract boundary. | minLength: 1 |
| adapters[].lanes[].evidence[].sha256 | string | Yes | Defines the sha256 value at this contract boundary. | pattern: ^[a-f0-9]{64}$ |
| adapters[].lanes[].frameworkVersion | string | Yes | Defines the frameworkversion value at this contract boundary. | minLength: 1 |
| adapters[].lanes[].platform | enum | Yes | Defines the platform value at this contract boundary. | enum: linux, darwin, win32 |
| adapters[].lanes[].report | object | Yes | Defines the report value at this contract boundary. | additionalProperties: false |
| adapters[].lanes[].report.path | string | Yes | Defines the path value at this contract boundary. | minLength: 1 |
| adapters[].lanes[].report.sha256 | string | Yes | Defines the sha256 value at this contract boundary. | pattern: ^[a-f0-9]{64}$ |
| adapters[].lanes[].runtime | string | Yes | Defines the runtime value at this contract boundary. | minLength: 1 |
| adapters[].lanes[].runtimeVersion | string | Yes | Defines the runtimeversion value at this contract boundary. | minLength: 1 |
| adapters[].manifestSha256 | string | Yes | Defines the manifestsha256 value at this contract boundary. | pattern: ^[a-f0-9]{64}$ |
| adapters[].version | string | Yes | Defines the version value at this contract boundary. | minLength: 1 |
| blockers | array | Yes | Defines the blockers value at this contract boundary. | maxItems: 0 |
| cliVersion | string | Yes | Defines the cliversion value at this contract boundary. | minLength: 1 |
| generatedAt | string | Yes | Defines the generatedat value at this contract boundary. | format: date-time |
| protocolVersion | string | Yes | Defines the protocolversion value at this contract boundary. | const: "workspai.agent-framework-adapter-protocol.v1" |
| reviewStatus | string | Yes | Defines the reviewstatus value at this contract boundary. | const: "pending" |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "workspai.agent-framework-admission-candidate.v1" |
| sourceCommit | string | Yes | Defines the sourcecommit value at this contract boundary. | pattern: ^[a-f0-9]{40}(?:[a-f0-9]{24})?$ |
| verdict | string | Yes | Defines the verdict value at this contract boundary. | const: "admitted" |
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/contracts/workspace-intelligence/agent-framework-admission-candidate.v1.json",
"title": "Workspai Agent Framework Admission Candidate v1",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"protocolVersion",
"generatedAt",
"sourceCommit",
"cliVersion",
"reviewStatus",
"adapters",
"verdict",
"blockers"
],
"properties": {
"schemaVersion": {
"const": "workspai.agent-framework-admission-candidate.v1"
},
"protocolVersion": {
"const": "workspai.agent-framework-adapter-protocol.v1"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"sourceCommit": {
"type": "string",
"pattern": "^[a-f0-9]{40}(?:[a-f0-9]{24})?$"
},
"cliVersion": {
"type": "string",
"minLength": 1
},
"reviewStatus": {
"const": "pending"
},
"adapters": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"version",
"manifestSha256",
"framework",
"lanes"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"version": {
"type": "string",
"minLength": 1
},
"manifestSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"framework": {
"type": "object",
"additionalProperties": false,
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
}
}
},
"lanes": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"platform",
"runtime",
"runtimeVersion",
"frameworkVersion",
"report",
"evidence"
],
"properties": {
"platform": {
"enum": [
"linux",
"darwin",
"win32"
]
},
"runtime": {
"type": "string",
"minLength": 1
},
"runtimeVersion": {
"type": "string",
"minLength": 1
},
"frameworkVersion": {
"type": "string",
"minLength": 1
},
"report": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"sha256"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"evidence": {
"type": "array",
"minItems": 18,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"sha256"
],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
}
}
}
}
}
}
},
"verdict": {
"const": "admitted"
},
"blockers": {
"type": "array",
"maxItems": 0
}
}
}