workspai 0.43.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 (255) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +624 -0
  3. package/contracts/agent-customization-pack.v1.json +229 -0
  4. package/contracts/analyze-last-run.v1.json +106 -0
  5. package/contracts/artifact-remediation-plan.v1.json +163 -0
  6. package/contracts/backend-import-stack-parity.snapshot.json +37 -0
  7. package/contracts/cli-log-event.v1.json +51 -0
  8. package/contracts/create-planner-capabilities.v1.json +251 -0
  9. package/contracts/doctor-project-evidence.v1.json +304 -0
  10. package/contracts/doctor-remediation-plan.v1.json +496 -0
  11. package/contracts/doctor-workspace-evidence.v1.json +315 -0
  12. package/contracts/extension-cli-compatibility.v1.json +26 -0
  13. package/contracts/infra-stack.v1.json +305 -0
  14. package/contracts/module-layout.v1.json +34 -0
  15. package/contracts/module-support.v1.json +20 -0
  16. package/contracts/pipeline-last-run.v1.json +80 -0
  17. package/contracts/release-readiness.v1.json +60 -0
  18. package/contracts/runtime-command-surface.v1.json +364 -0
  19. package/contracts/workspace-intelligence/agent-action-outcome.v1.json +38 -0
  20. package/contracts/workspace-intelligence/blocker-resolution.v1.json +65 -0
  21. package/contracts/workspace-intelligence/doctor-fix-result.v1.json +44 -0
  22. package/contracts/workspace-intelligence/fact-freshness.v1.json +58 -0
  23. package/contracts/workspace-intelligence/studio-blocker-handoff.v1.json +115 -0
  24. package/contracts/workspace-intelligence/workspace-context.v1.json +142 -0
  25. package/contracts/workspace-intelligence/workspace-contract-verify.v1.json +51 -0
  26. package/contracts/workspace-intelligence/workspace-dependency-graph.v1.json +152 -0
  27. package/contracts/workspace-intelligence/workspace-explain.v1.json +31 -0
  28. package/contracts/workspace-intelligence/workspace-impact.v1.json +114 -0
  29. package/contracts/workspace-intelligence/workspace-intelligence-history.v1.json +40 -0
  30. package/contracts/workspace-intelligence/workspace-model-diff.v1.json +105 -0
  31. package/contracts/workspace-intelligence/workspace-model-snapshot.v1.json +36 -0
  32. package/contracts/workspace-intelligence/workspace-model.v1.json +135 -0
  33. package/contracts/workspace-intelligence/workspace-operational-skill.v1.json +37 -0
  34. package/contracts/workspace-intelligence/workspace-skills-index.v1.json +27 -0
  35. package/contracts/workspace-intelligence/workspace-verify.v1.json +213 -0
  36. package/contracts/workspace-registry.v1.json +83 -0
  37. package/contracts/workspace-run-last.v1.json +112 -0
  38. package/data/modules-embeddings.json +16953 -0
  39. package/dist/analyze-5BU4QIPK.js +1 -0
  40. package/dist/artifact-remediation-plan-5GJWPPRS.js +3 -0
  41. package/dist/autopilot-release-QYUOVB26.js +1 -0
  42. package/dist/chunk-22DT744Z.js +1 -0
  43. package/dist/chunk-2E6WGUN6.js +1 -0
  44. package/dist/chunk-2FIX2MDC.js +1 -0
  45. package/dist/chunk-3KXW53QI.js +1 -0
  46. package/dist/chunk-3ZK2GU7C.js +1 -0
  47. package/dist/chunk-4KUIFXHM.js +5 -0
  48. package/dist/chunk-54XJNLYC.js +13 -0
  49. package/dist/chunk-5SWNSJGW.js +1 -0
  50. package/dist/chunk-5XATWNME.js +1 -0
  51. package/dist/chunk-753LOKFZ.js +2 -0
  52. package/dist/chunk-7YHK5NM3.js +2 -0
  53. package/dist/chunk-A5FBGRJA.js +1 -0
  54. package/dist/chunk-AAKUNWPR.js +78 -0
  55. package/dist/chunk-AFSZHLQT.js +1 -0
  56. package/dist/chunk-AQ4XZZC6.js +1 -0
  57. package/dist/chunk-CVTCPPEF.js +1 -0
  58. package/dist/chunk-DNAY5ALC.js +1 -0
  59. package/dist/chunk-EWYYLJQY.js +2 -0
  60. package/dist/chunk-GSWPGELT.js +2 -0
  61. package/dist/chunk-GZTYAEWX.js +1 -0
  62. package/dist/chunk-HTYMXMQM.js +1 -0
  63. package/dist/chunk-IBJEQHJR.js +205 -0
  64. package/dist/chunk-ICGWHIMK.js +1 -0
  65. package/dist/chunk-JEI6BTZI.js +3 -0
  66. package/dist/chunk-JHC6SCJC.js +1 -0
  67. package/dist/chunk-LO4C4VXR.js +4 -0
  68. package/dist/chunk-LPZFK3Y6.js +920 -0
  69. package/dist/chunk-LUP4U6EE.js +1 -0
  70. package/dist/chunk-LYC6AIF2.js +2 -0
  71. package/dist/chunk-LZQNVH7D.js +1 -0
  72. package/dist/chunk-NAAQMSO3.js +1 -0
  73. package/dist/chunk-NFUXULIF.js +1 -0
  74. package/dist/chunk-OCGZNSOE.js +1 -0
  75. package/dist/chunk-OJEWQO3Z.js +33 -0
  76. package/dist/chunk-OL64GWQC.js +9 -0
  77. package/dist/chunk-PI5KUXDA.js +7 -0
  78. package/dist/chunk-PYCJWW4B.js +1 -0
  79. package/dist/chunk-RE773WOX.js +13 -0
  80. package/dist/chunk-RO73VVHW.js +2 -0
  81. package/dist/chunk-S5KTATOU.js +1 -0
  82. package/dist/chunk-SI3AQKIP.js +1 -0
  83. package/dist/chunk-T3GJ7YVG.js +1 -0
  84. package/dist/chunk-T6OR6YOI.js +2 -0
  85. package/dist/chunk-VRDF2J46.js +653 -0
  86. package/dist/chunk-VZKSNUEE.js +2 -0
  87. package/dist/chunk-WU4ZRRA5.js +4 -0
  88. package/dist/chunk-XEJD4KCV.js +33 -0
  89. package/dist/chunk-XZGVNGRB.js +1 -0
  90. package/dist/chunk-Y45WZR5N.js +5 -0
  91. package/dist/create-WRZO4HK2.js +1 -0
  92. package/dist/demo-kit-AJ5LIM5G.js +149 -0
  93. package/dist/doctor-MF3M3FS3.js +1 -0
  94. package/dist/dotnet-webapi-clean-IPY3MCGQ.js +425 -0
  95. package/dist/gofiber-standard-N5N3QGH3.js +1397 -0
  96. package/dist/gogin-standard-LAWQTBWL.js +1459 -0
  97. package/dist/imported-projects-registry-FOIE27WT.js +1 -0
  98. package/dist/index.d.ts +141 -0
  99. package/dist/index.js +454 -0
  100. package/dist/managed-agent-markers-AXUM75OE.js +8 -0
  101. package/dist/module-layout-NZ43RSC5.js +1 -0
  102. package/dist/pipeline-QCUHFWDY.js +5 -0
  103. package/dist/platform-capabilities-XAVU4HSM.js +1 -0
  104. package/dist/pythonRapidkitExec-3L3XJBSY.js +1 -0
  105. package/dist/springboot-standard-OZYF7ZM7.js +697 -0
  106. package/dist/workspace-PR6VZRBG.js +1 -0
  107. package/dist/workspace-agent-sync-KTYF3HQR.js +1 -0
  108. package/dist/workspace-archive-GCZNI44O.js +3 -0
  109. package/dist/workspace-context-QUTOP2XV.js +1 -0
  110. package/dist/workspace-contract-XUGMCUSQ.js +1 -0
  111. package/dist/workspace-explain-JEONEGZZ.js +1 -0
  112. package/dist/workspace-explain-contract-DNS2YEL7.js +1 -0
  113. package/dist/workspace-feedback-R6H4UFZB.js +1 -0
  114. package/dist/workspace-foundation-KGSV4E6D.js +1 -0
  115. package/dist/workspace-graph-2A5THUCI.js +1 -0
  116. package/dist/workspace-history-CGCK2DJI.js +1 -0
  117. package/dist/workspace-intelligence-QJGVL37U.js +1 -0
  118. package/dist/workspace-marker-SMBC3Z2Q.js +1 -0
  119. package/dist/workspace-mcp-serve-AK4MYEHQ.js +3 -0
  120. package/dist/workspace-model-PNXXOGPO.js +1 -0
  121. package/dist/workspace-python-engine-state-MTWIIZPY.js +2 -0
  122. package/dist/workspace-registry-summary-RUJE6RPH.js +1 -0
  123. package/dist/workspace-run-Y7YMUIHX.js +1 -0
  124. package/dist/workspace-verify-WSDUUTR5.js +1 -0
  125. package/dist/workspace-watch-AGPOJ74Q.js +1 -0
  126. package/docs/AI_DYNAMIC_INTEGRATION.md +440 -0
  127. package/docs/AI_EXAMPLES.md +419 -0
  128. package/docs/AI_FEATURES.md +460 -0
  129. package/docs/AI_QUICKSTART.md +245 -0
  130. package/docs/DEVELOPMENT.md +90 -0
  131. package/docs/From Code to Shared Understanding.png +0 -0
  132. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +170 -0
  133. package/docs/OPTIMIZATION_GUIDE.md +504 -0
  134. package/docs/PACKAGE_MANAGER_POLICY.md +25 -0
  135. package/docs/README.md +125 -0
  136. package/docs/SECURITY.md +63 -0
  137. package/docs/SETUP.md +107 -0
  138. package/docs/UTILITIES.md +221 -0
  139. package/docs/WORKSPACE_MARKER_SPEC.md +276 -0
  140. package/docs/ci-workflows.md +59 -0
  141. package/docs/commands-reference.md +172 -0
  142. package/docs/config-file-guide.md +299 -0
  143. package/docs/contracts/ARTIFACT_CATALOG.md +333 -0
  144. package/docs/contracts/CLI_LOG_EVENT_STREAM.md +123 -0
  145. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +138 -0
  146. package/docs/contracts/NAMING_AND_COEXISTENCE.md +60 -0
  147. package/docs/contracts/README.md +86 -0
  148. package/docs/contracts/RUNTIME_ACCEPTANCE_MATRIX.md +98 -0
  149. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +75 -0
  150. package/docs/contracts/rapidkit-cli-contracts.json +239 -0
  151. package/docs/create-planner-capabilities.md +81 -0
  152. package/docs/doctor-command.md +467 -0
  153. package/docs/examples/ci-agent-grounding.yml +65 -0
  154. package/docs/from-code-to-shared-understanding.md +45 -0
  155. package/docs/governance-policy.enterprise.example.json +40 -0
  156. package/docs/mirror-config.enterprise.example.json +60 -0
  157. package/docs/policies.workspace.example.yml +23 -0
  158. package/docs/workspace-operations.md +160 -0
  159. package/docs/workspace-run.md +104 -0
  160. package/package.json +179 -0
  161. package/rapidkit.config.example.cjs +62 -0
  162. package/scripts/check-agent-customization-drift.mjs +78 -0
  163. package/scripts/check-cli-resolution.cjs +72 -0
  164. package/scripts/enforce-package-manager.cjs +10 -0
  165. package/scripts/enterprise-package-smoke.mjs +463 -0
  166. package/scripts/prepack-enterprise.mjs +43 -0
  167. package/templates/generator.js +179 -0
  168. package/templates/kits/fastapi-ddd/README.md.j2 +117 -0
  169. package/templates/kits/fastapi-ddd/common/env.example.j2 +10 -0
  170. package/templates/kits/fastapi-ddd/env.example.j2 +1 -0
  171. package/templates/kits/fastapi-ddd/pyproject.toml.j2 +64 -0
  172. package/templates/kits/fastapi-ddd/src/__init__.py.j2 +3 -0
  173. package/templates/kits/fastapi-ddd/src/app/__init__.py.j2 +11 -0
  174. package/templates/kits/fastapi-ddd/src/app/application/__init__.py.j2 +5 -0
  175. package/templates/kits/fastapi-ddd/src/app/application/interfaces.py.j2 +43 -0
  176. package/templates/kits/fastapi-ddd/src/app/application/use_cases/__init__.py.j2 +6 -0
  177. package/templates/kits/fastapi-ddd/src/app/application/use_cases/health.py.j2 +14 -0
  178. package/templates/kits/fastapi-ddd/src/app/application/use_cases/notes.py.j2 +24 -0
  179. package/templates/kits/fastapi-ddd/src/app/config/__init__.py.j2 +16 -0
  180. package/templates/kits/fastapi-ddd/src/app/domain/__init__.py.j2 +3 -0
  181. package/templates/kits/fastapi-ddd/src/app/domain/models/__init__.py.j2 +6 -0
  182. package/templates/kits/fastapi-ddd/src/app/domain/models/health.py.j2 +16 -0
  183. package/templates/kits/fastapi-ddd/src/app/domain/models/note.py.j2 +27 -0
  184. package/templates/kits/fastapi-ddd/src/app/infrastructure/__init__.py.j2 +5 -0
  185. package/templates/kits/fastapi-ddd/src/app/infrastructure/repositories/__init__.py.j2 +6 -0
  186. package/templates/kits/fastapi-ddd/src/app/infrastructure/repositories/health.py.j2 +17 -0
  187. package/templates/kits/fastapi-ddd/src/app/infrastructure/repositories/notes.py.j2 +28 -0
  188. package/templates/kits/fastapi-ddd/src/app/main.py.j2 +61 -0
  189. package/templates/kits/fastapi-ddd/src/app/presentation/__init__.py.j2 +3 -0
  190. package/templates/kits/fastapi-ddd/src/app/presentation/api/__init__.py.j2 +5 -0
  191. package/templates/kits/fastapi-ddd/src/app/presentation/api/dependencies/__init__.py.j2 +19 -0
  192. package/templates/kits/fastapi-ddd/src/app/presentation/api/router.py.j2 +10 -0
  193. package/templates/kits/fastapi-ddd/src/app/presentation/api/routes/__init__.py.j2 +5 -0
  194. package/templates/kits/fastapi-ddd/src/app/presentation/api/routes/health.py.j2 +27 -0
  195. package/templates/kits/fastapi-ddd/src/app/presentation/api/routes/notes.py.j2 +50 -0
  196. package/templates/kits/fastapi-ddd/src/app/shared/__init__.py.j2 +5 -0
  197. package/templates/kits/fastapi-ddd/src/app/shared/result.py.j2 +28 -0
  198. package/templates/kits/fastapi-ddd/src/cli.py.j2 +170 -0
  199. package/templates/kits/fastapi-ddd/src/main.py.j2 +35 -0
  200. package/templates/kits/fastapi-ddd/src/modules/__init__.py.j2 +3 -0
  201. package/templates/kits/fastapi-ddd/src/routing/__init__.py.j2 +13 -0
  202. package/templates/kits/fastapi-ddd/src/routing/health.py.j2 +7 -0
  203. package/templates/kits/fastapi-ddd/src/routing/notes.py.j2 +7 -0
  204. package/templates/kits/fastapi-ddd/tests/__init__.py.j2 +1 -0
  205. package/templates/kits/fastapi-ddd/tests/test_app_factory.py.j2 +22 -0
  206. package/templates/kits/fastapi-ddd/tests/test_health.py.j2 +17 -0
  207. package/templates/kits/fastapi-ddd/tests/test_notes.py.j2 +27 -0
  208. package/templates/kits/fastapi-standard/README.md.j2 +140 -0
  209. package/templates/kits/fastapi-standard/common/env.example.j2 +10 -0
  210. package/templates/kits/fastapi-standard/env.example.j2 +1 -0
  211. package/templates/kits/fastapi-standard/pyproject.toml.j2 +64 -0
  212. package/templates/kits/fastapi-standard/src/__init__.py.j2 +3 -0
  213. package/templates/kits/fastapi-standard/src/cli.py.j2 +171 -0
  214. package/templates/kits/fastapi-standard/src/main.py.j2 +66 -0
  215. package/templates/kits/fastapi-standard/src/modules/__init__.py.j2 +3 -0
  216. package/templates/kits/fastapi-standard/src/routing/__init__.py.j2 +16 -0
  217. package/templates/kits/fastapi-standard/src/routing/examples.py.j2 +71 -0
  218. package/templates/kits/fastapi-standard/src/routing/health.py.j2 +22 -0
  219. package/templates/kits/fastapi-standard/tests/__init__.py.j2 +1 -0
  220. package/templates/kits/fastapi-standard/tests/test_examples.py.j2 +29 -0
  221. package/templates/kits/fastapi-standard/tests/test_health.py.j2 +17 -0
  222. package/templates/kits/nestjs-standard/Dockerfile.j2 +41 -0
  223. package/templates/kits/nestjs-standard/README.md.j2 +134 -0
  224. package/templates/kits/nestjs-standard/docker-compose.yml.j2 +94 -0
  225. package/templates/kits/nestjs-standard/docs/README.md.j2 +15 -0
  226. package/templates/kits/nestjs-standard/env.example.j2 +18 -0
  227. package/templates/kits/nestjs-standard/eslint.config.cjs.j2 +9 -0
  228. package/templates/kits/nestjs-standard/jest.config.ts.j2 +28 -0
  229. package/templates/kits/nestjs-standard/nest-cli.json.j2 +10 -0
  230. package/templates/kits/nestjs-standard/package.json.j2 +101 -0
  231. package/templates/kits/nestjs-standard/src/app.controller.ts.j2 +14 -0
  232. package/templates/kits/nestjs-standard/src/app.module.ts.j2 +26 -0
  233. package/templates/kits/nestjs-standard/src/app.service.ts.j2 +16 -0
  234. package/templates/kits/nestjs-standard/src/auth/auth.controller.ts.j2 +20 -0
  235. package/templates/kits/nestjs-standard/src/auth/auth.module.ts.j2 +13 -0
  236. package/templates/kits/nestjs-standard/src/auth/auth.service.ts.j2 +6 -0
  237. package/templates/kits/nestjs-standard/src/auth/entities/token.entity.ts.j2 +3 -0
  238. package/templates/kits/nestjs-standard/src/auth/entities/user.entity.ts.j2 +3 -0
  239. package/templates/kits/nestjs-standard/src/auth/entities/webauthn.entity.ts.j2 +3 -0
  240. package/templates/kits/nestjs-standard/src/config/configuration.ts.j2 +85 -0
  241. package/templates/kits/nestjs-standard/src/config/index.ts.j2 +2 -0
  242. package/templates/kits/nestjs-standard/src/config/validation.ts.j2 +21 -0
  243. package/templates/kits/nestjs-standard/src/examples/dto/create-note.dto.ts.j2 +11 -0
  244. package/templates/kits/nestjs-standard/src/examples/examples.controller.ts.j2 +24 -0
  245. package/templates/kits/nestjs-standard/src/examples/examples.module.ts.j2 +10 -0
  246. package/templates/kits/nestjs-standard/src/examples/examples.service.ts.j2 +33 -0
  247. package/templates/kits/nestjs-standard/src/main.ts.j2 +53 -0
  248. package/templates/kits/nestjs-standard/src/modules/index.ts.j2 +25 -0
  249. package/templates/kits/nestjs-standard/test/app.controller.spec.ts.j2 +24 -0
  250. package/templates/kits/nestjs-standard/test/app.e2e-spec.ts.j2 +60 -0
  251. package/templates/kits/nestjs-standard/test/examples.controller.spec.ts.j2 +28 -0
  252. package/templates/kits/nestjs-standard/test/jest-e2e.json.j2 +15 -0
  253. package/templates/kits/nestjs-standard/tsconfig.build.json.j2 +12 -0
  254. package/templates/kits/nestjs-standard/tsconfig.json.j2 +26 -0
  255. package/workspai.config.example.cjs +62 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "schemaVersion": "rapidkit-module-support-v1",
3
+ "moduleCapableProjectTypes": ["fastapi", "nestjs"],
4
+ "moduleCapableKitIds": ["fastapi.standard", "fastapi.ddd", "nestjs.standard"],
5
+ "moduleUnsupportedBackendProjectTypes": ["go", "springboot", "dotnet"],
6
+ "moduleUnsupportedFrontendProjectTypes": [
7
+ "nextjs",
8
+ "remix",
9
+ "vite-react",
10
+ "vite-vue",
11
+ "vite-svelte",
12
+ "vite-solid",
13
+ "vite-vanilla",
14
+ "nuxt",
15
+ "angular",
16
+ "astro",
17
+ "sveltekit"
18
+ ],
19
+ "policyNote": "RapidKit Core modules are Core-backed templates for FastAPI and NestJS backends only. Frontend scaffolds and extended backend kits use native package ecosystems."
20
+ }
@@ -0,0 +1,80 @@
1
+ {
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",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "generatedAt",
9
+ "workspacePath",
10
+ "summary",
11
+ "stages",
12
+ "blockingReasons",
13
+ "artifacts"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": {
17
+ "const": "rapidkit-pipeline-v1"
18
+ },
19
+ "generatedAt": {
20
+ "type": "string",
21
+ "format": "date-time"
22
+ },
23
+ "workspacePath": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "summary": {
28
+ "type": "object",
29
+ "required": ["verdict", "exitCode", "stagesPassed", "stagesWarn", "stagesFailed"],
30
+ "properties": {
31
+ "verdict": {
32
+ "enum": ["ready", "needs-attention", "blocked"]
33
+ },
34
+ "exitCode": {
35
+ "enum": [0, 1, 2, 3]
36
+ },
37
+ "stagesPassed": { "type": "integer", "minimum": 0 },
38
+ "stagesWarn": { "type": "integer", "minimum": 0 },
39
+ "stagesFailed": { "type": "integer", "minimum": 0 }
40
+ },
41
+ "additionalProperties": false
42
+ },
43
+ "stages": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "required": ["name", "status", "durationMs", "summary"],
48
+ "properties": {
49
+ "name": {
50
+ "enum": ["sync", "doctor", "analyze", "readiness", "autopilot"]
51
+ },
52
+ "status": {
53
+ "enum": ["pass", "warn", "fail", "skipped"]
54
+ },
55
+ "durationMs": { "type": "integer", "minimum": 0 },
56
+ "summary": { "type": "string" },
57
+ "exitCode": { "type": "integer" },
58
+ "evidencePath": { "type": "string" }
59
+ },
60
+ "additionalProperties": true
61
+ }
62
+ },
63
+ "blockingReasons": {
64
+ "type": "array",
65
+ "items": { "type": "string" }
66
+ },
67
+ "artifacts": {
68
+ "type": "object",
69
+ "required": ["reportPath"],
70
+ "properties": {
71
+ "reportPath": { "type": "string" },
72
+ "analyzeEvidencePath": { "type": "string" },
73
+ "readinessEvidencePath": { "type": "string" },
74
+ "autopilotEvidencePath": { "type": "string" }
75
+ },
76
+ "additionalProperties": true
77
+ }
78
+ },
79
+ "additionalProperties": true
80
+ }
@@ -0,0 +1,60 @@
1
+ {
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",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "generatedAt",
9
+ "workspacePath",
10
+ "projectPath",
11
+ "overallStatus",
12
+ "blocking",
13
+ "blockingReasons",
14
+ "gates"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": {
18
+ "enum": ["release-readiness-v1", "v1"]
19
+ },
20
+ "generatedAt": {
21
+ "type": "string",
22
+ "format": "date-time"
23
+ },
24
+ "workspacePath": { "type": "string", "minLength": 1 },
25
+ "projectPath": { "type": "string", "minLength": 1 },
26
+ "action": {
27
+ "enum": ["dev", "test", "build", "start", "lint", "format"]
28
+ },
29
+ "overallStatus": {
30
+ "enum": ["pass", "warn", "fail"]
31
+ },
32
+ "blocking": { "type": "boolean" },
33
+ "blockingReasons": {
34
+ "type": "array",
35
+ "items": { "type": "string" }
36
+ },
37
+ "gates": {
38
+ "type": "array",
39
+ "items": {
40
+ "type": "object",
41
+ "required": ["gate", "status", "summary", "details"],
42
+ "properties": {
43
+ "gate": {
44
+ "enum": ["env", "doctor", "analyze", "verify", "dependency"]
45
+ },
46
+ "status": { "enum": ["pass", "warn", "fail"] },
47
+ "summary": { "type": "string" },
48
+ "details": {
49
+ "type": "array",
50
+ "items": { "type": "string" }
51
+ },
52
+ "evidencePath": { "type": "string" }
53
+ },
54
+ "additionalProperties": true
55
+ }
56
+ },
57
+ "evidencePath": { "type": "string" }
58
+ },
59
+ "additionalProperties": true
60
+ }
@@ -0,0 +1,364 @@
1
+ {
2
+ "schemaVersion": "rapidkit-runtime-command-surface-v1",
3
+ "lifecycleCommands": [
4
+ "init",
5
+ "dev",
6
+ "start",
7
+ "build",
8
+ "test",
9
+ "lint",
10
+ "format",
11
+ "help"
12
+ ],
13
+ "moduleMutationCommands": [
14
+ "add",
15
+ "modules",
16
+ "upgrade",
17
+ "diff",
18
+ "merge",
19
+ "reconcile",
20
+ "rollback",
21
+ "uninstall",
22
+ "checkpoint",
23
+ "snapshot",
24
+ "optimize"
25
+ ],
26
+ "globalCommands": [
27
+ "create",
28
+ "list",
29
+ "info",
30
+ "frameworks",
31
+ "license"
32
+ ],
33
+ "universalCommands": [
34
+ "version",
35
+ "commands",
36
+ "doctor",
37
+ "project"
38
+ ],
39
+ "coreProjectCommands": [
40
+ "docs"
41
+ ],
42
+ "workspaceSubcommands": [
43
+ "list",
44
+ "sync",
45
+ "registry",
46
+ "foundation",
47
+ "model",
48
+ "snapshot",
49
+ "diff",
50
+ "impact",
51
+ "verify",
52
+ "graph",
53
+ "watch",
54
+ "context",
55
+ "agent-sync",
56
+ "remediation-plan",
57
+ "explain",
58
+ "why",
59
+ "trace",
60
+ "feedback",
61
+ "mcp",
62
+ "policy",
63
+ "contract",
64
+ "share",
65
+ "export",
66
+ "archive",
67
+ "hydrate",
68
+ "import",
69
+ "run",
70
+ "init"
71
+ ],
72
+ "workspaceIntelligenceSubcommands": [
73
+ "model",
74
+ "snapshot",
75
+ "diff",
76
+ "impact",
77
+ "verify",
78
+ "context",
79
+ "agent-sync",
80
+ "remediation-plan",
81
+ "explain",
82
+ "why",
83
+ "trace"
84
+ ],
85
+ "moduleSuggestionFrameworks": [
86
+ "fastapi",
87
+ "nestjs"
88
+ ],
89
+ "moduleUnsupportedFrameworks": [
90
+ "go",
91
+ "springboot",
92
+ "dotnet",
93
+ "nextjs",
94
+ "remix",
95
+ "vite-react",
96
+ "vite-vue",
97
+ "vite-svelte",
98
+ "vite-solid",
99
+ "vite-vanilla",
100
+ "nuxt",
101
+ "angular",
102
+ "astro",
103
+ "sveltekit"
104
+ ],
105
+ "scaffoldKits": [
106
+ "fastapi.standard",
107
+ "fastapi.ddd",
108
+ "nestjs.standard",
109
+ "gofiber.standard",
110
+ "gogin.standard",
111
+ "springboot.standard",
112
+ "dotnet.webapi.clean",
113
+ "frontend.nextjs",
114
+ "frontend.remix",
115
+ "frontend.vite-react",
116
+ "frontend.vite-vue",
117
+ "frontend.vite-svelte",
118
+ "frontend.vite-solid",
119
+ "frontend.vite-vanilla",
120
+ "frontend.nuxt",
121
+ "frontend.angular",
122
+ "frontend.astro",
123
+ "frontend.sveltekit"
124
+ ],
125
+ "createPlanner": {
126
+ "lanes": {
127
+ "native-create": {
128
+ "status": "available",
129
+ "meaning": "Workspai owns the scaffold contract, marker, registry, doctor, bootstrap, and workspace model path."
130
+ },
131
+ "external-create-adopt": {
132
+ "status": "planned",
133
+ "meaning": "A stable ecosystem generator exists, but Workspai does not yet own the post-create contract."
134
+ },
135
+ "adopt-only": {
136
+ "status": "available",
137
+ "meaning": "The project enters Workspace Intelligence through import/adopt, not native create."
138
+ }
139
+ },
140
+ "nativeCreateKits": [
141
+ "fastapi.standard",
142
+ "fastapi.ddd",
143
+ "nestjs.standard",
144
+ "springboot.standard",
145
+ "gofiber.standard",
146
+ "gogin.standard",
147
+ "dotnet.webapi.clean",
148
+ "frontend.nextjs",
149
+ "frontend.remix",
150
+ "frontend.vite-react",
151
+ "frontend.vite-vue",
152
+ "frontend.vite-svelte",
153
+ "frontend.vite-solid",
154
+ "frontend.vite-vanilla",
155
+ "frontend.nuxt",
156
+ "frontend.angular",
157
+ "frontend.astro",
158
+ "frontend.sveltekit"
159
+ ],
160
+ "externalCreateAdopt": [
161
+ "wordpress-site",
162
+ "wordpress-block",
163
+ "laravel",
164
+ "symfony",
165
+ "rails"
166
+ ],
167
+ "adoptOnlyRuntimes": [
168
+ "php",
169
+ "ruby",
170
+ "rust",
171
+ "elixir",
172
+ "clojure",
173
+ "scala",
174
+ "kotlin"
175
+ ]
176
+ },
177
+ "runtimeMatrix": {
178
+ "python": {
179
+ "tier": "first-class",
180
+ "scaffold": true,
181
+ "import": true,
182
+ "moduleCommands": true,
183
+ "doctor": "full",
184
+ "lifecycleCommands": [
185
+ "init",
186
+ "dev",
187
+ "start",
188
+ "build",
189
+ "test",
190
+ "lint",
191
+ "format",
192
+ "help"
193
+ ]
194
+ },
195
+ "node": {
196
+ "tier": "extended",
197
+ "scaffold": true,
198
+ "import": true,
199
+ "moduleCommands": true,
200
+ "doctor": "full",
201
+ "lifecycleCommands": [
202
+ "init",
203
+ "dev",
204
+ "start",
205
+ "build",
206
+ "test",
207
+ "lint",
208
+ "format",
209
+ "help"
210
+ ]
211
+ },
212
+ "go": {
213
+ "tier": "extended",
214
+ "scaffold": true,
215
+ "import": true,
216
+ "moduleCommands": false,
217
+ "doctor": "readiness",
218
+ "lifecycleCommands": [
219
+ "init",
220
+ "dev",
221
+ "start",
222
+ "build",
223
+ "test",
224
+ "lint",
225
+ "format",
226
+ "help"
227
+ ]
228
+ },
229
+ "java": {
230
+ "tier": "extended",
231
+ "scaffold": true,
232
+ "import": true,
233
+ "moduleCommands": false,
234
+ "doctor": "readiness",
235
+ "lifecycleCommands": [
236
+ "init",
237
+ "dev",
238
+ "start",
239
+ "build",
240
+ "test",
241
+ "lint",
242
+ "format",
243
+ "help"
244
+ ]
245
+ },
246
+ "dotnet": {
247
+ "tier": "extended",
248
+ "scaffold": true,
249
+ "import": true,
250
+ "moduleCommands": false,
251
+ "doctor": "readiness",
252
+ "lifecycleCommands": [
253
+ "init",
254
+ "dev",
255
+ "start",
256
+ "build",
257
+ "test",
258
+ "lint",
259
+ "format",
260
+ "help"
261
+ ]
262
+ },
263
+ "php": {
264
+ "tier": "observed",
265
+ "scaffold": false,
266
+ "import": true,
267
+ "moduleCommands": false,
268
+ "doctor": "observed",
269
+ "lifecycleCommands": [
270
+ "help"
271
+ ]
272
+ },
273
+ "ruby": {
274
+ "tier": "observed",
275
+ "scaffold": false,
276
+ "import": true,
277
+ "moduleCommands": false,
278
+ "doctor": "observed",
279
+ "lifecycleCommands": [
280
+ "help"
281
+ ]
282
+ },
283
+ "rust": {
284
+ "tier": "observed",
285
+ "scaffold": false,
286
+ "import": true,
287
+ "moduleCommands": false,
288
+ "doctor": "observed",
289
+ "lifecycleCommands": [
290
+ "help"
291
+ ]
292
+ },
293
+ "elixir": {
294
+ "tier": "observed",
295
+ "scaffold": false,
296
+ "import": true,
297
+ "moduleCommands": false,
298
+ "doctor": "observed",
299
+ "lifecycleCommands": [
300
+ "help"
301
+ ]
302
+ },
303
+ "clojure": {
304
+ "tier": "observed",
305
+ "scaffold": false,
306
+ "import": true,
307
+ "moduleCommands": false,
308
+ "doctor": "observed",
309
+ "lifecycleCommands": [
310
+ "help"
311
+ ]
312
+ },
313
+ "scala": {
314
+ "tier": "observed",
315
+ "scaffold": false,
316
+ "import": true,
317
+ "moduleCommands": false,
318
+ "doctor": "observed",
319
+ "lifecycleCommands": [
320
+ "help"
321
+ ]
322
+ },
323
+ "kotlin": {
324
+ "tier": "observed",
325
+ "scaffold": false,
326
+ "import": true,
327
+ "moduleCommands": false,
328
+ "doctor": "observed",
329
+ "lifecycleCommands": [
330
+ "help"
331
+ ]
332
+ },
333
+ "deno": {
334
+ "tier": "observed",
335
+ "scaffold": false,
336
+ "import": true,
337
+ "moduleCommands": false,
338
+ "doctor": "observed",
339
+ "lifecycleCommands": [
340
+ "help"
341
+ ]
342
+ },
343
+ "bun": {
344
+ "tier": "observed",
345
+ "scaffold": false,
346
+ "import": true,
347
+ "moduleCommands": false,
348
+ "doctor": "observed",
349
+ "lifecycleCommands": [
350
+ "help"
351
+ ]
352
+ },
353
+ "unknown": {
354
+ "tier": "observed",
355
+ "scaffold": false,
356
+ "import": true,
357
+ "moduleCommands": false,
358
+ "doctor": "observed",
359
+ "lifecycleCommands": [
360
+ "help"
361
+ ]
362
+ }
363
+ }
364
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/agent-action-outcome.v1.json",
4
+ "title": "RapidKit Agent Action Outcome",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "generatedAt", "actionId", "scope", "summary", "outcome"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "agent-action-outcome.v1" },
9
+ "generatedAt": { "type": "string", "format": "date-time" },
10
+ "actionId": { "type": "string", "minLength": 1 },
11
+ "scope": { "type": "string" },
12
+ "summary": { "type": "string" },
13
+ "outcome": { "enum": ["ok", "failed"] },
14
+ "affectedFiles": { "type": "array", "items": { "type": "string" } },
15
+ "commandsRun": { "type": "array", "items": { "type": "string" } },
16
+ "verifyBefore": { "type": "string" },
17
+ "verifyAfter": { "type": "string" },
18
+ "evidenceSha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
19
+ "evidencePath": { "type": "string" },
20
+ "patchMetadata": {
21
+ "type": "object",
22
+ "required": ["appliedCount", "rejectedCount", "failedCount", "affectedFiles"],
23
+ "properties": {
24
+ "patchId": { "type": "string" },
25
+ "sourceAction": { "enum": ["auto-fix", "apply-patch"] },
26
+ "reviewRequired": { "type": "boolean" },
27
+ "branchCreated": { "type": "string" },
28
+ "appliedCount": { "type": "integer", "minimum": 0 },
29
+ "rejectedCount": { "type": "integer", "minimum": 0 },
30
+ "failedCount": { "type": "integer", "minimum": 0 },
31
+ "affectedFiles": { "type": "array", "items": { "type": "string" } },
32
+ "rollbackCommand": { "type": "string" }
33
+ },
34
+ "additionalProperties": false
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/blocker-resolution.v1.json",
4
+ "title": "RapidKit Blocker Resolution Hint",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "blockerId",
9
+ "resolutionClass",
10
+ "blockerSignature",
11
+ "fixHints"
12
+ ],
13
+ "properties": {
14
+ "schemaVersion": {
15
+ "const": "rapidkit-blocker-resolution-v1"
16
+ },
17
+ "blockerId": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "sourceCommand": {
22
+ "type": "string"
23
+ },
24
+ "sourceArtifact": {
25
+ "type": "string"
26
+ },
27
+ "resolutionClass": {
28
+ "enum": [
29
+ "artifact-missing",
30
+ "command-failed-repeat",
31
+ "config-fixable",
32
+ "semantic-attention",
33
+ "unresolvable-without-human"
34
+ ]
35
+ },
36
+ "blockerSignature": {
37
+ "type": "string",
38
+ "minLength": 8
39
+ },
40
+ "commandRetryHint": {
41
+ "type": "string"
42
+ },
43
+ "fixHints": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "required": ["actionKind", "detail"],
48
+ "properties": {
49
+ "actionKind": {
50
+ "enum": ["edit-file", "run-once", "commit-files", "refresh-baseline"]
51
+ },
52
+ "targetPath": { "type": "string" },
53
+ "detail": { "type": "string" },
54
+ "studioActionId": {
55
+ "enum": ["fix-lens", "verify-gates", "run-analyze", "doctor-fix"]
56
+ }
57
+ },
58
+ "additionalProperties": false
59
+ }
60
+ },
61
+ "verifyCommand": { "type": "string" },
62
+ "verifyArtifact": { "type": "string" }
63
+ },
64
+ "additionalProperties": false
65
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "rapidkit-doctor-fix-result-v1",
4
+ "title": "Doctor fix execution result",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "schemaVersion",
9
+ "generatedAt",
10
+ "appliedFixes",
11
+ "remainingBlockers",
12
+ "verifyRecommended"
13
+ ],
14
+ "properties": {
15
+ "schemaVersion": {
16
+ "const": "rapidkit-doctor-fix-result-v1"
17
+ },
18
+ "generatedAt": {
19
+ "type": "string",
20
+ "format": "date-time"
21
+ },
22
+ "appliedFixes": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "object",
26
+ "required": ["path", "action", "outcome"],
27
+ "properties": {
28
+ "path": { "type": "string" },
29
+ "action": { "type": "string" },
30
+ "outcome": {
31
+ "enum": ["applied", "failed", "skipped", "guidance"]
32
+ }
33
+ }
34
+ }
35
+ },
36
+ "remainingBlockers": {
37
+ "type": "array",
38
+ "items": { "type": "string" }
39
+ },
40
+ "verifyRecommended": {
41
+ "type": "string"
42
+ }
43
+ }
44
+ }