workspai 0.43.1 → 0.44.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 (134) hide show
  1. package/README.md +23 -10
  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/command-capabilities.v1.json +138 -0
  6. package/contracts/compatibility-matrix.v1.json +37 -0
  7. package/contracts/create-planner-capabilities.v1.json +156 -65
  8. package/contracts/doctor-project-scan.v2.json +60 -0
  9. package/contracts/doctor-remediation-plan.v1.json +19 -4
  10. package/contracts/doctor-remediation-plan.v2.json +7 -0
  11. package/contracts/doctor-workspace-cache.v2.json +82 -0
  12. package/contracts/extension-cli-compatibility.v1.json +47 -3
  13. package/contracts/infra-plan.v1.json +189 -0
  14. package/contracts/private-product-manifest.v1.json +155 -0
  15. package/contracts/product-factory-plan.v1.json +200 -0
  16. package/contracts/project-archive.v1.json +40 -0
  17. package/contracts/project-entry-capability.v1.json +127 -0
  18. package/contracts/published-contract-catalog.v1.json +334 -0
  19. package/contracts/runtime-command-surface.v1.json +239 -10
  20. package/contracts/version.v1.json +48 -0
  21. package/contracts/workspace-archive-capabilities.v1.json +90 -0
  22. package/contracts/workspace-archive-manifest.v1.json +107 -0
  23. package/contracts/workspace-archive-operation-result.v1.json +565 -0
  24. package/contracts/workspace-intelligence/agent-customization-pack-report.v1.json +98 -0
  25. package/contracts/workspace-intelligence/agent-hooks.v1.json +38 -0
  26. package/contracts/workspace-intelligence/agent-reports-index.v1.json +56 -0
  27. package/contracts/workspace-intelligence/mcp-design.v1.json +42 -0
  28. package/contracts/workspace-intelligence/workspace-context.v1.json +12 -0
  29. package/contracts/workspace-intelligence/workspace-explain.v1.json +1 -0
  30. package/contracts/workspace-intelligence-architecture.v1.json +723 -0
  31. package/contracts/workspace-intelligence-chain.v1.json +1194 -0
  32. package/contracts/workspace-list.v1.json +56 -0
  33. package/contracts/workspace-model-cache.v1.json +55 -0
  34. package/contracts/workspace-snapshot.v1.json +58 -0
  35. package/contracts/workspace-snapshot.v2.json +97 -0
  36. package/contracts/workspace-sync.v1.json +30 -0
  37. package/contracts/workspace-watch-event.v1.json +112 -0
  38. package/dist/analyze-6OCBM4ID.js +1 -0
  39. package/dist/{artifact-remediation-plan-244S5K6I.js → artifact-remediation-plan-Z7OCSME3.js} +2 -2
  40. package/dist/autopilot-release-LI2WJCEW.js +1 -0
  41. package/dist/{chunk-LZQNVH7D.js → chunk-2K3GYCPS.js} +1 -1
  42. package/dist/chunk-2QN6BMM7.js +2 -0
  43. package/dist/chunk-2QOWRBQD.js +1 -0
  44. package/dist/chunk-5AKYMAIL.js +1 -0
  45. package/dist/{chunk-FDDDQMJ2.js → chunk-5PVEQ6CZ.js} +1 -1
  46. package/dist/{chunk-DOCPUNWS.js → chunk-7EIMPQR3.js} +1 -1
  47. package/dist/{chunk-U6AXYUQY.js → chunk-7IHLTPZ6.js} +1 -1
  48. package/dist/chunk-7RIWU5TZ.js +1 -0
  49. package/dist/chunk-B66A4TVP.js +1 -0
  50. package/dist/chunk-CL6TGI4Q.js +8 -0
  51. package/dist/chunk-FWJV7CCI.js +2 -0
  52. package/dist/chunk-J4AICQFB.js +1 -0
  53. package/dist/chunk-JICOD2GI.js +1 -0
  54. package/dist/{chunk-EMTQ6OKI.js → chunk-JP25YL3J.js} +1 -1
  55. package/dist/chunk-L2Q7B2OJ.js +1 -0
  56. package/dist/chunk-L3E6IRUQ.js +8 -0
  57. package/dist/chunk-LG6RFLPZ.js +1 -0
  58. package/dist/chunk-LGP6WXS2.js +4 -0
  59. package/dist/{chunk-ONU457VN.js → chunk-M4VITK6X.js} +52 -50
  60. package/dist/chunk-NTXO7BMH.js +4 -0
  61. package/dist/{chunk-PPHTYJ7G.js → chunk-OW4UNG27.js} +36 -37
  62. package/dist/chunk-P4SWTY5X.js +33 -0
  63. package/dist/chunk-TRMDODFM.js +13 -0
  64. package/dist/chunk-UNF72FTB.js +1 -0
  65. package/dist/chunk-V5JN4TDX.js +2 -0
  66. package/dist/chunk-VA5MRHKM.js +2 -0
  67. package/dist/chunk-XIVFLY6G.js +1 -0
  68. package/dist/chunk-YUX4YFGL.js +78 -0
  69. package/dist/{create-42RTNLH2.js → create-DFAWAS5C.js} +1 -1
  70. package/dist/doctor-PVSWDBJL.js +1 -0
  71. package/dist/index.d.ts +250 -24
  72. package/dist/index.js +194 -195
  73. package/dist/pipeline-ND734AJM.js +5 -0
  74. package/dist/{platform-capabilities-XAVU4HSM.js → platform-capabilities-YICBF4FA.js} +1 -1
  75. package/dist/{pythonRapidkitExec-GCQ3M46E.js → pythonRapidkitExec-UJYIB6FL.js} +1 -1
  76. package/dist/{workspace-DZHWB7BV.js → workspace-FQT3QIRS.js} +1 -1
  77. package/dist/workspace-agent-sync-ZYCPXTU3.js +1 -0
  78. package/dist/workspace-archive-EEGLHZDW.js +10 -0
  79. package/dist/workspace-context-WAGGJCDL.js +1 -0
  80. package/dist/{workspace-contract-2TA27LGT.js → workspace-contract-SEI4SNSG.js} +1 -1
  81. package/dist/workspace-explain-MVGGRCDN.js +1 -0
  82. package/dist/workspace-explain-contract-KT757JGQ.js +1 -0
  83. package/dist/{workspace-feedback-R6H4UFZB.js → workspace-feedback-RCB25NFO.js} +1 -1
  84. package/dist/{workspace-foundation-FQWHPQGX.js → workspace-foundation-KXDL6P6X.js} +1 -1
  85. package/dist/{workspace-history-CGCK2DJI.js → workspace-history-M4QQBIPB.js} +1 -1
  86. package/dist/workspace-intelligence-QOGD2TZS.js +1 -0
  87. package/dist/workspace-mcp-serve-CEFKEMYG.js +3 -0
  88. package/dist/{workspace-model-F3B75TYT.js → workspace-model-GMSRBICO.js} +1 -1
  89. package/dist/workspace-registry-summary-S52SEJAG.js +1 -0
  90. package/dist/workspace-run-VC4OUPRF.js +1 -0
  91. package/dist/{workspace-verify-OAATQV5T.js → workspace-verify-NP4GMFSV.js} +1 -1
  92. package/dist/workspace-watch-IIBH3Y25.js +1 -0
  93. package/docs/AI_FEATURES.md +67 -34
  94. package/docs/README.md +2 -1
  95. package/docs/commands-reference.md +26 -14
  96. package/docs/contracts/ARTIFACT_CATALOG.md +60 -36
  97. package/docs/contracts/README.md +3 -2
  98. package/docs/create-planner-capabilities.md +36 -18
  99. package/docs/workspace-operations.md +25 -0
  100. package/package.json +26 -14
  101. package/scripts/enterprise-package-smoke.mjs +40 -8
  102. package/scripts/prepack-enterprise.mjs +8 -0
  103. package/dist/analyze-5BU4QIPK.js +0 -1
  104. package/dist/autopilot-release-45YVOBQO.js +0 -1
  105. package/dist/chunk-3QVTWKUI.js +0 -4
  106. package/dist/chunk-753LOKFZ.js +0 -2
  107. package/dist/chunk-AMDKXXLP.js +0 -1
  108. package/dist/chunk-AQ4XZZC6.js +0 -1
  109. package/dist/chunk-CDE4Q77U.js +0 -2
  110. package/dist/chunk-DNAY5ALC.js +0 -1
  111. package/dist/chunk-FHSMY75W.js +0 -1
  112. package/dist/chunk-FM7GMFZA.js +0 -2
  113. package/dist/chunk-HV5ZFXAZ.js +0 -13
  114. package/dist/chunk-LRW2SAGL.js +0 -4
  115. package/dist/chunk-LTWYYP6E.js +0 -7
  116. package/dist/chunk-NAAQMSO3.js +0 -1
  117. package/dist/chunk-NFUXULIF.js +0 -1
  118. package/dist/chunk-OL64GWQC.js +0 -9
  119. package/dist/chunk-SI3AQKIP.js +0 -1
  120. package/dist/chunk-TH5Y3EMA.js +0 -33
  121. package/dist/chunk-UQKCCWUL.js +0 -78
  122. package/dist/chunk-XNGANEXM.js +0 -2
  123. package/dist/doctor-DK4BON3N.js +0 -1
  124. package/dist/pipeline-HQ57V6OZ.js +0 -5
  125. package/dist/workspace-agent-sync-5ADIQS7B.js +0 -1
  126. package/dist/workspace-archive-GCZNI44O.js +0 -3
  127. package/dist/workspace-context-GEXDHA7A.js +0 -1
  128. package/dist/workspace-explain-D5NNL3NG.js +0 -1
  129. package/dist/workspace-explain-contract-DNS2YEL7.js +0 -1
  130. package/dist/workspace-intelligence-BEM6WGCZ.js +0 -1
  131. package/dist/workspace-mcp-serve-OMBA5V3C.js +0 -3
  132. package/dist/workspace-registry-summary-6MFBRWDS.js +0 -1
  133. package/dist/workspace-run-3WJXIQKR.js +0 -1
  134. package/dist/workspace-watch-HU2OTQ52.js +0 -1
@@ -0,0 +1,1194 @@
1
+ {
2
+ "schemaVersion": "workspai-workspace-intelligence-chain-v1",
3
+ "name": "Workspace Intelligence Chain",
4
+ "contractPath": "contracts/workspace-intelligence-chain.v1.json",
5
+ "invariant": "Every consumer must preserve step identity, dependencies, artifact flow, and verdict semantics; presentation may change, chain meaning may not.",
6
+ "invariants": [
7
+ "Missing or unreadable input is unknown or unavailable; it must not be presented as verified absence.",
8
+ "Freshness and provenance travel with evidence and must not be discarded by projections.",
9
+ "The current graph is a workspace dependency graph, not a complete cross-language symbol or call graph.",
10
+ "Simple and standard presentations summarize the contract; their contractRefs must preserve complete traceability.",
11
+ "Conditional provider outputs must be resolved through their dedicated inventory contract.",
12
+ "Auxiliary capabilities expose or refresh intelligence but are not mandatory execution-chain steps.",
13
+ "Canonical step commands are stage-pure: they must not implicitly execute a downstream chain step or regenerate an upstream artifact.",
14
+ "Canonical JSON artifacts must satisfy their registered schema both when produced and when consumed across CLI, MCP, IDE, and CI trust boundaries.",
15
+ "Schema validity is necessary but not sufficient: hashes, embedded models, summaries, counts, graph statistics, and artifact references must remain semantically coherent.",
16
+ "Persisted impact evidence must be rejected as stale when the current workspace model or Git observation no longer matches its embedded diff.",
17
+ "Canonical artifact replacement must be atomic and workspace-contained; an interrupted or denied write must preserve the last valid artifact.",
18
+ "Concurrent history updates must be serialized without silently dropping entries, and invalid history must never be overwritten as if it were absent.",
19
+ "The canonical global registry is ~/.workspai/workspaces.json; ~/.rapidkit/workspaces.json is a non-authoritative compatibility mirror for legacy consumers and must not diverge after a CLI registry mutation."
20
+ ],
21
+ "semantics": {
22
+ "workspace": "The governed operating boundary that relates one or more projects and repositories to shared metadata, policies, contracts, evidence, and consumers.",
23
+ "repository": "A source-control boundary that may contain one or more projects and may live inside or outside the workspace root.",
24
+ "project": "A discoverable build or runtime unit with its own path, metadata or observable manifests, command capabilities, and evidence.",
25
+ "evidence": "A sourced observation or generated verification result with provenance and freshness; evidence may be consumed by a later run.",
26
+ "artifact": "A durable generated file that another command or consumer can read without parsing terminal prose.",
27
+ "gate": "A structured verdict with reasons and exit semantics derived from current evidence."
28
+ },
29
+ "workspaceLifecycle": {
30
+ "ingestionRoutes": [
31
+ {
32
+ "id": "create",
33
+ "label": "Create",
34
+ "commands": [
35
+ "create workspace",
36
+ "create project"
37
+ ],
38
+ "result": "Create a workspace or supported project and write canonical Workspai metadata."
39
+ },
40
+ {
41
+ "id": "adopt",
42
+ "label": "Adopt",
43
+ "commands": [
44
+ "adopt"
45
+ ],
46
+ "result": "Register an existing project in place without requiring source relocation."
47
+ },
48
+ {
49
+ "id": "import",
50
+ "label": "Import",
51
+ "commands": [
52
+ "import",
53
+ "workspace import"
54
+ ],
55
+ "result": "Attach an existing project or repository path to the workspace inventory."
56
+ }
57
+ ],
58
+ "durableState": [
59
+ {
60
+ "id": "workspace-identity",
61
+ "paths": [
62
+ ".workspai-workspace",
63
+ ".workspai/workspace.json"
64
+ ],
65
+ "purpose": "Identify the workspace boundary, profile, and canonical root."
66
+ },
67
+ {
68
+ "id": "project-inventory",
69
+ "paths": [
70
+ ".workspai/project.json",
71
+ ".workspai/context.json",
72
+ ".workspai/adopt.json",
73
+ "~/.workspai/workspaces.json",
74
+ "~/.rapidkit/workspaces.json (legacy compatibility mirror)"
75
+ ],
76
+ "purpose": "Record native, adopted, imported, and globally registered project locations while preserving a non-authoritative mirror for legacy extension discovery."
77
+ },
78
+ {
79
+ "id": "governance",
80
+ "paths": [
81
+ ".workspai/policies.yml",
82
+ ".workspai/workspace.contract.json"
83
+ ],
84
+ "purpose": "Define workspace policy and explicit structural relationships."
85
+ },
86
+ {
87
+ "id": "graph-overrides",
88
+ "paths": [
89
+ ".workspai/workspace-graph.overrides.json"
90
+ ],
91
+ "purpose": "Provide explicit dependency edges that override inferred relationships."
92
+ }
93
+ ],
94
+ "rule": "Create, adopt, and import are ingestion routes, not intelligence facts. Their durable state becomes observable input to Model."
95
+ },
96
+ "runtimeRegistry": {
97
+ "authority": "contracts/workspace-intelligence-runtime-registry.ts",
98
+ "artifacts": [
99
+ {
100
+ "id": "model",
101
+ "path": ".workspai/reports/workspace-model.json",
102
+ "schemaVersion": "workspace-model.v1",
103
+ "schemaContract": "contracts/workspace-intelligence/workspace-model.v1.json"
104
+ },
105
+ {
106
+ "id": "snapshot",
107
+ "path": ".workspai/reports/workspace-model-snapshot.json",
108
+ "schemaVersion": "workspace-model-snapshot.v1",
109
+ "schemaContract": "contracts/workspace-intelligence/workspace-model-snapshot.v1.json"
110
+ },
111
+ {
112
+ "id": "diff",
113
+ "path": ".workspai/reports/workspace-model-diff-last-run.json",
114
+ "schemaVersion": "workspace-model-diff.v1",
115
+ "schemaContract": "contracts/workspace-intelligence/workspace-model-diff.v1.json"
116
+ },
117
+ {
118
+ "id": "impact",
119
+ "path": ".workspai/reports/workspace-impact-last-run.json",
120
+ "schemaVersion": "workspace-impact.v1",
121
+ "schemaContract": "contracts/workspace-intelligence/workspace-impact.v1.json"
122
+ },
123
+ {
124
+ "id": "analyze",
125
+ "path": ".workspai/reports/analyze-last-run.json",
126
+ "schemaVersion": "rapidkit-analyze-v1",
127
+ "schemaContract": "contracts/analyze-last-run.v1.json"
128
+ },
129
+ {
130
+ "id": "doctor",
131
+ "path": ".workspai/reports/doctor-last-run.json",
132
+ "schemaVersion": "doctor-workspace-evidence-v1",
133
+ "schemaContract": "contracts/doctor-workspace-evidence.v1.json"
134
+ },
135
+ {
136
+ "id": "contractVerify",
137
+ "path": ".workspai/reports/workspace-contract-verify-last-run.json",
138
+ "schemaVersion": "workspace-contract-verify.v1",
139
+ "schemaContract": "contracts/workspace-intelligence/workspace-contract-verify.v1.json"
140
+ },
141
+ {
142
+ "id": "readiness",
143
+ "path": ".workspai/reports/release-readiness-last-run.json",
144
+ "schemaVersion": "release-readiness-v1",
145
+ "schemaContract": "contracts/release-readiness.v1.json"
146
+ },
147
+ {
148
+ "id": "verify",
149
+ "path": ".workspai/reports/workspace-verify-last-run.json",
150
+ "schemaVersion": "workspace-verify.v1",
151
+ "schemaContract": "contracts/workspace-intelligence/workspace-verify.v1.json"
152
+ },
153
+ {
154
+ "id": "history",
155
+ "path": ".workspai/reports/workspace-intelligence-history.json",
156
+ "schemaVersion": "workspace-intelligence-history.v1",
157
+ "schemaContract": "contracts/workspace-intelligence/workspace-intelligence-history.v1.json"
158
+ },
159
+ {
160
+ "id": "agentContext",
161
+ "path": ".workspai/reports/workspace-context-agent.json",
162
+ "schemaVersion": "workspace-context.v1",
163
+ "schemaContract": "contracts/workspace-intelligence/workspace-context.v1.json"
164
+ },
165
+ {
166
+ "id": "agentIndex",
167
+ "path": ".workspai/reports/INDEX.json",
168
+ "schemaVersion": "rapidkit-agent-reports-index.v1",
169
+ "schemaContract": "contracts/workspace-intelligence/agent-reports-index.v1.json"
170
+ },
171
+ {
172
+ "id": "agentCustomizationPack",
173
+ "path": ".workspai/reports/agent-customization-pack.json",
174
+ "schemaVersion": "rapidkit-agent-customization-pack.v1",
175
+ "schemaContract": "contracts/workspace-intelligence/agent-customization-pack-report.v1.json"
176
+ },
177
+ {
178
+ "id": "skillsIndex",
179
+ "path": ".workspai/reports/workspace-skills-index.json",
180
+ "schemaVersion": "workspace-skills-index.v1",
181
+ "schemaContract": "contracts/workspace-intelligence/workspace-skills-index.v1.json"
182
+ },
183
+ {
184
+ "id": "agents",
185
+ "path": "AGENTS.md",
186
+ "schemaVersion": null,
187
+ "schemaContract": null
188
+ },
189
+ {
190
+ "id": "explain",
191
+ "path": ".workspai/reports/workspace-explain-last-run.json",
192
+ "schemaVersion": "workspace-explain.v1",
193
+ "schemaContract": "contracts/workspace-intelligence/workspace-explain.v1.json"
194
+ }
195
+ ]
196
+ },
197
+ "boundaries": {
198
+ "inputs": [
199
+ {
200
+ "id": "projects-repositories",
201
+ "label": "Projects and repositories",
202
+ "sources": [
203
+ "projects",
204
+ "repositories",
205
+ "services",
206
+ "modules",
207
+ "imported paths"
208
+ ],
209
+ "entersAt": "model"
210
+ },
211
+ {
212
+ "id": "runtime-dependencies",
213
+ "label": "Runtime and dependencies",
214
+ "sources": [
215
+ "runtime manifests",
216
+ "lockfiles",
217
+ "scripts",
218
+ "framework markers",
219
+ "package dependencies",
220
+ "supported source imports (currently bounded JavaScript and TypeScript scanning)"
221
+ ],
222
+ "entersAt": "model"
223
+ },
224
+ {
225
+ "id": "workspace-rules",
226
+ "label": "Workspace rules",
227
+ "sources": [
228
+ "workspace markers",
229
+ "registry",
230
+ "project metadata",
231
+ "contracts",
232
+ "policies",
233
+ "ownership",
234
+ "graph overrides"
235
+ ],
236
+ "entersAt": "model"
237
+ },
238
+ {
239
+ "id": "changes",
240
+ "label": "Changes",
241
+ "sources": [
242
+ "repository state",
243
+ "git state",
244
+ "model baseline",
245
+ "workspace diff"
246
+ ],
247
+ "entersAt": "diff"
248
+ },
249
+ {
250
+ "id": "model-baseline",
251
+ "label": "Explicit model baseline",
252
+ "sources": [
253
+ ".workspai/reports/workspace-model-snapshot.json"
254
+ ],
255
+ "entersAt": "diff"
256
+ },
257
+ {
258
+ "id": "existing-evidence",
259
+ "label": "Existing evidence",
260
+ "sources": [
261
+ "doctor reports",
262
+ "analysis reports",
263
+ "contract verification",
264
+ "release readiness",
265
+ "pipeline results",
266
+ "tests and runtime evidence",
267
+ "previous intelligence artifacts"
268
+ ],
269
+ "entersAt": "doctor-evidence"
270
+ }
271
+ ],
272
+ "outputs": [
273
+ {
274
+ "id": "understanding",
275
+ "label": "System understanding",
276
+ "artifacts": [
277
+ ".workspai/reports/workspace-model.json",
278
+ ".workspai/reports/workspace-model-diff-last-run.json",
279
+ ".workspai/reports/workspace-impact-last-run.json"
280
+ ],
281
+ "producedBy": [
282
+ "model",
283
+ "diff",
284
+ "impact"
285
+ ],
286
+ "inventory": "complete-for-chain"
287
+ },
288
+ {
289
+ "id": "governance-evidence",
290
+ "label": "Governance evidence",
291
+ "artifacts": [
292
+ ".workspai/reports/doctor-last-run.json",
293
+ ".workspai/reports/workspace-contract-verify-last-run.json",
294
+ ".workspai/reports/analyze-last-run.json",
295
+ ".workspai/reports/release-readiness-last-run.json",
296
+ ".workspai/reports/workspace-verify-last-run.json",
297
+ ".workspai/reports/workspace-intelligence-history.json"
298
+ ],
299
+ "producedBy": [
300
+ "doctor-evidence",
301
+ "contract-evidence",
302
+ "analyze-evidence",
303
+ "readiness-evidence",
304
+ "verify"
305
+ ],
306
+ "inventory": "complete-for-chain"
307
+ },
308
+ {
309
+ "id": "agent-grounding",
310
+ "label": "Agent grounding",
311
+ "artifacts": [
312
+ ".workspai/reports/workspace-context-agent.json",
313
+ ".workspai/reports/INDEX.json",
314
+ ".workspai/reports/agent-customization-pack.json",
315
+ ".workspai/reports/workspace-skills-index.json",
316
+ "AGENTS.md"
317
+ ],
318
+ "producedBy": [
319
+ "context",
320
+ "agent-sync"
321
+ ],
322
+ "inventory": "canonical-minimum",
323
+ "inventoryContract": "contracts/agent-customization-pack.v1.json"
324
+ },
325
+ {
326
+ "id": "explanations",
327
+ "label": "Explainable decisions",
328
+ "artifacts": [
329
+ ".workspai/reports/workspace-explain-last-run.json"
330
+ ],
331
+ "producedBy": [
332
+ "explain"
333
+ ],
334
+ "inventory": "complete-for-chain"
335
+ }
336
+ ],
337
+ "consumers": [
338
+ {
339
+ "id": "developers",
340
+ "label": "Developers",
341
+ "channels": [
342
+ "CLI",
343
+ "reports",
344
+ "AGENTS.md"
345
+ ]
346
+ },
347
+ {
348
+ "id": "ci",
349
+ "label": "CI",
350
+ "channels": [
351
+ "JSON artifacts",
352
+ "exit codes",
353
+ "release gates"
354
+ ]
355
+ },
356
+ {
357
+ "id": "ides",
358
+ "label": "IDEs",
359
+ "channels": [
360
+ "synced contracts",
361
+ "extension",
362
+ "agent context"
363
+ ]
364
+ },
365
+ {
366
+ "id": "ai-agents",
367
+ "label": "AI agents",
368
+ "channels": [
369
+ "INDEX.json",
370
+ "context",
371
+ "skills",
372
+ "MCP"
373
+ ]
374
+ }
375
+ ]
376
+ },
377
+ "deliveryChannels": [
378
+ {
379
+ "id": "artifacts",
380
+ "carries": [
381
+ "reports",
382
+ "models",
383
+ "context",
384
+ "grounding",
385
+ "skills"
386
+ ],
387
+ "authority": "canonical"
388
+ },
389
+ {
390
+ "id": "json-stdout",
391
+ "carries": [
392
+ "structured command results"
393
+ ],
394
+ "authority": "projection"
395
+ },
396
+ {
397
+ "id": "human-cli",
398
+ "carries": [
399
+ "summaries",
400
+ "diagnostics",
401
+ "next actions"
402
+ ],
403
+ "authority": "projection"
404
+ },
405
+ {
406
+ "id": "exit-codes",
407
+ "carries": [
408
+ "gate and command status"
409
+ ],
410
+ "authority": "projection"
411
+ },
412
+ {
413
+ "id": "watch-events",
414
+ "carries": [
415
+ "incremental workspace change events"
416
+ ],
417
+ "authority": "projection"
418
+ },
419
+ {
420
+ "id": "mcp",
421
+ "carries": [
422
+ "read-mostly access to current workspace artifacts"
423
+ ],
424
+ "authority": "projection"
425
+ }
426
+ ],
427
+ "feedback": {
428
+ "from": [
429
+ "developers",
430
+ "ci",
431
+ "ides",
432
+ "ai-agents"
433
+ ],
434
+ "signals": [
435
+ "source commits",
436
+ "dependency updates",
437
+ "policy and contract edits",
438
+ "repairs",
439
+ "test and runtime results",
440
+ "agent action outcomes"
441
+ ],
442
+ "reentersThrough": [
443
+ "projects-repositories",
444
+ "runtime-dependencies",
445
+ "workspace-rules",
446
+ "changes",
447
+ "existing-evidence"
448
+ ],
449
+ "rule": "Consumer actions are not silently treated as truth. They re-enter as observable changes or evidence and must be modeled and verified again."
450
+ },
451
+ "auxiliaryCapabilities": [
452
+ {
453
+ "id": "graph",
454
+ "commands": [
455
+ "workspace graph emit",
456
+ "workspace graph explain",
457
+ "workspace graph dot",
458
+ "workspace graph mermaid"
459
+ ],
460
+ "reads": [
461
+ ".workspai/reports/workspace-model.json#graph"
462
+ ],
463
+ "role": "Inspect or render the graph already embedded in the workspace model.",
464
+ "chainStep": false
465
+ },
466
+ {
467
+ "id": "watch",
468
+ "commands": [
469
+ "workspace watch"
470
+ ],
471
+ "reads": [
472
+ "workspace inputs",
473
+ ".workspai/reports/workspace-model.json"
474
+ ],
475
+ "role": "Refresh the model incrementally and emit deterministic change events.",
476
+ "chainStep": false
477
+ },
478
+ {
479
+ "id": "mcp",
480
+ "commands": [
481
+ "workspace mcp serve"
482
+ ],
483
+ "reads": [
484
+ "workspace evidence artifacts"
485
+ ],
486
+ "role": "Expose read-mostly workspace evidence to compatible clients.",
487
+ "chainStep": false
488
+ }
489
+ ],
490
+ "presentations": {
491
+ "simple": {
492
+ "layers": [
493
+ "inputs",
494
+ "intelligence",
495
+ "outputs",
496
+ "consumers"
497
+ ],
498
+ "nodes": [
499
+ {
500
+ "id": "input-layer",
501
+ "kind": "inputs",
502
+ "label": "Input Layer",
503
+ "summary": "Projects · Repositories · Dependencies · Changes",
504
+ "contractRefs": [
505
+ "projects-repositories",
506
+ "runtime-dependencies",
507
+ "workspace-rules",
508
+ "changes",
509
+ "model-baseline",
510
+ "existing-evidence"
511
+ ]
512
+ },
513
+ {
514
+ "id": "workspace-intelligence",
515
+ "kind": "intelligence",
516
+ "label": "Workspace Intelligence",
517
+ "summary": "Model · Graph · Impact · Verify",
518
+ "contractRefs": [
519
+ "model",
520
+ "diff",
521
+ "impact",
522
+ "doctor-evidence",
523
+ "contract-evidence",
524
+ "analyze-evidence",
525
+ "readiness-evidence",
526
+ "verify",
527
+ "context",
528
+ "agent-sync",
529
+ "explain"
530
+ ]
531
+ },
532
+ {
533
+ "id": "agent-grounding",
534
+ "kind": "outputs",
535
+ "label": "Agent Grounding",
536
+ "summary": "AGENTS.md · Skills · Context",
537
+ "contractRefs": [
538
+ "agent-grounding"
539
+ ]
540
+ },
541
+ {
542
+ "id": "evidence-and-decisions",
543
+ "kind": "outputs",
544
+ "label": "Evidence Contracts",
545
+ "summary": "Reports · Artifacts · Gates",
546
+ "contractRefs": [
547
+ "understanding",
548
+ "governance-evidence",
549
+ "explanations"
550
+ ]
551
+ },
552
+ {
553
+ "id": "shared-consumers",
554
+ "kind": "consumers",
555
+ "label": "Shared Consumers",
556
+ "summary": "Developers · CI · IDEs · AI agents",
557
+ "contractRefs": [
558
+ "developers",
559
+ "ci",
560
+ "ides",
561
+ "ai-agents"
562
+ ]
563
+ }
564
+ ],
565
+ "rule": "Use concrete user-facing language for first-contact explanations. Every input, output, consumer, and chain step must remain traceable through contractRefs even when details are summarized."
566
+ },
567
+ "standard": {
568
+ "phases": [
569
+ "understand",
570
+ "change",
571
+ "evidence",
572
+ "gate",
573
+ "ground",
574
+ "distribute",
575
+ "explain"
576
+ ],
577
+ "nodes": [
578
+ {
579
+ "id": "understand",
580
+ "label": "Understand",
581
+ "question": "What exists in the current workspace?",
582
+ "stepRefs": [
583
+ "model"
584
+ ]
585
+ },
586
+ {
587
+ "id": "change",
588
+ "label": "Change",
589
+ "question": "What changed, and what can it affect?",
590
+ "stepRefs": [
591
+ "diff",
592
+ "impact"
593
+ ]
594
+ },
595
+ {
596
+ "id": "evidence",
597
+ "label": "Evidence",
598
+ "question": "What health, contract, and readiness facts were observed?",
599
+ "stepRefs": [
600
+ "doctor-evidence",
601
+ "contract-evidence",
602
+ "analyze-evidence",
603
+ "readiness-evidence"
604
+ ]
605
+ },
606
+ {
607
+ "id": "gate",
608
+ "label": "Gate",
609
+ "question": "Is the current state acceptable and trustworthy?",
610
+ "stepRefs": [
611
+ "verify"
612
+ ]
613
+ },
614
+ {
615
+ "id": "ground",
616
+ "label": "Ground",
617
+ "question": "What should an agent know before acting?",
618
+ "stepRefs": [
619
+ "context"
620
+ ]
621
+ },
622
+ {
623
+ "id": "distribute",
624
+ "label": "Distribute",
625
+ "question": "Which durable agent and IDE surfaces receive that context?",
626
+ "stepRefs": [
627
+ "agent-sync"
628
+ ]
629
+ },
630
+ {
631
+ "id": "explain",
632
+ "label": "Explain",
633
+ "question": "Why did the system reach this result or verdict?",
634
+ "stepRefs": [
635
+ "explain"
636
+ ]
637
+ }
638
+ ],
639
+ "rule": "Use for architecture education and product surfaces. Every phase must appear once and in order."
640
+ },
641
+ "advanced": {
642
+ "steps": [
643
+ "model",
644
+ "diff",
645
+ "impact",
646
+ "doctor-evidence",
647
+ "contract-evidence",
648
+ "analyze-evidence",
649
+ "readiness-evidence",
650
+ "verify",
651
+ "context",
652
+ "agent-sync",
653
+ "explain"
654
+ ],
655
+ "requiredFields": [
656
+ "command",
657
+ "inputRefs",
658
+ "consumesArtifacts",
659
+ "produces",
660
+ "dependsOn",
661
+ "exitPolicy",
662
+ "purpose"
663
+ ],
664
+ "rule": "Use for implementers, adapters, IDEs, and CI. Preserve every step and its artifact and verdict semantics."
665
+ }
666
+ },
667
+ "steps": [
668
+ {
669
+ "id": "model",
670
+ "ordinal": 1,
671
+ "phase": "understand",
672
+ "label": "Model",
673
+ "command": [
674
+ "workspace",
675
+ "model",
676
+ "--json",
677
+ "--write"
678
+ ],
679
+ "consumes": [
680
+ "workspace markers",
681
+ "project metadata",
682
+ "registry",
683
+ "contract",
684
+ "policies"
685
+ ],
686
+ "inputRefs": [
687
+ "projects-repositories",
688
+ "runtime-dependencies",
689
+ "workspace-rules",
690
+ "existing-evidence"
691
+ ],
692
+ "consumesArtifacts": [],
693
+ "produces": [
694
+ ".workspai/reports/workspace-model.json"
695
+ ],
696
+ "dependsOn": [],
697
+ "exitPolicy": "stop-on-error",
698
+ "purpose": "Build the canonical current model of the software system."
699
+ },
700
+ {
701
+ "id": "diff",
702
+ "ordinal": 2,
703
+ "phase": "change",
704
+ "label": "Diff",
705
+ "command": [
706
+ "workspace",
707
+ "diff",
708
+ "--from",
709
+ ".workspai/reports/workspace-model-snapshot.json",
710
+ "--json"
711
+ ],
712
+ "consumes": [
713
+ ".workspai/reports/workspace-model.json",
714
+ ".workspai/reports/workspace-model-snapshot.json"
715
+ ],
716
+ "inputRefs": [
717
+ "changes",
718
+ "model-baseline"
719
+ ],
720
+ "consumesArtifacts": [
721
+ ".workspai/reports/workspace-model.json",
722
+ ".workspai/reports/workspace-model-snapshot.json"
723
+ ],
724
+ "produces": [
725
+ ".workspai/reports/workspace-model-diff-last-run.json"
726
+ ],
727
+ "dependsOn": [
728
+ "model"
729
+ ],
730
+ "exitPolicy": "stop-on-error",
731
+ "purpose": "Describe structural change against the selected baseline."
732
+ },
733
+ {
734
+ "id": "impact",
735
+ "ordinal": 3,
736
+ "phase": "change",
737
+ "label": "Impact",
738
+ "command": [
739
+ "workspace",
740
+ "impact",
741
+ "--from",
742
+ ".workspai/reports/workspace-model-diff-last-run.json",
743
+ "--json"
744
+ ],
745
+ "consumes": [
746
+ ".workspai/reports/workspace-model.json",
747
+ ".workspai/reports/workspace-model-diff-last-run.json"
748
+ ],
749
+ "inputRefs": [],
750
+ "consumesArtifacts": [
751
+ ".workspai/reports/workspace-model.json",
752
+ ".workspai/reports/workspace-model-diff-last-run.json"
753
+ ],
754
+ "produces": [
755
+ ".workspai/reports/workspace-impact-last-run.json"
756
+ ],
757
+ "dependsOn": [
758
+ "diff"
759
+ ],
760
+ "exitPolicy": "stop-on-error",
761
+ "purpose": "Calculate transitive blast radius over the workspace graph."
762
+ },
763
+ {
764
+ "id": "doctor-evidence",
765
+ "ordinal": 4,
766
+ "phase": "evidence",
767
+ "label": "Doctor Evidence",
768
+ "command": [
769
+ "doctor",
770
+ "workspace",
771
+ "--json"
772
+ ],
773
+ "consumes": [
774
+ "workspace runtime and project health signals"
775
+ ],
776
+ "inputRefs": [
777
+ "projects-repositories",
778
+ "runtime-dependencies",
779
+ "existing-evidence"
780
+ ],
781
+ "consumesArtifacts": [],
782
+ "produces": [
783
+ ".workspai/reports/doctor-last-run.json"
784
+ ],
785
+ "dependsOn": [
786
+ "impact"
787
+ ],
788
+ "exitPolicy": "continue-on-structured-verdict",
789
+ "purpose": "Refresh health evidence after the impact artifact exists."
790
+ },
791
+ {
792
+ "id": "contract-evidence",
793
+ "ordinal": 5,
794
+ "phase": "evidence",
795
+ "label": "Contract Evidence",
796
+ "command": [
797
+ "workspace",
798
+ "contract",
799
+ "verify",
800
+ "--strict",
801
+ "--json"
802
+ ],
803
+ "consumes": [
804
+ ".workspai/workspace.contract.json"
805
+ ],
806
+ "inputRefs": [
807
+ "workspace-rules"
808
+ ],
809
+ "consumesArtifacts": [],
810
+ "produces": [
811
+ ".workspai/reports/workspace-contract-verify-last-run.json"
812
+ ],
813
+ "dependsOn": [
814
+ "impact"
815
+ ],
816
+ "exitPolicy": "continue-on-structured-verdict",
817
+ "purpose": "Refresh structural contract evidence without hiding failed verdicts."
818
+ },
819
+ {
820
+ "id": "analyze-evidence",
821
+ "ordinal": 6,
822
+ "phase": "evidence",
823
+ "label": "Analyze Evidence",
824
+ "command": [
825
+ "analyze",
826
+ "--json"
827
+ ],
828
+ "consumes": [
829
+ ".workspai/reports/workspace-model.json",
830
+ "workspace runtime and dependency signals"
831
+ ],
832
+ "inputRefs": [
833
+ "projects-repositories",
834
+ "runtime-dependencies",
835
+ "workspace-rules"
836
+ ],
837
+ "consumesArtifacts": [
838
+ ".workspai/reports/workspace-model.json"
839
+ ],
840
+ "produces": [
841
+ ".workspai/reports/analyze-last-run.json"
842
+ ],
843
+ "dependsOn": [
844
+ "impact"
845
+ ],
846
+ "exitPolicy": "continue-on-structured-verdict",
847
+ "purpose": "Refresh analysis evidence required by the release-readiness gate."
848
+ },
849
+ {
850
+ "id": "readiness-evidence",
851
+ "ordinal": 7,
852
+ "phase": "evidence",
853
+ "label": "Readiness Evidence",
854
+ "command": [
855
+ "readiness",
856
+ "--json"
857
+ ],
858
+ "consumes": [
859
+ "doctor, analysis, runtime, and release signals"
860
+ ],
861
+ "inputRefs": [
862
+ "runtime-dependencies",
863
+ "existing-evidence"
864
+ ],
865
+ "consumesArtifacts": [
866
+ ".workspai/reports/doctor-last-run.json",
867
+ ".workspai/reports/workspace-contract-verify-last-run.json",
868
+ ".workspai/reports/analyze-last-run.json"
869
+ ],
870
+ "produces": [
871
+ ".workspai/reports/release-readiness-last-run.json"
872
+ ],
873
+ "dependsOn": [
874
+ "doctor-evidence",
875
+ "contract-evidence",
876
+ "analyze-evidence"
877
+ ],
878
+ "exitPolicy": "continue-on-structured-verdict",
879
+ "purpose": "Refresh release-readiness evidence before the definitive gate."
880
+ },
881
+ {
882
+ "id": "verify",
883
+ "ordinal": 8,
884
+ "phase": "gate",
885
+ "label": "Verify",
886
+ "command": [
887
+ "workspace",
888
+ "verify",
889
+ "--from-impact",
890
+ ".workspai/reports/workspace-impact-last-run.json",
891
+ "--json"
892
+ ],
893
+ "consumes": [
894
+ ".workspai/reports/workspace-impact-last-run.json",
895
+ ".workspai/reports/doctor-last-run.json",
896
+ ".workspai/reports/workspace-contract-verify-last-run.json",
897
+ ".workspai/reports/release-readiness-last-run.json"
898
+ ],
899
+ "inputRefs": [],
900
+ "consumesArtifacts": [
901
+ ".workspai/reports/workspace-impact-last-run.json",
902
+ ".workspai/reports/doctor-last-run.json",
903
+ ".workspai/reports/workspace-contract-verify-last-run.json",
904
+ ".workspai/reports/release-readiness-last-run.json"
905
+ ],
906
+ "produces": [
907
+ ".workspai/reports/workspace-verify-last-run.json",
908
+ ".workspai/reports/workspace-intelligence-history.json"
909
+ ],
910
+ "dependsOn": [
911
+ "impact",
912
+ "doctor-evidence",
913
+ "contract-evidence",
914
+ "analyze-evidence",
915
+ "readiness-evidence"
916
+ ],
917
+ "exitPolicy": "continue-on-structured-verdict",
918
+ "purpose": "Emit the definitive evidence-backed workspace gate."
919
+ },
920
+ {
921
+ "id": "context",
922
+ "ordinal": 9,
923
+ "phase": "ground",
924
+ "label": "Agent Context",
925
+ "command": [
926
+ "workspace",
927
+ "context",
928
+ "--for-agent",
929
+ "--json",
930
+ "--write",
931
+ "--no-agent-sync"
932
+ ],
933
+ "consumes": [
934
+ ".workspai/reports/workspace-model.json",
935
+ ".workspai/reports/workspace-impact-last-run.json",
936
+ ".workspai/reports/workspace-verify-last-run.json"
937
+ ],
938
+ "inputRefs": [],
939
+ "consumesArtifacts": [
940
+ ".workspai/reports/workspace-model.json",
941
+ ".workspai/reports/workspace-impact-last-run.json",
942
+ ".workspai/reports/workspace-verify-last-run.json"
943
+ ],
944
+ "produces": [
945
+ ".workspai/reports/workspace-context-agent.json"
946
+ ],
947
+ "dependsOn": [
948
+ "verify"
949
+ ],
950
+ "exitPolicy": "stop-on-error",
951
+ "purpose": "Build compact agent context from the same verified evidence."
952
+ },
953
+ {
954
+ "id": "agent-sync",
955
+ "ordinal": 10,
956
+ "phase": "distribute",
957
+ "label": "Agent Grounding",
958
+ "command": [
959
+ "workspace",
960
+ "agent-sync",
961
+ "--write",
962
+ "--json",
963
+ "--preset",
964
+ "enterprise"
965
+ ],
966
+ "consumerArgs": {
967
+ "vscode": [
968
+ "--target",
969
+ "vscode"
970
+ ]
971
+ },
972
+ "consumes": [
973
+ ".workspai/reports/workspace-context-agent.json"
974
+ ],
975
+ "inputRefs": [],
976
+ "consumesArtifacts": [
977
+ ".workspai/reports/workspace-context-agent.json"
978
+ ],
979
+ "produces": [
980
+ ".workspai/reports/INDEX.json",
981
+ ".workspai/reports/agent-customization-pack.json",
982
+ ".workspai/reports/workspace-skills-index.json",
983
+ "AGENTS.md"
984
+ ],
985
+ "dependsOn": [
986
+ "context"
987
+ ],
988
+ "exitPolicy": "stop-on-error",
989
+ "purpose": "Distribute one context into portable agent and IDE surfaces."
990
+ },
991
+ {
992
+ "id": "explain",
993
+ "ordinal": 11,
994
+ "phase": "explain",
995
+ "label": "Explain",
996
+ "command": [
997
+ "workspace",
998
+ "explain",
999
+ "release-blocked",
1000
+ "--json",
1001
+ "--write"
1002
+ ],
1003
+ "consumes": [
1004
+ ".workspai/reports/workspace-verify-last-run.json",
1005
+ ".workspai/reports/workspace-impact-last-run.json"
1006
+ ],
1007
+ "inputRefs": [],
1008
+ "consumesArtifacts": [
1009
+ ".workspai/reports/workspace-verify-last-run.json",
1010
+ ".workspai/reports/workspace-impact-last-run.json"
1011
+ ],
1012
+ "produces": [
1013
+ ".workspai/reports/workspace-explain-last-run.json"
1014
+ ],
1015
+ "dependsOn": [
1016
+ "verify"
1017
+ ],
1018
+ "exitPolicy": "continue-on-structured-verdict",
1019
+ "purpose": "Translate evidence and blockers into a human and agent-readable narrative."
1020
+ }
1021
+ ],
1022
+ "diagram": {
1023
+ "direction": "TB",
1024
+ "nodes": [
1025
+ {
1026
+ "id": "model",
1027
+ "label": "Model",
1028
+ "phase": "understand"
1029
+ },
1030
+ {
1031
+ "id": "diff",
1032
+ "label": "Diff",
1033
+ "phase": "change"
1034
+ },
1035
+ {
1036
+ "id": "impact",
1037
+ "label": "Impact",
1038
+ "phase": "change"
1039
+ },
1040
+ {
1041
+ "id": "doctor-evidence",
1042
+ "label": "Doctor Evidence",
1043
+ "phase": "evidence"
1044
+ },
1045
+ {
1046
+ "id": "contract-evidence",
1047
+ "label": "Contract Evidence",
1048
+ "phase": "evidence"
1049
+ },
1050
+ {
1051
+ "id": "analyze-evidence",
1052
+ "label": "Analyze Evidence",
1053
+ "phase": "evidence"
1054
+ },
1055
+ {
1056
+ "id": "readiness-evidence",
1057
+ "label": "Readiness Evidence",
1058
+ "phase": "evidence"
1059
+ },
1060
+ {
1061
+ "id": "verify",
1062
+ "label": "Verify",
1063
+ "phase": "gate"
1064
+ },
1065
+ {
1066
+ "id": "context",
1067
+ "label": "Agent Context",
1068
+ "phase": "ground"
1069
+ },
1070
+ {
1071
+ "id": "agent-sync",
1072
+ "label": "Agent Grounding",
1073
+ "phase": "distribute"
1074
+ },
1075
+ {
1076
+ "id": "explain",
1077
+ "label": "Explain",
1078
+ "phase": "explain"
1079
+ }
1080
+ ],
1081
+ "edges": [
1082
+ {
1083
+ "from": "model",
1084
+ "to": "diff",
1085
+ "meaning": "required before"
1086
+ },
1087
+ {
1088
+ "from": "diff",
1089
+ "to": "impact",
1090
+ "meaning": "required before"
1091
+ },
1092
+ {
1093
+ "from": "impact",
1094
+ "to": "doctor-evidence",
1095
+ "meaning": "required before"
1096
+ },
1097
+ {
1098
+ "from": "impact",
1099
+ "to": "contract-evidence",
1100
+ "meaning": "required before"
1101
+ },
1102
+ {
1103
+ "from": "impact",
1104
+ "to": "analyze-evidence",
1105
+ "meaning": "required before"
1106
+ },
1107
+ {
1108
+ "from": "doctor-evidence",
1109
+ "to": "readiness-evidence",
1110
+ "meaning": "required before"
1111
+ },
1112
+ {
1113
+ "from": "contract-evidence",
1114
+ "to": "readiness-evidence",
1115
+ "meaning": "required before"
1116
+ },
1117
+ {
1118
+ "from": "analyze-evidence",
1119
+ "to": "readiness-evidence",
1120
+ "meaning": "required before"
1121
+ },
1122
+ {
1123
+ "from": "impact",
1124
+ "to": "verify",
1125
+ "meaning": "required before"
1126
+ },
1127
+ {
1128
+ "from": "doctor-evidence",
1129
+ "to": "verify",
1130
+ "meaning": "required before"
1131
+ },
1132
+ {
1133
+ "from": "contract-evidence",
1134
+ "to": "verify",
1135
+ "meaning": "required before"
1136
+ },
1137
+ {
1138
+ "from": "analyze-evidence",
1139
+ "to": "verify",
1140
+ "meaning": "required before"
1141
+ },
1142
+ {
1143
+ "from": "readiness-evidence",
1144
+ "to": "verify",
1145
+ "meaning": "required before"
1146
+ },
1147
+ {
1148
+ "from": "verify",
1149
+ "to": "context",
1150
+ "meaning": "required before"
1151
+ },
1152
+ {
1153
+ "from": "context",
1154
+ "to": "agent-sync",
1155
+ "meaning": "required before"
1156
+ },
1157
+ {
1158
+ "from": "verify",
1159
+ "to": "explain",
1160
+ "meaning": "required before"
1161
+ }
1162
+ ]
1163
+ },
1164
+ "consumers": {
1165
+ "agents": {
1166
+ "canonicalReadOrder": [
1167
+ ".workspai/reports/INDEX.json",
1168
+ ".workspai/reports/workspace-context-agent.json",
1169
+ ".workspai/reports/workspace-verify-last-run.json",
1170
+ ".workspai/reports/workspace-impact-last-run.json",
1171
+ ".workspai/reports/workspace-explain-last-run.json",
1172
+ ".workspai/reports/workspace-model.json",
1173
+ ".workspai/reports/agent-customization-pack.json",
1174
+ ".workspai/reports/workspace-skills-index.json"
1175
+ ],
1176
+ "entrypoints": [
1177
+ "AGENTS.md",
1178
+ ".workspai/AGENT-GROUNDING.md"
1179
+ ],
1180
+ "rule": "Agents must cite current artifacts, preserve verified versus inferred status, and re-run the producing step when evidence is missing or stale."
1181
+ },
1182
+ "ideAndCi": {
1183
+ "requiredArtifacts": [
1184
+ ".workspai/reports/workspace-model.json",
1185
+ ".workspai/reports/workspace-impact-last-run.json",
1186
+ ".workspai/reports/workspace-verify-last-run.json"
1187
+ ],
1188
+ "rule": "IDEs and CI must consume structured artifacts and verdict exit semantics rather than parse human help or terminal prose."
1189
+ },
1190
+ "docsAndDiagrams": {
1191
+ "rule": "Documentation and diagrams must derive labels, ordering, and edges from this contract and must not invent implemented steps."
1192
+ }
1193
+ }
1194
+ }