Workspace Intelligence / JSON Schema
Workspai agent bootstrap consumer view
Terminal projection of a full v1 grounding receipt. It preserves authority and every non-passing finding, or rejects an insufficient UTF-8 output budget.
- Schema version
https://workspai.dev/schemas/workspace-intelligence/agent-bootstrap-view.v1.json- Contract path
contracts/workspace-intelligence/agent-bootstrap-view.v1.json- Publication
- json-schema
- Defined fields
- 3
- 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 |
|---|---|---|---|---|
| $defs.sourceReceipt.integrity | reference | Yes | Defines the integrity value at this contract boundary. | ref: agent-bootstrap-receipt.v1.json#/properties/integrity |
| $defs.sourceReceipt.receiptId | reference | Yes | Defines the receiptid value at this contract boundary. | ref: agent-bootstrap-receipt.v1.json#/$defs/hash |
| $defs.sourceReceipt.schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "workspai.agent-bootstrap-receipt.v1" |
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/workspace-intelligence/agent-bootstrap-view.v1.json",
"title": "Workspai agent bootstrap consumer view",
"description": "Terminal projection of a full v1 grounding receipt. It preserves authority and every non-passing finding, or rejects an insufficient UTF-8 output budget.",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"sourceReceipt",
"generatedAt",
"status",
"statusScope",
"readiness",
"requestedAgent",
"resolvedHost",
"project",
"workspace",
"entry",
"canonicalEvidence",
"activeGoal",
"claims",
"requiredReadOrder",
"checks",
"nextActions",
"budget",
"integrity"
],
"properties": {
"schemaVersion": {
"const": "workspai.agent-bootstrap-view.v1"
},
"sourceReceipt": {
"$ref": "#/$defs/sourceReceipt"
},
"generatedAt": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/generatedAt"
},
"status": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/status"
},
"statusScope": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/statusScope"
},
"readiness": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/readiness"
},
"requestedAgent": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/requestedAgent"
},
"resolvedHost": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/resolvedHost"
},
"project": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/project"
},
"workspace": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/workspace"
},
"entry": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/entry"
},
"canonicalEvidence": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/canonicalEvidence"
},
"activeGoal": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/activeGoal"
},
"claims": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/claims"
},
"requiredReadOrder": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"checks": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"passed",
"findings",
"omittedPassedDetails"
],
"properties": {
"total": {
"type": "integer",
"minimum": 6
},
"passed": {
"type": "integer",
"minimum": 0
},
"omittedPassedDetails": {
"type": "integer",
"minimum": 0
},
"findings": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "agent-bootstrap-receipt.v1.json#/properties/checks/items"
},
{
"type": "object",
"properties": {
"status": {
"enum": [
"warning",
"failed"
]
}
}
}
]
}
}
}
},
"nextActions": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/nextActions"
},
"budget": {
"type": "object",
"additionalProperties": false,
"required": [
"maxBytes",
"usedBytes",
"accounting"
],
"properties": {
"maxBytes": {
"$ref": "#/$defs/byteLimit"
},
"usedBytes": {
"type": "integer",
"minimum": 1
},
"accounting": {
"const": "utf8-json-with-newline"
}
}
},
"integrity": {
"type": "object",
"additionalProperties": false,
"required": [
"algorithm",
"payloadHash"
],
"properties": {
"algorithm": {
"const": "sha256"
},
"payloadHash": {
"$ref": "agent-bootstrap-receipt.v1.json#/$defs/hash"
}
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"status",
"sourceReceipt",
"groundingStatus",
"budget",
"message",
"nextActions"
],
"properties": {
"schemaVersion": {
"const": "workspai.agent-bootstrap-view.v1"
},
"status": {
"const": "insufficient-budget"
},
"sourceReceipt": {
"$ref": "#/$defs/sourceReceipt"
},
"groundingStatus": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/status"
},
"budget": {
"type": "object",
"additionalProperties": false,
"required": [
"maxBytes",
"requiredBytes",
"accounting"
],
"properties": {
"maxBytes": {
"$ref": "#/$defs/byteLimit"
},
"requiredBytes": {
"type": "integer",
"minimum": 1
},
"accounting": {
"const": "utf8-json-with-newline"
}
}
},
"message": {
"type": "string",
"minLength": 1
},
"nextActions": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
}
}
],
"$defs": {
"byteLimit": {
"type": "integer",
"minimum": 1024,
"maximum": 131072
},
"sourceReceipt": {
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"receiptId",
"integrity"
],
"properties": {
"schemaVersion": {
"const": "workspai.agent-bootstrap-receipt.v1"
},
"receiptId": {
"$ref": "agent-bootstrap-receipt.v1.json#/$defs/hash"
},
"integrity": {
"$ref": "agent-bootstrap-receipt.v1.json#/properties/integrity"
}
}
}
}
}