rapidkit 0.37.0 → 0.38.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 (65) hide show
  1. package/README.md +166 -147
  2. package/contracts/create-planner-capabilities.v1.json +251 -0
  3. package/contracts/runtime-command-surface.v1.json +52 -0
  4. package/dist/autopilot-release-SBPGNGAB.js +1 -0
  5. package/dist/chunk-2ED6SPXP.js +1 -0
  6. package/dist/chunk-3R7UJAX5.js +1 -0
  7. package/dist/{chunk-RUUDLAKJ.js → chunk-5NBYSXOZ.js} +1 -1
  8. package/dist/chunk-7XW2I6MP.js +13 -0
  9. package/dist/{chunk-U6QUN6V2.js → chunk-ABPDGFVD.js} +1 -1
  10. package/dist/chunk-IW3KLQXE.js +2 -0
  11. package/dist/{chunk-7VSYTOOG.js → chunk-NKNMGWAZ.js} +1 -1
  12. package/dist/{chunk-IOIWVHRO.js → chunk-TVIOAZ6E.js} +13 -13
  13. package/dist/chunk-XESEBTPE.js +1 -0
  14. package/dist/{create-HN5HOGQ4.js → create-Y3XJOKL5.js} +1 -1
  15. package/dist/index.js +150 -144
  16. package/dist/{pipeline-BOU4KETN.js → pipeline-C4UCLETO.js} +1 -1
  17. package/dist/{workspace-2AL5C3QZ.js → workspace-WBKFXH4Z.js} +1 -1
  18. package/dist/{workspace-agent-sync-V2H6NTGD.js → workspace-agent-sync-3FFFJYKF.js} +1 -1
  19. package/dist/{workspace-context-KCKNV5VQ.js → workspace-context-V4UGIHSC.js} +1 -1
  20. package/dist/{workspace-foundation-L6ZBGMVE.js → workspace-foundation-T45HAWKL.js} +1 -1
  21. package/dist/{workspace-intelligence-3TWXJQ7Y.js → workspace-intelligence-MGL3Z25K.js} +1 -1
  22. package/dist/{workspace-model-NQVZN5W4.js → workspace-model-IKMGY2BX.js} +1 -1
  23. package/dist/workspace-run-HOR56FON.js +1 -0
  24. package/dist/workspace-verify-A3J6D7T2.js +1 -0
  25. package/docs/AI_DYNAMIC_INTEGRATION.md +440 -0
  26. package/docs/AI_EXAMPLES.md +419 -0
  27. package/docs/AI_FEATURES.md +460 -0
  28. package/docs/AI_QUICKSTART.md +245 -0
  29. package/docs/DEVELOPMENT.md +88 -0
  30. package/docs/From Code to Shared Understanding.png +0 -0
  31. package/docs/OPEN_SOURCE_USER_SCENARIOS.md +170 -0
  32. package/docs/OPTIMIZATION_GUIDE.md +504 -0
  33. package/docs/PACKAGE_MANAGER_POLICY.md +25 -0
  34. package/docs/README.md +121 -0
  35. package/docs/SECURITY.md +63 -0
  36. package/docs/SETUP.md +107 -0
  37. package/docs/UTILITIES.md +221 -0
  38. package/docs/WORKSPACE_MARKER_SPEC.md +276 -0
  39. package/docs/ci-workflows.md +56 -0
  40. package/docs/commands-reference.md +136 -0
  41. package/docs/config-file-guide.md +295 -0
  42. package/docs/contracts/ARTIFACT_CATALOG.md +111 -0
  43. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +138 -0
  44. package/docs/contracts/README.md +71 -0
  45. package/docs/contracts/RUNTIME_ACCEPTANCE_MATRIX.md +98 -0
  46. package/docs/contracts/RUNTIME_SUPPORT_MATRIX.md +74 -0
  47. package/docs/contracts/rapidkit-cli-contracts.json +239 -0
  48. package/docs/create-planner-capabilities.md +81 -0
  49. package/docs/doctor-command.md +263 -0
  50. package/docs/examples/ci-agent-grounding.yml +62 -0
  51. package/docs/from-code-to-shared-understanding.md +46 -0
  52. package/docs/governance-policy.enterprise.example.json +40 -0
  53. package/docs/mirror-config.enterprise.example.json +60 -0
  54. package/docs/policies.workspace.example.yml +23 -0
  55. package/docs/workspace-operations.md +160 -0
  56. package/docs/workspace-run.md +80 -0
  57. package/package.json +3 -2
  58. package/dist/autopilot-release-AUXP2ZIF.js +0 -1
  59. package/dist/chunk-C7OVQQXT.js +0 -1
  60. package/dist/chunk-EJGKBFV4.js +0 -2
  61. package/dist/chunk-UXKB4KGZ.js +0 -13
  62. package/dist/chunk-YJ24EV3P.js +0 -1
  63. package/dist/workspace-run-DEXI52KO.js +0 -1
  64. package/dist/workspace-verify-HBCQNNGU.js +0 -1
  65. /package/dist/{chunk-D23L2GFT.js → chunk-6E5TBB2C.js} +0 -0
package/README.md CHANGED
@@ -2,139 +2,154 @@
2
2
 
3
3
  ### Open-Source Workspace Intelligence for Software Systems
4
4
 
5
- > AI agents understand files.
6
- > RapidKit helps developers, CI, and AI agents share the same understanding of the workspace.
5
+ [![npm version](https://img.shields.io/npm/v/rapidkit.svg?style=flat-square)](https://www.npmjs.com/package/rapidkit)
6
+ [![Downloads](https://img.shields.io/npm/dm/rapidkit.svg?style=flat-square)](https://www.npmjs.com/package/rapidkit)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
8
+ [![Built by RapidKit](https://img.shields.io/badge/Built%20by-RapidKit-0f172a?logo=github)](https://www.getrapidkit.com)
7
9
 
8
- RapidKit is an open-source workspace platform that turns scattered projects into a governed, agent-ready workspace.
10
+ > One workspace. One truth. Humans and AI aligned.
9
11
 
10
- Build, adopt, and operate polyglot software systems with a shared understanding for developers, CI pipelines, and AI agents.
12
+ RapidKit turns scattered projects into a governed, agent-ready workspace.
11
13
 
12
- Instead of every tool rebuilding its own understanding of your system, RapidKit provides a shared source of truth.
14
+ It gives developers, CI, IDEs, and AI agents the same evidence-backed source of
15
+ truth: workspace model, agent context, impact analysis, verification evidence,
16
+ contracts, and release gates.
13
17
 
14
- ## Quick start in 5 minutes
18
+ ## Start here
15
19
 
16
- ### Install the CLI
20
+ ### Install
17
21
 
18
22
  ```bash
19
23
  npm install -g rapidkit
20
24
  ```
21
25
 
22
- ### Create a new workspace and project
26
+ or run without installing:
27
+
28
+ ```bash
29
+ npx rapidkit --help
30
+ ```
31
+
32
+ ### Create a governed workspace
23
33
 
24
34
  ```bash
25
- npx rapidkit create workspace platform --yes --profile polyglot
35
+ mkdir -p ~/rapidkit/workspaces
36
+ cd ~/rapidkit/workspaces
26
37
 
38
+ npx rapidkit create workspace platform --yes --profile polyglot --output .
27
39
  cd platform
28
40
 
29
41
  npx rapidkit bootstrap --profile polyglot
30
-
31
42
  npx rapidkit create project
32
43
  npx rapidkit create frontend nextjs my-web --yes
33
44
 
34
- npx rapidkit workspace model
35
- npx rapidkit workspace context --for-agent --write
36
- npx rapidkit pipeline --strict
45
+ npx rapidkit workspace model --json
46
+ npx rapidkit workspace context --for-agent --json --write
47
+ npx rapidkit pipeline --json --strict
37
48
  ```
38
49
 
39
50
  ### Adopt an existing project
40
51
 
41
52
  ```bash
42
- npx rapidkit adopt /path/to/project --workspace /path/to/workspace
53
+ mkdir -p ~/rapidkit/workspaces
54
+ cd ~/rapidkit/workspaces
55
+
56
+ npx rapidkit create workspace platform --yes --profile polyglot --output .
57
+ npx rapidkit adopt /path/to/project --workspace ~/rapidkit/workspaces/platform
43
58
 
44
- npx rapidkit workspace model
45
- npx rapidkit workspace context --for-agent --write
46
- npx rapidkit pipeline --strict
59
+ cd ~/rapidkit/workspaces/platform
60
+ npx rapidkit workspace model --json
61
+ npx rapidkit workspace context --for-agent --json --write
62
+ npx rapidkit pipeline --json --strict
47
63
  ```
48
64
 
49
- ### What RapidKit gives you
65
+ ### What you get
50
66
 
51
- * Adopt existing projects without migration
52
- * Create and manage polyglot workspaces
53
- * Generate agent-ready context and workspace models
54
- * Analyze impact before changes ship
55
- * Verify release readiness with evidence-backed gates
56
- * Keep developers, CI, and AI agents aligned
67
+ - A governed workspace boundary for projects, policies, reports, and contracts
68
+ - Native create for RapidKit-owned backend and frontend kits
69
+ - Adopt/import for existing repositories without moving source code
70
+ - Agent-ready context packs for Copilot, Cursor, Claude, Codex, and other tools
71
+ - Impact analysis and release gates backed by workspace evidence
72
+ - One shared truth for developers, CI, IDEs, and AI agents
57
73
 
58
- ### Workspace Intelligence
74
+ ## Create planner
59
75
 
60
- Most AI tools understand:
76
+ RapidKit does not pretend every technology is a native scaffold. It uses a
77
+ create planner contract to choose the safest path:
61
78
 
62
- * Files
63
- * Functions
64
- * Repositories
79
+ | Lane | Use when | Result |
80
+ | ----------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
81
+ | `native-create` | RapidKit owns the scaffold contract | Create the project with a first-class kit |
82
+ | `external-create-adopt` | The ecosystem has an official generator, but RapidKit does not own the post-create contract yet | Use the ecosystem generator, then adopt into Workspace Intelligence |
83
+ | `adopt-only` | The project already exists or native create is not supported | Register, model, verify, and govern the project without scaffolding it |
65
84
 
66
- Production systems require understanding:
85
+ Native create includes FastAPI, NestJS, Go, Spring Boot, .NET, and official
86
+ frontend generators such as Next.js, Vite, Nuxt, Angular, Astro, Remix, and
87
+ SvelteKit.
67
88
 
68
- * Ownership
69
- * Architecture
70
- * Dependencies
71
- * Operational context
72
- * Verification requirements
73
- * Change impact
89
+ External ecosystems such as WordPress, Laravel, Symfony, Rails, and generic PHP
90
+ projects can still enter RapidKit through adopt/import and receive workspace
91
+ model, context, impact, doctor, and release governance.
74
92
 
75
- RapidKit adds the missing layer:
93
+ Details: [docs/create-planner-capabilities.md](docs/create-planner-capabilities.md).
76
94
 
77
- **Workspace Intelligence.**
95
+ ## Workspace Intelligence
78
96
 
79
- **One workspace. One truth.**
97
+ Most AI tools understand:
80
98
 
81
- A shared understanding of software systems for developers, CI pipelines, IDEs, and AI agents.
99
+ - Files
100
+ - Functions
101
+ - Repositories
82
102
 
83
- ### From Code to Shared Understanding
84
- How RapidKit transforms projects and repositories into workspace intelligence for developers, CI, and AI agents.
103
+ Production systems require understanding:
85
104
 
86
- ```mermaid
87
- flowchart TB
105
+ - Ownership
106
+ - Architecture
107
+ - Dependencies
108
+ - Operational context
109
+ - Verification requirements
110
+ - Change impact
88
111
 
89
- Code["Code & Repositories"]
90
- Projects["Projects"]
91
- Workspace["Workspace"]
112
+ RapidKit adds the missing layer:
92
113
 
93
- Code --> Projects
94
- Projects --> Workspace
114
+ **Workspace Intelligence.**
95
115
 
96
- subgraph Intelligence["Workspace Intelligence"]
97
- Model["Workspace Model"]
98
- Context["Agent Context"]
99
- Impact["Impact Analysis"]
100
- Verify["Verification"]
101
- end
116
+ **One workspace. One truth. Humans and AI aligned.**
102
117
 
103
- Workspace --> Model
104
- Workspace --> Context
105
- Workspace --> Impact
106
- Workspace --> Verify
118
+ A shared, evidence-backed understanding of software systems for developers, CI pipelines, IDEs, and AI agents.
107
119
 
108
- Model --> Dev["Developers"]
109
- Model --> CI["CI"]
110
- Model --> Agents["AI Agents"]
120
+ In RapidKit, Workspace Intelligence is not a chat feature. It is the deterministic workspace layer behind the CLI:
111
121
 
112
- Context --> Agents
122
+ - **Model** — what projects, runtimes, frameworks, commands, policies, contracts, and evidence exist
123
+ - **Context** — what AI agents and IDEs should know before giving advice
124
+ - **Impact** — what changed and which projects, commands, and release gates are affected
125
+ - **Verify** — which evidence proves the workspace is ready, blocked, or needs attention
126
+ - **Sync** — how developers, CI, Workspai, and AI agents stay grounded in the same truth
113
127
 
114
- Impact --> Dev
115
- Impact --> CI
128
+ ## From Code to Shared Understanding
116
129
 
117
- Verify --> CI
118
- Verify --> Agents
119
- ```
130
+ How RapidKit transforms projects and repositories into workspace intelligence for developers, CI, and AI agents.
120
131
 
121
- RapidKit provides the workspace engine, governance model, evidence chain, and operational intelligence.
132
+ ![From Code to Shared Understanding](https://raw.githubusercontent.com/rapidkitlabs/rapidkit-npm/main/docs/From%20Code%20to%20Shared%20Understanding.png)
122
133
 
123
- Workspai provides the VS Code experience on top of that foundation.
134
+ Mermaid source for GitHub docs: [from-code-to-shared-understanding.md](docs/from-code-to-shared-understanding.md).
124
135
 
125
- For the visual experience, install the [Workspai VS Code extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode).
136
+ RapidKit provides the workspace intelligence engine: model, context, impact, verification, evidence, contracts, and governance.
126
137
 
127
- [![npm version](https://img.shields.io/npm/v/rapidkit.svg?style=flat-square)](https://www.npmjs.com/package/rapidkit)
128
- [![Downloads](https://img.shields.io/npm/dm/rapidkit.svg?style=flat-square)](https://www.npmjs.com/package/rapidkit)
129
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)
130
- [![Built by RapidKit](https://img.shields.io/badge/Built%20by-RapidKit-0f172a?logo=github)](https://www.getrapidkit.com)
138
+ Workspai provides the VS Code experience on top of that foundation.
139
+
140
+ For the visual experience, install the [Workspai VS Code extension](https://marketplace.visualstudio.com/items?itemName=rapidkit.rapidkit-vscode).
131
141
 
132
142
  ## Table of contents
133
143
 
144
+ - [Start here](#start-here)
145
+ - [Create planner](#create-planner)
146
+ - [Workspace Intelligence](#workspace-intelligence)
147
+ - [From Code to Shared Understanding](#from-code-to-shared-understanding)
134
148
  - [Typical workflows](#typical-workflows)
135
149
  - [Mental model](#mental-model)
136
150
  - [Workspace Intelligence Commands](#workspace-intelligence-commands)
137
- - [Requirements & install](#requirements)
151
+ - [Requirements](#requirements)
152
+ - [Install](#install)
138
153
  - [Project workflows](#project-workflows)
139
154
  - [CI & evidence](#ci--evidence)
140
155
  - [Workspai ecosystem](#workspai-ecosystem)
@@ -156,7 +171,6 @@ For the visual experience, install the [Workspai VS Code extension](https://mark
156
171
  | How do I onboard an existing project? | `adopt` |
157
172
  | How do I bring repositories into a workspace? | `import` |
158
173
 
159
-
160
174
  ### Existing project
161
175
 
162
176
  ```bash
@@ -177,7 +191,6 @@ npx rapidkit workspace agent-sync --write --refresh-context
177
191
  npx rapidkit pipeline --json --strict
178
192
  ```
179
193
 
180
-
181
194
  ### Adopt in place
182
195
 
183
196
  ```bash
@@ -190,13 +203,12 @@ npx rapidkit adopt --json # from inside the project folder
190
203
  ```text
191
204
  ~/.rapidkit/workspaces.json
192
205
  ~/rapidkit/workspaces/
193
- workspai/ # managed default (import/adopt fallback)
206
+ workspai/ # managed default (standalone, import, and adopt fallback)
194
207
  my-workspace/ # user-created workspaces
195
208
  ```
196
209
 
197
210
  New workspaces go under `~/rapidkit/workspaces/<name>`. Legacy `~/Workspai/rapidkits/*` paths remain registered. Use `--output <parent-dir>` for a custom parent.
198
211
 
199
-
200
212
  ## Mental model
201
213
 
202
214
  ### Two-layer model
@@ -222,17 +234,18 @@ external-project/
222
234
  Every tool gets the same answers: what projects exist, what stack they use, which commands are safe, what evidence exists, and what context agents should receive.
223
235
 
224
236
  ## Workspace Intelligence Commands
237
+
225
238
  Workspace Intelligence provides a shared understanding of projects, dependencies, operational context, and release readiness for developers, CI pipelines, and AI agents.
226
239
 
227
- | Command | Purpose |
228
- | --- | --- |
229
- | `workspace model --json` | Canonical workspace model |
230
- | `workspace context --for-agent --json --write` | Agent-ready context pack + auto agent grounding sync |
231
- | `workspace agent-sync --write` | Cross-tool grounding (AGENTS.md, Copilot, Cursor, Claude, INDEX) |
232
- | `workspace snapshot --json` | Persist model snapshot |
233
- | `workspace diff --from <file\|git[:ref]> --json` | Diff against snapshot or git |
234
- | `workspace impact --from <file> --json` | Blast-radius evidence |
235
- | `workspace verify [--strict] --json` | Impact verification gate |
240
+ | Command | Purpose |
241
+ | ------------------------------------------------ | ---------------------------------------------------------------- |
242
+ | `workspace model --json` | Canonical workspace model |
243
+ | `workspace context --for-agent --json --write` | Agent-ready context pack + auto agent grounding sync |
244
+ | `workspace agent-sync --write` | Cross-tool grounding (AGENTS.md, Copilot, Cursor, Claude, INDEX) |
245
+ | `workspace snapshot --json` | Persist model snapshot |
246
+ | `workspace diff --from <file\|git[:ref]> --json` | Diff against snapshot or git |
247
+ | `workspace impact --from <file> --json` | Blast-radius evidence |
248
+ | `workspace verify [--strict] --json` | Impact verification gate |
236
249
 
237
250
  JSON schemas: `contracts/workspace-intelligence/`. Details: [commands-reference.md](docs/commands-reference.md).
238
251
 
@@ -251,19 +264,19 @@ npx rapidkit workspace context --for-agent --json --write
251
264
  npx rapidkit workspace agent-sync --write --strict --json
252
265
  ```
253
266
 
254
- | Artifact / file | Purpose |
255
- | --- | --- |
256
- | `.rapidkit/reports/INDEX.json` | Read order, blockers, report timestamps |
257
- | `.rapidkit/reports/workspace-context-agent.json` | Canonical agent context pack |
258
- | `.rapidkit/AGENT-GROUNDING.md` | Tool-agnostic grounding doc |
259
- | `AGENTS.md` | Open standard for all agents (managed RapidKit section) |
260
- | `.github/copilot-instructions.md` | GitHub Copilot / VS Code Chat always-on rules |
261
- | `.github/instructions/rapidkit-evidence.instructions.md` | Copilot scoped rules for `.rapidkit/**` |
262
- | `.github/prompts/rapidkit-diagnose.prompt.md` | Copilot reusable diagnose prompt |
263
- | `.github/skills/rapidkit-grounding/SKILL.md` | Copilot agent skill workflow |
264
- | `.cursor/rules/rapidkit-grounding.mdc` | Cursor always-on project rule |
265
- | `CLAUDE.md` | Claude Code entry (`@AGENTS.md` + managed notes) |
266
- | `.claude/rules/rapidkit-evidence.md` | Claude Code scoped evidence rules |
267
+ | Artifact / file | Purpose |
268
+ | -------------------------------------------------------- | ------------------------------------------------------- |
269
+ | `.rapidkit/reports/INDEX.json` | Read order, blockers, report timestamps |
270
+ | `.rapidkit/reports/workspace-context-agent.json` | Canonical agent context pack |
271
+ | `.rapidkit/AGENT-GROUNDING.md` | Tool-agnostic grounding doc |
272
+ | `AGENTS.md` | Open standard for all agents (managed RapidKit section) |
273
+ | `.github/copilot-instructions.md` | GitHub Copilot / VS Code Chat always-on rules |
274
+ | `.github/instructions/rapidkit-evidence.instructions.md` | Copilot scoped rules for `.rapidkit/**` |
275
+ | `.github/prompts/rapidkit-diagnose.prompt.md` | Copilot reusable diagnose prompt |
276
+ | `.github/skills/rapidkit-grounding/SKILL.md` | Copilot agent skill workflow |
277
+ | `.cursor/rules/rapidkit-grounding.mdc` | Cursor always-on project rule |
278
+ | `CLAUDE.md` | Claude Code entry (`@AGENTS.md` + managed notes) |
279
+ | `.claude/rules/rapidkit-evidence.md` | Claude Code scoped evidence rules |
267
280
 
268
281
  Agents cannot be **forced** probabilistically — but this stack maximizes the chance they read reports first, even when the user talks to Copilot directly without Workspai.
269
282
 
@@ -301,8 +314,13 @@ npx rapidkit doctor workspace --json
301
314
  ### I want a new project
302
315
 
303
316
  ```bash
304
- npx rapidkit create workspace platform --yes --profile polyglot
305
- cd platform && npx rapidkit bootstrap --profile polyglot
317
+ mkdir -p ~/rapidkit/workspaces
318
+ cd ~/rapidkit/workspaces
319
+
320
+ npx rapidkit create workspace platform --yes --profile polyglot --output .
321
+ cd platform
322
+
323
+ npx rapidkit bootstrap --profile polyglot
306
324
  npx rapidkit create project # interactive kit picker
307
325
  npx rapidkit create frontend nextjs my-web --yes
308
326
  cd <project-name> && npx rapidkit init && npx rapidkit dev
@@ -324,11 +342,11 @@ Stages individually: `workspace sync`, `doctor workspace --ci`, `analyze --stric
324
342
 
325
343
  ## CI & evidence
326
344
 
327
- | Stage | Report |
328
- | --- | --- |
329
- | Pipeline | `.rapidkit/reports/pipeline-last-run.json` |
330
- | Doctor | `.rapidkit/reports/doctor-last-run.json` |
331
- | Analyze | `.rapidkit/reports/analyze-last-run.json` |
345
+ | Stage | Report |
346
+ | --------- | --------------------------------------------------- |
347
+ | Pipeline | `.rapidkit/reports/pipeline-last-run.json` |
348
+ | Doctor | `.rapidkit/reports/doctor-last-run.json` |
349
+ | Analyze | `.rapidkit/reports/analyze-last-run.json` |
332
350
  | Readiness | `.rapidkit/reports/release-readiness-last-run.json` |
333
351
  | Autopilot | `.rapidkit/reports/autopilot-release-last-run.json` |
334
352
 
@@ -349,47 +367,48 @@ Full syntax: [docs/commands-reference.md](docs/commands-reference.md). CI workfl
349
367
 
350
368
  RapidKit and Workspai form a single workspace intelligence platform.
351
369
 
352
- RapidKit provides the workspace engine, governance model, evidence chain, and operational intelligence.
370
+ RapidKit provides the workspace intelligence engine: model, context, impact, verification, evidence, contracts, and governance.
353
371
 
354
- Workspai provides the VS Code experience, dashboards, AI workflows, and developer-facing workspace operations.
372
+ Workspai — Workspace + Intelligence — provides the VS Code surface: dashboard, sidebar, Incident Studio, AI workflows, and developer-facing workspace operations.
355
373
 
356
- | Component | Repository | Role |
357
- | --- | --- | --- |
358
- | CLI | [rapidkit-npm](https://github.com/rapidkitlabs/rapidkit-npm) | Commands, governance, adoption, CI evidence |
359
- | VS Code | [rapidkit-vscode](https://github.com/rapidkitlabs/rapidkit-vscode) | Workspai dashboard, sidebar, AI studio |
360
- | Core | [rapidkit-core](https://github.com/rapidkitlabs/rapidkit-core) | Python engine, modules, doctor |
361
- | Examples | [rapidkit-examples](https://github.com/rapidkitlabs/rapidkit-examples) | Starter workspaces |
374
+ | Component | Repository | Role |
375
+ | --------- | ---------------------------------------------------------------------- | ------------------------------------------- |
376
+ | CLI | [rapidkit-npm](https://github.com/rapidkitlabs/rapidkit-npm) | Commands, governance, adoption, CI evidence |
377
+ | VS Code | [rapidkit-vscode](https://github.com/rapidkitlabs/rapidkit-vscode) | Workspai dashboard, sidebar, AI studio |
378
+ | Core | [rapidkit-core](https://github.com/rapidkitlabs/rapidkit-core) | Python engine, modules, doctor |
379
+ | Examples | [rapidkit-examples](https://github.com/rapidkitlabs/rapidkit-examples) | Starter workspaces |
362
380
 
363
381
  ## VS Code extension
382
+
364
383
  Workspai is the VS Code experience for RapidKit workspace intelligence.
365
384
 
366
385
  Search **Workspai** in the marketplace or install via:
367
386
  `ext install rapidkit.rapidkit-vscode`.
368
387
 
369
- | Feature | CLI | Extension |
370
- | --- | --- | --- |
371
- | Create / adopt / import | Yes | Guided wizards |
372
- | Workspace model / context | Yes | Dashboard + AI scope |
373
- | Cross-tool agent grounding | Yes (`workspace agent-sync`) | Send-to-Copilot / Ask Studio UX |
374
- | Enterprise evidence loop | Partial | Full dashboard |
375
- | Module catalog (FastAPI/NestJS) | Limited | Browser UI |
388
+ | Feature | CLI | Extension |
389
+ | ------------------------------- | ---------------------------- | ------------------------------- |
390
+ | Create / adopt / import | Yes | Guided wizards |
391
+ | Workspace model / context | Yes | Dashboard + AI scope |
392
+ | Cross-tool agent grounding | Yes (`workspace agent-sync`) | Send-to-Copilot / Ask Studio UX |
393
+ | Enterprise evidence loop | Partial | Full dashboard |
394
+ | Module catalog (FastAPI/NestJS) | Limited | Browser UI |
376
395
 
377
396
  The extension invokes this npm CLI. For the latest `adopt` and `create frontend` features, install matching CLI version: `npm install -g rapidkit@latest` or `npm link` from this repo ([Development](#development)).
378
397
 
379
398
  ## Documentation
380
399
 
381
- | Doc | Description |
382
- | --- | --- |
383
- | [docs/README.md](docs/README.md) | Documentation index |
384
- | [docs/commands-reference.md](docs/commands-reference.md) | Full command syntax |
385
- | [docs/workspace-operations.md](docs/workspace-operations.md) | Import, adopt, snapshots, archives, infra |
386
- | [docs/workspace-run.md](docs/workspace-run.md) | Polyglot fleet orchestration |
387
- | [docs/doctor-command.md](docs/doctor-command.md) | Doctor scopes, CI exit codes, JSON evidence |
388
- | [docs/OPEN_SOURCE_USER_SCENARIOS.md](docs/OPEN_SOURCE_USER_SCENARIOS.md) | Role-based workflows |
389
- | [docs/SETUP.md](docs/SETUP.md) | Maintainer setup |
390
- | [docs/SECURITY.md](docs/SECURITY.md) | Security policy |
391
- | [docs/config-file-guide.md](docs/config-file-guide.md) | User configuration |
392
- | [CHANGELOG.md](CHANGELOG.md) | Version history |
400
+ | Doc | Description |
401
+ | ------------------------------------------------------------------------ | ------------------------------------------- |
402
+ | [docs/README.md](docs/README.md) | Documentation index |
403
+ | [docs/commands-reference.md](docs/commands-reference.md) | Full command syntax |
404
+ | [docs/workspace-operations.md](docs/workspace-operations.md) | Import, adopt, snapshots, archives, infra |
405
+ | [docs/workspace-run.md](docs/workspace-run.md) | Polyglot fleet orchestration |
406
+ | [docs/doctor-command.md](docs/doctor-command.md) | Doctor scopes, CI exit codes, JSON evidence |
407
+ | [docs/OPEN_SOURCE_USER_SCENARIOS.md](docs/OPEN_SOURCE_USER_SCENARIOS.md) | Role-based workflows |
408
+ | [docs/SETUP.md](docs/SETUP.md) | Maintainer setup |
409
+ | [docs/SECURITY.md](docs/SECURITY.md) | Security policy |
410
+ | [docs/config-file-guide.md](docs/config-file-guide.md) | User configuration |
411
+ | [CHANGELOG.md](CHANGELOG.md) | Version history |
393
412
 
394
413
  ## Development
395
414
 
@@ -404,17 +423,17 @@ Contributors: [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md), [docs/ci-workflows.md]
404
423
 
405
424
  ## Troubleshooting
406
425
 
407
- | Problem | Quick check | Fix |
408
- | --- | --- | --- |
409
- | `python3` not found | `python3 --version` | Install Python 3.10+ |
410
- | `setup --warm-deps` skipped | Project markers in cwd | Run from target project directory |
411
- | Strict policy blocks command | `.rapidkit/policies.yml` | `workspace policy set …` |
412
- | `npm audit fix --force` downgrades tsup | `package.json` | Do not use `--force`; keep `tsup@^8.5.1` |
413
- | Security audit fails on esbuild | `npm audit --audit-level=moderate` | Keep `esbuild` override in `package.json` |
414
- | Doctor output stale | Report timestamps | Re-run `doctor workspace` or `doctor project` |
415
- | Copilot ignores workspace evidence | Missing grounding files | `workspace agent-sync --write --refresh-context` |
416
- | Agent grounding strict CI failed | Stale/missing reports | Run governance chain then re-sync |
417
- | Affected run scope wrong | Git ref | Use `--since <ref>` explicitly |
426
+ | Problem | Quick check | Fix |
427
+ | --------------------------------------- | ---------------------------------- | ------------------------------------------------ |
428
+ | `python3` not found | `python3 --version` | Install Python 3.10+ |
429
+ | `setup --warm-deps` skipped | Project markers in cwd | Run from target project directory |
430
+ | Strict policy blocks command | `.rapidkit/policies.yml` | `workspace policy set …` |
431
+ | `npm audit fix --force` downgrades tsup | `package.json` | Do not use `--force`; keep `tsup@^8.5.1` |
432
+ | Security audit fails on esbuild | `npm audit --audit-level=moderate` | Keep `esbuild` override in `package.json` |
433
+ | Doctor output stale | Report timestamps | Re-run `doctor workspace` or `doctor project` |
434
+ | Copilot ignores workspace evidence | Missing grounding files | `workspace agent-sync --write --refresh-context` |
435
+ | Agent grounding strict CI failed | Stale/missing reports | Run governance chain then re-sync |
436
+ | Affected run scope wrong | Git ref | Use `--since <ref>` explicitly |
418
437
 
419
438
  ## License
420
439