workspai 0.43.1 → 0.45.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 (137) hide show
  1. package/README.md +28 -11
  2. package/contracts/agent-customization-pack.v1.json +1 -1
  3. package/contracts/autopilot-release.v1.json +204 -0
  4. package/contracts/cli-operation-result.v1.json +119 -0
  5. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +1368 -0
  6. package/contracts/command-capabilities.v1.json +303 -0
  7. package/contracts/compatibility-matrix.v1.json +37 -0
  8. package/contracts/create-planner-capabilities.v1.json +156 -65
  9. package/contracts/doctor-project-scan.v2.json +60 -0
  10. package/contracts/doctor-remediation-plan.v1.json +19 -4
  11. package/contracts/doctor-remediation-plan.v2.json +7 -0
  12. package/contracts/doctor-workspace-cache.v2.json +82 -0
  13. package/contracts/extension-cli-compatibility.v1.json +48 -3
  14. package/contracts/infra-plan.v1.json +189 -0
  15. package/contracts/private-product-manifest.v1.json +155 -0
  16. package/contracts/product-factory-plan.v1.json +200 -0
  17. package/contracts/project-archive.v1.json +40 -0
  18. package/contracts/project-entry-capability.v1.json +127 -0
  19. package/contracts/published-contract-catalog.v1.json +339 -0
  20. package/contracts/runtime-command-surface.v1.json +1680 -11
  21. package/contracts/version.v1.json +48 -0
  22. package/contracts/workspace-archive-capabilities.v1.json +90 -0
  23. package/contracts/workspace-archive-manifest.v1.json +107 -0
  24. package/contracts/workspace-archive-operation-result.v1.json +565 -0
  25. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +98 -0
  26. package/contracts/workspace-intelligence/agent-hooks.v1.json +38 -0
  27. package/contracts/workspace-intelligence/agent-reports-index.v1.json +56 -0
  28. package/contracts/workspace-intelligence/mcp-design.v1.json +42 -0
  29. package/contracts/workspace-intelligence/workspace-context.v1.json +12 -0
  30. package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -0
  31. package/contracts/workspace-intelligence-architecture.v1.json +723 -0
  32. package/contracts/workspace-intelligence-chain.v1.json +1194 -0
  33. package/contracts/workspace-list.v1.json +56 -0
  34. package/contracts/workspace-model-cache.v1.json +55 -0
  35. package/contracts/workspace-snapshot.v1.json +58 -0
  36. package/contracts/workspace-snapshot.v2.json +97 -0
  37. package/contracts/workspace-sync.v1.json +30 -0
  38. package/contracts/workspace-watch-event.v1.json +112 -0
  39. package/dist/analyze-YLV7NVLF.js +1 -0
  40. package/dist/{artifact-remediation-plan-244S5K6I.js → artifact-remediation-plan-WLZGROUU.js} +2 -2
  41. package/dist/autopilot-release-YBN3SWAA.js +1 -0
  42. package/dist/{chunk-LZQNVH7D.js → chunk-2K3GYCPS.js} +1 -1
  43. package/dist/chunk-2QOWRBQD.js +1 -0
  44. package/dist/chunk-42G2OK64.js +1 -0
  45. package/dist/chunk-5AKYMAIL.js +1 -0
  46. package/dist/chunk-5GNT4RJI.js +8 -0
  47. package/dist/{chunk-FDDDQMJ2.js → chunk-5PVEQ6CZ.js} +1 -1
  48. package/dist/chunk-6AA3WWQZ.js +2 -0
  49. package/dist/chunk-6ZENXBMG.js +33 -0
  50. package/dist/chunk-7RIWU5TZ.js +1 -0
  51. package/dist/chunk-BJLE5CH7.js +4 -0
  52. package/dist/{chunk-PPHTYJ7G.js → chunk-DXPU4DDV.js} +36 -37
  53. package/dist/{chunk-DOCPUNWS.js → chunk-G3H5R3RR.js} +1 -1
  54. package/dist/chunk-HYJK7W3B.js +1 -0
  55. package/dist/chunk-IMUU5Q2V.js +13 -0
  56. package/dist/chunk-J4AICQFB.js +1 -0
  57. package/dist/{chunk-EMTQ6OKI.js → chunk-JP25YL3J.js} +1 -1
  58. package/dist/{chunk-ONU457VN.js → chunk-K63BSU56.js} +52 -50
  59. package/dist/chunk-KPPGZCUW.js +78 -0
  60. package/dist/chunk-KU4S7RCM.js +1 -0
  61. package/dist/chunk-LCRROMRR.js +2 -0
  62. package/dist/chunk-LG6RFLPZ.js +1 -0
  63. package/dist/{chunk-JHC6SCJC.js → chunk-NHN4QXPP.js} +1 -1
  64. package/dist/{chunk-U6AXYUQY.js → chunk-OOOPYUL2.js} +1 -1
  65. package/dist/chunk-P7SCWJFG.js +8 -0
  66. package/dist/chunk-QWU2CZBG.js +2 -0
  67. package/dist/chunk-V2H2KRMZ.js +1 -0
  68. package/dist/chunk-WANW4QA4.js +4 -0
  69. package/dist/chunk-XIVFLY6G.js +1 -0
  70. package/dist/chunk-ZWO6K24C.js +2 -0
  71. package/dist/{create-42RTNLH2.js → create-KFR6FLRT.js} +1 -1
  72. package/dist/doctor-YJDM5XBH.js +1 -0
  73. package/dist/index.d.ts +284 -25
  74. package/dist/index.js +214 -204
  75. package/dist/pipeline-FEDYO3IA.js +5 -0
  76. package/dist/{platform-capabilities-XAVU4HSM.js → platform-capabilities-YICBF4FA.js} +1 -1
  77. package/dist/{pythonRapidkitExec-GCQ3M46E.js → pythonRapidkitExec-UJYIB6FL.js} +1 -1
  78. package/dist/{workspace-DZHWB7BV.js → workspace-PLXOO6ST.js} +1 -1
  79. package/dist/workspace-agent-sync-G5YVI3BJ.js +1 -0
  80. package/dist/workspace-archive-EEGLHZDW.js +10 -0
  81. package/dist/workspace-context-E3UFWL5X.js +1 -0
  82. package/dist/{workspace-contract-2TA27LGT.js → workspace-contract-LQJDZV36.js} +1 -1
  83. package/dist/workspace-explain-G74ZIF23.js +1 -0
  84. package/dist/workspace-explain-contract-KT757JGQ.js +1 -0
  85. package/dist/{workspace-feedback-R6H4UFZB.js → workspace-feedback-YY6WQPWQ.js} +1 -1
  86. package/dist/{workspace-foundation-FQWHPQGX.js → workspace-foundation-3C2DLCVI.js} +1 -1
  87. package/dist/{workspace-history-CGCK2DJI.js → workspace-history-VF3CHDYQ.js} +1 -1
  88. package/dist/workspace-intelligence-3GG7GEDQ.js +1 -0
  89. package/dist/workspace-mcp-serve-MJMUV4RY.js +3 -0
  90. package/dist/{workspace-model-F3B75TYT.js → workspace-model-NG45SRM5.js} +1 -1
  91. package/dist/workspace-registry-summary-JM2XY52C.js +1 -0
  92. package/dist/workspace-run-WEQYIERE.js +1 -0
  93. package/dist/{workspace-verify-OAATQV5T.js → workspace-verify-ZNT6JX7D.js} +1 -1
  94. package/dist/workspace-watch-W47T4RX2.js +1 -0
  95. package/docs/AI_FEATURES.md +67 -34
  96. package/docs/README.md +2 -1
  97. package/docs/commands-reference.md +39 -14
  98. package/docs/contracts/ARTIFACT_CATALOG.md +60 -36
  99. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +27 -6
  100. package/docs/contracts/README.md +3 -2
  101. package/docs/create-planner-capabilities.md +36 -18
  102. package/docs/workspace-operations.md +25 -0
  103. package/package.json +27 -14
  104. package/scripts/enterprise-package-smoke.mjs +40 -8
  105. package/scripts/prepack-enterprise.mjs +12 -0
  106. package/dist/analyze-5BU4QIPK.js +0 -1
  107. package/dist/autopilot-release-45YVOBQO.js +0 -1
  108. package/dist/chunk-3QVTWKUI.js +0 -4
  109. package/dist/chunk-753LOKFZ.js +0 -2
  110. package/dist/chunk-AMDKXXLP.js +0 -1
  111. package/dist/chunk-AQ4XZZC6.js +0 -1
  112. package/dist/chunk-CDE4Q77U.js +0 -2
  113. package/dist/chunk-DNAY5ALC.js +0 -1
  114. package/dist/chunk-FHSMY75W.js +0 -1
  115. package/dist/chunk-FM7GMFZA.js +0 -2
  116. package/dist/chunk-HV5ZFXAZ.js +0 -13
  117. package/dist/chunk-LRW2SAGL.js +0 -4
  118. package/dist/chunk-LTWYYP6E.js +0 -7
  119. package/dist/chunk-NAAQMSO3.js +0 -1
  120. package/dist/chunk-NFUXULIF.js +0 -1
  121. package/dist/chunk-OL64GWQC.js +0 -9
  122. package/dist/chunk-SI3AQKIP.js +0 -1
  123. package/dist/chunk-TH5Y3EMA.js +0 -33
  124. package/dist/chunk-UQKCCWUL.js +0 -78
  125. package/dist/chunk-XNGANEXM.js +0 -2
  126. package/dist/doctor-DK4BON3N.js +0 -1
  127. package/dist/pipeline-HQ57V6OZ.js +0 -5
  128. package/dist/workspace-agent-sync-5ADIQS7B.js +0 -1
  129. package/dist/workspace-archive-GCZNI44O.js +0 -3
  130. package/dist/workspace-context-GEXDHA7A.js +0 -1
  131. package/dist/workspace-explain-D5NNL3NG.js +0 -1
  132. package/dist/workspace-explain-contract-DNS2YEL7.js +0 -1
  133. package/dist/workspace-intelligence-BEM6WGCZ.js +0 -1
  134. package/dist/workspace-mcp-serve-OMBA5V3C.js +0 -3
  135. package/dist/workspace-registry-summary-6MFBRWDS.js +0 -1
  136. package/dist/workspace-run-3WJXIQKR.js +0 -1
  137. package/dist/workspace-watch-HU2OTQ52.js +0 -1
@@ -0,0 +1,723 @@
1
+ {
2
+ "schemaVersion": "workspai-workspace-intelligence-architecture-v1",
3
+ "name": "Workspace Intelligence Architecture",
4
+ "canonicalPositioning": {
5
+ "tagline": "Open-Source Workspace Intelligence for Software Systems",
6
+ "category": "Workspace Intelligence",
7
+ "primaryPromise": "Workspai turns repositories, projects, dependencies, rules, changes, and evidence into shared understanding for developers, CI, IDEs, and AI agents.",
8
+ "mentalModel": [
9
+ "Repositories · Projects · Dependencies · Changes",
10
+ "Workspace Intelligence",
11
+ "Evidence-backed outputs",
12
+ "Developers · CI · IDEs · AI agents"
13
+ ]
14
+ },
15
+ "workspaceLifecycle": {
16
+ "ingestionRoutes": [
17
+ {
18
+ "id": "create",
19
+ "label": "Create",
20
+ "commands": [
21
+ "create workspace",
22
+ "create project"
23
+ ],
24
+ "result": "Create a workspace or supported project and write canonical Workspai metadata."
25
+ },
26
+ {
27
+ "id": "adopt",
28
+ "label": "Adopt",
29
+ "commands": [
30
+ "adopt"
31
+ ],
32
+ "result": "Register an existing project in place without requiring source relocation."
33
+ },
34
+ {
35
+ "id": "import",
36
+ "label": "Import",
37
+ "commands": [
38
+ "import",
39
+ "workspace import"
40
+ ],
41
+ "result": "Attach an existing project or repository path to the workspace inventory."
42
+ }
43
+ ],
44
+ "durableState": [
45
+ {
46
+ "id": "workspace-identity",
47
+ "paths": [
48
+ ".workspai-workspace",
49
+ ".workspai/workspace.json"
50
+ ],
51
+ "purpose": "Identify the workspace boundary, profile, and canonical root."
52
+ },
53
+ {
54
+ "id": "project-inventory",
55
+ "paths": [
56
+ ".workspai/project.json",
57
+ ".workspai/context.json",
58
+ ".workspai/adopt.json",
59
+ "~/.workspai/workspaces.json",
60
+ "~/.rapidkit/workspaces.json (legacy compatibility mirror)"
61
+ ],
62
+ "purpose": "Record native, adopted, imported, and globally registered project locations while preserving a non-authoritative mirror for legacy extension discovery."
63
+ },
64
+ {
65
+ "id": "governance",
66
+ "paths": [
67
+ ".workspai/policies.yml",
68
+ ".workspai/workspace.contract.json"
69
+ ],
70
+ "purpose": "Define workspace policy and explicit structural relationships."
71
+ },
72
+ {
73
+ "id": "graph-overrides",
74
+ "paths": [
75
+ ".workspai/workspace-graph.overrides.json"
76
+ ],
77
+ "purpose": "Provide explicit dependency edges that override inferred relationships."
78
+ }
79
+ ],
80
+ "rule": "Create, adopt, and import are ingestion routes, not intelligence facts. Their durable state becomes observable input to Model."
81
+ },
82
+ "observedInputs": [
83
+ {
84
+ "id": "projects-repositories",
85
+ "label": "Projects and repositories",
86
+ "sources": [
87
+ "projects",
88
+ "repositories",
89
+ "services",
90
+ "modules",
91
+ "imported paths"
92
+ ],
93
+ "entersAt": "model"
94
+ },
95
+ {
96
+ "id": "runtime-dependencies",
97
+ "label": "Runtime and dependencies",
98
+ "sources": [
99
+ "runtime manifests",
100
+ "lockfiles",
101
+ "scripts",
102
+ "framework markers",
103
+ "package dependencies",
104
+ "supported source imports (currently bounded JavaScript and TypeScript scanning)"
105
+ ],
106
+ "entersAt": "model"
107
+ },
108
+ {
109
+ "id": "workspace-rules",
110
+ "label": "Workspace rules",
111
+ "sources": [
112
+ "workspace markers",
113
+ "registry",
114
+ "project metadata",
115
+ "contracts",
116
+ "policies",
117
+ "ownership",
118
+ "graph overrides"
119
+ ],
120
+ "entersAt": "model"
121
+ },
122
+ {
123
+ "id": "changes",
124
+ "label": "Changes",
125
+ "sources": [
126
+ "repository state",
127
+ "git state",
128
+ "model baseline",
129
+ "workspace diff"
130
+ ],
131
+ "entersAt": "diff"
132
+ },
133
+ {
134
+ "id": "model-baseline",
135
+ "label": "Explicit model baseline",
136
+ "sources": [
137
+ ".workspai/reports/workspace-model-snapshot.json"
138
+ ],
139
+ "entersAt": "diff"
140
+ },
141
+ {
142
+ "id": "existing-evidence",
143
+ "label": "Existing evidence",
144
+ "sources": [
145
+ "doctor reports",
146
+ "analysis reports",
147
+ "contract verification",
148
+ "release readiness",
149
+ "pipeline results",
150
+ "tests and runtime evidence",
151
+ "previous intelligence artifacts"
152
+ ],
153
+ "entersAt": "doctor-evidence"
154
+ }
155
+ ],
156
+ "outputFamilies": [
157
+ {
158
+ "id": "understanding",
159
+ "label": "System understanding",
160
+ "artifacts": [
161
+ ".workspai/reports/workspace-model.json",
162
+ ".workspai/reports/workspace-model-diff-last-run.json",
163
+ ".workspai/reports/workspace-impact-last-run.json"
164
+ ],
165
+ "producedBy": [
166
+ "model",
167
+ "diff",
168
+ "impact"
169
+ ],
170
+ "inventory": "complete-for-chain"
171
+ },
172
+ {
173
+ "id": "governance-evidence",
174
+ "label": "Governance evidence",
175
+ "artifacts": [
176
+ ".workspai/reports/doctor-last-run.json",
177
+ ".workspai/reports/workspace-contract-verify-last-run.json",
178
+ ".workspai/reports/analyze-last-run.json",
179
+ ".workspai/reports/release-readiness-last-run.json",
180
+ ".workspai/reports/workspace-verify-last-run.json",
181
+ ".workspai/reports/workspace-intelligence-history.json"
182
+ ],
183
+ "producedBy": [
184
+ "doctor-evidence",
185
+ "contract-evidence",
186
+ "analyze-evidence",
187
+ "readiness-evidence",
188
+ "verify"
189
+ ],
190
+ "inventory": "complete-for-chain"
191
+ },
192
+ {
193
+ "id": "agent-grounding",
194
+ "label": "Agent grounding",
195
+ "artifacts": [
196
+ ".workspai/reports/workspace-context-agent.json",
197
+ ".workspai/reports/INDEX.json",
198
+ ".workspai/reports/agent-customization-pack.json",
199
+ ".workspai/reports/workspace-skills-index.json",
200
+ "AGENTS.md"
201
+ ],
202
+ "producedBy": [
203
+ "context",
204
+ "agent-sync"
205
+ ],
206
+ "inventory": "canonical-minimum",
207
+ "inventoryContract": "contracts/agent-customization-pack.v1.json"
208
+ },
209
+ {
210
+ "id": "explanations",
211
+ "label": "Explainable decisions",
212
+ "artifacts": [
213
+ ".workspai/reports/workspace-explain-last-run.json"
214
+ ],
215
+ "producedBy": [
216
+ "explain"
217
+ ],
218
+ "inventory": "complete-for-chain"
219
+ }
220
+ ],
221
+ "deliveryChannels": [
222
+ {
223
+ "id": "artifacts",
224
+ "carries": [
225
+ "reports",
226
+ "models",
227
+ "context",
228
+ "grounding",
229
+ "skills"
230
+ ],
231
+ "authority": "canonical"
232
+ },
233
+ {
234
+ "id": "json-stdout",
235
+ "carries": [
236
+ "structured command results"
237
+ ],
238
+ "authority": "projection"
239
+ },
240
+ {
241
+ "id": "human-cli",
242
+ "carries": [
243
+ "summaries",
244
+ "diagnostics",
245
+ "next actions"
246
+ ],
247
+ "authority": "projection"
248
+ },
249
+ {
250
+ "id": "exit-codes",
251
+ "carries": [
252
+ "gate and command status"
253
+ ],
254
+ "authority": "projection"
255
+ },
256
+ {
257
+ "id": "watch-events",
258
+ "carries": [
259
+ "incremental workspace change events"
260
+ ],
261
+ "authority": "projection"
262
+ },
263
+ {
264
+ "id": "mcp",
265
+ "carries": [
266
+ "read-mostly access to current workspace artifacts"
267
+ ],
268
+ "authority": "projection"
269
+ }
270
+ ],
271
+ "feedback": {
272
+ "from": [
273
+ "developers",
274
+ "ci",
275
+ "ides",
276
+ "ai-agents"
277
+ ],
278
+ "signals": [
279
+ "source commits",
280
+ "dependency updates",
281
+ "policy and contract edits",
282
+ "repairs",
283
+ "test and runtime results",
284
+ "agent action outcomes"
285
+ ],
286
+ "reentersThrough": [
287
+ "projects-repositories",
288
+ "runtime-dependencies",
289
+ "workspace-rules",
290
+ "changes",
291
+ "existing-evidence"
292
+ ],
293
+ "rule": "Consumer actions are not silently treated as truth. They re-enter as observable changes or evidence and must be modeled and verified again."
294
+ },
295
+ "auxiliaryCapabilities": [
296
+ {
297
+ "id": "graph",
298
+ "commands": [
299
+ "workspace graph emit",
300
+ "workspace graph explain",
301
+ "workspace graph dot",
302
+ "workspace graph mermaid"
303
+ ],
304
+ "reads": [
305
+ ".workspai/reports/workspace-model.json#graph"
306
+ ],
307
+ "role": "Inspect or render the graph already embedded in the workspace model.",
308
+ "chainStep": false
309
+ },
310
+ {
311
+ "id": "watch",
312
+ "commands": [
313
+ "workspace watch"
314
+ ],
315
+ "reads": [
316
+ "workspace inputs",
317
+ ".workspai/reports/workspace-model.json"
318
+ ],
319
+ "role": "Refresh the model incrementally and emit deterministic change events.",
320
+ "chainStep": false
321
+ },
322
+ {
323
+ "id": "mcp",
324
+ "commands": [
325
+ "workspace mcp serve"
326
+ ],
327
+ "reads": [
328
+ "workspace evidence artifacts"
329
+ ],
330
+ "role": "Expose read-mostly workspace evidence to compatible clients.",
331
+ "chainStep": false
332
+ }
333
+ ],
334
+ "architectureCore": {
335
+ "executionChainContract": {
336
+ "schemaVersion": "workspai-workspace-intelligence-chain-v1",
337
+ "path": "contracts/workspace-intelligence-chain.v1.json"
338
+ },
339
+ "loop": [
340
+ {
341
+ "id": "model",
342
+ "status": "available",
343
+ "purpose": "Build the canonical current model of the software system.",
344
+ "commands": [
345
+ "workspace model --json --write"
346
+ ],
347
+ "artifacts": [
348
+ ".workspai/reports/workspace-model.json"
349
+ ]
350
+ },
351
+ {
352
+ "id": "diff",
353
+ "status": "available",
354
+ "purpose": "Describe structural change against the selected baseline.",
355
+ "commands": [
356
+ "workspace diff --from .workspai/reports/workspace-model-snapshot.json --json"
357
+ ],
358
+ "artifacts": [
359
+ ".workspai/reports/workspace-model-diff-last-run.json"
360
+ ]
361
+ },
362
+ {
363
+ "id": "impact",
364
+ "status": "available",
365
+ "purpose": "Calculate transitive blast radius over the workspace graph.",
366
+ "commands": [
367
+ "workspace impact --from .workspai/reports/workspace-model-diff-last-run.json --json"
368
+ ],
369
+ "artifacts": [
370
+ ".workspai/reports/workspace-impact-last-run.json"
371
+ ]
372
+ },
373
+ {
374
+ "id": "doctor-evidence",
375
+ "status": "available",
376
+ "purpose": "Refresh health evidence after the impact artifact exists.",
377
+ "commands": [
378
+ "doctor workspace --json"
379
+ ],
380
+ "artifacts": [
381
+ ".workspai/reports/doctor-last-run.json"
382
+ ]
383
+ },
384
+ {
385
+ "id": "contract-evidence",
386
+ "status": "available",
387
+ "purpose": "Refresh structural contract evidence without hiding failed verdicts.",
388
+ "commands": [
389
+ "workspace contract verify --strict --json"
390
+ ],
391
+ "artifacts": [
392
+ ".workspai/reports/workspace-contract-verify-last-run.json"
393
+ ]
394
+ },
395
+ {
396
+ "id": "analyze-evidence",
397
+ "status": "available",
398
+ "purpose": "Refresh analysis evidence required by the release-readiness gate.",
399
+ "commands": [
400
+ "analyze --json"
401
+ ],
402
+ "artifacts": [
403
+ ".workspai/reports/analyze-last-run.json"
404
+ ]
405
+ },
406
+ {
407
+ "id": "readiness-evidence",
408
+ "status": "available",
409
+ "purpose": "Refresh release-readiness evidence before the definitive gate.",
410
+ "commands": [
411
+ "readiness --json"
412
+ ],
413
+ "artifacts": [
414
+ ".workspai/reports/release-readiness-last-run.json"
415
+ ]
416
+ },
417
+ {
418
+ "id": "verify",
419
+ "status": "available",
420
+ "purpose": "Emit the definitive evidence-backed workspace gate.",
421
+ "commands": [
422
+ "workspace verify --from-impact .workspai/reports/workspace-impact-last-run.json --json"
423
+ ],
424
+ "artifacts": [
425
+ ".workspai/reports/workspace-verify-last-run.json",
426
+ ".workspai/reports/workspace-intelligence-history.json"
427
+ ]
428
+ },
429
+ {
430
+ "id": "context",
431
+ "status": "available",
432
+ "purpose": "Build compact agent context from the same verified evidence.",
433
+ "commands": [
434
+ "workspace context --for-agent --json --write --no-agent-sync"
435
+ ],
436
+ "artifacts": [
437
+ ".workspai/reports/workspace-context-agent.json"
438
+ ]
439
+ },
440
+ {
441
+ "id": "agent-sync",
442
+ "status": "available",
443
+ "purpose": "Distribute one context into portable agent and IDE surfaces.",
444
+ "commands": [
445
+ "workspace agent-sync --write --json --preset enterprise"
446
+ ],
447
+ "artifacts": [
448
+ ".workspai/reports/INDEX.json",
449
+ ".workspai/reports/agent-customization-pack.json",
450
+ ".workspai/reports/workspace-skills-index.json",
451
+ "AGENTS.md"
452
+ ]
453
+ },
454
+ {
455
+ "id": "explain",
456
+ "status": "available",
457
+ "purpose": "Translate evidence and blockers into a human and agent-readable narrative.",
458
+ "commands": [
459
+ "workspace explain release-blocked --json --write"
460
+ ],
461
+ "artifacts": [
462
+ ".workspai/reports/workspace-explain-last-run.json"
463
+ ]
464
+ }
465
+ ],
466
+ "evidencePrinciples": [
467
+ "Evidence is the source of understanding; documentation is an output, not the authority.",
468
+ "Facts should be marked or treated as verified, observed, inferred, or unknown based on available evidence.",
469
+ "Marketing and integration surfaces must not claim native, doctor depth, module support, or agent grounding beyond the generated contracts."
470
+ ]
471
+ },
472
+ "consumers": [
473
+ {
474
+ "id": "developers",
475
+ "status": "available",
476
+ "consumes": [
477
+ "workspace model",
478
+ "doctor evidence",
479
+ "explain/trace narratives",
480
+ "workspace run results"
481
+ ],
482
+ "allowedClaims": [
483
+ "Developers can inspect structure, context, impact, verification, and remediation evidence from one workspace model."
484
+ ]
485
+ },
486
+ {
487
+ "id": "ci",
488
+ "status": "available",
489
+ "consumes": [
490
+ "pipeline",
491
+ "readiness",
492
+ "workspace verify",
493
+ "doctor workspace/project evidence"
494
+ ],
495
+ "allowedClaims": [
496
+ "CI can gate release readiness and workspace verification through structured JSON reports and exit codes."
497
+ ]
498
+ },
499
+ {
500
+ "id": "ides-and-extensions",
501
+ "status": "available",
502
+ "consumes": [
503
+ "runtime-command-surface.v1.json",
504
+ "workspace registry",
505
+ "agent customization pack"
506
+ ],
507
+ "allowedClaims": [
508
+ "IDEs can discover supported command surfaces and consume shared contracts instead of parsing help text."
509
+ ]
510
+ },
511
+ {
512
+ "id": "ai-agents",
513
+ "status": "available",
514
+ "consumes": [
515
+ "workspace context",
516
+ "AGENTS.md",
517
+ "skills index",
518
+ "MCP evidence tools"
519
+ ],
520
+ "allowedClaims": [
521
+ "AI agents can use generated grounding artifacts and MCP access to work from evidence-backed workspace context."
522
+ ]
523
+ },
524
+ {
525
+ "id": "docs-and-marketing",
526
+ "status": "available",
527
+ "consumes": [
528
+ "this architecture contract",
529
+ "project-entry-capability.v1.json",
530
+ "runtime-command-surface.v1.json",
531
+ "create-planner-capabilities.v1.json"
532
+ ],
533
+ "allowedClaims": [
534
+ "Public messaging can describe the architecture as inputs -> Workspace Intelligence -> consumers."
535
+ ]
536
+ }
537
+ ],
538
+ "claimBoundaries": {
539
+ "allowed": [
540
+ "Open-Source Workspace Intelligence for Software Systems.",
541
+ "One shared model of structure, context, impact, and verification.",
542
+ "Workspai can create projects only for native kits and available official generator paths listed in the create planner contract.",
543
+ "Any readable project can enter Workspace Intelligence through adopt/import when it can be registered.",
544
+ "Existing projects can enter Workspace Intelligence through adopt/import when they are readable and can be registered, even when native scaffold is unavailable.",
545
+ "Existing runtime signals in the create planner are examples for detection, not a closed allowlist of adopt/import support.",
546
+ "Agent grounding is available through workspace context, agent-sync, generated agent files, skills index, and MCP evidence access.",
547
+ "Verification and governance claims must reference doctor, analyze, readiness, pipeline, workspace verify, or generated evidence artifacts."
548
+ ],
549
+ "forbiddenUnlessImplemented": [
550
+ "Do not claim native scaffolding for every language or framework.",
551
+ "Do not claim module commands are supported for runtimes where moduleSupport/moduleCommands are false.",
552
+ "Do not claim a chat UI or repository chat exists in the CLI unless a shipped command or product surface implements it.",
553
+ "Do not present inferred or unknown facts as verified evidence.",
554
+ "Do not describe documentation as the source of truth; documentation must be described as generated from evidence."
555
+ ]
556
+ },
557
+ "createPlannerReality": {
558
+ "nativeCreateKits": [
559
+ "fastapi.standard",
560
+ "fastapi.ddd",
561
+ "nestjs.standard",
562
+ "springboot.standard",
563
+ "gofiber.standard",
564
+ "gogin.standard",
565
+ "dotnet.webapi.clean"
566
+ ],
567
+ "officialCreate": [
568
+ "frontend.nextjs",
569
+ "frontend.remix",
570
+ "frontend.vite-react",
571
+ "frontend.vite-vue",
572
+ "frontend.vite-svelte",
573
+ "frontend.vite-solid",
574
+ "frontend.vite-vanilla",
575
+ "frontend.nuxt",
576
+ "frontend.angular",
577
+ "frontend.astro",
578
+ "frontend.sveltekit",
579
+ "wordpress-site",
580
+ "wordpress-block",
581
+ "laravel",
582
+ "symfony",
583
+ "rails"
584
+ ],
585
+ "existingRuntimeSignals": [
586
+ "php",
587
+ "ruby",
588
+ "rust",
589
+ "elixir",
590
+ "clojure",
591
+ "scala",
592
+ "kotlin"
593
+ ]
594
+ },
595
+ "projectEntryCapability": {
596
+ "schemaVersion": "workspai-project-entry-capability-v1",
597
+ "name": "Project Entry Capability",
598
+ "plainLanguageRule": "Any readable project can enter Workspace Intelligence through adopt/import. Runtime-specific detection improves understanding depth; it is not the permission gate.",
599
+ "entryRoutes": [
600
+ {
601
+ "id": "create",
602
+ "status": "available",
603
+ "purpose": "Start a new project only through native kits or available official generator paths listed in the create planner contract.",
604
+ "commands": [
605
+ "create workspace",
606
+ "create project"
607
+ ]
608
+ },
609
+ {
610
+ "id": "adopt",
611
+ "status": "available",
612
+ "purpose": "Register an existing local project in place without moving or rewriting its source.",
613
+ "commands": [
614
+ "adopt"
615
+ ]
616
+ },
617
+ {
618
+ "id": "import",
619
+ "status": "available",
620
+ "purpose": "Attach an existing project, repository folder, or imported path to a workspace inventory.",
621
+ "commands": [
622
+ "import",
623
+ "workspace import"
624
+ ]
625
+ }
626
+ ],
627
+ "universalExistingProjectEntry": {
628
+ "status": "available",
629
+ "appliesTo": [
630
+ "any readable repository",
631
+ "any readable local project folder",
632
+ "monorepos and multi-project workspaces",
633
+ "known runtimes, unknown runtimes, and mixed stacks"
634
+ ],
635
+ "minimumConditions": [
636
+ "The path is readable by the CLI.",
637
+ "The workspace can write Workspai metadata or record an external adopted path.",
638
+ "The project can be represented with at least a name, path, and entry record."
639
+ ],
640
+ "doesNotRequire": [
641
+ "native scaffold support",
642
+ "official generator support",
643
+ "module command support",
644
+ "a known runtime detector",
645
+ "moving source files into the workspace"
646
+ ],
647
+ "result": [
648
+ "project registry membership",
649
+ "workspace model participation",
650
+ "workspace context participation",
651
+ "governance and evidence participation according to available facts"
652
+ ]
653
+ },
654
+ "supportDepths": [
655
+ {
656
+ "id": "registered",
657
+ "label": "Registered",
658
+ "meaning": "The project is known to the workspace and can participate in inventory, context, and governance.",
659
+ "examples": [
660
+ "unknown runtime",
661
+ "custom stack",
662
+ "legacy service"
663
+ ]
664
+ },
665
+ {
666
+ "id": "detected",
667
+ "label": "Detected",
668
+ "meaning": "The CLI recognizes runtime or framework signals and can label the project with higher confidence.",
669
+ "examples": [
670
+ "node package.json",
671
+ "python pyproject.toml",
672
+ "php composer.json"
673
+ ]
674
+ },
675
+ {
676
+ "id": "operational",
677
+ "label": "Operational",
678
+ "meaning": "The CLI can infer or use lifecycle commands, health checks, or workspace run stages.",
679
+ "examples": [
680
+ "test script",
681
+ "build script",
682
+ "doctor evidence"
683
+ ]
684
+ },
685
+ {
686
+ "id": "deep",
687
+ "label": "Deep",
688
+ "meaning": "The project has stack-specific module, doctor, or scaffold support beyond generic Workspace Intelligence.",
689
+ "examples": [
690
+ "FastAPI module support",
691
+ "NestJS module support",
692
+ "native Workspai kit"
693
+ ]
694
+ }
695
+ ],
696
+ "runtimeSignals": {
697
+ "purpose": "Help the planner and model recognize common existing-project requests and improve labels.",
698
+ "examples": [
699
+ "php",
700
+ "ruby",
701
+ "rust",
702
+ "elixir",
703
+ "clojure",
704
+ "scala",
705
+ "kotlin"
706
+ ],
707
+ "rule": "Runtime signals are examples for detection and messaging, not a closed allowlist for adopt/import."
708
+ },
709
+ "boundaries": {
710
+ "allowedClaims": [
711
+ "Any readable project can enter Workspace Intelligence through adopt/import when it can be registered.",
712
+ "Known runtime and framework detectors improve confidence and depth, but unknown projects can still be registered.",
713
+ "Create support is limited to native kits and available official generator paths in the create planner contract."
714
+ ],
715
+ "forbiddenClaims": [
716
+ "Do not say adopt/import supports only the listed runtime signals.",
717
+ "Do not say every imported project receives deep runtime-specific module support.",
718
+ "Do not say Workspai can natively scaffold every language or framework."
719
+ ]
720
+ }
721
+ },
722
+ "futureExtensions": []
723
+ }