workspai 0.49.0 → 0.51.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 (257) hide show
  1. package/README.md +123 -434
  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 +80 -0
  8. package/contracts/compatibility-matrix.v1.json +2 -0
  9. package/contracts/create-planner-capabilities.v1.json +153 -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 +10 -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 +45 -0
  30. package/contracts/release-readiness.v1.json +2 -2
  31. package/contracts/runtime-command-surface.v1.json +1456 -139
  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 +1 -1
  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-4H33PAUB.js +1 -0
  81. package/dist/{artifact-remediation-plan-SPOUHMK5.js → artifact-remediation-plan-TQ6KTTXD.js} +1 -1
  82. package/dist/autopilot-release-BHZYM5KX.js +1 -0
  83. package/dist/chunk-2D4UOYOJ.js +1 -0
  84. package/dist/chunk-2OIBHUVH.js +1 -0
  85. package/dist/chunk-3D2PAIRH.js +3 -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-4WJC5QCD.js +2 -0
  89. package/dist/chunk-6HLPTJZ3.js +13 -0
  90. package/dist/{chunk-CV5HKU4P.js → chunk-7T4TSV5C.js} +1 -1
  91. package/dist/chunk-AFIFZTOY.js +2 -0
  92. package/dist/{chunk-BMWFQXGW.js → chunk-AHLMIL2T.js} +1 -1
  93. package/dist/chunk-AL237TSJ.js +7 -0
  94. package/dist/chunk-BBGNDMRU.js +2 -0
  95. package/dist/chunk-BG4FWJJ3.js +1 -0
  96. package/dist/{chunk-VU7NZHPM.js → chunk-BHYTI3RH.js} +1 -1
  97. package/dist/chunk-BYTFXQ6G.js +1 -0
  98. package/dist/chunk-CZC5P2MF.js +1 -0
  99. package/dist/chunk-DLM6C7FU.js +8 -0
  100. package/dist/{chunk-CRHYBQI3.js → chunk-DQ3PI7EP.js} +1 -1
  101. package/dist/chunk-E3CT7TYT.js +1 -0
  102. package/dist/chunk-EPVFKJF4.js +1 -0
  103. package/dist/chunk-EWZZUQBR.js +1 -0
  104. package/dist/chunk-FKWB66NQ.js +4 -0
  105. package/dist/{chunk-BGPXQQNY.js → chunk-FZ76CF2W.js} +1 -1
  106. package/dist/chunk-GBAO4GSW.js +2 -0
  107. package/dist/chunk-GQRWRHSR.js +86 -0
  108. package/dist/{chunk-ESLPI3XZ.js → chunk-HE4PUMU4.js} +1 -1
  109. package/dist/chunk-HMGPELXS.js +1 -0
  110. package/dist/chunk-HSZCINFX.js +2 -0
  111. package/dist/{chunk-3VFA7D5T.js → chunk-IND3TUVU.js} +1 -1
  112. package/dist/{chunk-NHN4QXPP.js → chunk-KVSYBHUR.js} +1 -1
  113. package/dist/chunk-L2E2Z4OE.js +5 -0
  114. package/dist/chunk-MAF3LLGK.js +691 -0
  115. package/dist/chunk-MOSXTVPU.js +1 -0
  116. package/dist/chunk-MVLIONQD.js +1 -0
  117. package/dist/chunk-PS5F4DCT.js +1 -0
  118. package/dist/{chunk-K4X3DM7R.js → chunk-Q6TKQVKQ.js} +1 -1
  119. package/dist/chunk-RJIYCDVC.js +1 -0
  120. package/dist/chunk-RVQLMTTI.js +2 -0
  121. package/dist/chunk-SHXJ2GDR.js +75 -0
  122. package/dist/chunk-TDTCMZK7.js +10 -0
  123. package/dist/chunk-TROHVI2V.js +2 -0
  124. package/dist/chunk-U2LR73E2.js +1 -0
  125. package/dist/chunk-U2QL5733.js +36 -0
  126. package/dist/{chunk-TIE2XMGH.js → chunk-VCW5HSPC.js} +12 -12
  127. package/dist/chunk-VRW6KXNK.js +6 -0
  128. package/dist/chunk-VU2BKKMB.js +1 -0
  129. package/dist/chunk-WJVB6SSD.js +16 -0
  130. package/dist/{chunk-32OJDBIG.js → chunk-XBM2P45G.js} +2 -2
  131. package/dist/chunk-Y5YAP4F3.js +2 -0
  132. package/dist/{create-S64IWHAP.js → create-SBFBFXKN.js} +1 -1
  133. package/dist/{demo-kit-DZ7TPG7K.js → demo-kit-KHH63TNA.js} +2 -2
  134. package/dist/{doctor-4NNUDNGZ.js → doctor-OPCMTBJB.js} +1 -1
  135. package/dist/{dotnet-webapi-clean-A6MVDYXX.js → dotnet-webapi-clean-VXEF4SHM.js} +5 -5
  136. package/dist/{gofiber-standard-I5YPQG5V.js → gofiber-standard-AQGSC7ON.js} +3 -3
  137. package/dist/{gogin-standard-VY2L4QT5.js → gogin-standard-7DU3OCBX.js} +3 -3
  138. package/dist/index.d.ts +38 -6
  139. package/dist/index.js +267 -355
  140. package/dist/managed-agent-markers-COE5DJ3W.js +1 -0
  141. package/dist/pipeline-7BUXAFS2.js +5 -0
  142. package/dist/platform-capabilities-PR6YL4KC.js +1 -0
  143. package/dist/project-intelligence-lens-BKKVPCLC.js +1 -0
  144. package/dist/project-test-coverage-BALEHHTT.js +1 -0
  145. package/dist/{pythonRapidkitExec-CVCIK225.js → pythonRapidkitExec-YR7P5LWG.js} +1 -1
  146. package/dist/rust-axum-4HXDICIB.js +140 -0
  147. package/dist/{springboot-standard-55XKCBIZ.js → springboot-standard-EK6GYN5T.js} +7 -7
  148. package/dist/workspace-U6ZQLELX.js +1 -0
  149. package/dist/{workspace-agent-sync-662QHXGF.js → workspace-agent-sync-L4SY7B4Q.js} +1 -1
  150. package/dist/workspace-archive-4JNT4S7N.js +1 -0
  151. package/dist/workspace-context-KOBSLZTI.js +1 -0
  152. package/dist/workspace-contract-SOD3OOVF.js +1 -0
  153. package/dist/workspace-explain-2CTMW2YW.js +1 -0
  154. package/dist/workspace-explain-contract-H7O26QJU.js +1 -0
  155. package/dist/{workspace-feedback-SUVH2LUJ.js → workspace-feedback-ZZ4HPW2T.js} +1 -1
  156. package/dist/{workspace-foundation-WPLD7OEO.js → workspace-foundation-PUIYBQUF.js} +1 -1
  157. package/dist/workspace-graph-stream-BLKIC7VN.js +1 -0
  158. package/dist/workspace-graph-token-efficiency-5FNH4JZ5.js +1 -0
  159. package/dist/{workspace-history-BANOJRQ2.js → workspace-history-SPKNRHIX.js} +1 -1
  160. package/dist/workspace-intelligence-I3ABOH2F.js +1 -0
  161. package/dist/{workspace-intelligence-evaluation-IPH7M3WV.js → workspace-intelligence-evaluation-7CABG5Y6.js} +1 -1
  162. package/dist/workspace-intelligence-runner-Q2XSR3ZL.js +1 -0
  163. package/dist/workspace-intelligence-runtime-registry-ZZ3GRAL2.js +1 -0
  164. package/dist/{workspace-knowledge-graph-ARDC6HHG.js → workspace-knowledge-graph-5MKEI4Z5.js} +1 -1
  165. package/dist/{workspace-knowledge-graph-query-VOSPPH4W.js → workspace-knowledge-graph-query-EKHIE3E2.js} +1 -1
  166. package/dist/{workspace-marker-SMBC3Z2Q.js → workspace-marker-7NHMDIRL.js} +1 -1
  167. package/dist/workspace-mcp-serve-ETNUA72W.js +3 -0
  168. package/dist/workspace-model-HHA37SNH.js +1 -0
  169. package/dist/workspace-model-hash-ZXYPIGCW.js +1 -0
  170. package/dist/workspace-onboarding-ELHZABJE.js +1 -0
  171. package/dist/{workspace-python-engine-state-2MLKJYQG.js → workspace-python-engine-state-J4QKW55K.js} +1 -1
  172. package/dist/workspace-readme-HGGZ4AZB.js +77 -0
  173. package/dist/{workspace-registry-summary-ORDK7A36.js → workspace-registry-summary-D2QM5JF6.js} +1 -1
  174. package/dist/workspace-run-DAAZBCN7.js +1 -0
  175. package/dist/{workspace-verify-EBVL7FWT.js → workspace-verify-4WJTLXRA.js} +1 -1
  176. package/dist/workspace-watch-2PIFTQ6B.js +1 -0
  177. package/docs/GLOSSARY.md +17 -16
  178. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +8 -3
  179. package/docs/README.md +6 -3
  180. package/docs/README_CONTENT_CONTRACT.md +98 -115
  181. package/docs/ci-workflows.md +13 -4
  182. package/docs/commands-reference.md +43 -10
  183. package/docs/contracts/ARTIFACT_CATALOG.md +65 -26
  184. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
  185. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
  186. package/docs/contracts/rapidkit-cli-contracts.json +2 -2
  187. package/docs/create-planner-capabilities.md +36 -5
  188. package/docs/creating-workspaces-and-projects.md +59 -3
  189. package/docs/doctor-command.md +118 -11
  190. package/docs/from-code-to-shared-understanding.md +4 -1
  191. package/docs/graph-benchmark-methodology.md +2 -2
  192. package/docs/workspace-intelligence-evaluation.md +5 -0
  193. package/docs/workspace-knowledge-graph.md +141 -7
  194. package/docs/workspace-operations.md +149 -10
  195. package/package.json +7 -4
  196. package/scripts/enterprise-package-smoke.mjs +24 -1
  197. package/templates/kits/fastapi-ddd/README.md.j2 +1 -1
  198. package/templates/kits/fastapi-standard/README.md.j2 +1 -1
  199. package/templates/kits/nestjs-standard/Dockerfile.j2 +1 -1
  200. package/templates/kits/nestjs-standard/README.md.j2 +1 -1
  201. package/templates/kits/nestjs-standard/package.json.j2 +11 -2
  202. package/dist/analyze-EEEU3MIF.js +0 -1
  203. package/dist/autopilot-release-R4XRTWEM.js +0 -1
  204. package/dist/chunk-22DT744Z.js +0 -1
  205. package/dist/chunk-37CVKXBD.js +0 -1
  206. package/dist/chunk-3NU32T4A.js +0 -2
  207. package/dist/chunk-3ZK2GU7C.js +0 -1
  208. package/dist/chunk-4HDYADHT.js +0 -13
  209. package/dist/chunk-4KUIFXHM.js +0 -5
  210. package/dist/chunk-52PBRX7F.js +0 -1
  211. package/dist/chunk-54EP5CEV.js +0 -8
  212. package/dist/chunk-5XATWNME.js +0 -1
  213. package/dist/chunk-7YHK5NM3.js +0 -2
  214. package/dist/chunk-AFL3ACCR.js +0 -2
  215. package/dist/chunk-BFLJ2R4D.js +0 -80
  216. package/dist/chunk-E2KJ5QWY.js +0 -4
  217. package/dist/chunk-EKZLUMCS.js +0 -933
  218. package/dist/chunk-EYJ2CQSK.js +0 -1
  219. package/dist/chunk-FTY7GGXJ.js +0 -33
  220. package/dist/chunk-FXQJX34Z.js +0 -1
  221. package/dist/chunk-GSWPGELT.js +0 -2
  222. package/dist/chunk-GZTYAEWX.js +0 -1
  223. package/dist/chunk-HDXNIN4N.js +0 -1
  224. package/dist/chunk-HZDXO65G.js +0 -36
  225. package/dist/chunk-J5ENLXDF.js +0 -1
  226. package/dist/chunk-KB44JP4M.js +0 -2
  227. package/dist/chunk-LHOZXC2M.js +0 -2
  228. package/dist/chunk-MER6ZBN2.js +0 -13
  229. package/dist/chunk-NAJCUQ4X.js +0 -2
  230. package/dist/chunk-OA537ZQ5.js +0 -1
  231. package/dist/chunk-OW42TZFB.js +0 -1
  232. package/dist/chunk-P3D5YQB2.js +0 -1
  233. package/dist/chunk-PHXQR6PX.js +0 -2
  234. package/dist/chunk-PRTR2DQ2.js +0 -1
  235. package/dist/chunk-RHQW3DTP.js +0 -1
  236. package/dist/chunk-T4YR4RAI.js +0 -2
  237. package/dist/chunk-WDKNMTJQ.js +0 -1
  238. package/dist/chunk-Y45WZR5N.js +0 -5
  239. package/dist/chunk-YJZOMRAS.js +0 -1
  240. package/dist/pipeline-LHTPE3DR.js +0 -5
  241. package/dist/platform-capabilities-2B4QMZXE.js +0 -1
  242. package/dist/workspace-PJPRBUMQ.js +0 -1
  243. package/dist/workspace-archive-P76EDIUG.js +0 -10
  244. package/dist/workspace-context-23YYCUCP.js +0 -1
  245. package/dist/workspace-contract-TU2I7GC2.js +0 -1
  246. package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
  247. package/dist/workspace-explain-MWUEN643.js +0 -1
  248. package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
  249. package/dist/workspace-graph-stream-KAGGQPJT.js +0 -1
  250. package/dist/workspace-graph-token-efficiency-CFGFCJ5V.js +0 -1
  251. package/dist/workspace-intelligence-MFJE7W67.js +0 -1
  252. package/dist/workspace-intelligence-runner-OTYTHV6B.js +0 -1
  253. package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
  254. package/dist/workspace-model-7OU2M3LE.js +0 -1
  255. package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
  256. package/dist/workspace-run-QND2SIYA.js +0 -1
  257. package/dist/workspace-watch-7HWGA5TF.js +0 -1
@@ -0,0 +1,59 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/contracts/ingestion-result.v1.json",
4
+ "title": "Workspai Ingestion Result v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schemaVersion",
9
+ "status",
10
+ "plan",
11
+ "writtenFiles",
12
+ "registered",
13
+ "verified",
14
+ "warnings"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": {
18
+ "const": "workspai.ingestion-result.v1"
19
+ },
20
+ "status": {
21
+ "enum": [
22
+ "passed",
23
+ "preview",
24
+ "failed"
25
+ ]
26
+ },
27
+ "plan": {
28
+ "$ref": "https://workspai.dev/contracts/ingestion-plan.v1.json"
29
+ },
30
+ "workspacePath": {
31
+ "type": "string",
32
+ "minLength": 1
33
+ },
34
+ "projectPath": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ "writtenFiles": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ },
44
+ "uniqueItems": true
45
+ },
46
+ "registered": {
47
+ "type": "boolean"
48
+ },
49
+ "verified": {
50
+ "type": "boolean"
51
+ },
52
+ "warnings": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "string"
56
+ }
57
+ }
58
+ }
59
+ }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/mirror-ops.v1.json",
3
+ "$id": "https://workspai.dev/schemas/mirror-ops.v1.json",
4
+ "title": "Workspai Mirror Operation Evidence",
4
5
  "type": "object",
5
6
  "required": ["schemaVersion", "command", "action", "result", "timestamp", "workspacePath", "mirror"],
6
7
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/pipeline-last-run.v1.json",
4
- "title": "RapidKit Governance Pipeline Last Run",
3
+ "$id": "https://workspai.dev/schemas/pipeline-last-run.v1.json",
4
+ "title": "Workspai Governance Pipeline Last Run",
5
5
  "type": "object",
6
6
  "required": [
7
7
  "schemaVersion",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/private-product-manifest.v1.json",
4
+ "title": "Workspai Private Product Manifest",
3
5
  "type": "object",
4
6
  "required": [
5
7
  "schemaVersion",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/product-factory-plan.v1.json",
4
+ "title": "Workspai Product Factory Plan",
3
5
  "type": "object",
4
6
  "required": [
5
7
  "schemaVersion",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/project-archive.v1.json",
4
+ "title": "Workspai Project Archive Manifest",
3
5
  "type": "object",
4
6
  "required": [
5
7
  "schema",
@@ -23,10 +23,9 @@
23
23
  {
24
24
  "id": "import",
25
25
  "status": "available",
26
- "purpose": "Attach an existing project, repository folder, or imported path to a workspace inventory.",
26
+ "purpose": "Copy a local project or clone a repository into workspace-owned source.",
27
27
  "commands": [
28
- "import",
29
- "workspace import"
28
+ "import"
30
29
  ]
31
30
  }
32
31
  ],
@@ -0,0 +1,189 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/contracts/project-test-coverage.v1.json",
4
+ "title": "Workspai Project Test Coverage Evidence",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "generatedAt",
9
+ "status",
10
+ "project",
11
+ "runtime",
12
+ "runner",
13
+ "target",
14
+ "metrics",
15
+ "files",
16
+ "lowCoverageFiles",
17
+ "source",
18
+ "execution",
19
+ "diagnostics",
20
+ "artifactPaths"
21
+ ],
22
+ "properties": {
23
+ "schemaVersion": { "const": "workspai.project-test-coverage.v1" },
24
+ "generatedAt": { "type": "string", "format": "date-time" },
25
+ "status": { "enum": ["passed", "below-target", "unavailable", "failed"] },
26
+ "project": {
27
+ "type": "object",
28
+ "required": ["id", "name", "path", "workspacePath"],
29
+ "properties": {
30
+ "id": { "type": "string", "minLength": 1 },
31
+ "name": { "type": "string", "minLength": 1 },
32
+ "path": { "type": "string", "minLength": 1 },
33
+ "workspacePath": { "type": ["string", "null"] }
34
+ },
35
+ "additionalProperties": false
36
+ },
37
+ "runtime": {
38
+ "enum": [
39
+ "node",
40
+ "bun",
41
+ "deno",
42
+ "python",
43
+ "go",
44
+ "java",
45
+ "dotnet",
46
+ "rust",
47
+ "php",
48
+ "ruby",
49
+ "elixir",
50
+ "clojure",
51
+ "scala",
52
+ "kotlin",
53
+ "c",
54
+ "cpp",
55
+ "unknown"
56
+ ]
57
+ },
58
+ "runner": { "type": ["string", "null"] },
59
+ "target": {
60
+ "type": "object",
61
+ "required": ["metric", "percent"],
62
+ "properties": {
63
+ "metric": { "enum": ["lines", "branches", "functions", "statements"] },
64
+ "percent": { "type": "integer", "minimum": 0, "maximum": 100 }
65
+ },
66
+ "additionalProperties": false
67
+ },
68
+ "metrics": {
69
+ "type": "object",
70
+ "properties": {
71
+ "lines": { "$ref": "#/$defs/metric" },
72
+ "branches": { "$ref": "#/$defs/metric" },
73
+ "functions": { "$ref": "#/$defs/metric" },
74
+ "statements": { "$ref": "#/$defs/metric" }
75
+ },
76
+ "additionalProperties": false
77
+ },
78
+ "files": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "object",
82
+ "required": ["path", "metrics"],
83
+ "properties": {
84
+ "path": { "type": "string", "minLength": 1 },
85
+ "metrics": {
86
+ "type": "object",
87
+ "properties": {
88
+ "lines": { "$ref": "#/$defs/metric" },
89
+ "branches": { "$ref": "#/$defs/metric" },
90
+ "functions": { "$ref": "#/$defs/metric" },
91
+ "statements": { "$ref": "#/$defs/metric" }
92
+ },
93
+ "additionalProperties": false
94
+ }
95
+ },
96
+ "additionalProperties": false
97
+ }
98
+ },
99
+ "lowCoverageFiles": {
100
+ "type": "array",
101
+ "items": {
102
+ "type": "object",
103
+ "required": ["path", "percent", "uncovered"],
104
+ "properties": {
105
+ "path": { "type": "string", "minLength": 1 },
106
+ "percent": { "type": ["number", "null"], "minimum": 0, "maximum": 100 },
107
+ "uncovered": { "type": "integer", "minimum": 0 }
108
+ },
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "source": {
113
+ "type": "object",
114
+ "required": ["format", "path", "sha256"],
115
+ "properties": {
116
+ "format": {
117
+ "enum": [
118
+ "istanbul-json",
119
+ "coverage-py-json",
120
+ "lcov",
121
+ "go-coverprofile",
122
+ "jacoco-xml",
123
+ "cobertura-xml",
124
+ "clover-xml",
125
+ "scoverage-xml",
126
+ "simplecov-json",
127
+ "llvm-cov-json",
128
+ "unknown"
129
+ ]
130
+ },
131
+ "path": { "type": ["string", "null"] },
132
+ "sha256": { "type": ["string", "null"], "pattern": "^[a-f0-9]{64}$" }
133
+ },
134
+ "additionalProperties": false
135
+ },
136
+ "execution": {
137
+ "type": "object",
138
+ "required": ["requested", "invocations", "exitCodes", "durationMs"],
139
+ "properties": {
140
+ "requested": { "type": "boolean" },
141
+ "invocations": {
142
+ "type": "array",
143
+ "items": { "$ref": "#/$defs/invocation" }
144
+ },
145
+ "exitCodes": {
146
+ "type": "array",
147
+ "items": { "type": "integer", "minimum": 0 }
148
+ },
149
+ "durationMs": { "type": "integer", "minimum": 0 }
150
+ },
151
+ "additionalProperties": false
152
+ },
153
+ "diagnostics": { "type": "array", "items": { "type": "string" } },
154
+ "artifactPaths": {
155
+ "type": "object",
156
+ "required": ["project", "workspaceLatest", "workspaceProject"],
157
+ "properties": {
158
+ "project": { "type": "string", "minLength": 1 },
159
+ "workspaceLatest": { "type": ["string", "null"] },
160
+ "workspaceProject": { "type": ["string", "null"] }
161
+ },
162
+ "additionalProperties": false
163
+ }
164
+ },
165
+ "$defs": {
166
+ "metric": {
167
+ "type": "object",
168
+ "required": ["total", "covered", "skipped", "percent"],
169
+ "properties": {
170
+ "total": { "type": "integer", "minimum": 0 },
171
+ "covered": { "type": "integer", "minimum": 0 },
172
+ "skipped": { "type": "integer", "minimum": 0 },
173
+ "percent": { "type": ["number", "null"], "minimum": 0, "maximum": 100 }
174
+ },
175
+ "additionalProperties": false
176
+ },
177
+ "invocation": {
178
+ "type": "object",
179
+ "required": ["cwd", "executable", "args"],
180
+ "properties": {
181
+ "cwd": { "type": "string", "minLength": 1 },
182
+ "executable": { "type": "string", "minLength": 1 },
183
+ "args": { "type": "array", "items": { "type": "string" } }
184
+ },
185
+ "additionalProperties": false
186
+ }
187
+ },
188
+ "additionalProperties": false
189
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/project-workspace-link.v1.json",
4
+ "title": "Workspai Project Workspace Link",
5
+ "description": "Machine-local, gitignored binding from a Workspai project to its canonical workspace. Absolute paths are permitted only in this local contract.",
6
+ "type": "object",
7
+ "required": [
8
+ "schemaVersion",
9
+ "kind",
10
+ "generatedAt",
11
+ "state",
12
+ "workspace",
13
+ "project",
14
+ "integrity"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": { "const": "project-workspace-link.v1" },
18
+ "kind": { "const": "workspai.project-workspace-link" },
19
+ "generatedAt": { "type": "string", "format": "date-time" },
20
+ "state": { "const": "active" },
21
+ "workspace": {
22
+ "type": "object",
23
+ "required": ["name", "root", "marker", "contract"],
24
+ "properties": {
25
+ "name": { "type": "string", "minLength": 1 },
26
+ "root": {
27
+ "type": "string",
28
+ "minLength": 1,
29
+ "pattern": "^(?:/|[A-Za-z]:[\\\\/])",
30
+ "description": "Machine-local absolute workspace path. This file must remain gitignored."
31
+ },
32
+ "marker": {
33
+ "enum": [".workspai-workspace", ".workspai/workspace.json"]
34
+ },
35
+ "contract": { "const": ".workspai/workspace.contract.json" }
36
+ },
37
+ "additionalProperties": false
38
+ },
39
+ "project": {
40
+ "type": "object",
41
+ "required": ["name", "relativePath", "relationship"],
42
+ "properties": {
43
+ "name": { "type": "string", "minLength": 1 },
44
+ "relativePath": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "not": { "pattern": "(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$)|^(?:/|[A-Za-z]:[\\\\/])" }
48
+ },
49
+ "relationship": {
50
+ "enum": ["managed", "adopted", "imported", "linked", "restored"]
51
+ }
52
+ },
53
+ "additionalProperties": false
54
+ },
55
+ "integrity": {
56
+ "type": "object",
57
+ "required": ["algorithm", "binding"],
58
+ "properties": {
59
+ "algorithm": { "const": "sha256" },
60
+ "binding": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
61
+ },
62
+ "additionalProperties": false
63
+ }
64
+ },
65
+ "additionalProperties": false
66
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/project-workspace-resolution.v1.json",
4
+ "title": "Workspai Project Workspace Resolution",
5
+ "description": "Machine-readable result of resolving or repairing a project's canonical Workspai workspace binding.",
6
+ "type": "object",
7
+ "required": [
8
+ "schemaVersion",
9
+ "status",
10
+ "workspacePath",
11
+ "projectPath",
12
+ "source",
13
+ "recovered",
14
+ "linkPath",
15
+ "nextCommand"
16
+ ],
17
+ "properties": {
18
+ "schemaVersion": { "const": "project-workspace-resolution.v1" },
19
+ "status": { "const": "resolved" },
20
+ "workspacePath": { "type": "string", "minLength": 1 },
21
+ "projectPath": { "type": "string", "minLength": 1 },
22
+ "source": { "enum": ["explicit", "parent", "local-link", "registry"] },
23
+ "recovered": { "type": "boolean" },
24
+ "linkPath": { "type": "string", "minLength": 1 },
25
+ "nextCommand": { "type": "string", "minLength": 1 }
26
+ },
27
+ "additionalProperties": false
28
+ }
@@ -41,11 +41,56 @@
41
41
  "contractPath": "contracts/workspace-archive-operation-result.v1.json",
42
42
  "publication": "json-schema"
43
43
  },
44
+ "ingestionPlan": {
45
+ "schemaVersion": "workspai.ingestion-plan.v1",
46
+ "contractPath": "contracts/ingestion-plan.v1.json",
47
+ "publication": "json-schema"
48
+ },
49
+ "ingestionResult": {
50
+ "schemaVersion": "workspai.ingestion-result.v1",
51
+ "contractPath": "contracts/ingestion-result.v1.json",
52
+ "publication": "json-schema"
53
+ },
44
54
  "projectEntryCapability": {
45
55
  "schemaVersion": "workspai-project-entry-capability-v1",
46
56
  "contractPath": "contracts/project-entry-capability.v1.json",
47
57
  "publication": "json-schema"
48
58
  },
59
+ "projectWorkspaceLink": {
60
+ "schemaVersion": "project-workspace-link.v1",
61
+ "contractPath": "contracts/project-workspace-link.v1.json",
62
+ "publication": "json-schema"
63
+ },
64
+ "projectWorkspaceResolution": {
65
+ "schemaVersion": "project-workspace-resolution.v1",
66
+ "contractPath": "contracts/project-workspace-resolution.v1.json",
67
+ "publication": "json-schema"
68
+ },
69
+ "projectContextAgent": {
70
+ "schemaVersion": "project-context-agent.v1",
71
+ "contractPath": "contracts/workspace-intelligence/project-context-agent.v1.json",
72
+ "publication": "json-schema"
73
+ },
74
+ "doctorProjectEvidence": {
75
+ "schemaVersion": "doctor-project-evidence-v1",
76
+ "contractPath": "contracts/doctor-project-evidence.v1.json",
77
+ "publication": "json-schema"
78
+ },
79
+ "doctorWorkspaceEvidence": {
80
+ "schemaVersion": "doctor-workspace-evidence-v1",
81
+ "contractPath": "contracts/doctor-workspace-evidence.v1.json",
82
+ "publication": "json-schema"
83
+ },
84
+ "doctorGraphDiagnosis": {
85
+ "schemaVersion": "doctor-graph-diagnosis.v1",
86
+ "contractPath": "contracts/workspace-intelligence/doctor-graph-diagnosis.v1.json",
87
+ "publication": "json-schema"
88
+ },
89
+ "projectTestCoverage": {
90
+ "schemaVersion": "workspai.project-test-coverage.v1",
91
+ "contractPath": "contracts/project-test-coverage.v1.json",
92
+ "publication": "json-schema"
93
+ },
49
94
  "workspaceIntelligenceArchitecture": {
50
95
  "schemaVersion": "workspai-workspace-intelligence-architecture-v1",
51
96
  "contractPath": "contracts/workspace-intelligence-architecture.v1.json",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/release-readiness.v1.json",
4
- "title": "RapidKit Release Readiness Evidence",
3
+ "$id": "https://workspai.dev/schemas/release-readiness.v1.json",
4
+ "title": "Workspai Release Readiness Evidence",
5
5
  "type": "object",
6
6
  "required": [
7
7
  "schemaVersion",