workspai 0.45.0 → 0.47.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 (177) hide show
  1. package/README.md +307 -532
  2. package/contracts/agent-customization-pack.v1.json +6 -1
  3. package/contracts/bootstrap-compliance.v1.json +14 -0
  4. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +8 -0
  5. package/contracts/extension-cli-compatibility.v1.json +9 -2
  6. package/contracts/mirror-ops.v1.json +16 -0
  7. package/contracts/published-contract-catalog.v1.json +38 -1
  8. package/contracts/runtime-command-surface.v1.json +190 -7
  9. package/contracts/transparency-evidence.v1.json +13 -0
  10. package/contracts/workspace-archive-capabilities.v1.json +17 -6
  11. package/contracts/workspace-contract.v1.json +78 -0
  12. package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +4 -0
  13. package/contracts/workspace-intelligence/workspace-context.v1.json +20 -0
  14. package/contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json +72 -0
  15. package/contracts/workspace-intelligence/workspace-intelligence-run.v1.json +212 -0
  16. package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +200 -0
  17. package/contracts/workspace-intelligence/workspace-knowledge-graph.v1.json +260 -0
  18. package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +60 -0
  19. package/contracts/workspace-intelligence-architecture.v1.json +7 -4
  20. package/contracts/workspace-intelligence-chain.v1.json +51 -4
  21. package/contracts/workspace-share-bundle.v1.json +16 -0
  22. package/dist/analyze-UVXPRGYZ.js +1 -0
  23. package/dist/artifact-remediation-plan-EPALZ2LC.js +3 -0
  24. package/dist/autopilot-release-5BQ6F5L2.js +1 -0
  25. package/dist/chunk-22NJ2ZMG.js +2 -0
  26. package/dist/{chunk-XIVFLY6G.js → chunk-2GHUZDYA.js} +1 -1
  27. package/dist/chunk-2TEDAKP6.js +2 -0
  28. package/dist/chunk-52PBRX7F.js +1 -0
  29. package/dist/chunk-6SWRNA47.js +4 -0
  30. package/dist/chunk-76YOPAOT.js +1 -0
  31. package/dist/chunk-7VLCK5JW.js +1 -0
  32. package/dist/{chunk-DXPU4DDV.js → chunk-BSRVO52Y.js} +92 -78
  33. package/dist/chunk-COARSXRC.js +1 -0
  34. package/dist/chunk-CV5HKU4P.js +1 -0
  35. package/dist/chunk-CW7PGBIQ.js +13 -0
  36. package/dist/{chunk-KU4S7RCM.js → chunk-DV6GJD4K.js} +1 -1
  37. package/dist/chunk-EYJ2CQSK.js +1 -0
  38. package/dist/chunk-FB7SCXAZ.js +1 -0
  39. package/dist/chunk-FPJNWPKU.js +1 -0
  40. package/dist/{chunk-JP25YL3J.js → chunk-FTY7GGXJ.js} +2 -2
  41. package/dist/chunk-FXQJX34Z.js +1 -0
  42. package/dist/{chunk-J4AICQFB.js → chunk-HSGFUKCN.js} +1 -1
  43. package/dist/{chunk-OOOPYUL2.js → chunk-ITCAMC2E.js} +1 -1
  44. package/dist/chunk-KB44JP4M.js +2 -0
  45. package/dist/{chunk-WANW4QA4.js → chunk-KZZ36CK5.js} +1 -1
  46. package/dist/chunk-LNRAB7UY.js +1 -0
  47. package/dist/chunk-MEMHNE7Y.js +80 -0
  48. package/dist/chunk-MER6ZBN2.js +13 -0
  49. package/dist/chunk-NOFM7MNA.js +2 -0
  50. package/dist/chunk-NRYS4CLR.js +2 -0
  51. package/dist/chunk-OA537ZQ5.js +1 -0
  52. package/dist/chunk-PBHP6JNY.js +8 -0
  53. package/dist/chunk-QDWYIRHR.js +8 -0
  54. package/dist/chunk-RWRLFSKW.js +2 -0
  55. package/dist/chunk-SK6XRKGG.js +1 -0
  56. package/dist/chunk-THIOE2PB.js +2 -0
  57. package/dist/chunk-TNQI5VCW.js +36 -0
  58. package/dist/chunk-TWNFECMN.js +2 -0
  59. package/dist/{chunk-2QOWRBQD.js → chunk-U5EZHZBX.js} +1 -1
  60. package/dist/{chunk-K63BSU56.js → chunk-VBSQ7MF6.js} +62 -51
  61. package/dist/chunk-WDKNMTJQ.js +1 -0
  62. package/dist/chunk-YCL3I2JO.js +2 -0
  63. package/dist/chunk-ZDN7RHXJ.js +1 -0
  64. package/dist/chunk-ZM5NQ5Z2.js +1 -0
  65. package/dist/{create-KFR6FLRT.js → create-7JKJDAQV.js} +1 -1
  66. package/dist/doctor-PGPNIS76.js +1 -0
  67. package/dist/{dotnet-webapi-clean-BYUUHX5Y.js → dotnet-webapi-clean-6TVFBTVI.js} +20 -20
  68. package/dist/{gofiber-standard-B6UK5GR7.js → gofiber-standard-2BL7GWZB.js} +1 -1
  69. package/dist/{gogin-standard-BXU44VEM.js → gogin-standard-XGP3KBXA.js} +1 -1
  70. package/dist/index.d.ts +112 -16
  71. package/dist/index.js +198 -195
  72. package/dist/pipeline-IB6ILJSV.js +5 -0
  73. package/dist/{platform-capabilities-YICBF4FA.js → platform-capabilities-2B4QMZXE.js} +1 -1
  74. package/dist/{pythonRapidkitExec-UJYIB6FL.js → pythonRapidkitExec-CVCIK225.js} +1 -1
  75. package/dist/{springboot-standard-PEHDKH2L.js → springboot-standard-JJNUID6M.js} +6 -6
  76. package/dist/workspace-H3QXBFGB.js +1 -0
  77. package/dist/{workspace-agent-sync-G5YVI3BJ.js → workspace-agent-sync-C7SG2Z5W.js} +1 -1
  78. package/dist/workspace-archive-P76EDIUG.js +10 -0
  79. package/dist/{workspace-context-E3UFWL5X.js → workspace-context-BKQBKA4C.js} +1 -1
  80. package/dist/workspace-contract-RPQQBQXR.js +1 -0
  81. package/dist/workspace-dependency-graph-23BI2HG7.js +1 -0
  82. package/dist/workspace-explain-WVN7JH3U.js +1 -0
  83. package/dist/workspace-explain-contract-SEFTVF6J.js +1 -0
  84. package/dist/{workspace-feedback-YY6WQPWQ.js → workspace-feedback-WAID3IOE.js} +1 -1
  85. package/dist/{workspace-foundation-3C2DLCVI.js → workspace-foundation-5OOJEO2D.js} +1 -1
  86. package/dist/workspace-graph-token-efficiency-CFGFCJ5V.js +1 -0
  87. package/dist/{workspace-history-VF3CHDYQ.js → workspace-history-C6OP3IAQ.js} +1 -1
  88. package/dist/workspace-intelligence-VKDL3H2J.js +1 -0
  89. package/dist/workspace-intelligence-runner-LVALAZY7.js +1 -0
  90. package/dist/workspace-knowledge-graph-FE2NTZKV.js +1 -0
  91. package/dist/workspace-knowledge-graph-change-overlay-XG6FC4IX.js +1 -0
  92. package/dist/workspace-knowledge-graph-query-VOSPPH4W.js +1 -0
  93. package/dist/workspace-mcp-serve-KT2I676Z.js +3 -0
  94. package/dist/workspace-model-S33CIB2R.js +1 -0
  95. package/dist/workspace-model-hash-MHXK5MEI.js +1 -0
  96. package/dist/workspace-python-engine-state-2MLKJYQG.js +2 -0
  97. package/dist/workspace-registry-summary-A3YDL63D.js +1 -0
  98. package/dist/workspace-run-M4LNJILC.js +1 -0
  99. package/dist/{workspace-verify-ZNT6JX7D.js → workspace-verify-ZGH3NXAH.js} +1 -1
  100. package/dist/workspace-watch-EVBJTMV7.js +1 -0
  101. package/docs/AI_DYNAMIC_INTEGRATION.md +73 -432
  102. package/docs/AI_EXAMPLES.md +37 -395
  103. package/docs/AI_FEATURES.md +76 -465
  104. package/docs/AI_QUICKSTART.md +49 -209
  105. package/docs/DEVELOPMENT.md +5 -5
  106. package/docs/From Code to Shared Understanding.png +0 -0
  107. package/docs/GLOSSARY.md +60 -0
  108. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +91 -9
  109. package/docs/OPTIMIZATION_GUIDE.md +19 -51
  110. package/docs/PACKAGE_MANAGER_POLICY.md +4 -1
  111. package/docs/README.md +91 -42
  112. package/docs/SECURITY.md +13 -6
  113. package/docs/SETUP.md +6 -3
  114. package/docs/UTILITIES.md +8 -20
  115. package/docs/WORKSPACE_MARKER_SPEC.md +27 -20
  116. package/docs/ci-workflows.md +19 -5
  117. package/docs/commands-reference.md +88 -13
  118. package/docs/config-file-guide.md +67 -246
  119. package/docs/contracts/ARTIFACT_CATALOG.md +78 -36
  120. package/docs/contracts/CLI_LOG_EVENT_STREAM.md +1 -1
  121. package/docs/contracts/README.md +48 -9
  122. package/docs/contracts/RUNTIME_ACCEPTANCE_MATRIX.md +4 -4
  123. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +14 -10
  124. package/docs/creating-workspaces-and-projects.md +649 -0
  125. package/docs/doctor-command.md +5 -4
  126. package/docs/examples/ci-agent-grounding.yml +16 -10
  127. package/docs/from-code-to-shared-understanding.md +69 -38
  128. package/docs/graph-benchmark-methodology.md +121 -0
  129. package/docs/workspace-intelligence-runner.md +186 -0
  130. package/docs/workspace-knowledge-graph.md +295 -0
  131. package/docs/workspace-operations.md +78 -11
  132. package/docs/workspace-run.md +4 -1
  133. package/package.json +10 -8
  134. package/rapidkit.config.example.cjs +5 -5
  135. package/scripts/enforce-package-manager.cjs +1 -1
  136. package/scripts/prepack-enterprise.mjs +4 -0
  137. package/workspai.config.example.cjs +12 -47
  138. package/dist/analyze-YLV7NVLF.js +0 -1
  139. package/dist/artifact-remediation-plan-WLZGROUU.js +0 -3
  140. package/dist/autopilot-release-YBN3SWAA.js +0 -1
  141. package/dist/chunk-2K3GYCPS.js +0 -1
  142. package/dist/chunk-42G2OK64.js +0 -1
  143. package/dist/chunk-5AKYMAIL.js +0 -1
  144. package/dist/chunk-5GNT4RJI.js +0 -8
  145. package/dist/chunk-5PVEQ6CZ.js +0 -13
  146. package/dist/chunk-6AA3WWQZ.js +0 -2
  147. package/dist/chunk-6ZENXBMG.js +0 -33
  148. package/dist/chunk-7RIWU5TZ.js +0 -1
  149. package/dist/chunk-7UZVOYF5.js +0 -2
  150. package/dist/chunk-BJLE5CH7.js +0 -4
  151. package/dist/chunk-G3H5R3RR.js +0 -1
  152. package/dist/chunk-HYJK7W3B.js +0 -1
  153. package/dist/chunk-IMUU5Q2V.js +0 -13
  154. package/dist/chunk-KPPGZCUW.js +0 -78
  155. package/dist/chunk-LCRROMRR.js +0 -2
  156. package/dist/chunk-LG6RFLPZ.js +0 -1
  157. package/dist/chunk-P424XYHP.js +0 -1
  158. package/dist/chunk-P7SCWJFG.js +0 -8
  159. package/dist/chunk-QWU2CZBG.js +0 -2
  160. package/dist/chunk-V2H2KRMZ.js +0 -1
  161. package/dist/chunk-XZGVNGRB.js +0 -1
  162. package/dist/chunk-ZWO6K24C.js +0 -2
  163. package/dist/doctor-YJDM5XBH.js +0 -1
  164. package/dist/imported-projects-registry-FOIE27WT.js +0 -1
  165. package/dist/pipeline-FEDYO3IA.js +0 -5
  166. package/dist/workspace-PLXOO6ST.js +0 -1
  167. package/dist/workspace-archive-EEGLHZDW.js +0 -10
  168. package/dist/workspace-contract-LQJDZV36.js +0 -1
  169. package/dist/workspace-explain-G74ZIF23.js +0 -1
  170. package/dist/workspace-explain-contract-KT757JGQ.js +0 -1
  171. package/dist/workspace-intelligence-3GG7GEDQ.js +0 -1
  172. package/dist/workspace-mcp-serve-MJMUV4RY.js +0 -3
  173. package/dist/workspace-model-NG45SRM5.js +0 -1
  174. package/dist/workspace-python-engine-state-MTWIIZPY.js +0 -2
  175. package/dist/workspace-registry-summary-JM2XY52C.js +0 -1
  176. package/dist/workspace-run-WEQYIERE.js +0 -1
  177. package/dist/workspace-watch-W47T4RX2.js +0 -1
@@ -107,7 +107,12 @@
107
107
  },
108
108
  {
109
109
  "path": ".workspai/reports/workspace-model.json",
110
- "label": "Workspace model graph",
110
+ "label": "Workspace model",
111
+ "required": false
112
+ },
113
+ {
114
+ "path": ".workspai/reports/workspace-knowledge-graph.json",
115
+ "label": "Workspace knowledge graph",
111
116
  "required": false
112
117
  },
113
118
  {
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/bootstrap-compliance.v1.json",
4
+ "type": "object",
5
+ "required": ["schemaVersion", "command", "timestamp", "result", "checks"],
6
+ "properties": {
7
+ "schemaVersion": { "const": "bootstrap-compliance.v1" },
8
+ "command": { "const": "bootstrap" },
9
+ "timestamp": { "type": "string", "format": "date-time" },
10
+ "result": { "enum": ["ok", "ok_with_warnings", "blocked", "failed"] },
11
+ "checks": { "type": "array", "items": { "type": "object" } }
12
+ },
13
+ "additionalProperties": true
14
+ }
@@ -1200,6 +1200,10 @@
1200
1200
  "flags": "--scan-depth <count>",
1201
1201
  "attributeName": "scanDepth"
1202
1202
  },
1203
+ {
1204
+ "flags": "--limit <count>",
1205
+ "attributeName": "limit"
1206
+ },
1203
1207
  {
1204
1208
  "flags": "--cache",
1205
1209
  "attributeName": "cache"
@@ -1276,6 +1280,10 @@
1276
1280
  "flags": "--download-timeout-ms <ms>",
1277
1281
  "attributeName": "downloadTimeoutMs"
1278
1282
  },
1283
+ {
1284
+ "flags": "--allow-private-network",
1285
+ "attributeName": "allowPrivateNetwork"
1286
+ },
1279
1287
  {
1280
1288
  "flags": "--force",
1281
1289
  "attributeName": "force"
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "schemaVersion": "rapidkit-extension-cli-compatibility.v1",
3
3
  "cli": "workspai",
4
- "minimumVerifiedCliVersion": "0.45.0",
4
+ "minimumVerifiedCliVersion": "0.47.0",
5
5
  "publishedContractSchemas": {
6
+ "workspaceContract": 1,
6
7
  "runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
7
8
  "cliRuntimeCommandInventory": "workspai-cli-runtime-command-inventory-v1",
8
9
  "cliOperationResult": "workspai-cli-operation-result-v1",
@@ -15,6 +16,7 @@
15
16
  "workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
16
17
  "workspaceIntelligenceArtifacts": {
17
18
  "model": "workspace-model.v1",
19
+ "knowledgeGraph": "workspace-knowledge-graph.v1",
18
20
  "snapshot": "workspace-model-snapshot.v1",
19
21
  "diff": "workspace-model-diff.v1",
20
22
  "impact": "workspace-impact.v1",
@@ -29,7 +31,8 @@
29
31
  "agentCustomizationPack": "rapidkit-agent-customization-pack.v1",
30
32
  "skillsIndex": "workspace-skills-index.v1",
31
33
  "agents": null,
32
- "explain": "workspace-explain.v1"
34
+ "explain": "workspace-explain.v1",
35
+ "intelligenceRun": "workspace-intelligence-run.v1"
33
36
  },
34
37
  "cliLogEvent": "cli-log-event-v1",
35
38
  "freshnessMetadata": "rapidkit-freshness-metadata-v1",
@@ -40,6 +43,10 @@
40
43
  "workspaceVerify": "workspace-verify.v1",
41
44
  "workspaceContext": "workspace-context.v1",
42
45
  "workspaceDependencyGraph": "workspace-dependency-graph.v1",
46
+ "workspaceKnowledgeGraph": "workspace-knowledge-graph.v1",
47
+ "workspaceKnowledgeGraphChangeOverlay": "workspace-knowledge-graph-change-overlay.v1",
48
+ "workspaceKnowledgeSearch": "workspace-knowledge-search.v1",
49
+ "workspaceGraphTokenEfficiency": "workspace-graph-token-efficiency.v1",
43
50
  "workspaceIntelligenceHistory": "workspace-intelligence-history.v1",
44
51
  "agentCustomizationPackCapabilities": "workspai-agent-customization-pack-capabilities.v1",
45
52
  "agentCustomizationPackReport": "rapidkit-agent-customization-pack.v1",
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/mirror-ops.v1.json",
4
+ "type": "object",
5
+ "required": ["schemaVersion", "command", "action", "result", "timestamp", "workspacePath", "mirror"],
6
+ "properties": {
7
+ "schemaVersion": { "const": "mirror-ops.v1" },
8
+ "command": { "const": "mirror" },
9
+ "action": { "enum": ["status", "sync", "verify", "rotate"] },
10
+ "result": { "enum": ["ok", "failed"] },
11
+ "timestamp": { "type": "string", "format": "date-time" },
12
+ "workspacePath": { "type": "string", "minLength": 1 },
13
+ "mirror": { "type": "object" }
14
+ },
15
+ "additionalProperties": true
16
+ }
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "schemaVersion": "workspai-published-contract-catalog-v1",
3
3
  "contracts": {
4
+ "workspaceContract": {
5
+ "schemaVersion": 1,
6
+ "contractPath": "contracts/workspace-contract.v1.json",
7
+ "publication": "json-schema"
8
+ },
4
9
  "runtimeCommandSurface": {
5
10
  "schemaVersion": "rapidkit-runtime-command-surface-v1",
6
11
  "contractPath": "contracts/runtime-command-surface.v1.json",
@@ -54,6 +59,7 @@
54
59
  "workspaceIntelligenceArtifacts": {
55
60
  "schemaVersion": {
56
61
  "model": "workspace-model.v1",
62
+ "knowledgeGraph": "workspace-knowledge-graph.v1",
57
63
  "snapshot": "workspace-model-snapshot.v1",
58
64
  "diff": "workspace-model-diff.v1",
59
65
  "impact": "workspace-impact.v1",
@@ -68,7 +74,8 @@
68
74
  "agentCustomizationPack": "rapidkit-agent-customization-pack.v1",
69
75
  "skillsIndex": "workspace-skills-index.v1",
70
76
  "agents": null,
71
- "explain": "workspace-explain.v1"
77
+ "explain": "workspace-explain.v1",
78
+ "intelligenceRun": "workspace-intelligence-run.v1"
72
79
  },
73
80
  "contractPath": null,
74
81
  "publication": "embedded-type",
@@ -78,6 +85,11 @@
78
85
  "schemaVersion": "workspace-model.v1",
79
86
  "contractPath": "contracts/workspace-intelligence/workspace-model.v1.json"
80
87
  },
88
+ "knowledgeGraph": {
89
+ "path": ".workspai/reports/workspace-knowledge-graph.json",
90
+ "schemaVersion": "workspace-knowledge-graph.v1",
91
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json"
92
+ },
81
93
  "snapshot": {
82
94
  "path": ".workspai/reports/workspace-model-snapshot.json",
83
95
  "schemaVersion": "workspace-model-snapshot.v1",
@@ -152,6 +164,11 @@
152
164
  "path": ".workspai/reports/workspace-explain-last-run.json",
153
165
  "schemaVersion": "workspace-explain.v1",
154
166
  "contractPath": "contracts/workspace-intelligence/workspace-explain.v1.json"
167
+ },
168
+ "intelligenceRun": {
169
+ "path": ".workspai/reports/workspace-intelligence-run-last-run.json",
170
+ "schemaVersion": "workspace-intelligence-run.v1",
171
+ "contractPath": "contracts/workspace-intelligence/workspace-intelligence-run.v1.json"
155
172
  }
156
173
  }
157
174
  },
@@ -200,6 +217,26 @@
200
217
  "contractPath": "contracts/workspace-intelligence/workspace-dependency-graph.v1.json",
201
218
  "publication": "json-schema"
202
219
  },
220
+ "workspaceKnowledgeGraph": {
221
+ "schemaVersion": "workspace-knowledge-graph.v1",
222
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json",
223
+ "publication": "json-schema"
224
+ },
225
+ "workspaceKnowledgeGraphChangeOverlay": {
226
+ "schemaVersion": "workspace-knowledge-graph-change-overlay.v1",
227
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json",
228
+ "publication": "json-schema"
229
+ },
230
+ "workspaceKnowledgeSearch": {
231
+ "schemaVersion": "workspace-knowledge-search.v1",
232
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-search.v1.json",
233
+ "publication": "json-schema"
234
+ },
235
+ "workspaceGraphTokenEfficiency": {
236
+ "schemaVersion": "workspace-graph-token-efficiency.v1",
237
+ "contractPath": "contracts/workspace-intelligence/workspace-graph-token-efficiency.v1.json",
238
+ "publication": "json-schema"
239
+ },
203
240
  "workspaceIntelligenceHistory": {
204
241
  "schemaVersion": "workspace-intelligence-history.v1",
205
242
  "contractPath": "contracts/workspace-intelligence/workspace-intelligence-history.v1.json",
@@ -495,6 +495,22 @@
495
495
  "mirror"
496
496
  ]
497
497
  },
498
+ {
499
+ "invocation": "mirror status",
500
+ "summary": "Inspect mirror configuration, lock state, and cached artifact inventory.",
501
+ "canonicalArgv": [
502
+ "mirror",
503
+ "status"
504
+ ]
505
+ },
506
+ {
507
+ "invocation": "mirror sync",
508
+ "summary": "Synchronize governed mirror artifacts and publish integrity evidence.",
509
+ "canonicalArgv": [
510
+ "mirror",
511
+ "sync"
512
+ ]
513
+ },
498
514
  {
499
515
  "invocation": "modules",
500
516
  "summary": "List supported project modules and their runtime-specific capability state.",
@@ -619,11 +635,12 @@
619
635
  ]
620
636
  },
621
637
  {
622
- "invocation": "readiness --json",
623
- "summary": "Emit the release-readiness verdict, blockers, and evidence references as structured JSON.",
638
+ "invocation": "readiness --json --skip-verify",
639
+ "summary": "Refresh pre-verification readiness evidence without consuming a verify artifact from an earlier chain run.",
624
640
  "canonicalArgv": [
625
641
  "readiness",
626
- "--json"
642
+ "--json",
643
+ "--skip-verify"
627
644
  ]
628
645
  },
629
646
  {
@@ -743,6 +760,15 @@
743
760
  "agent-sync"
744
761
  ]
745
762
  },
763
+ {
764
+ "invocation": "workspace agent-sync --write",
765
+ "summary": "Publish the governed agent surface generation as a recoverable workspace transaction.",
766
+ "canonicalArgv": [
767
+ "workspace",
768
+ "agent-sync",
769
+ "--write"
770
+ ]
771
+ },
746
772
  {
747
773
  "invocation": "workspace agent-sync --write --json --preset enterprise",
748
774
  "summary": "Generate the enterprise agent-grounding pack, persist every governed artifact, and emit a structured result.",
@@ -791,6 +817,15 @@
791
817
  "contract"
792
818
  ]
793
819
  },
820
+ {
821
+ "invocation": "workspace contract sync",
822
+ "summary": "Reconcile discovered projects into the canonical workspace contract and registry summary.",
823
+ "canonicalArgv": [
824
+ "workspace",
825
+ "contract",
826
+ "sync"
827
+ ]
828
+ },
794
829
  {
795
830
  "invocation": "workspace contract verify --strict --json",
796
831
  "summary": "Strictly validate workspace contracts and emit a structured evidence artifact that blocks on violations.",
@@ -905,6 +940,16 @@
905
940
  "output": {
906
941
  "defaultFormat": "human-or-json",
907
942
  "modes": [
943
+ {
944
+ "selector": "search <query> --limit <count> --json",
945
+ "format": "json",
946
+ "mediaType": "application/json"
947
+ },
948
+ {
949
+ "selector": "benchmark <query> --limit <count> --json",
950
+ "format": "json",
951
+ "mediaType": "application/json"
952
+ },
908
953
  {
909
954
  "selector": "emit --json",
910
955
  "format": "json",
@@ -971,6 +1016,23 @@
971
1016
  "init"
972
1017
  ]
973
1018
  },
1019
+ {
1020
+ "invocation": "workspace intelligence",
1021
+ "summary": "Run the canonical Workspace Intelligence dependency graph as one evidence-coherent operation.",
1022
+ "canonicalArgv": [
1023
+ "workspace",
1024
+ "intelligence"
1025
+ ]
1026
+ },
1027
+ {
1028
+ "invocation": "workspace intelligence run",
1029
+ "summary": "Execute every required Workspace Intelligence stage in dependency order and persist one authoritative run result.",
1030
+ "canonicalArgv": [
1031
+ "workspace",
1032
+ "intelligence",
1033
+ "run"
1034
+ ]
1035
+ },
974
1036
  {
975
1037
  "invocation": "workspace list",
976
1038
  "summary": "List registered workspaces through the canonical workspace discovery boundary.",
@@ -1119,6 +1181,19 @@
1119
1181
  ]
1120
1182
  ]
1121
1183
  },
1184
+ {
1185
+ "artifactPath": ".workspai/reports/workspace-knowledge-graph.json",
1186
+ "schemaVersion": "workspace-knowledge-graph.v1",
1187
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json",
1188
+ "producerCommands": [
1189
+ [
1190
+ "workspace",
1191
+ "model",
1192
+ "--json",
1193
+ "--write"
1194
+ ]
1195
+ ]
1196
+ },
1122
1197
  {
1123
1198
  "artifactPath": ".workspai/reports/workspace-model-snapshot.json",
1124
1199
  "schemaVersion": "workspace-model-snapshot.v1",
@@ -1202,7 +1277,8 @@
1202
1277
  "producerCommands": [
1203
1278
  [
1204
1279
  "readiness",
1205
- "--json"
1280
+ "--json",
1281
+ "--skip-verify"
1206
1282
  ]
1207
1283
  ]
1208
1284
  },
@@ -1314,6 +1390,34 @@
1314
1390
  ]
1315
1391
  ]
1316
1392
  },
1393
+ {
1394
+ "artifactPath": ".workspai/reports/workspace-intelligence-run-last-run.json",
1395
+ "schemaVersion": "workspace-intelligence-run.v1",
1396
+ "contractPath": "contracts/workspace-intelligence/workspace-intelligence-run.v1.json",
1397
+ "producerCommands": [
1398
+ [
1399
+ "workspace",
1400
+ "intelligence",
1401
+ "run"
1402
+ ]
1403
+ ]
1404
+ },
1405
+ {
1406
+ "artifactPath": ".workspai/workspace.contract.json",
1407
+ "schemaVersion": 1,
1408
+ "contractPath": "contracts/workspace-contract.v1.json",
1409
+ "producerCommands": [
1410
+ [
1411
+ "workspace",
1412
+ "sync"
1413
+ ],
1414
+ [
1415
+ "workspace",
1416
+ "contract",
1417
+ "sync"
1418
+ ]
1419
+ ]
1420
+ },
1317
1421
  {
1318
1422
  "artifactPath": ".workspai/cache/workspace-model.v1.json",
1319
1423
  "schemaVersion": "workspace-model-cache.v1",
@@ -1336,6 +1440,70 @@
1336
1440
  ]
1337
1441
  ]
1338
1442
  },
1443
+ {
1444
+ "artifactPath": ".workspai/compatibility-matrix.json",
1445
+ "schemaVersion": "rapidkit.compatibility-matrix.v1",
1446
+ "contractPath": "contracts/compatibility-matrix.v1.json",
1447
+ "producerCommands": [
1448
+ [
1449
+ "bootstrap"
1450
+ ]
1451
+ ]
1452
+ },
1453
+ {
1454
+ "artifactPath": ".workspai/reports/doctor-workspace-cache.json",
1455
+ "schemaVersion": "doctor-workspace-cache-v2",
1456
+ "contractPath": "contracts/doctor-workspace-cache.v2.json",
1457
+ "producerCommands": [
1458
+ [
1459
+ "doctor",
1460
+ "workspace"
1461
+ ]
1462
+ ]
1463
+ },
1464
+ {
1465
+ "artifactPath": ".workspai/reports/bootstrap-compliance.latest.json",
1466
+ "schemaVersion": "bootstrap-compliance.v1",
1467
+ "contractPath": "contracts/bootstrap-compliance.v1.json",
1468
+ "producerCommands": [
1469
+ [
1470
+ "bootstrap"
1471
+ ]
1472
+ ]
1473
+ },
1474
+ {
1475
+ "artifactPath": ".workspai/reports/mirror-ops.latest.json",
1476
+ "schemaVersion": "mirror-ops.v1",
1477
+ "contractPath": "contracts/mirror-ops.v1.json",
1478
+ "producerCommands": [
1479
+ [
1480
+ "mirror",
1481
+ "status"
1482
+ ]
1483
+ ]
1484
+ },
1485
+ {
1486
+ "artifactPath": ".workspai/reports/transparency-evidence.latest.json",
1487
+ "schemaVersion": "transparency-evidence.v1",
1488
+ "contractPath": "contracts/transparency-evidence.v1.json",
1489
+ "producerCommands": [
1490
+ [
1491
+ "mirror",
1492
+ "sync"
1493
+ ]
1494
+ ]
1495
+ },
1496
+ {
1497
+ "artifactPath": ".workspai/reports/share-bundle.json",
1498
+ "schemaVersion": "1.1",
1499
+ "contractPath": "contracts/workspace-share-bundle.v1.json",
1500
+ "producerCommands": [
1501
+ [
1502
+ "workspace",
1503
+ "share"
1504
+ ]
1505
+ ]
1506
+ },
1339
1507
  {
1340
1508
  "artifactPath": ".workspai/reports/doctor-project-last-run.json",
1341
1509
  "schemaVersion": "doctor-project-evidence-v1",
@@ -1427,7 +1595,13 @@
1427
1595
  "artifactPath": ".workspai/reports/workspai-mcp-design.json",
1428
1596
  "schemaVersion": "workspai-mcp-design.v1",
1429
1597
  "contractPath": "contracts/workspace-intelligence/mcp-design.v1.json",
1430
- "producerCommands": []
1598
+ "producerCommands": [
1599
+ [
1600
+ "workspace",
1601
+ "agent-sync",
1602
+ "--write"
1603
+ ]
1604
+ ]
1431
1605
  },
1432
1606
  {
1433
1607
  "artifactPath": ".workspai/reports/workspace-why-last-run.json",
@@ -1479,6 +1653,7 @@
1479
1653
  "sync",
1480
1654
  "registry",
1481
1655
  "foundation",
1656
+ "intelligence",
1482
1657
  "model",
1483
1658
  "snapshot",
1484
1659
  "diff",
@@ -1505,6 +1680,7 @@
1505
1680
  "init"
1506
1681
  ],
1507
1682
  "workspaceIntelligenceSubcommands": [
1683
+ "intelligence",
1508
1684
  "model",
1509
1685
  "snapshot",
1510
1686
  "diff",
@@ -1542,6 +1718,11 @@
1542
1718
  "path": ".workspai/reports/workspace-model.json",
1543
1719
  "schemaVersion": "workspace-model.v1",
1544
1720
  "contractPath": "contracts/workspace-intelligence/workspace-model.v1.json"
1721
+ },
1722
+ {
1723
+ "path": ".workspai/reports/workspace-knowledge-graph.json",
1724
+ "schemaVersion": "workspace-knowledge-graph.v1",
1725
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph.v1.json"
1545
1726
  }
1546
1727
  ]
1547
1728
  },
@@ -1629,7 +1810,8 @@
1629
1810
  "id": "readiness-evidence",
1630
1811
  "argv": [
1631
1812
  "readiness",
1632
- "--json"
1813
+ "--json",
1814
+ "--skip-verify"
1633
1815
  ],
1634
1816
  "produces": [
1635
1817
  {
@@ -1748,7 +1930,8 @@
1748
1930
  "--archive-compression <mode>",
1749
1931
  "--max-download-size <size>",
1750
1932
  "--max-expanded-size <size>",
1751
- "--download-timeout-ms <ms>"
1933
+ "--download-timeout-ms <ms>",
1934
+ "--allow-private-network"
1752
1935
  ]
1753
1936
  },
1754
1937
  "moduleSuggestionFrameworks": [
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/transparency-evidence.v1.json",
4
+ "type": "object",
5
+ "required": ["schemaVersion", "generatedAt", "records"],
6
+ "properties": {
7
+ "schemaVersion": { "const": "transparency-evidence.v1" },
8
+ "generatedAt": { "type": "string", "format": "date-time" },
9
+ "environment": { "type": ["string", "null"] },
10
+ "records": { "type": "array", "items": { "type": "object" } }
11
+ },
12
+ "additionalProperties": true
13
+ }
@@ -28,10 +28,11 @@
28
28
  "payloadBufferedInMemory": false
29
29
  },
30
30
  "sizePolicy": {
31
- "workspacePayloadDefault": "unlimited",
32
- "safetyBudgets": "opt-in",
33
- "manifestMemoryLimitBytes": 268435456,
34
- "remoteDownloadTimeoutDefaultMs": 1800000
31
+ "workspacePayloadDefault": "20gb",
32
+ "remoteDownloadDefault": "5gb",
33
+ "safetyBudgets": "secure-defaults-with-explicit-overrides",
34
+ "manifestMemoryLimitBytes": 67108864,
35
+ "remoteDownloadTimeoutDefaultMs": 300000
35
36
  },
36
37
  "integrity": {
37
38
  "algorithm": "sha256",
@@ -48,7 +49,7 @@
48
49
  },
49
50
  "maxDownloadSize": {
50
51
  "signature": "--max-download-size <size>",
51
- "description": "Optional maximum remote archive download size (for example 8gb)",
52
+ "description": "Maximum remote archive download size (secure default: 5gb)",
52
53
  "appliesTo": [
53
54
  "inspect",
54
55
  "verify",
@@ -58,7 +59,7 @@
58
59
  },
59
60
  "maxExpandedSize": {
60
61
  "signature": "--max-expanded-size <size>",
61
- "description": "Optional maximum expanded archive payload size (for example 20gb)",
62
+ "description": "Maximum expanded archive payload size (secure default: 20gb)",
62
63
  "appliesTo": [
63
64
  "inspect",
64
65
  "verify",
@@ -75,6 +76,16 @@
75
76
  "doctor",
76
77
  "hydrate"
77
78
  ]
79
+ },
80
+ "allowPrivateNetwork": {
81
+ "signature": "--allow-private-network",
82
+ "description": "Allow archive downloads from loopback/private networks (unsafe for untrusted input)",
83
+ "appliesTo": [
84
+ "inspect",
85
+ "verify",
86
+ "doctor",
87
+ "hydrate"
88
+ ]
78
89
  }
79
90
  },
80
91
  "contracts": {
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/workspace-contract.v1.json",
4
+ "title": "Workspai Workspace Contract",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "kind", "generatedAt", "workspace", "projects"],
7
+ "properties": {
8
+ "schemaVersion": { "const": 1 },
9
+ "kind": { "const": "rapidkit.workspace.contract" },
10
+ "generatedAt": { "type": "string", "format": "date-time" },
11
+ "workspace": {
12
+ "type": "object",
13
+ "required": ["name"],
14
+ "properties": {
15
+ "name": { "type": "string", "minLength": 1 },
16
+ "profile": { "type": "string", "minLength": 1 }
17
+ },
18
+ "additionalProperties": false
19
+ },
20
+ "projects": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "required": ["slug", "relativePath", "modules", "ports", "contracts"],
25
+ "properties": {
26
+ "slug": { "type": "string", "minLength": 1 },
27
+ "relativePath": { "type": "string", "minLength": 1 },
28
+ "source": { "enum": ["workspace", "local-folder", "git-url", "adopted-local"] },
29
+ "relationship": { "enum": ["imported", "adopted"] },
30
+ "externalPath": { "type": "string", "minLength": 1 },
31
+ "runtime": { "type": "string", "minLength": 1 },
32
+ "framework": { "type": "string", "minLength": 1 },
33
+ "kit": { "type": "string", "minLength": 1 },
34
+ "modules": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
35
+ "ports": {
36
+ "type": "array",
37
+ "items": {
38
+ "type": "object",
39
+ "required": ["name", "port", "protocol"],
40
+ "properties": {
41
+ "name": { "type": "string", "minLength": 1 },
42
+ "port": { "type": "integer", "minimum": 1, "maximum": 65535 },
43
+ "protocol": { "enum": ["http", "https", "grpc", "tcp", "udp"] }
44
+ },
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "contracts": {
49
+ "type": "object",
50
+ "required": ["owns", "apis", "publishes", "consumes", "dependsOn", "env"],
51
+ "properties": {
52
+ "owns": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
53
+ "apis": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "object",
57
+ "required": ["name", "basePath"],
58
+ "properties": {
59
+ "name": { "type": "string", "minLength": 1 },
60
+ "basePath": { "type": "string", "pattern": "^/" }
61
+ },
62
+ "additionalProperties": false
63
+ }
64
+ },
65
+ "publishes": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
66
+ "consumes": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
67
+ "dependsOn": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
68
+ "env": { "type": "array", "items": { "type": "string", "pattern": "^[A-Z_][A-Z0-9_]*$" }, "uniqueItems": true }
69
+ },
70
+ "additionalProperties": false
71
+ }
72
+ },
73
+ "additionalProperties": false
74
+ }
75
+ }
76
+ },
77
+ "additionalProperties": false
78
+ }
@@ -26,6 +26,10 @@
26
26
  "cardStatus": {
27
27
  "enum": ["pass", "warn", "fail", "missing"]
28
28
  },
29
+ "blocking": {
30
+ "type": "boolean",
31
+ "description": "Contract-backed release posture. False means the card is advisory even when warnings or blocker-like guidance are present."
32
+ },
29
33
  "blockers": {
30
34
  "type": "array",
31
35
  "items": { "type": "string" }