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,251 @@
1
+ {
2
+ "schemaVersion": "rapidkit-create-planner-capabilities-v1",
3
+ "lanes": {
4
+ "native-create": {
5
+ "status": "available",
6
+ "meaning": "Workspai owns the scaffold contract, marker, registry, doctor, bootstrap, and workspace model path."
7
+ },
8
+ "external-create-adopt": {
9
+ "status": "planned",
10
+ "meaning": "A stable ecosystem generator exists, but Workspai does not yet own the post-create contract."
11
+ },
12
+ "adopt-only": {
13
+ "status": "available",
14
+ "meaning": "The project enters Workspace Intelligence through import/adopt, not native create."
15
+ }
16
+ },
17
+ "nativeCreate": [
18
+ {
19
+ "id": "fastapi.standard",
20
+ "runtime": "python",
21
+ "framework": "fastapi",
22
+ "owner": "core",
23
+ "stability": "stable",
24
+ "moduleSupport": true
25
+ },
26
+ {
27
+ "id": "fastapi.ddd",
28
+ "runtime": "python",
29
+ "framework": "fastapi",
30
+ "owner": "core",
31
+ "stability": "stable",
32
+ "moduleSupport": true
33
+ },
34
+ {
35
+ "id": "nestjs.standard",
36
+ "runtime": "node",
37
+ "framework": "nestjs",
38
+ "owner": "core",
39
+ "stability": "stable",
40
+ "moduleSupport": true
41
+ },
42
+ {
43
+ "id": "springboot.standard",
44
+ "runtime": "java",
45
+ "framework": "springboot",
46
+ "owner": "npm",
47
+ "stability": "stable",
48
+ "moduleSupport": false
49
+ },
50
+ {
51
+ "id": "gofiber.standard",
52
+ "runtime": "go",
53
+ "framework": "gofiber",
54
+ "owner": "npm",
55
+ "stability": "stable",
56
+ "moduleSupport": false
57
+ },
58
+ {
59
+ "id": "gogin.standard",
60
+ "runtime": "go",
61
+ "framework": "gogin",
62
+ "owner": "npm",
63
+ "stability": "stable",
64
+ "moduleSupport": false
65
+ },
66
+ {
67
+ "id": "dotnet.webapi.clean",
68
+ "runtime": "dotnet",
69
+ "framework": "dotnet",
70
+ "owner": "npm",
71
+ "stability": "preview",
72
+ "moduleSupport": false
73
+ },
74
+ {
75
+ "id": "frontend.nextjs",
76
+ "runtime": "node",
77
+ "framework": "nextjs",
78
+ "owner": "npm",
79
+ "stability": "stable",
80
+ "moduleSupport": false
81
+ },
82
+ {
83
+ "id": "frontend.remix",
84
+ "runtime": "node",
85
+ "framework": "remix",
86
+ "owner": "npm",
87
+ "stability": "stable",
88
+ "moduleSupport": false
89
+ },
90
+ {
91
+ "id": "frontend.vite-react",
92
+ "runtime": "node",
93
+ "framework": "react",
94
+ "owner": "npm",
95
+ "stability": "stable",
96
+ "moduleSupport": false
97
+ },
98
+ {
99
+ "id": "frontend.vite-vue",
100
+ "runtime": "node",
101
+ "framework": "vue",
102
+ "owner": "npm",
103
+ "stability": "stable",
104
+ "moduleSupport": false
105
+ },
106
+ {
107
+ "id": "frontend.vite-svelte",
108
+ "runtime": "node",
109
+ "framework": "svelte",
110
+ "owner": "npm",
111
+ "stability": "stable",
112
+ "moduleSupport": false
113
+ },
114
+ {
115
+ "id": "frontend.vite-solid",
116
+ "runtime": "node",
117
+ "framework": "solid",
118
+ "owner": "npm",
119
+ "stability": "stable",
120
+ "moduleSupport": false
121
+ },
122
+ {
123
+ "id": "frontend.vite-vanilla",
124
+ "runtime": "node",
125
+ "framework": "vite",
126
+ "owner": "npm",
127
+ "stability": "stable",
128
+ "moduleSupport": false
129
+ },
130
+ {
131
+ "id": "frontend.nuxt",
132
+ "runtime": "node",
133
+ "framework": "nuxt",
134
+ "owner": "npm",
135
+ "stability": "stable",
136
+ "moduleSupport": false
137
+ },
138
+ {
139
+ "id": "frontend.angular",
140
+ "runtime": "node",
141
+ "framework": "angular",
142
+ "owner": "npm",
143
+ "stability": "stable",
144
+ "moduleSupport": false
145
+ },
146
+ {
147
+ "id": "frontend.astro",
148
+ "runtime": "node",
149
+ "framework": "astro",
150
+ "owner": "npm",
151
+ "stability": "stable",
152
+ "moduleSupport": false
153
+ },
154
+ {
155
+ "id": "frontend.sveltekit",
156
+ "runtime": "node",
157
+ "framework": "sveltekit",
158
+ "owner": "npm",
159
+ "stability": "stable",
160
+ "moduleSupport": false
161
+ }
162
+ ],
163
+ "externalCreateAdopt": [
164
+ {
165
+ "id": "wordpress-site",
166
+ "aliases": [
167
+ "wordpress",
168
+ "wordpress-site",
169
+ "wp",
170
+ "wp-site"
171
+ ],
172
+ "ecosystem": "wordpress",
173
+ "status": "planned",
174
+ "officialCommands": [
175
+ "wp core download",
176
+ "wp config create",
177
+ "wp db create",
178
+ "wp core install"
179
+ ],
180
+ "adoptAfterCreate": true
181
+ },
182
+ {
183
+ "id": "wordpress-block",
184
+ "aliases": [
185
+ "wordpress-block",
186
+ "wp-block",
187
+ "gutenberg-block"
188
+ ],
189
+ "ecosystem": "wordpress",
190
+ "status": "planned",
191
+ "officialCommands": [
192
+ "npx @wordpress/create-block@latest <slug>"
193
+ ],
194
+ "adoptAfterCreate": true
195
+ },
196
+ {
197
+ "id": "laravel",
198
+ "aliases": [
199
+ "laravel",
200
+ "php-laravel"
201
+ ],
202
+ "ecosystem": "php",
203
+ "status": "planned",
204
+ "officialCommands": [
205
+ "composer create-project laravel/laravel <name>"
206
+ ],
207
+ "adoptAfterCreate": true
208
+ },
209
+ {
210
+ "id": "symfony",
211
+ "aliases": [
212
+ "symfony",
213
+ "php-symfony"
214
+ ],
215
+ "ecosystem": "php",
216
+ "status": "planned",
217
+ "officialCommands": [
218
+ "composer create-project symfony/skeleton <name>"
219
+ ],
220
+ "adoptAfterCreate": true
221
+ },
222
+ {
223
+ "id": "rails",
224
+ "aliases": [
225
+ "rails",
226
+ "ruby-on-rails",
227
+ "ruby-rails"
228
+ ],
229
+ "ecosystem": "ruby",
230
+ "status": "planned",
231
+ "officialCommands": [
232
+ "rails new <name>"
233
+ ],
234
+ "adoptAfterCreate": true
235
+ }
236
+ ],
237
+ "adoptOnlyRuntimes": [
238
+ "php",
239
+ "ruby",
240
+ "rust",
241
+ "elixir",
242
+ "clojure",
243
+ "scala",
244
+ "kotlin"
245
+ ],
246
+ "productRules": [
247
+ "Do not translate unsupported stack requests into unrelated native kits.",
248
+ "If native create is unavailable, explain the lane and guide to adopt/import.",
249
+ "Use the same capability contract in CLI, CI, VS Code, and AI planning surfaces."
250
+ ]
251
+ }
@@ -0,0 +1,304 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://getrapidkit.com/schemas/doctor-project-evidence.v1.json",
4
+ "title": "RapidKit Doctor Project Evidence",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "evidenceType",
9
+ "generatedAt",
10
+ "projectPath",
11
+ "projectName",
12
+ "summary"
13
+ ],
14
+ "properties": {
15
+ "schemaVersion": {
16
+ "const": "doctor-project-evidence-v1"
17
+ },
18
+ "evidenceType": {
19
+ "const": "project"
20
+ },
21
+ "generatedAt": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "workspacePath": { "type": ["string", "null"] },
26
+ "projectPath": { "type": "string", "minLength": 1 },
27
+ "projectName": { "type": "string", "minLength": 1 },
28
+ "healthScore": { "type": "object", "additionalProperties": true },
29
+ "evidenceFreshness": { "$ref": "#/$defs/evidenceFreshness" },
30
+ "system": { "type": "object", "additionalProperties": true },
31
+ "project": {
32
+ "type": "object",
33
+ "properties": {
34
+ "probes": {
35
+ "type": "array",
36
+ "items": { "$ref": "#/$defs/probe" }
37
+ },
38
+ "repairCapabilities": {
39
+ "type": "array",
40
+ "items": { "$ref": "#/$defs/repairCapability" }
41
+ }
42
+ },
43
+ "additionalProperties": true
44
+ },
45
+ "summary": {
46
+ "type": "object",
47
+ "properties": {
48
+ "scopeProvenance": { "type": "object", "additionalProperties": true }
49
+ },
50
+ "additionalProperties": true
51
+ },
52
+ "driftDelta": { "type": "object", "additionalProperties": true },
53
+ "scoreBreakdown": {
54
+ "type": "array",
55
+ "items": { "type": "object", "additionalProperties": true }
56
+ },
57
+ "contract": { "type": "object", "additionalProperties": true },
58
+ "policyProfile": { "$ref": "#/$defs/policyProfile" }
59
+ },
60
+ "$defs": {
61
+ "freshness": {
62
+ "type": "object",
63
+ "required": [
64
+ "category",
65
+ "generatedAt",
66
+ "ttlSeconds",
67
+ "status",
68
+ "verifyBeforeUse",
69
+ "reason"
70
+ ],
71
+ "properties": {
72
+ "category": { "enum": ["structure", "verification", "state"] },
73
+ "generatedAt": { "type": "string", "format": "date-time" },
74
+ "ttlSeconds": { "type": ["integer", "null"], "minimum": 0 },
75
+ "expiresAt": { "type": "string", "format": "date-time" },
76
+ "status": { "enum": ["fresh", "stale", "unknown"] },
77
+ "verifyBeforeUse": { "type": "boolean" },
78
+ "reason": { "type": "string" }
79
+ },
80
+ "additionalProperties": false
81
+ },
82
+ "evidenceFreshness": {
83
+ "type": "object",
84
+ "required": [
85
+ "generatedAt",
86
+ "status",
87
+ "staleProbeCount",
88
+ "unknownProbeCount",
89
+ "liveStateProbeCount",
90
+ "verifyBeforeUseProbeCount"
91
+ ],
92
+ "properties": {
93
+ "generatedAt": { "type": "string", "format": "date-time" },
94
+ "status": { "enum": ["fresh", "stale", "unknown"] },
95
+ "staleProbeCount": { "type": "integer", "minimum": 0 },
96
+ "unknownProbeCount": { "type": "integer", "minimum": 0 },
97
+ "liveStateProbeCount": { "type": "integer", "minimum": 0 },
98
+ "verifyBeforeUseProbeCount": { "type": "integer", "minimum": 0 },
99
+ "oldestProbeGeneratedAt": { "type": "string", "format": "date-time" }
100
+ },
101
+ "additionalProperties": false
102
+ },
103
+ "repairIntent": {
104
+ "type": "object",
105
+ "required": [
106
+ "mode",
107
+ "confidence",
108
+ "primaryActionLabel",
109
+ "requiresApproval",
110
+ "requiresFreshEvidence",
111
+ "reason",
112
+ "relatedCommands"
113
+ ],
114
+ "properties": {
115
+ "mode": {
116
+ "enum": [
117
+ "none",
118
+ "run-command",
119
+ "edit-file",
120
+ "review-required",
121
+ "verify-before-fix",
122
+ "refresh-evidence",
123
+ "manual-guidance"
124
+ ]
125
+ },
126
+ "confidence": { "enum": ["high", "medium", "low"] },
127
+ "primaryActionLabel": { "type": "string" },
128
+ "requiresApproval": { "type": "boolean" },
129
+ "requiresFreshEvidence": { "type": "boolean" },
130
+ "reason": { "type": "string" },
131
+ "relatedCommands": { "type": "array", "items": { "type": "string" } }
132
+ },
133
+ "additionalProperties": false
134
+ },
135
+ "policyProfile": {
136
+ "type": "object",
137
+ "required": [
138
+ "name",
139
+ "exitOnErrors",
140
+ "exitOnWarnings",
141
+ "warningExitCode",
142
+ "advisoryWarningsBlockRelease",
143
+ "description"
144
+ ],
145
+ "properties": {
146
+ "name": { "enum": ["local", "ci", "release", "enterprise-strict"] },
147
+ "exitOnErrors": { "const": true },
148
+ "exitOnWarnings": { "type": "boolean" },
149
+ "warningExitCode": { "enum": [0, 1, 2] },
150
+ "advisoryWarningsBlockRelease": { "type": "boolean" },
151
+ "description": { "type": "string" }
152
+ },
153
+ "additionalProperties": false
154
+ },
155
+ "probe": {
156
+ "type": "object",
157
+ "properties": {
158
+ "id": { "type": "string", "minLength": 1 },
159
+ "label": { "type": "string", "minLength": 1 },
160
+ "status": { "enum": ["pass", "warn", "fail"] },
161
+ "severity": { "enum": ["info", "warn", "error"] },
162
+ "scope": { "type": "string" },
163
+ "reason": { "type": "string" },
164
+ "recommendation": { "type": "string" },
165
+ "freshness": { "$ref": "#/$defs/freshness" },
166
+ "issueClass": {
167
+ "enum": [
168
+ "dependency",
169
+ "environment",
170
+ "security",
171
+ "test",
172
+ "quality",
173
+ "container",
174
+ "deployment",
175
+ "runtime",
176
+ "workspace-contract",
177
+ "source-tree",
178
+ "framework",
179
+ "configuration",
180
+ "custom",
181
+ "unknown"
182
+ ]
183
+ },
184
+ "operationalImpact": {
185
+ "enum": [
186
+ "none",
187
+ "developer-friction",
188
+ "ci-risk",
189
+ "release-risk",
190
+ "security-risk",
191
+ "runtime-risk",
192
+ "customer-risk"
193
+ ]
194
+ },
195
+ "repairIntent": { "$ref": "#/$defs/repairIntent" },
196
+ "repairCapability": { "$ref": "#/$defs/repairCapability" }
197
+ },
198
+ "additionalProperties": true
199
+ },
200
+ "repairCapability": {
201
+ "type": "object",
202
+ "required": [
203
+ "id",
204
+ "issueId",
205
+ "title",
206
+ "status",
207
+ "fixKind",
208
+ "risk",
209
+ "canAutoFix",
210
+ "canEditFiles",
211
+ "requiresApproval",
212
+ "requiresReview",
213
+ "files",
214
+ "refreshCommands",
215
+ "reason"
216
+ ],
217
+ "properties": {
218
+ "id": { "type": "string", "minLength": 1 },
219
+ "issueId": { "type": "string", "minLength": 1 },
220
+ "title": { "type": "string", "minLength": 1 },
221
+ "status": { "enum": ["available", "manual", "blocked"] },
222
+ "fixKind": {
223
+ "enum": [
224
+ "package-json-script",
225
+ "file-create",
226
+ "file-append",
227
+ "file-copy",
228
+ "dependency-sync",
229
+ "command",
230
+ "manual"
231
+ ]
232
+ },
233
+ "risk": { "enum": ["safe", "guarded", "invasive"] },
234
+ "canAutoFix": { "type": "boolean" },
235
+ "canEditFiles": { "type": "boolean" },
236
+ "requiresApproval": { "type": "boolean" },
237
+ "requiresReview": { "type": "boolean" },
238
+ "files": { "type": "array", "items": { "type": "string" } },
239
+ "command": { "type": "string" },
240
+ "operation": { "$ref": "#/$defs/repairOperation" },
241
+ "verifyCommand": { "type": "string" },
242
+ "refreshCommands": { "type": "array", "items": { "type": "string" } },
243
+ "reason": { "type": "string" },
244
+ "limitations": { "type": "array", "items": { "type": "string" } }
245
+ },
246
+ "additionalProperties": true
247
+ },
248
+ "repairOperation": {
249
+ "type": "object",
250
+ "required": ["type", "path"],
251
+ "properties": {
252
+ "type": {
253
+ "enum": [
254
+ "file-create",
255
+ "file-append",
256
+ "file-copy",
257
+ "package-json-script",
258
+ "json-edit",
259
+ "env-key-add",
260
+ "makefile-target"
261
+ ]
262
+ },
263
+ "sourcePath": { "type": "string", "minLength": 1 },
264
+ "path": { "type": "string", "minLength": 1 },
265
+ "content": { "type": "string" },
266
+ "overwrite": { "type": "boolean" },
267
+ "lines": { "type": "array", "items": { "type": "string" } },
268
+ "ensureNewline": { "type": "boolean" },
269
+ "scriptName": { "type": "string" },
270
+ "scriptValue": { "type": "string" },
271
+ "edits": {
272
+ "type": "array",
273
+ "items": {
274
+ "type": "object",
275
+ "required": ["pointer", "value"],
276
+ "properties": {
277
+ "pointer": { "type": "string" },
278
+ "value": { "type": ["string", "number", "boolean", "null"] }
279
+ },
280
+ "additionalProperties": false
281
+ }
282
+ },
283
+ "keys": {
284
+ "type": "array",
285
+ "items": {
286
+ "type": "object",
287
+ "required": ["name", "value"],
288
+ "properties": {
289
+ "name": { "type": "string" },
290
+ "value": { "type": "string" },
291
+ "comment": { "type": "string" }
292
+ },
293
+ "additionalProperties": false
294
+ }
295
+ },
296
+ "target": { "type": "string" },
297
+ "command": { "type": "string" },
298
+ "phony": { "type": "boolean" }
299
+ },
300
+ "additionalProperties": false
301
+ }
302
+ },
303
+ "additionalProperties": true
304
+ }