Files
marqdo/tests/workbench/schemas/KnowledgeLocatorV1.schema.json
T
cflmyandCursor 03396afd02 feat(workbench): land M00–M06 runtime contracts and read-only view
Add capabilities/selection/usage/DocumentView/locator/RunContext with
honest probes, LLM messages+cancel, sse-live cancel bridge, and CI
workbench_contracts gate; record design evidence for verified slices.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-25 10:55:08 +08:00

30 lines
880 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "marqdo://contracts/KnowledgeLocatorV1",
"title": "KnowledgeLocatorV1",
"type": "object",
"required": ["schema_version", "project_id", "document_id"],
"properties": {
"schema": { "const": "KnowledgeLocatorV1" },
"schema_version": { "const": 1 },
"project_id": { "type": "string" },
"document_id": { "type": "string" },
"source_revision": { "type": ["string", "null"] },
"generation_id": { "type": ["string", "null"] },
"artifact_id": { "type": ["string", "null"] },
"node_id": { "type": ["string", "null"] },
"relation": { "type": "string" },
"resolution": {
"enum": [
"resolved",
"stale",
"unresolved",
"ambiguous",
"version_unavailable",
"unsupported"
]
}
},
"additionalProperties": true
}