workspai 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/README.md +151 -75
  2. package/contracts/analyze-last-run.v1.json +2 -2
  3. package/contracts/artifact-remediation-plan.v1.json +3 -9
  4. package/contracts/autopilot-release.v1.json +2 -0
  5. package/contracts/bootstrap-compliance.v1.json +2 -1
  6. package/contracts/cli-log-event.v1.json +1 -1
  7. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +84 -0
  8. package/contracts/compatibility-matrix.v1.json +2 -0
  9. package/contracts/create-planner-capabilities.v1.json +144 -32
  10. package/contracts/doctor-project-evidence.v1.json +191 -11
  11. package/contracts/doctor-project-scan.v2.json +2 -0
  12. package/contracts/doctor-remediation-plan.v1.json +2 -2
  13. package/contracts/doctor-remediation-plan.v2.json +2 -2
  14. package/contracts/doctor-workspace-cache.v2.json +2 -0
  15. package/contracts/doctor-workspace-evidence.v1.json +189 -10
  16. package/contracts/extension-cli-compatibility.v1.json +11 -1
  17. package/contracts/infra-plan.v1.json +2 -0
  18. package/contracts/ingestion-plan.v1.json +85 -0
  19. package/contracts/ingestion-result.v1.json +59 -0
  20. package/contracts/mirror-ops.v1.json +2 -1
  21. package/contracts/pipeline-last-run.v1.json +2 -2
  22. package/contracts/private-product-manifest.v1.json +2 -0
  23. package/contracts/product-factory-plan.v1.json +2 -0
  24. package/contracts/project-archive.v1.json +2 -0
  25. package/contracts/project-entry-capability.v1.json +2 -3
  26. package/contracts/project-test-coverage.v1.json +189 -0
  27. package/contracts/project-workspace-link.v1.json +66 -0
  28. package/contracts/project-workspace-resolution.v1.json +28 -0
  29. package/contracts/published-contract-catalog.v1.json +50 -0
  30. package/contracts/release-readiness.v1.json +2 -2
  31. package/contracts/runtime-command-surface.v1.json +1456 -123
  32. package/contracts/transparency-evidence.v1.json +2 -1
  33. package/contracts/workspace-archive-capabilities.v1.json +11 -5
  34. package/contracts/workspace-archive-manifest.v1.json +236 -0
  35. package/contracts/workspace-archive-operation-result.v1.json +236 -0
  36. package/contracts/workspace-contract.v1.json +1 -1
  37. package/contracts/workspace-intelligence/agent-action-outcome.v1.json +2 -2
  38. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +1 -1
  39. package/contracts/workspace-intelligence/agent-hooks.v1.json +2 -0
  40. package/contracts/workspace-intelligence/agent-reports-index.v1.json +1 -1
  41. package/contracts/workspace-intelligence/blocker-resolution.v1.json +3 -9
  42. package/contracts/workspace-intelligence/doctor-fix-result.v1.json +2 -2
  43. package/contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json +208 -0
  44. package/contracts/workspace-intelligence/fact-freshness.v1.json +2 -2
  45. package/contracts/workspace-intelligence/mcp-design.v1.json +2 -0
  46. package/contracts/workspace-intelligence/model-usage-event.v1.json +1 -1
  47. package/contracts/workspace-intelligence/project-context-agent.v1.json +360 -0
  48. package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +1 -1
  49. package/contracts/workspace-intelligence/workspace-context.v1.json +1 -1
  50. package/contracts/workspace-intelligence/workspace-contract-verify.v1.json +2 -2
  51. package/contracts/workspace-intelligence/workspace-dependency-graph.v1.json +1 -1
  52. package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -1
  53. package/contracts/workspace-intelligence/workspace-graph-stream.v1.json +262 -0
  54. package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +1 -1
  55. package/contracts/workspace-intelligence/workspace-impact.v1.json +1 -1
  56. package/contracts/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json +1 -1
  57. package/contracts/workspace-intelligence/workspace-intelligence-evaluation.v1.json +1 -1
  58. package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +1 -1
  59. package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +2 -2
  60. package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +1 -1
  61. package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +48 -5
  62. package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +1 -1
  63. package/contracts/workspace-intelligence/workspace-model-diff.v1.json +1 -1
  64. package/contracts/workspace-intelligence/workspace-model-snapshot.v1.json +1 -1
  65. package/contracts/workspace-intelligence/workspace-model.v1.json +97 -5
  66. package/contracts/workspace-intelligence/workspace-operational-skill.v1.json +1 -1
  67. package/contracts/workspace-intelligence/workspace-skills-index.v1.json +1 -1
  68. package/contracts/workspace-intelligence/workspace-verify.v1.json +1 -1
  69. package/contracts/workspace-intelligence-architecture.v1.json +33 -7
  70. package/contracts/workspace-intelligence-chain.v1.json +1 -1
  71. package/contracts/workspace-list.v1.json +2 -0
  72. package/contracts/workspace-model-cache.v1.json +2 -0
  73. package/contracts/workspace-registry.v1.json +1 -1
  74. package/contracts/workspace-run-last.v1.json +1 -1
  75. package/contracts/workspace-share-bundle.v1.json +2 -1
  76. package/contracts/workspace-snapshot.v1.json +2 -0
  77. package/contracts/workspace-snapshot.v2.json +2 -0
  78. package/contracts/workspace-sync.v1.json +2 -0
  79. package/contracts/workspace-watch-event.v1.json +2 -0
  80. package/dist/analyze-ZFQWTCJQ.js +1 -0
  81. package/dist/{artifact-remediation-plan-SPOUHMK5.js → artifact-remediation-plan-ICN3KOFG.js} +1 -1
  82. package/dist/autopilot-release-VKXQ7BS7.js +1 -0
  83. package/dist/chunk-2AXEGYPL.js +1 -0
  84. package/dist/chunk-2D4UOYOJ.js +1 -0
  85. package/dist/chunk-2OIBHUVH.js +1 -0
  86. package/dist/chunk-3GRKUP5W.js +33 -0
  87. package/dist/{managed-agent-markers-AXUM75OE.js → chunk-3RBUSW7H.js} +1 -1
  88. package/dist/chunk-5EXZBCAZ.js +4 -0
  89. package/dist/chunk-6UTM5AJI.js +1 -0
  90. package/dist/chunk-AFIFZTOY.js +2 -0
  91. package/dist/{chunk-BMWFQXGW.js → chunk-AHLMIL2T.js} +1 -1
  92. package/dist/chunk-AL237TSJ.js +7 -0
  93. package/dist/chunk-AL2A7Q4X.js +86 -0
  94. package/dist/{chunk-VU7NZHPM.js → chunk-BHYTI3RH.js} +1 -1
  95. package/dist/{chunk-ESLPI3XZ.js → chunk-BQGBU2Y3.js} +1 -1
  96. package/dist/chunk-C35UXTDM.js +2 -0
  97. package/dist/chunk-C3FLCDRN.js +2 -0
  98. package/dist/chunk-CZC5P2MF.js +1 -0
  99. package/dist/{chunk-Y5UJLPS4.js → chunk-DDQ3XK3H.js} +13 -13
  100. package/dist/{chunk-CRHYBQI3.js → chunk-DQ3PI7EP.js} +1 -1
  101. package/dist/chunk-EWZZUQBR.js +1 -0
  102. package/dist/{chunk-4KUIFXHM.js → chunk-GNQRYISX.js} +3 -3
  103. package/dist/chunk-I42F552T.js +2 -0
  104. package/dist/chunk-IDQKVJUF.js +2 -0
  105. package/dist/{chunk-3VFA7D5T.js → chunk-IND3TUVU.js} +1 -1
  106. package/dist/chunk-IPJ5URDF.js +1 -0
  107. package/dist/{chunk-I46XEIPL.js → chunk-JFUD73OZ.js} +52 -52
  108. package/dist/chunk-KKAOTTYO.js +8 -0
  109. package/dist/chunk-KMLPHFLD.js +2 -0
  110. package/dist/{chunk-NHN4QXPP.js → chunk-KVSYBHUR.js} +1 -1
  111. package/dist/chunk-KXG6E5VK.js +1 -0
  112. package/dist/chunk-L2YK5RV2.js +1 -0
  113. package/dist/chunk-LAJM2SBP.js +15 -0
  114. package/dist/{chunk-5S3DJQEP.js → chunk-LZQUZGXB.js} +1 -1
  115. package/dist/chunk-MOSXTVPU.js +1 -0
  116. package/dist/chunk-MV7KF75Q.js +13 -0
  117. package/dist/chunk-MVLIONQD.js +1 -0
  118. package/dist/chunk-RJIYCDVC.js +1 -0
  119. package/dist/{chunk-BGPXQQNY.js → chunk-RTVRZFIJ.js} +1 -1
  120. package/dist/chunk-RVQLMTTI.js +2 -0
  121. package/dist/chunk-SHXJ2GDR.js +75 -0
  122. package/dist/{chunk-32OJDBIG.js → chunk-SS2VV3D5.js} +1 -1
  123. package/dist/chunk-TDTCMZK7.js +10 -0
  124. package/dist/chunk-UETZ7USY.js +36 -0
  125. package/dist/chunk-VKTUWUS6.js +1 -0
  126. package/dist/chunk-VRW6KXNK.js +6 -0
  127. package/dist/chunk-Y5YAP4F3.js +2 -0
  128. package/dist/chunk-YPKNQCLK.js +2 -0
  129. package/dist/{create-DBQNAMKP.js → create-I23DC7SN.js} +1 -1
  130. package/dist/{demo-kit-DZ7TPG7K.js → demo-kit-KHH63TNA.js} +2 -2
  131. package/dist/{doctor-4NNUDNGZ.js → doctor-DOOMYLIH.js} +1 -1
  132. package/dist/{dotnet-webapi-clean-A6MVDYXX.js → dotnet-webapi-clean-VXEF4SHM.js} +5 -5
  133. package/dist/{gofiber-standard-I5YPQG5V.js → gofiber-standard-AQGSC7ON.js} +3 -3
  134. package/dist/{gogin-standard-VY2L4QT5.js → gogin-standard-7DU3OCBX.js} +3 -3
  135. package/dist/index.d.ts +41 -6
  136. package/dist/index.js +268 -356
  137. package/dist/managed-agent-markers-COE5DJ3W.js +1 -0
  138. package/dist/pipeline-U77HSINC.js +5 -0
  139. package/dist/platform-capabilities-PR6YL4KC.js +1 -0
  140. package/dist/project-intelligence-lens-BKKVPCLC.js +1 -0
  141. package/dist/project-test-coverage-4TEHZJFC.js +1 -0
  142. package/dist/{pythonRapidkitExec-CVCIK225.js → pythonRapidkitExec-YR7P5LWG.js} +1 -1
  143. package/dist/rust-axum-4HXDICIB.js +140 -0
  144. package/dist/{springboot-standard-55XKCBIZ.js → springboot-standard-EK6GYN5T.js} +7 -7
  145. package/dist/workspace-ZEYUVR26.js +1 -0
  146. package/dist/{workspace-agent-sync-662QHXGF.js → workspace-agent-sync-DKYJLUDP.js} +1 -1
  147. package/dist/workspace-archive-4JNT4S7N.js +1 -0
  148. package/dist/{workspace-context-23YYCUCP.js → workspace-context-IHUFMZT3.js} +1 -1
  149. package/dist/workspace-contract-PVLGPBBV.js +1 -0
  150. package/dist/workspace-explain-64HNKAHO.js +1 -0
  151. package/dist/workspace-explain-contract-H7O26QJU.js +1 -0
  152. package/dist/{workspace-feedback-SUVH2LUJ.js → workspace-feedback-RATRXFUC.js} +1 -1
  153. package/dist/{workspace-foundation-WXJ6I7ES.js → workspace-foundation-D33LJLGT.js} +1 -1
  154. package/dist/workspace-graph-stream-THNG2T7R.js +1 -0
  155. package/dist/{workspace-history-BANOJRQ2.js → workspace-history-EWFPT74O.js} +1 -1
  156. package/dist/workspace-intelligence-MCNSWWDV.js +1 -0
  157. package/dist/{workspace-intelligence-evaluation-IPH7M3WV.js → workspace-intelligence-evaluation-7CABG5Y6.js} +1 -1
  158. package/dist/workspace-intelligence-runner-TG2VLHNZ.js +1 -0
  159. package/dist/workspace-intelligence-runtime-registry-ZZ3GRAL2.js +1 -0
  160. package/dist/{workspace-knowledge-graph-ARDC6HHG.js → workspace-knowledge-graph-2EYR7N56.js} +1 -1
  161. package/dist/{workspace-marker-SMBC3Z2Q.js → workspace-marker-7NHMDIRL.js} +1 -1
  162. package/dist/workspace-mcp-serve-FLAVKWYW.js +3 -0
  163. package/dist/workspace-model-FMFYLHE4.js +1 -0
  164. package/dist/workspace-model-hash-ZXYPIGCW.js +1 -0
  165. package/dist/workspace-onboarding-MYROZDI2.js +1 -0
  166. package/dist/{workspace-python-engine-state-2MLKJYQG.js → workspace-python-engine-state-J4QKW55K.js} +1 -1
  167. package/dist/{workspace-registry-summary-ORDK7A36.js → workspace-registry-summary-6VXIAQLX.js} +1 -1
  168. package/dist/workspace-run-2ZI5UMJ2.js +1 -0
  169. package/dist/{workspace-verify-EBVL7FWT.js → workspace-verify-FKYI65UQ.js} +1 -1
  170. package/dist/workspace-watch-RP5KMVP2.js +1 -0
  171. package/docs/GLOSSARY.md +17 -16
  172. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +18 -10
  173. package/docs/README.md +49 -14
  174. package/docs/README_CONTENT_CONTRACT.md +19 -10
  175. package/docs/ci-workflows.md +3 -3
  176. package/docs/commands-reference.md +41 -10
  177. package/docs/contracts/ARTIFACT_CATALOG.md +72 -27
  178. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
  179. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
  180. package/docs/contracts/rapidkit-cli-contracts.json +2 -2
  181. package/docs/create-planner-capabilities.md +36 -5
  182. package/docs/creating-workspaces-and-projects.md +75 -15
  183. package/docs/doctor-command.md +148 -39
  184. package/docs/examples/ci-agent-grounding.yml +1 -1
  185. package/docs/from-code-to-shared-understanding.md +6 -3
  186. package/docs/graph-benchmark-methodology.md +2 -2
  187. package/docs/workspace-intelligence-evaluation.md +13 -6
  188. package/docs/workspace-intelligence-runner.md +17 -6
  189. package/docs/workspace-knowledge-graph.md +102 -7
  190. package/docs/workspace-operations.md +154 -10
  191. package/package.json +10 -5
  192. package/scripts/enterprise-package-smoke.mjs +13 -1
  193. package/templates/kits/fastapi-ddd/README.md.j2 +1 -1
  194. package/dist/analyze-EEEU3MIF.js +0 -1
  195. package/dist/autopilot-release-XGVXPOZI.js +0 -1
  196. package/dist/chunk-22DT744Z.js +0 -1
  197. package/dist/chunk-37CVKXBD.js +0 -1
  198. package/dist/chunk-3NU32T4A.js +0 -2
  199. package/dist/chunk-3ZK2GU7C.js +0 -1
  200. package/dist/chunk-4HDYADHT.js +0 -13
  201. package/dist/chunk-52PBRX7F.js +0 -1
  202. package/dist/chunk-54EP5CEV.js +0 -8
  203. package/dist/chunk-5XATWNME.js +0 -1
  204. package/dist/chunk-7YHK5NM3.js +0 -2
  205. package/dist/chunk-AFL3ACCR.js +0 -2
  206. package/dist/chunk-BFLJ2R4D.js +0 -80
  207. package/dist/chunk-EYJ2CQSK.js +0 -1
  208. package/dist/chunk-FTY7GGXJ.js +0 -33
  209. package/dist/chunk-FXQJX34Z.js +0 -1
  210. package/dist/chunk-GSWPGELT.js +0 -2
  211. package/dist/chunk-GZTYAEWX.js +0 -1
  212. package/dist/chunk-HDXNIN4N.js +0 -1
  213. package/dist/chunk-HZDXO65G.js +0 -36
  214. package/dist/chunk-J5ENLXDF.js +0 -1
  215. package/dist/chunk-KB44JP4M.js +0 -2
  216. package/dist/chunk-LHOZXC2M.js +0 -2
  217. package/dist/chunk-MER6ZBN2.js +0 -13
  218. package/dist/chunk-NAJCUQ4X.js +0 -2
  219. package/dist/chunk-OA537ZQ5.js +0 -1
  220. package/dist/chunk-OW42TZFB.js +0 -1
  221. package/dist/chunk-P3D5YQB2.js +0 -1
  222. package/dist/chunk-PHXQR6PX.js +0 -2
  223. package/dist/chunk-PRTR2DQ2.js +0 -1
  224. package/dist/chunk-QNONOO4F.js +0 -4
  225. package/dist/chunk-RHQW3DTP.js +0 -1
  226. package/dist/chunk-T4YR4RAI.js +0 -2
  227. package/dist/chunk-Y45WZR5N.js +0 -5
  228. package/dist/chunk-YJZOMRAS.js +0 -1
  229. package/dist/pipeline-TQM43A3K.js +0 -5
  230. package/dist/platform-capabilities-2B4QMZXE.js +0 -1
  231. package/dist/workspace-NCWRINEF.js +0 -1
  232. package/dist/workspace-archive-P76EDIUG.js +0 -10
  233. package/dist/workspace-contract-TU2I7GC2.js +0 -1
  234. package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
  235. package/dist/workspace-explain-MWUEN643.js +0 -1
  236. package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
  237. package/dist/workspace-intelligence-MFJE7W67.js +0 -1
  238. package/dist/workspace-intelligence-runner-THYLHHMF.js +0 -1
  239. package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
  240. package/dist/workspace-model-7OU2M3LE.js +0 -1
  241. package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
  242. package/dist/workspace-run-RLIYSOTN.js +0 -1
  243. package/dist/workspace-watch-3BPGLFLB.js +0 -1
@@ -0,0 +1,262 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-graph-stream.v1.json",
4
+ "title": "Workspai Workspace Graph Stream",
5
+ "description": "Transport-neutral, revision-safe events for hydrating and incrementally updating a Workspace Knowledge Graph consumer.",
6
+ "type": "object",
7
+ "required": [
8
+ "schemaVersion",
9
+ "type",
10
+ "workspaceId",
11
+ "sessionId",
12
+ "generation",
13
+ "revision",
14
+ "modelHash",
15
+ "graphHash",
16
+ "generatedAt",
17
+ "causationId",
18
+ "correlationId",
19
+ "payload"
20
+ ],
21
+ "properties": {
22
+ "schemaVersion": { "const": "workspace-graph-stream.v1" },
23
+ "type": {
24
+ "enum": [
25
+ "graph.snapshot",
26
+ "graph.delta",
27
+ "graph.provider-progress",
28
+ "graph.quality-changed",
29
+ "graph.proof-invalidated",
30
+ "graph.resync-required",
31
+ "graph.paused",
32
+ "graph.complete",
33
+ "graph.heartbeat",
34
+ "graph.error"
35
+ ]
36
+ },
37
+ "workspaceId": { "type": "string", "minLength": 1 },
38
+ "sessionId": { "type": "string", "minLength": 1 },
39
+ "generation": { "type": "integer", "minimum": 0 },
40
+ "baseRevision": { "type": "integer", "minimum": 0 },
41
+ "baseModelHash": { "$ref": "#/$defs/hash" },
42
+ "baseGraphHash": { "$ref": "#/$defs/hash" },
43
+ "revision": { "type": "integer", "minimum": 0 },
44
+ "modelHash": { "$ref": "#/$defs/hash" },
45
+ "graphHash": { "$ref": "#/$defs/hash" },
46
+ "generatedAt": { "type": "string", "format": "date-time" },
47
+ "causationId": { "type": "string", "minLength": 1 },
48
+ "correlationId": { "type": "string", "minLength": 1 },
49
+ "payload": { "type": "object" }
50
+ },
51
+ "allOf": [
52
+ {
53
+ "if": { "properties": { "type": { "const": "graph.snapshot" } } },
54
+ "then": {
55
+ "properties": {
56
+ "payload": { "$ref": "#/$defs/snapshotPayload" },
57
+ "baseRevision": false,
58
+ "baseModelHash": false,
59
+ "baseGraphHash": false
60
+ }
61
+ }
62
+ },
63
+ {
64
+ "if": { "properties": { "type": { "const": "graph.delta" } } },
65
+ "then": {
66
+ "required": ["baseRevision", "baseModelHash", "baseGraphHash"],
67
+ "properties": { "payload": { "$ref": "#/$defs/deltaPayload" } }
68
+ }
69
+ },
70
+ {
71
+ "if": { "properties": { "type": { "const": "graph.provider-progress" } } },
72
+ "then": { "properties": { "payload": { "$ref": "#/$defs/providerProgressPayload" } } }
73
+ },
74
+ {
75
+ "if": { "properties": { "type": { "const": "graph.quality-changed" } } },
76
+ "then": { "properties": { "payload": { "$ref": "#/$defs/qualityPayload" } } }
77
+ },
78
+ {
79
+ "if": { "properties": { "type": { "const": "graph.proof-invalidated" } } },
80
+ "then": { "properties": { "payload": { "$ref": "#/$defs/proofInvalidatedPayload" } } }
81
+ },
82
+ {
83
+ "if": { "properties": { "type": { "const": "graph.resync-required" } } },
84
+ "then": { "properties": { "payload": { "$ref": "#/$defs/resyncPayload" } } }
85
+ },
86
+ {
87
+ "if": {
88
+ "properties": {
89
+ "type": { "enum": ["graph.paused", "graph.complete", "graph.heartbeat"] }
90
+ }
91
+ },
92
+ "then": { "properties": { "payload": { "$ref": "#/$defs/controlPayload" } } }
93
+ },
94
+ {
95
+ "if": { "properties": { "type": { "const": "graph.error" } } },
96
+ "then": { "properties": { "payload": { "$ref": "#/$defs/errorPayload" } } }
97
+ }
98
+ ],
99
+ "$defs": {
100
+ "hash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
101
+ "id": { "type": "string", "minLength": 1 },
102
+ "snapshotPayload": {
103
+ "type": "object",
104
+ "required": ["graph"],
105
+ "properties": {
106
+ "graph": { "$ref": "workspace-knowledge-graph.v1.json" },
107
+ "reason": { "enum": ["initial", "refresh", "recovery", "schema-transition"] }
108
+ },
109
+ "additionalProperties": false
110
+ },
111
+ "deltaPayload": {
112
+ "type": "object",
113
+ "required": [
114
+ "entitiesAdded",
115
+ "entitiesUpdated",
116
+ "entitiesRemoved",
117
+ "relationsAdded",
118
+ "relationsUpdated",
119
+ "relationsRemoved",
120
+ "proofsAdded",
121
+ "proofsUpdated",
122
+ "proofsRemoved",
123
+ "providersUpdated",
124
+ "diagnostics"
125
+ ],
126
+ "properties": {
127
+ "entitiesAdded": {
128
+ "type": "array",
129
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/entities/items" }
130
+ },
131
+ "entitiesUpdated": {
132
+ "type": "array",
133
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/entities/items" }
134
+ },
135
+ "entitiesRemoved": {
136
+ "type": "array",
137
+ "items": { "$ref": "#/$defs/id" },
138
+ "uniqueItems": true
139
+ },
140
+ "relationsAdded": {
141
+ "type": "array",
142
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/relations/items" }
143
+ },
144
+ "relationsUpdated": {
145
+ "type": "array",
146
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/relations/items" }
147
+ },
148
+ "relationsRemoved": {
149
+ "type": "array",
150
+ "items": { "$ref": "#/$defs/id" },
151
+ "uniqueItems": true
152
+ },
153
+ "proofsAdded": {
154
+ "type": "array",
155
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/proofs/items" }
156
+ },
157
+ "proofsUpdated": {
158
+ "type": "array",
159
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/proofs/items" }
160
+ },
161
+ "proofsRemoved": {
162
+ "type": "array",
163
+ "items": { "$ref": "#/$defs/id" },
164
+ "uniqueItems": true
165
+ },
166
+ "providersUpdated": {
167
+ "type": "array",
168
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/providers/items" }
169
+ },
170
+ "quality": {
171
+ "oneOf": [
172
+ { "type": "null" },
173
+ { "$ref": "workspace-knowledge-graph.v1.json#/properties/quality" }
174
+ ]
175
+ },
176
+ "diagnostics": {
177
+ "type": "array",
178
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/diagnostics/items" }
179
+ }
180
+ },
181
+ "additionalProperties": false
182
+ },
183
+ "providerProgressPayload": {
184
+ "type": "object",
185
+ "required": ["providerId", "status"],
186
+ "properties": {
187
+ "providerId": { "$ref": "#/$defs/id" },
188
+ "status": { "enum": ["queued", "running", "passed", "partial", "skipped", "failed"] },
189
+ "completed": { "type": "integer", "minimum": 0 },
190
+ "total": { "type": "integer", "minimum": 0 },
191
+ "message": { "type": "string" }
192
+ },
193
+ "additionalProperties": false
194
+ },
195
+ "qualityPayload": {
196
+ "type": "object",
197
+ "required": ["quality"],
198
+ "properties": {
199
+ "quality": { "$ref": "workspace-knowledge-graph.v1.json#/properties/quality" },
200
+ "diagnostics": {
201
+ "type": "array",
202
+ "items": { "$ref": "workspace-knowledge-graph.v1.json#/properties/diagnostics/items" }
203
+ }
204
+ },
205
+ "additionalProperties": false
206
+ },
207
+ "proofInvalidatedPayload": {
208
+ "type": "object",
209
+ "required": ["proofIds", "reason"],
210
+ "properties": {
211
+ "proofIds": {
212
+ "type": "array",
213
+ "items": { "$ref": "#/$defs/id" },
214
+ "minItems": 1,
215
+ "uniqueItems": true
216
+ },
217
+ "reason": { "type": "string", "minLength": 1 },
218
+ "entityIds": { "type": "array", "items": { "$ref": "#/$defs/id" }, "uniqueItems": true },
219
+ "relationIds": { "type": "array", "items": { "$ref": "#/$defs/id" }, "uniqueItems": true }
220
+ },
221
+ "additionalProperties": false
222
+ },
223
+ "resyncPayload": {
224
+ "type": "object",
225
+ "required": ["reason"],
226
+ "properties": {
227
+ "reason": {
228
+ "enum": [
229
+ "revision-gap",
230
+ "identity-mismatch",
231
+ "generation-regression",
232
+ "schema-unsupported",
233
+ "hash-discontinuity",
234
+ "validation-failed",
235
+ "queue-overflow"
236
+ ]
237
+ },
238
+ "expectedRevision": { "type": "integer", "minimum": 0 },
239
+ "receivedBaseRevision": { "type": "integer", "minimum": 0 },
240
+ "message": { "type": "string" }
241
+ },
242
+ "additionalProperties": false
243
+ },
244
+ "controlPayload": {
245
+ "type": "object",
246
+ "properties": { "reason": { "type": "string" }, "message": { "type": "string" } },
247
+ "additionalProperties": false
248
+ },
249
+ "errorPayload": {
250
+ "type": "object",
251
+ "required": ["code", "message", "recoverable"],
252
+ "properties": {
253
+ "code": { "type": "string", "minLength": 1 },
254
+ "message": { "type": "string", "minLength": 1 },
255
+ "recoverable": { "type": "boolean" },
256
+ "providerId": { "type": "string" }
257
+ },
258
+ "additionalProperties": false
259
+ }
260
+ },
261
+ "additionalProperties": false
262
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-graph-token-efficiency.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-graph-token-efficiency.v1.json",
4
4
  "title": "Workspai Graph Retrieval Token-Efficiency Report",
5
5
  "description": "A reproducible character-based estimate comparing readable proof-source text with one bounded graph retrieval payload. It is not an answer-quality or billing claim.",
6
6
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-impact.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-impact.v1.json",
4
4
  "title": "Workspai Workspace Impact",
5
5
  "type": "object",
6
6
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-intelligence-evaluation-comparison.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-intelligence-evaluation-comparison.v1.json",
4
4
  "title": "Workspai Workspace Intelligence Evaluation Comparison",
5
5
  "description": "A task-aligned comparison between two provenance-aware Workspace Intelligence evaluation runs.",
6
6
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-intelligence-evaluation.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-intelligence-evaluation.v1.json",
4
4
  "title": "Workspai Workspace Intelligence Evaluation",
5
5
  "description": "A live or finalized, provenance-aware measurement of model usage, agent activity, and verified task outcome.",
6
6
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-intelligence-history.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-intelligence-history.v1.json",
4
4
  "title": "Workspai Workspace Intelligence History",
5
5
  "type": "object",
6
6
  "required": ["schemaVersion", "retention", "entries"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://rapidkit.dev/contracts/workspace-intelligence/workspace-intelligence-run.v1.json",
4
- "title": "Workspace Intelligence Run",
3
+ "$id": "https://workspai.dev/contracts/workspace-intelligence/workspace-intelligence-run.v1.json",
4
+ "title": "Workspai Workspace Intelligence Run",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
7
7
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-knowledge-graph-change-overlay.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json",
4
4
  "title": "Workspai Workspace Knowledge Graph Change Overlay",
5
5
  "description": "Portable graph-to-graph entity and relation changes with bounded impact and proof artifact projection.",
6
6
  "type": "object",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-knowledge-graph.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-knowledge-graph.v1.json",
4
4
  "title": "Workspai Evidence-backed Workspace Knowledge Graph",
5
- "description": "Portable, provider-neutral workspace entities, relations and proof paths with the canonical project dependency topology embedded as a projection.",
5
+ "description": "Portable, provider-neutral workspace entities, relations and proof paths derived from and structurally bound to the canonical Workspace Model. The embedded project topology is the model's graph projection.",
6
6
  "type": "object",
7
7
  "required": [
8
8
  "schemaVersion",
@@ -24,10 +24,20 @@
24
24
  "type": "object",
25
25
  "required": ["kind", "artifact", "hashAlgorithm", "hash"],
26
26
  "properties": {
27
- "kind": { "enum": ["workspace-model", "workspace-contract", "workspace-sources"] },
28
- "artifact": { "type": "string", "minLength": 1 },
27
+ "kind": {
28
+ "const": "workspace-model",
29
+ "description": "The canonical Workspace Model is the sole source-of-truth authority for an integrated CLI knowledge graph."
30
+ },
31
+ "artifact": {
32
+ "const": ".workspai/reports/workspace-model.json",
33
+ "description": "Canonical model artifact whose stable structural projection is identified by source.hash."
34
+ },
29
35
  "hashAlgorithm": { "const": "sha256" },
30
- "hash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
36
+ "hash": {
37
+ "type": "string",
38
+ "pattern": "^[a-f0-9]{64}$",
39
+ "description": "SHA-256 of the stable structural Workspace Model projection. Volatile timestamps, run correlation, live evidence and freshness fields are intentionally excluded."
40
+ }
31
41
  },
32
42
  "additionalProperties": false
33
43
  },
@@ -234,6 +244,22 @@
234
244
  "providerSuccessRatio": { "type": "number", "minimum": 0, "maximum": 1 },
235
245
  "conflictCount": { "type": "integer", "minimum": 0 },
236
246
  "unknownCount": { "type": "integer", "minimum": 0 },
247
+ "bindingCoverage": {
248
+ "type": "object",
249
+ "required": [
250
+ "apiImplementation",
251
+ "projectTests",
252
+ "projectDeployment",
253
+ "projectOwnership"
254
+ ],
255
+ "properties": {
256
+ "apiImplementation": { "$ref": "#/$defs/bindingCoverage" },
257
+ "projectTests": { "$ref": "#/$defs/bindingCoverage" },
258
+ "projectDeployment": { "$ref": "#/$defs/bindingCoverage" },
259
+ "projectOwnership": { "$ref": "#/$defs/bindingCoverage" }
260
+ },
261
+ "additionalProperties": false
262
+ },
237
263
  "portable": { "const": true },
238
264
  "secretValuesEmitted": { "const": false }
239
265
  },
@@ -256,5 +282,22 @@
256
282
  }
257
283
  }
258
284
  },
285
+ "$defs": {
286
+ "bindingCoverage": {
287
+ "type": "object",
288
+ "required": ["eligibleCount", "boundCount", "unknownCount", "coverageRatio"],
289
+ "properties": {
290
+ "eligibleCount": { "type": "integer", "minimum": 0 },
291
+ "boundCount": { "type": "integer", "minimum": 0 },
292
+ "unknownCount": { "type": "integer", "minimum": 0 },
293
+ "coverageRatio": {
294
+ "type": ["number", "null"],
295
+ "minimum": 0,
296
+ "maximum": 1
297
+ }
298
+ },
299
+ "additionalProperties": false
300
+ }
301
+ },
259
302
  "additionalProperties": false
260
303
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-knowledge-search.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-knowledge-search.v1.json",
4
4
  "title": "Workspai Bounded Knowledge Graph Search",
5
5
  "description": "A deterministic, bounded, proof-carrying retrieval projection intended for agents, MCP clients, IDEs, and CI consumers.",
6
6
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-model-diff.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-model-diff.v1.json",
4
4
  "title": "Workspai Workspace Model Diff",
5
5
  "type": "object",
6
6
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-model-snapshot.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-model-snapshot.v1.json",
4
4
  "title": "Workspai Workspace Model Snapshot",
5
5
  "type": "object",
6
6
  "required": ["schemaVersion", "generatedAt", "modelHash", "modelRef", "model"],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-model.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-model.v1.json",
4
4
  "title": "Workspai Workspace Intelligence Model",
5
5
  "type": "object",
6
6
  "required": [
@@ -34,7 +34,46 @@
34
34
  },
35
35
  "additionalProperties": true
36
36
  },
37
- "identity": { "type": "object", "additionalProperties": true },
37
+ "identity": {
38
+ "type": "object",
39
+ "properties": {
40
+ "surfaces": {
41
+ "type": "array",
42
+ "items": {
43
+ "enum": [
44
+ "backend",
45
+ "frontend",
46
+ "desktop",
47
+ "extension",
48
+ "service",
49
+ "worker",
50
+ "library",
51
+ "infra",
52
+ "docs",
53
+ "test-suite",
54
+ "unknown"
55
+ ]
56
+ }
57
+ },
58
+ "categories": {
59
+ "type": "array",
60
+ "items": {
61
+ "enum": [
62
+ "backend",
63
+ "frontend",
64
+ "desktop",
65
+ "extension",
66
+ "library",
67
+ "infrastructure",
68
+ "documentation",
69
+ "quality",
70
+ "unknown"
71
+ ]
72
+ }
73
+ }
74
+ },
75
+ "additionalProperties": true
76
+ },
38
77
  "summary": { "type": "object", "additionalProperties": true },
39
78
  "factFreshness": { "$ref": "#/$defs/factFreshnessSummary" },
40
79
  "facts": {
@@ -43,20 +82,73 @@
43
82
  },
44
83
  "projects": {
45
84
  "type": "array",
46
- "items": { "type": "object", "additionalProperties": true }
85
+ "items": {
86
+ "type": "object",
87
+ "properties": {
88
+ "kind": {
89
+ "enum": [
90
+ "backend",
91
+ "frontend",
92
+ "desktop",
93
+ "extension",
94
+ "worker",
95
+ "library",
96
+ "infra",
97
+ "docs",
98
+ "test-suite",
99
+ "unknown"
100
+ ]
101
+ },
102
+ "category": {
103
+ "enum": [
104
+ "backend",
105
+ "frontend",
106
+ "desktop",
107
+ "extension",
108
+ "library",
109
+ "infrastructure",
110
+ "documentation",
111
+ "quality",
112
+ "unknown"
113
+ ]
114
+ }
115
+ },
116
+ "additionalProperties": true
117
+ }
47
118
  },
48
119
  "contracts": { "type": "object", "additionalProperties": true },
120
+ "projectTopology": {
121
+ "type": "object",
122
+ "description": "Canonical compact project dependency topology (workspace-dependency-graph.v1).",
123
+ "additionalProperties": true
124
+ },
49
125
  "graph": {
50
126
  "type": "object",
51
- "description": "First-class inferred dependency graph (workspace-dependency-graph.v1). Additive/optional.",
127
+ "deprecated": true,
128
+ "description": "Deprecated compatibility alias for projectTopology. Producers must emit identical content during the v1 migration window.",
52
129
  "additionalProperties": true
53
130
  },
54
131
  "evidence": { "type": "object", "additionalProperties": true },
55
132
  "discovery": { "type": "object", "additionalProperties": true },
56
133
  "policies": { "type": "object", "additionalProperties": true },
57
- "validation": { "type": "object", "additionalProperties": true }
134
+ "validation": { "type": "object", "additionalProperties": true },
135
+ "build": { "$ref": "#/$defs/buildProvenance" }
58
136
  },
59
137
  "$defs": {
138
+ "buildProvenance": {
139
+ "type": "object",
140
+ "description": "Non-structural provenance for the model command execution. It is excluded from the canonical workspace-model hash.",
141
+ "required": ["schemaVersion", "mode", "outcome", "engineStatus"],
142
+ "properties": {
143
+ "schemaVersion": { "const": "workspace-model-build.v1" },
144
+ "mode": { "enum": ["full", "cache", "incremental"] },
145
+ "outcome": { "enum": ["rebuilt", "partially-reused", "reused"] },
146
+ "engineStatus": {
147
+ "enum": ["disabled", "miss", "hit", "full", "incremental", "unchanged"]
148
+ }
149
+ },
150
+ "additionalProperties": false
151
+ },
60
152
  "factFreshness": {
61
153
  "type": "object",
62
154
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-operational-skill.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-operational-skill.v1.json",
4
4
  "title": "Workspai Workspace Operational Skill",
5
5
  "type": "object",
6
6
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-skills-index.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-skills-index.v1.json",
4
4
  "title": "Workspai Workspace Skills Index",
5
5
  "type": "object",
6
6
  "required": ["schemaVersion", "generatedAt", "inputsHash", "skills"],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/workspace-verify.v1.json",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/workspace-verify.v1.json",
4
4
  "title": "Workspai Workspace Verify Last Run",
5
5
  "type": "object",
6
6
  "required": [