workspai 0.49.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 (240) hide show
  1. package/README.md +88 -28
  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 +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 +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-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-TIE2XMGH.js → chunk-DDQ3XK3H.js} +12 -12
  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-EKZLUMCS.js → chunk-JFUD73OZ.js} +51 -51
  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-K4X3DM7R.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-S64IWHAP.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 +38 -6
  136. package/dist/index.js +267 -355
  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-WPLD7OEO.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 +8 -3
  173. package/docs/README.md +6 -3
  174. package/docs/README_CONTENT_CONTRACT.md +18 -9
  175. package/docs/commands-reference.md +39 -8
  176. package/docs/contracts/ARTIFACT_CATALOG.md +65 -26
  177. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +2 -0
  178. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +3 -3
  179. package/docs/contracts/rapidkit-cli-contracts.json +2 -2
  180. package/docs/create-planner-capabilities.md +36 -5
  181. package/docs/creating-workspaces-and-projects.md +59 -3
  182. package/docs/doctor-command.md +118 -11
  183. package/docs/from-code-to-shared-understanding.md +4 -1
  184. package/docs/graph-benchmark-methodology.md +2 -2
  185. package/docs/workspace-intelligence-evaluation.md +5 -0
  186. package/docs/workspace-knowledge-graph.md +102 -7
  187. package/docs/workspace-operations.md +146 -10
  188. package/package.json +2 -2
  189. package/scripts/enterprise-package-smoke.mjs +13 -1
  190. package/dist/analyze-EEEU3MIF.js +0 -1
  191. package/dist/autopilot-release-R4XRTWEM.js +0 -1
  192. package/dist/chunk-22DT744Z.js +0 -1
  193. package/dist/chunk-37CVKXBD.js +0 -1
  194. package/dist/chunk-3NU32T4A.js +0 -2
  195. package/dist/chunk-3ZK2GU7C.js +0 -1
  196. package/dist/chunk-4HDYADHT.js +0 -13
  197. package/dist/chunk-52PBRX7F.js +0 -1
  198. package/dist/chunk-54EP5CEV.js +0 -8
  199. package/dist/chunk-5XATWNME.js +0 -1
  200. package/dist/chunk-7YHK5NM3.js +0 -2
  201. package/dist/chunk-AFL3ACCR.js +0 -2
  202. package/dist/chunk-BFLJ2R4D.js +0 -80
  203. package/dist/chunk-E2KJ5QWY.js +0 -4
  204. package/dist/chunk-EYJ2CQSK.js +0 -1
  205. package/dist/chunk-FTY7GGXJ.js +0 -33
  206. package/dist/chunk-FXQJX34Z.js +0 -1
  207. package/dist/chunk-GSWPGELT.js +0 -2
  208. package/dist/chunk-GZTYAEWX.js +0 -1
  209. package/dist/chunk-HDXNIN4N.js +0 -1
  210. package/dist/chunk-HZDXO65G.js +0 -36
  211. package/dist/chunk-J5ENLXDF.js +0 -1
  212. package/dist/chunk-KB44JP4M.js +0 -2
  213. package/dist/chunk-LHOZXC2M.js +0 -2
  214. package/dist/chunk-MER6ZBN2.js +0 -13
  215. package/dist/chunk-NAJCUQ4X.js +0 -2
  216. package/dist/chunk-OA537ZQ5.js +0 -1
  217. package/dist/chunk-OW42TZFB.js +0 -1
  218. package/dist/chunk-P3D5YQB2.js +0 -1
  219. package/dist/chunk-PHXQR6PX.js +0 -2
  220. package/dist/chunk-PRTR2DQ2.js +0 -1
  221. package/dist/chunk-RHQW3DTP.js +0 -1
  222. package/dist/chunk-T4YR4RAI.js +0 -2
  223. package/dist/chunk-Y45WZR5N.js +0 -5
  224. package/dist/chunk-YJZOMRAS.js +0 -1
  225. package/dist/pipeline-LHTPE3DR.js +0 -5
  226. package/dist/platform-capabilities-2B4QMZXE.js +0 -1
  227. package/dist/workspace-PJPRBUMQ.js +0 -1
  228. package/dist/workspace-archive-P76EDIUG.js +0 -10
  229. package/dist/workspace-contract-TU2I7GC2.js +0 -1
  230. package/dist/workspace-dependency-graph-BP4EXYQ5.js +0 -1
  231. package/dist/workspace-explain-MWUEN643.js +0 -1
  232. package/dist/workspace-explain-contract-ZPI3JXJU.js +0 -1
  233. package/dist/workspace-graph-stream-KAGGQPJT.js +0 -1
  234. package/dist/workspace-intelligence-MFJE7W67.js +0 -1
  235. package/dist/workspace-intelligence-runner-OTYTHV6B.js +0 -1
  236. package/dist/workspace-mcp-serve-EZR6O76D.js +0 -3
  237. package/dist/workspace-model-7OU2M3LE.js +0 -1
  238. package/dist/workspace-model-hash-MHXK5MEI.js +0 -1
  239. package/dist/workspace-run-QND2SIYA.js +0 -1
  240. package/dist/workspace-watch-7HWGA5TF.js +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://getrapidkit.com/schemas/doctor-workspace-evidence.v1.json",
4
- "title": "RapidKit Doctor Workspace Evidence",
3
+ "$id": "https://workspai.dev/schemas/doctor-workspace-evidence.v1.json",
4
+ "title": "Workspai Doctor Workspace Evidence",
5
5
  "type": "object",
6
6
  "required": [
7
7
  "schemaVersion",
@@ -27,7 +27,7 @@
27
27
  "projectScanCached": { "type": "boolean" },
28
28
  "projectScanSignature": { "type": "string" },
29
29
  "cachePath": { "type": ["string", "null"] },
30
- "healthScore": { "type": "object", "additionalProperties": true },
30
+ "healthScore": { "$ref": "#/$defs/healthScore" },
31
31
  "evidenceFreshness": { "$ref": "#/$defs/evidenceFreshness" },
32
32
  "system": { "type": "object", "additionalProperties": true },
33
33
  "projects": {
@@ -42,7 +42,13 @@
42
42
  "repairCapabilities": {
43
43
  "type": "array",
44
44
  "items": { "$ref": "#/$defs/repairCapability" }
45
- }
45
+ },
46
+ "dependencyAudit": { "$ref": "#/$defs/dependencyAudit" },
47
+ "graphDiagnosis": {
48
+ "$ref": "https://workspai.dev/schemas/workspace-intelligence/doctor-graph-diagnosis.v1.json"
49
+ },
50
+ "verdict": { "enum": ["passed", "attention", "blocked"] },
51
+ "probeSummary": { "$ref": "#/$defs/probeSummary" }
46
52
  },
47
53
  "additionalProperties": true
48
54
  }
@@ -55,6 +61,9 @@
55
61
  "totalIssues": { "type": "integer", "minimum": 0 },
56
62
  "projectAdvisoryWarningProjects": { "type": "integer", "minimum": 0 },
57
63
  "projectAdvisoryWarnings": { "type": "integer", "minimum": 0 },
64
+ "verdict": { "enum": ["passed", "attention", "blocked"] },
65
+ "blockingFindings": { "type": "integer", "minimum": 0 },
66
+ "advisoryFindings": { "type": "integer", "minimum": 0 },
58
67
  "hasSystemErrors": { "type": "boolean" },
59
68
  "scopeProvenance": { "type": "object", "additionalProperties": true }
60
69
  },
@@ -69,16 +78,154 @@
69
78
  "policyProfile": { "$ref": "#/$defs/policyProfile" }
70
79
  },
71
80
  "$defs": {
72
- "freshness": {
81
+ "dependencyAudit": {
73
82
  "type": "object",
74
83
  "required": [
75
- "category",
76
- "generatedAt",
77
- "ttlSeconds",
84
+ "schemaVersion",
85
+ "runtime",
86
+ "ecosystem",
87
+ "tool",
78
88
  "status",
79
- "verifyBeforeUse",
80
- "reason"
89
+ "generatedAt",
90
+ "findingCount",
91
+ "blockingFindingCount",
92
+ "severityCounts",
93
+ "reason",
94
+ "limitations"
95
+ ],
96
+ "properties": {
97
+ "schemaVersion": { "const": "doctor-dependency-audit-v1" },
98
+ "runtime": {
99
+ "enum": [
100
+ "node",
101
+ "bun",
102
+ "deno",
103
+ "python",
104
+ "go",
105
+ "java",
106
+ "rust",
107
+ "elixir",
108
+ "clojure",
109
+ "php",
110
+ "ruby",
111
+ "dotnet",
112
+ "scala",
113
+ "kotlin",
114
+ "c",
115
+ "cpp",
116
+ "unknown"
117
+ ]
118
+ },
119
+ "ecosystem": { "type": "string", "minLength": 1 },
120
+ "tool": { "type": "string", "minLength": 1 },
121
+ "status": {
122
+ "enum": ["clean", "vulnerable", "tool-unavailable", "unsupported", "failed"]
123
+ },
124
+ "generatedAt": { "type": "string", "format": "date-time" },
125
+ "invocation": { "$ref": "#/$defs/commandInvocation" },
126
+ "exitCode": { "type": "integer" },
127
+ "findingCount": { "type": ["integer", "null"], "minimum": 0 },
128
+ "blockingFindingCount": { "type": ["integer", "null"], "minimum": 0 },
129
+ "severityCounts": {
130
+ "type": "object",
131
+ "required": ["low", "moderate", "high", "critical", "unknown"],
132
+ "properties": {
133
+ "low": { "type": "integer", "minimum": 0 },
134
+ "moderate": { "type": "integer", "minimum": 0 },
135
+ "high": { "type": "integer", "minimum": 0 },
136
+ "critical": { "type": "integer", "minimum": 0 },
137
+ "unknown": { "type": "integer", "minimum": 0 }
138
+ },
139
+ "additionalProperties": false
140
+ },
141
+ "subjects": {
142
+ "type": "array",
143
+ "items": { "$ref": "#/$defs/dependencyAuditSubject" }
144
+ },
145
+ "reason": { "type": "string", "minLength": 1 },
146
+ "limitations": { "type": "array", "items": { "type": "string" } }
147
+ },
148
+ "additionalProperties": false
149
+ },
150
+ "dependencyAuditSubject": {
151
+ "type": "object",
152
+ "required": ["name", "advisoryIds", "severities"],
153
+ "properties": {
154
+ "name": { "type": "string", "minLength": 1 },
155
+ "version": { "type": "string", "minLength": 1 },
156
+ "direct": { "type": "boolean" },
157
+ "advisoryIds": {
158
+ "type": "array",
159
+ "items": { "type": "string", "minLength": 1 },
160
+ "uniqueItems": true
161
+ },
162
+ "severities": {
163
+ "type": "array",
164
+ "items": { "enum": ["low", "moderate", "high", "critical", "unknown"] },
165
+ "uniqueItems": true
166
+ }
167
+ },
168
+ "additionalProperties": false
169
+ },
170
+ "scoreComponent": {
171
+ "type": "object",
172
+ "required": ["errors"],
173
+ "properties": {
174
+ "percent": { "type": "number", "minimum": 0, "maximum": 100 },
175
+ "total": { "type": "integer", "minimum": 0 },
176
+ "passed": { "type": "integer", "minimum": 0 },
177
+ "warnings": { "type": "integer", "minimum": 0 },
178
+ "errors": { "type": "integer", "minimum": 0 }
179
+ },
180
+ "additionalProperties": false
181
+ },
182
+ "healthScore": {
183
+ "type": "object",
184
+ "required": ["errors"],
185
+ "properties": {
186
+ "percent": { "type": "number", "minimum": 0, "maximum": 100 },
187
+ "total": { "type": "integer", "minimum": 0 },
188
+ "passed": { "type": "integer", "minimum": 0 },
189
+ "warnings": { "type": "integer", "minimum": 0 },
190
+ "errors": { "type": "integer", "minimum": 0 },
191
+ "verdict": { "enum": ["passed", "attention", "blocked"] },
192
+ "components": {
193
+ "type": "object",
194
+ "required": ["host", "projects"],
195
+ "properties": {
196
+ "host": { "$ref": "#/$defs/scoreComponent" },
197
+ "projects": { "$ref": "#/$defs/scoreComponent" }
198
+ },
199
+ "additionalProperties": false
200
+ }
201
+ },
202
+ "additionalProperties": false
203
+ },
204
+ "probeSummary": {
205
+ "type": "object",
206
+ "required": [
207
+ "total",
208
+ "passed",
209
+ "warnings",
210
+ "failed",
211
+ "blockingFindings",
212
+ "advisoryFindings",
213
+ "verdict"
81
214
  ],
215
+ "properties": {
216
+ "total": { "type": "integer", "minimum": 0 },
217
+ "passed": { "type": "integer", "minimum": 0 },
218
+ "warnings": { "type": "integer", "minimum": 0 },
219
+ "failed": { "type": "integer", "minimum": 0 },
220
+ "blockingFindings": { "type": "integer", "minimum": 0 },
221
+ "advisoryFindings": { "type": "integer", "minimum": 0 },
222
+ "verdict": { "enum": ["passed", "attention", "blocked"] }
223
+ },
224
+ "additionalProperties": false
225
+ },
226
+ "freshness": {
227
+ "type": "object",
228
+ "required": ["category", "generatedAt", "ttlSeconds", "status", "verifyBeforeUse", "reason"],
82
229
  "properties": {
83
230
  "category": { "enum": ["structure", "verification", "state"] },
84
231
  "generatedAt": { "type": "string", "format": "date-time" },
@@ -248,6 +395,11 @@
248
395
  "requiresReview": { "type": "boolean" },
249
396
  "files": { "type": "array", "items": { "type": "string" } },
250
397
  "command": { "type": "string" },
398
+ "invocation": { "$ref": "#/$defs/commandInvocation" },
399
+ "strategy": {
400
+ "type": "array",
401
+ "items": { "$ref": "#/$defs/repairStrategyStage" }
402
+ },
251
403
  "operation": { "$ref": "#/$defs/repairOperation" },
252
404
  "verifyCommand": { "type": "string" },
253
405
  "refreshCommands": { "type": "array", "items": { "type": "string" } },
@@ -256,6 +408,33 @@
256
408
  },
257
409
  "additionalProperties": true
258
410
  },
411
+ "commandInvocation": {
412
+ "type": "object",
413
+ "required": ["cwd", "executable", "args"],
414
+ "properties": {
415
+ "cwd": { "type": "string", "minLength": 1 },
416
+ "executable": { "type": "string", "minLength": 1 },
417
+ "args": { "type": "array", "items": { "type": "string" } }
418
+ },
419
+ "additionalProperties": false
420
+ },
421
+ "repairStrategyStage": {
422
+ "type": "object",
423
+ "required": ["id", "kind", "description", "risk", "continueWhen"],
424
+ "properties": {
425
+ "id": { "type": "string", "minLength": 1 },
426
+ "kind": {
427
+ "enum": ["diagnose", "safe-fix", "targeted-upgrade", "verify", "exception-review"]
428
+ },
429
+ "description": { "type": "string", "minLength": 1 },
430
+ "risk": { "enum": ["safe", "guarded", "invasive"] },
431
+ "invocation": { "$ref": "#/$defs/commandInvocation" },
432
+ "continueWhen": {
433
+ "enum": ["always", "previous-passed", "blocker-remains", "manual-decision"]
434
+ }
435
+ },
436
+ "additionalProperties": false
437
+ },
259
438
  "repairOperation": {
260
439
  "type": "object",
261
440
  "required": ["type", "path"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "rapidkit-extension-cli-compatibility.v1",
3
3
  "cli": "workspai",
4
- "minimumVerifiedCliVersion": "0.49.0",
4
+ "minimumVerifiedCliVersion": "0.50.0",
5
5
  "publishedContractSchemas": {
6
6
  "workspaceContract": 1,
7
7
  "runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
@@ -11,7 +11,16 @@
11
11
  "workspaceArchiveCapabilities": "workspai-workspace-archive-capabilities-v1",
12
12
  "workspaceArchiveManifest": "workspai-workspace-archive-manifest-v1",
13
13
  "workspaceArchiveOperationResult": "workspai-workspace-archive-operation-result-v1",
14
+ "ingestionPlan": "workspai.ingestion-plan.v1",
15
+ "ingestionResult": "workspai.ingestion-result.v1",
14
16
  "projectEntryCapability": "workspai-project-entry-capability-v1",
17
+ "projectWorkspaceLink": "project-workspace-link.v1",
18
+ "projectWorkspaceResolution": "project-workspace-resolution.v1",
19
+ "projectContextAgent": "project-context-agent.v1",
20
+ "doctorProjectEvidence": "doctor-project-evidence-v1",
21
+ "doctorWorkspaceEvidence": "doctor-workspace-evidence-v1",
22
+ "doctorGraphDiagnosis": "doctor-graph-diagnosis.v1",
23
+ "projectTestCoverage": "workspai.project-test-coverage.v1",
15
24
  "workspaceIntelligenceArchitecture": "workspai-workspace-intelligence-architecture-v1",
16
25
  "workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
17
26
  "workspaceIntelligenceArtifacts": {
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/infra-plan.v1.json",
4
+ "title": "Workspai Infrastructure Plan",
3
5
  "type": "object",
4
6
  "required": [
5
7
  "schemaVersion",
@@ -0,0 +1,85 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/contracts/ingestion-plan.v1.json",
4
+ "title": "Workspai Ingestion Plan v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schemaVersion",
9
+ "action",
10
+ "resourceKind",
11
+ "sourceKind",
12
+ "mode",
13
+ "ownership",
14
+ "registration",
15
+ "source"
16
+ ],
17
+ "properties": {
18
+ "schemaVersion": {
19
+ "const": "workspai.ingestion-plan.v1"
20
+ },
21
+ "action": {
22
+ "enum": [
23
+ "adopt-project",
24
+ "import-project",
25
+ "connect-workspace",
26
+ "import-workspace",
27
+ "hydrate-workspace"
28
+ ]
29
+ },
30
+ "resourceKind": {
31
+ "enum": [
32
+ "project",
33
+ "workspace"
34
+ ]
35
+ },
36
+ "sourceKind": {
37
+ "enum": [
38
+ "local-folder",
39
+ "git-url",
40
+ "archive"
41
+ ]
42
+ },
43
+ "mode": {
44
+ "enum": [
45
+ "link",
46
+ "copy",
47
+ "clone",
48
+ "hydrate"
49
+ ]
50
+ },
51
+ "ownership": {
52
+ "enum": [
53
+ "external",
54
+ "workspace-owned",
55
+ "materialized"
56
+ ]
57
+ },
58
+ "registration": {
59
+ "enum": [
60
+ "project",
61
+ "workspace",
62
+ "none"
63
+ ]
64
+ },
65
+ "source": {
66
+ "type": "string",
67
+ "minLength": 1
68
+ },
69
+ "targetWorkspace": {
70
+ "type": "string",
71
+ "minLength": 1
72
+ },
73
+ "destination": {
74
+ "type": "string",
75
+ "minLength": 1
76
+ },
77
+ "projectGrounding": {
78
+ "enum": [
79
+ "managed",
80
+ "local",
81
+ "off"
82
+ ]
83
+ }
84
+ }
85
+ }
@@ -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
  ],