Workspace Intelligence / JSON Schema
Workspai Agent Framework Adapter Manifest v1
Defines the versioned agent framework adapter manifest v1 boundary used by Workspai and its consumers.
- Schema version
workspai.agent-framework-adapter-manifest.v1- Contract path
contracts/workspace-intelligence/agent-framework-adapter-manifest.v1.json- Publication
- json-schema
- Defined fields
- 203
- 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 |
|---|---|---|---|---|
| adapter | object | Yes | Defines the adapter value at this contract boundary. | additionalProperties: false |
| adapter.id | string | Yes | Defines the id value at this contract boundary. | pattern: ^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$ |
| adapter.package | string | Yes | Defines the package value at this contract boundary. | minLength: 1 |
| adapter.stability | enum | Yes | Defines the stability value at this contract boundary. | enum: experimental, preview, stable, compatibility, deprecated |
| adapter.version | string | Yes | Defines the version value at this contract boundary. | minLength: 1 |
| bindings | object | Yes | Defines the bindings value at this contract boundary. | additionalProperties: false |
| bindings.contextInputs | array | Yes | Defines the contextinputs value at this contract boundary. | minItems: 1 |
| bindings.evidenceInputs | array | Yes | Defines the evidenceinputs value at this contract boundary. | minItems: 1 |
| bindings.mutationGateway | string | Yes | Defines the mutationgateway value at this contract boundary. | const: "proof-carrying-change" |
| bindings.projectionPolicy | string | Yes | Defines the projectionpolicy value at this contract boundary. | const: "references-and-bounded-projections-only" |
| bindings.verificationGateway | string | Yes | Defines the verificationgateway value at this contract boundary. | const: "workspace-verify" |
| capabilities | object | Yes | Defines the capabilities value at this contract boundary. | additionalProperties: false |
| capabilities.background-execution | object | Yes | Defines the background execution value at this contract boundary. | additionalProperties: false |
| capabilities.background-execution.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.background-execution.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.background-execution.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.background-execution.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.channels | object | Yes | Defines the channels value at this contract boundary. | additionalProperties: false |
| capabilities.channels.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.channels.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.channels.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.channels.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.checkpoints | object | Yes | Defines the checkpoints value at this contract boundary. | additionalProperties: false |
| capabilities.checkpoints.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.checkpoints.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.checkpoints.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.checkpoints.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.conversation-state | object | Yes | Defines the conversation state value at this contract boundary. | additionalProperties: false |
| capabilities.conversation-state.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.conversation-state.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.conversation-state.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.conversation-state.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.durable-execution | object | Yes | Defines the durable execution value at this contract boundary. | additionalProperties: false |
| capabilities.durable-execution.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.durable-execution.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.durable-execution.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.durable-execution.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.evaluations | object | Yes | Defines the evaluations value at this contract boundary. | additionalProperties: false |
| capabilities.evaluations.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.evaluations.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.evaluations.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.evaluations.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.explicit-workflows | object | Yes | Defines the explicit workflows value at this contract boundary. | additionalProperties: false |
| capabilities.explicit-workflows.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.explicit-workflows.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.explicit-workflows.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.explicit-workflows.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.handoffs | object | Yes | Defines the handoffs value at this contract boundary. | additionalProperties: false |
| capabilities.handoffs.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.handoffs.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.handoffs.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.handoffs.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.human-in-the-loop | object | Yes | Defines the human in the loop value at this contract boundary. | additionalProperties: false |
| capabilities.human-in-the-loop.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.human-in-the-loop.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.human-in-the-loop.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.human-in-the-loop.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.local-execution | object | Yes | Defines the local execution value at this contract boundary. | additionalProperties: false |
| capabilities.local-execution.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.local-execution.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.local-execution.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.local-execution.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.local-models | object | Yes | Defines the local models value at this contract boundary. | additionalProperties: false |
| capabilities.local-models.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.local-models.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.local-models.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.local-models.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.managed-hosting | object | Yes | Defines the managed hosting value at this contract boundary. | additionalProperties: false |
| capabilities.managed-hosting.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.managed-hosting.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.managed-hosting.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.managed-hosting.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.mcp-client | object | Yes | Defines the mcp client value at this contract boundary. | additionalProperties: false |
| capabilities.mcp-client.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.mcp-client.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.mcp-client.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.mcp-client.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.mcp-server | object | Yes | Defines the mcp server value at this contract boundary. | additionalProperties: false |
| capabilities.mcp-server.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.mcp-server.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.mcp-server.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.mcp-server.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.memory | object | Yes | Defines the memory value at this contract boundary. | additionalProperties: false |
| capabilities.memory.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.memory.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.memory.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.memory.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.multi-agent | object | Yes | Defines the multi agent value at this contract boundary. | additionalProperties: false |
| capabilities.multi-agent.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.multi-agent.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.multi-agent.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.multi-agent.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.provider-neutral-models | object | Yes | Defines the provider neutral models value at this contract boundary. | additionalProperties: false |
| capabilities.provider-neutral-models.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.provider-neutral-models.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.provider-neutral-models.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.provider-neutral-models.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.resume | object | Yes | Defines the resume value at this contract boundary. | additionalProperties: false |
| capabilities.resume.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.resume.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.resume.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.resume.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.schedules | object | Yes | Defines the schedules value at this contract boundary. | additionalProperties: false |
| capabilities.schedules.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.schedules.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.schedules.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.schedules.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.self-hosting | object | Yes | Defines the self hosting value at this contract boundary. | additionalProperties: false |
| capabilities.self-hosting.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.self-hosting.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.self-hosting.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.self-hosting.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.single-agent | object | Yes | Defines the single agent value at this contract boundary. | additionalProperties: false |
| capabilities.single-agent.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.single-agent.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.single-agent.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.single-agent.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.skills | object | Yes | Defines the skills value at this contract boundary. | additionalProperties: false |
| capabilities.skills.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.skills.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.skills.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.skills.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.streaming | object | Yes | Defines the streaming value at this contract boundary. | additionalProperties: false |
| capabilities.streaming.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.streaming.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.streaming.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.streaming.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.telemetry | object | Yes | Defines the telemetry value at this contract boundary. | additionalProperties: false |
| capabilities.telemetry.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.telemetry.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.telemetry.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.telemetry.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| capabilities.typed-tools | object | Yes | Defines the typed tools value at this contract boundary. | additionalProperties: false |
| capabilities.typed-tools.evidence | array | Yes | Defines the evidence value at this contract boundary. | minItems: 0 |
| capabilities.typed-tools.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| capabilities.typed-tools.prerequisites | array | Yes | Defines the prerequisites value at this contract boundary. | minItems: 0 |
| capabilities.typed-tools.support | enum | Yes | Defines the support value at this contract boundary. | enum: native, adapter-provided, conditional, unsupported |
| detection | object | Yes | Defines the detection value at this contract boundary. | additionalProperties: false |
| detection.authoredMarkers | array | Yes | Defines the authoredmarkers value at this contract boundary. | minItems: 1 · maxItems: 64 |
| detection.generatedMarkers | array | Yes | Defines the generatedmarkers value at this contract boundary. | maxItems: 64 |
| detection.minimumAuthoredMarkers | integer | Yes | Defines the minimumauthoredmarkers value at this contract boundary. | minimum: 1 |
| detection.minimumConfidence | number | Yes | Defines the minimumconfidence value at this contract boundary. | maximum: 1 |
| framework | object | Yes | Defines the framework value at this contract boundary. | additionalProperties: false |
| framework.homepage | string | Yes | Defines the homepage value at this contract boundary. | format: uri |
| framework.id | string | Yes | Defines the id value at this contract boundary. | pattern: ^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$ |
| framework.license | string | Yes | Defines the license value at this contract boundary. | minLength: 1 |
| framework.name | string | Yes | Defines the name value at this contract boundary. | minLength: 1 |
| framework.supportedVersionRange | string | Yes | Defines the supportedversionrange value at this contract boundary. | minLength: 1 |
| framework.testedVersions | array | Yes | Defines the testedversions value at this contract boundary. | minItems: 1 |
| framework.upstreamStatus | enum | Yes | Defines the upstreamstatus value at this contract boundary. | enum: stable, beta, maintenance, deprecated |
| implementation | object | Yes | Defines the implementation value at this contract boundary. | additionalProperties: false |
| implementation.distribution | enum | Yes | Defines the distribution value at this contract boundary. | enum: bundled, optional-package, external-tool |
| implementation.executionBoundary | enum | Yes | Defines the executionboundary value at this contract boundary. | enum: in-process, subprocess, remote, none |
| implementation.languages | array | Yes | Defines the languages value at this contract boundary. | minItems: 1 |
| implementation.platforms | array | Yes | Defines the platforms value at this contract boundary. | minItems: 1 |
| implementation.runtimes | array | Yes | Defines the runtimes value at this contract boundary. | minItems: 1 |
| operations | object | Yes | Defines the operations value at this contract boundary. | additionalProperties: false |
| operations.detect | object | Yes | Defines the detect value at this contract boundary. | additionalProperties: false |
| operations.detect.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.detect.mode | string | Yes | Defines the mode value at this contract boundary. | const: "read-only" |
| operations.detect.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.plan-attach | object | Yes | Defines the plan attach value at this contract boundary. | additionalProperties: false |
| operations.plan-attach.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.plan-attach.mode | string | Yes | Defines the mode value at this contract boundary. | const: "plan-only" |
| operations.plan-attach.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.plan-scaffold | object | Yes | Defines the plan scaffold value at this contract boundary. | additionalProperties: false |
| operations.plan-scaffold.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.plan-scaffold.mode | string | Yes | Defines the mode value at this contract boundary. | const: "plan-only" |
| operations.plan-scaffold.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.project-context | object | Yes | Defines the project context value at this contract boundary. | additionalProperties: false |
| operations.project-context.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.project-context.mode | string | Yes | Defines the mode value at this contract boundary. | const: "resolve-only" |
| operations.project-context.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.render-managed-files | object | Yes | Defines the render managed files value at this contract boundary. | additionalProperties: false |
| operations.render-managed-files.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.render-managed-files.mode | string | Yes | Defines the mode value at this contract boundary. | const: "render-only" |
| operations.render-managed-files.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.resolve-runtime | object | Yes | Defines the resolve runtime value at this contract boundary. | additionalProperties: false |
| operations.resolve-runtime.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.resolve-runtime.mode | string | Yes | Defines the mode value at this contract boundary. | const: "resolve-only" |
| operations.resolve-runtime.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| operations.validate | object | Yes | Defines the validate value at this contract boundary. | additionalProperties: false |
| operations.validate.limitations | array | Yes | Defines the limitations value at this contract boundary. | minItems: 0 |
| operations.validate.mode | string | Yes | Defines the mode value at this contract boundary. | const: "read-only" |
| operations.validate.supported | boolean | Yes | Defines the supported value at this contract boundary. | — |
| ownership | object | Yes | Defines the ownership value at this contract boundary. | additionalProperties: false |
| ownership.canonicalTruth | string | Yes | Defines the canonicaltruth value at this contract boundary. | const: "workspai" |
| ownership.conflictPolicy | string | Yes | Defines the conflictpolicy value at this contract boundary. | const: "preserve-user-content" |
| ownership.managedRoots | array | Yes | Defines the managedroots value at this contract boundary. | minItems: 1 |
| ownership.managedWritePolicy | string | Yes | Defines the managedwritepolicy value at this contract boundary. | const: "owned-files-or-managed-sections" |
| ownership.mutationAdmission | string | Yes | Defines the mutationadmission value at this contract boundary. | const: "workspai-pcc" |
| ownership.runtimeState | string | Yes | Defines the runtimestate value at this contract boundary. | const: "framework" |
| ownership.sessionState | string | Yes | Defines the sessionstate value at this contract boundary. | const: "framework" |
| ownership.verificationOwner | string | Yes | Defines the verificationowner value at this contract boundary. | const: "workspai-cli" |
| protocolVersion | string | Yes | Defines the protocolversion value at this contract boundary. | const: "workspai.agent-framework-adapter-protocol.v1" |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "workspai.agent-framework-adapter-manifest.v1" |
| security | object | Yes | Defines the security value at this contract boundary. | additionalProperties: false |
| security.generatedCodeExecution | string | Yes | Defines the generatedcodeexecution value at this contract boundary. | const: "disabled-unless-explicitly-granted" |
| security.network | string | Yes | Defines the network value at this contract boundary. | const: "deny-unless-explicitly-granted" |
| security.secrets | string | Yes | Defines the secrets value at this contract boundary. | const: "references-only" |
| security.telemetrySensitiveData | string | Yes | Defines the telemetrysensitivedata value at this contract boundary. | const: "redacted" |
| security.toolMutation | string | Yes | Defines the toolmutation value at this contract boundary. | const: "approval-required" |
| security.untrustedInput | string | Yes | Defines the untrustedinput value at this contract boundary. | const: "isolated" |
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-adapter-manifest.v1.json",
"title": "Workspai Agent Framework Adapter Manifest v1",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"protocolVersion",
"adapter",
"framework",
"implementation",
"operations",
"capabilities",
"detection",
"ownership",
"security",
"bindings"
],
"properties": {
"schemaVersion": {
"const": "workspai.agent-framework-adapter-manifest.v1"
},
"protocolVersion": {
"const": "workspai.agent-framework-adapter-protocol.v1"
},
"adapter": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"package",
"version",
"stability"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"package": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"minLength": 1
},
"stability": {
"enum": [
"experimental",
"preview",
"stable",
"compatibility",
"deprecated"
]
}
}
},
"framework": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"name",
"homepage",
"license",
"upstreamStatus",
"supportedVersionRange",
"testedVersions"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"name": {
"type": "string",
"minLength": 1
},
"homepage": {
"type": "string",
"format": "uri"
},
"license": {
"type": "string",
"minLength": 1
},
"upstreamStatus": {
"enum": [
"stable",
"beta",
"maintenance",
"deprecated"
]
},
"supportedVersionRange": {
"type": "string",
"minLength": 1
},
"testedVersions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
}
}
},
"implementation": {
"type": "object",
"additionalProperties": false,
"required": [
"languages",
"runtimes",
"platforms",
"executionBoundary",
"distribution"
],
"properties": {
"languages": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
},
"runtimes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
},
"platforms": {
"type": "array",
"items": {
"enum": [
"linux",
"darwin",
"win32"
]
},
"minItems": 1,
"uniqueItems": true
},
"executionBoundary": {
"enum": [
"in-process",
"subprocess",
"remote",
"none"
]
},
"distribution": {
"enum": [
"bundled",
"optional-package",
"external-tool"
]
}
}
},
"operations": {
"type": "object",
"additionalProperties": false,
"required": [
"detect",
"plan-scaffold",
"plan-attach",
"render-managed-files",
"project-context",
"validate",
"resolve-runtime"
],
"properties": {
"detect": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "read-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"plan-scaffold": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "plan-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"plan-attach": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "plan-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"render-managed-files": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "render-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"project-context": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "resolve-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"validate": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "read-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"resolve-runtime": {
"type": "object",
"additionalProperties": false,
"required": [
"supported",
"mode",
"limitations"
],
"properties": {
"supported": {
"type": "boolean"
},
"mode": {
"const": "resolve-only"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
}
}
},
"capabilities": {
"type": "object",
"additionalProperties": false,
"required": [
"single-agent",
"multi-agent",
"typed-tools",
"skills",
"handoffs",
"explicit-workflows",
"streaming",
"background-execution",
"durable-execution",
"human-in-the-loop",
"conversation-state",
"memory",
"checkpoints",
"resume",
"schedules",
"channels",
"mcp-client",
"mcp-server",
"telemetry",
"evaluations",
"provider-neutral-models",
"local-models",
"local-execution",
"self-hosting",
"managed-hosting"
],
"properties": {
"single-agent": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"multi-agent": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"typed-tools": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"skills": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"handoffs": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"explicit-workflows": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"streaming": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"background-execution": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"durable-execution": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"human-in-the-loop": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"conversation-state": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"memory": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"checkpoints": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"resume": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"schedules": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"channels": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"mcp-client": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"mcp-server": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"telemetry": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"evaluations": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"provider-neutral-models": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"local-models": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"local-execution": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"self-hosting": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
},
"managed-hosting": {
"type": "object",
"additionalProperties": false,
"required": [
"support",
"evidence",
"prerequisites",
"limitations"
],
"properties": {
"support": {
"enum": [
"native",
"adapter-provided",
"conditional",
"unsupported"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 0,
"uniqueItems": true
}
}
}
}
},
"detection": {
"type": "object",
"additionalProperties": false,
"required": [
"authoredMarkers",
"generatedMarkers",
"minimumAuthoredMarkers",
"minimumConfidence"
],
"properties": {
"authoredMarkers": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"path"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "path"
},
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"path",
"needle",
"maxBytes"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "file-content"
},
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
},
"needle": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"maximum": 1048576
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"ecosystem",
"name",
"match",
"manifestPaths",
"manifestSuffixes",
"searchDepth"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "dependency"
},
"ecosystem": {
"enum": [
"npm",
"pypi",
"nuget"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 214
},
"match": {
"enum": [
"exact",
"prefix"
]
},
"manifestPaths": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\\\/]"
},
{
"pattern": "(^|[\\\\/])\\.\\.([\\\\/]|$)"
}
]
}
}
},
"manifestSuffixes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\.[A-Za-z0-9._-]+$",
"maxLength": 32
},
"maxItems": 16,
"uniqueItems": true
},
"searchDepth": {
"type": "integer",
"minimum": 0,
"maximum": 8
}
}
}
]
},
"minItems": 1,
"maxItems": 64
},
"generatedMarkers": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"path"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "path"
},
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"path",
"needle",
"maxBytes"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "file-content"
},
"path": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\/]"
},
{
"pattern": "(^|[\\/])\\.\\.([\\/]|$)"
}
]
}
},
"needle": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"maximum": 1048576
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"weight",
"kind",
"ecosystem",
"name",
"match",
"manifestPaths",
"manifestSuffixes",
"searchDepth"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$"
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"kind": {
"const": "dependency"
},
"ecosystem": {
"enum": [
"npm",
"pypi",
"nuget"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 214
},
"match": {
"enum": [
"exact",
"prefix"
]
},
"manifestPaths": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\\\/]"
},
{
"pattern": "(^|[\\\\/])\\.\\.([\\\\/]|$)"
}
]
}
}
},
"manifestSuffixes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\.[A-Za-z0-9._-]+$",
"maxLength": 32
},
"maxItems": 16,
"uniqueItems": true
},
"searchDepth": {
"type": "integer",
"minimum": 0,
"maximum": 8
}
}
}
]
},
"maxItems": 64
},
"minimumAuthoredMarkers": {
"type": "integer",
"minimum": 1
},
"minimumConfidence": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
}
},
"ownership": {
"type": "object",
"additionalProperties": false,
"required": [
"canonicalTruth",
"runtimeState",
"sessionState",
"mutationAdmission",
"verificationOwner",
"managedWritePolicy",
"conflictPolicy",
"managedRoots"
],
"properties": {
"canonicalTruth": {
"const": "workspai"
},
"runtimeState": {
"const": "framework"
},
"sessionState": {
"const": "framework"
},
"mutationAdmission": {
"const": "workspai-pcc"
},
"verificationOwner": {
"const": "workspai-cli"
},
"managedWritePolicy": {
"const": "owned-files-or-managed-sections"
},
"conflictPolicy": {
"const": "preserve-user-content"
},
"managedRoots": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\\\/]"
},
{
"pattern": "(^|[\\\\/])\\.\\.([\\\\/]|$)"
}
]
}
}
}
}
},
"security": {
"type": "object",
"additionalProperties": false,
"required": [
"secrets",
"network",
"generatedCodeExecution",
"toolMutation",
"untrustedInput",
"telemetrySensitiveData"
],
"properties": {
"secrets": {
"const": "references-only"
},
"network": {
"const": "deny-unless-explicitly-granted"
},
"generatedCodeExecution": {
"const": "disabled-unless-explicitly-granted"
},
"toolMutation": {
"const": "approval-required"
},
"untrustedInput": {
"const": "isolated"
},
"telemetrySensitiveData": {
"const": "redacted"
}
}
},
"bindings": {
"type": "object",
"additionalProperties": false,
"required": [
"contextInputs",
"evidenceInputs",
"mutationGateway",
"verificationGateway",
"projectionPolicy"
],
"properties": {
"contextInputs": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\\\/]"
},
{
"pattern": "(^|[\\\\/])\\.\\.([\\\\/]|$)"
}
]
}
}
},
"evidenceInputs": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"not": {
"anyOf": [
{
"pattern": "^/"
},
{
"pattern": "^[A-Za-z]:[\\\\/]"
},
{
"pattern": "(^|[\\\\/])\\.\\.([\\\\/]|$)"
}
]
}
}
},
"mutationGateway": {
"const": "proof-carrying-change"
},
"verificationGateway": {
"const": "workspace-verify"
},
"projectionPolicy": {
"const": "references-and-bounded-projections-only"
}
}
}
}
}