workspai 0.67.0 → 0.69.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 (200) hide show
  1. package/README.md +38 -18
  2. package/contracts/cli-runtime-command-inventory.v1.snapshot.json +459 -0
  3. package/contracts/extension-cli-compatibility.v1.json +11 -0
  4. package/contracts/published-contract-catalog.v1.json +55 -0
  5. package/contracts/runtime-command-surface.v1.json +282 -0
  6. package/contracts/workspace-activity-board.v1.json +6 -0
  7. package/contracts/workspace-activity-event.v1.json +31 -1
  8. package/contracts/workspace-activity-monitor-snapshot.v1.json +35 -2
  9. package/contracts/workspace-intelligence/architecture-change-lease.v1.json +50 -0
  10. package/contracts/workspace-intelligence/architecture-surprise-report.v1.json +46 -0
  11. package/contracts/workspace-intelligence/change-operation-result.v1.json +43 -0
  12. package/contracts/workspace-intelligence/decision-checkpoint.v1.json +18 -0
  13. package/contracts/workspace-intelligence/decision-event.v1.json +134 -0
  14. package/contracts/workspace-intelligence/decision-transaction.v1.json +29 -0
  15. package/contracts/workspace-intelligence/goal-index.v1.json +13 -0
  16. package/contracts/workspace-intelligence/goal-pack.v1.json +2 -1
  17. package/contracts/workspace-intelligence/predicted-architecture-change.v1.json +34 -0
  18. package/contracts/workspace-intelligence/proof-carrying-change-capsule-export.v1.json +14 -0
  19. package/contracts/workspace-intelligence/proof-carrying-change-capsule-validation.v1.json +16 -0
  20. package/contracts/workspace-intelligence/proof-carrying-change-capsule.v1.json +62 -0
  21. package/contracts/workspace-intelligence/proof-carrying-change-list.v1.json +80 -0
  22. package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +9 -1
  23. package/contracts/workspace-intelligence/workspace-knowledge-search.v1.json +1 -0
  24. package/dist/analyze-GPYPXXRT.js +1 -0
  25. package/dist/{artifact-remediation-plan-GFFHC2ZU.js → artifact-remediation-plan-JHHZ4L24.js} +1 -1
  26. package/dist/autopilot-release-FL47VMF7.js +1 -0
  27. package/dist/capabilities-command-MYSLJIYS.js +1 -0
  28. package/dist/chunk-25AWHAB5.js +2 -0
  29. package/dist/chunk-2LZWBUJD.js +1 -0
  30. package/dist/{chunk-KENOAC2Q.js → chunk-37ZLNFV5.js} +2 -2
  31. package/dist/{chunk-CZVT7T2X.js → chunk-3G5FF2JZ.js} +1 -1
  32. package/dist/chunk-3HFFKW4Q.js +2 -0
  33. package/dist/{chunk-BHM6RHTA.js → chunk-3WHE7V4M.js} +1 -1
  34. package/dist/{chunk-NVND4727.js → chunk-46QH3ZVI.js} +1 -1
  35. package/dist/{chunk-B4IVVTMQ.js → chunk-64XWHDZ3.js} +1 -1
  36. package/dist/chunk-A3MYO55A.js +3 -0
  37. package/dist/chunk-ABMB6MJT.js +1 -0
  38. package/dist/chunk-AD4ZY3RF.js +12 -0
  39. package/dist/chunk-BM2F5C4J.js +1 -0
  40. package/dist/chunk-COICGD62.js +1 -0
  41. package/dist/{chunk-5OA33JH2.js → chunk-D5LLTUTY.js} +1 -1
  42. package/dist/{chunk-4WVOAX2V.js → chunk-DWL3PPLA.js} +1 -1
  43. package/dist/{chunk-H77ZNH5O.js → chunk-EBEAJIBI.js} +1 -1
  44. package/dist/chunk-EBQS5T7Q.js +7 -0
  45. package/dist/{chunk-VI4ZRAY6.js → chunk-EG6EZ7HW.js} +1 -1
  46. package/dist/chunk-ERVWW5HX.js +1 -0
  47. package/dist/chunk-EZPLMAW2.js +1 -0
  48. package/dist/chunk-FIK343LI.js +1 -0
  49. package/dist/chunk-GSSJJS5M.js +6 -0
  50. package/dist/{chunk-SRLWHOLF.js → chunk-GYN6RPNU.js} +1 -1
  51. package/dist/{chunk-6E2Y3XGT.js → chunk-HCFOVANQ.js} +1 -1
  52. package/dist/chunk-I3UCODXU.js +1 -0
  53. package/dist/{chunk-2RPFCBS4.js → chunk-IGJA6GBQ.js} +1 -1
  54. package/dist/{chunk-FX5J6JCK.js → chunk-IVYPC36J.js} +1 -1
  55. package/dist/chunk-K33JJVQZ.js +2 -0
  56. package/dist/{chunk-L5Q2S5GY.js → chunk-KFTJVVJR.js} +1 -1
  57. package/dist/chunk-LDBULT2T.js +4 -0
  58. package/dist/{chunk-THIG2YQP.js → chunk-M37ALD4V.js} +1 -1
  59. package/dist/{chunk-HQLBO23O.js → chunk-MAWHHHU3.js} +5 -5
  60. package/dist/chunk-MBICKDYP.js +1 -0
  61. package/dist/{chunk-QMQBX3RV.js → chunk-MGL6DBOR.js} +1 -1
  62. package/dist/chunk-MHQHRMKU.js +5 -0
  63. package/dist/{chunk-KQ2TMI26.js → chunk-N2Q4MSSP.js} +64 -64
  64. package/dist/chunk-N4B2M44I.js +1 -0
  65. package/dist/chunk-NSH7TTSV.js +1 -0
  66. package/dist/chunk-O5XQP5E7.js +1 -0
  67. package/dist/chunk-ODK4LCEL.js +1 -0
  68. package/dist/chunk-OU3BBWH5.js +49 -0
  69. package/dist/chunk-OZXCNVGW.js +2 -0
  70. package/dist/{chunk-TABXSDTR.js → chunk-PKKSRXUS.js} +1 -1
  71. package/dist/{chunk-SLFOUSRW.js → chunk-QYEQVNBF.js} +1 -1
  72. package/dist/chunk-RVOW3BHQ.js +2 -0
  73. package/dist/chunk-TKXRP2B4.js +1 -0
  74. package/dist/chunk-UNXG3ZFV.js +1 -0
  75. package/dist/chunk-UW4SESKD.js +2 -0
  76. package/dist/{chunk-2MTJWPQ4.js → chunk-V52R2W2Q.js} +1 -1
  77. package/dist/chunk-V6TIT6M3.js +157 -0
  78. package/dist/chunk-VNKAISFE.js +8 -0
  79. package/dist/chunk-W37NOQVG.js +1 -0
  80. package/dist/chunk-W6WRT77T.js +1 -0
  81. package/dist/chunk-WHR5SL33.js +4 -0
  82. package/dist/{chunk-HYE5UHPV.js → chunk-WZ5V5U2K.js} +1 -1
  83. package/dist/chunk-XPGCFVGC.js +4 -0
  84. package/dist/chunk-YKY4JFCF.js +1 -0
  85. package/dist/{chunk-VWBMDGPY.js → chunk-YWZBGSFE.js} +3 -3
  86. package/dist/chunk-YZL7ZY7J.js +2 -0
  87. package/dist/{create-72ITVZXV.js → create-GWBQ74ZI.js} +1 -1
  88. package/dist/{demo-kit-5UQH2OXC.js → demo-kit-RKTHTXHJ.js} +1 -1
  89. package/dist/doctor-OQAXSMEM.js +1 -0
  90. package/dist/{dotnet-webapi-clean-YEHYIGOT.js → dotnet-webapi-clean-XL4IBUQV.js} +1 -1
  91. package/dist/goal-lifecycle-YWBVQ2DF.js +1 -0
  92. package/dist/goal-pack-KUXPZVNO.js +1 -0
  93. package/dist/{gofiber-standard-C44IIQYH.js → gofiber-standard-OHHMCNMJ.js} +1 -1
  94. package/dist/{gogin-standard-X7VKACVR.js → gogin-standard-BAZXPOKL.js} +1 -1
  95. package/dist/index.d.ts +35 -2
  96. package/dist/index.js +239 -239
  97. package/dist/{live-command-5VXPR43F.js → live-command-GNAASZ7U.js} +1 -1
  98. package/dist/pipeline-PGB5TEV3.js +5 -0
  99. package/dist/{project-agent-entry-5IUBEREI.js → project-agent-entry-H3JAGNLS.js} +1 -1
  100. package/dist/{project-intelligence-lens-LQCN65P2.js → project-intelligence-lens-7NMKHV5N.js} +1 -1
  101. package/dist/{project-test-coverage-KD4LLFGV.js → project-test-coverage-3DKZKLWY.js} +1 -1
  102. package/dist/proof-carrying-change-QFH7WI2E.js +1 -0
  103. package/dist/{rust-axum-JKZTZDRZ.js → rust-axum-CCJ6UCBW.js} +1 -1
  104. package/dist/{springboot-standard-PI4FLTAN.js → springboot-standard-M5JQEJML.js} +1 -1
  105. package/dist/verified-goal-7XHRWYSE.js +1 -0
  106. package/dist/{workspace-5W7FYGDQ.js → workspace-TJHCETBV.js} +1 -1
  107. package/dist/{workspace-agent-sync-OZCDQORK.js → workspace-agent-sync-Z35NTXCB.js} +1 -1
  108. package/dist/{workspace-archive-NOSGRKRZ.js → workspace-archive-OSMU3CK6.js} +1 -1
  109. package/dist/{workspace-context-L65BR5L6.js → workspace-context-KNJQUJWC.js} +1 -1
  110. package/dist/{workspace-contract-JYHNEJPV.js → workspace-contract-VIUQT5SZ.js} +1 -1
  111. package/dist/workspace-explain-HM6GMK26.js +1 -0
  112. package/dist/workspace-explain-contract-KV7RTEJU.js +1 -0
  113. package/dist/{workspace-feedback-MWGCT5R2.js → workspace-feedback-YSPEGCON.js} +1 -1
  114. package/dist/{workspace-foundation-VIB3PXNH.js → workspace-foundation-PLXFPI3J.js} +1 -1
  115. package/dist/{workspace-graph-stream-45JHE4MG.js → workspace-graph-stream-FNRQ2FTB.js} +1 -1
  116. package/dist/workspace-graph-token-efficiency-WNAFAN2F.js +1 -0
  117. package/dist/{workspace-history-JKW3VJO3.js → workspace-history-HDDFG6LH.js} +1 -1
  118. package/dist/{workspace-intelligence-3C47PK4L.js → workspace-intelligence-QLSD5EEV.js} +1 -1
  119. package/dist/{workspace-intelligence-benchmark-SRDIHX3X.js → workspace-intelligence-benchmark-S5OXVNLC.js} +1 -1
  120. package/dist/{workspace-intelligence-evaluation-OJIQS5SN.js → workspace-intelligence-evaluation-QDSOOUHH.js} +1 -1
  121. package/dist/{workspace-intelligence-runner-OWN5ZI6W.js → workspace-intelligence-runner-4EW4T2OW.js} +1 -1
  122. package/dist/workspace-intelligence-runtime-registry-ZLPF7BAY.js +1 -0
  123. package/dist/{workspace-knowledge-graph-AKG5NUU6.js → workspace-knowledge-graph-EEOW5VAJ.js} +1 -1
  124. package/dist/workspace-knowledge-graph-change-overlay-FIIAFLO6.js +1 -0
  125. package/dist/{workspace-knowledge-graph-contract-X52KXBXJ.js → workspace-knowledge-graph-contract-FVX5T7SU.js} +1 -1
  126. package/dist/{workspace-knowledge-graph-query-DXA4CROE.js → workspace-knowledge-graph-query-WHCGPBGS.js} +1 -1
  127. package/dist/workspace-knowledge-graph-snapshot-X347REDB.js +1 -0
  128. package/dist/workspace-mcp-serve-NQ42PE2I.js +3 -0
  129. package/dist/{workspace-model-R4ISKDB2.js → workspace-model-NCOOY5LC.js} +1 -1
  130. package/dist/{workspace-onboarding-Y5RPEFUD.js → workspace-onboarding-JNC7ZFMR.js} +1 -1
  131. package/dist/{workspace-readme-PL5V3UDH.js → workspace-readme-OV2ADTLW.js} +2 -2
  132. package/dist/{workspace-registry-summary-STGUGROG.js → workspace-registry-summary-ONT4VOJX.js} +1 -1
  133. package/dist/{workspace-repair-engine-FNLL5ZDK.js → workspace-repair-engine-WMJCYWO4.js} +2 -2
  134. package/dist/workspace-run-3S35MDX6.js +1 -0
  135. package/dist/{workspace-verify-AXVX3PF3.js → workspace-verify-MLABQUWK.js} +1 -1
  136. package/dist/{workspace-watch-RLBEJKXE.js → workspace-watch-MJOG5AZ3.js} +1 -1
  137. package/docs/README.md +2 -0
  138. package/docs/ci-workflows.md +1 -1
  139. package/docs/commands-reference.md +26 -1
  140. package/docs/contracts/ARTIFACT_CATALOG.md +37 -18
  141. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +17 -0
  142. package/docs/contracts/PROOF_CARRYING_CHANGE_CONTRACT_PLAN.md +65 -0
  143. package/docs/contracts/README.md +1 -1
  144. package/docs/proof-carrying-change.implementation.v1.json +118 -0
  145. package/docs/proof-carrying-change.md +202 -0
  146. package/docs/workspace-knowledge-graph.md +1 -0
  147. package/docs/workspace-live-activity.md +18 -4
  148. package/package.json +1 -1
  149. package/dist/analyze-IC2KRVCG.js +0 -1
  150. package/dist/autopilot-release-RECEZAZI.js +0 -1
  151. package/dist/capabilities-command-X4WZIJNR.js +0 -1
  152. package/dist/chunk-2M62CU3O.js +0 -2
  153. package/dist/chunk-2MVIRJJR.js +0 -1
  154. package/dist/chunk-3O7LZPKA.js +0 -4
  155. package/dist/chunk-3OGPTLI2.js +0 -1
  156. package/dist/chunk-4RV4JVGR.js +0 -6
  157. package/dist/chunk-5EVDW7JM.js +0 -1
  158. package/dist/chunk-5ME4W4LN.js +0 -1
  159. package/dist/chunk-5TY74LLW.js +0 -2
  160. package/dist/chunk-6254CWUY.js +0 -49
  161. package/dist/chunk-ARUFY5W3.js +0 -1
  162. package/dist/chunk-BHFRP7TV.js +0 -8
  163. package/dist/chunk-BRYJTW6S.js +0 -2
  164. package/dist/chunk-BUYLM6QV.js +0 -1
  165. package/dist/chunk-CPR2CMOY.js +0 -1
  166. package/dist/chunk-EHCKITR4.js +0 -2
  167. package/dist/chunk-ENZPM52J.js +0 -1
  168. package/dist/chunk-FPDH3N3A.js +0 -7
  169. package/dist/chunk-GIQ4SDRJ.js +0 -1
  170. package/dist/chunk-IKUFNK46.js +0 -2
  171. package/dist/chunk-IQQMFRWM.js +0 -3
  172. package/dist/chunk-JCGSIDMC.js +0 -2
  173. package/dist/chunk-LPCZHKD5.js +0 -1
  174. package/dist/chunk-N4QFNOAI.js +0 -1
  175. package/dist/chunk-OCNPOYMA.js +0 -1
  176. package/dist/chunk-PSYQ6IJA.js +0 -12
  177. package/dist/chunk-SVYY55IS.js +0 -157
  178. package/dist/chunk-SX6A656X.js +0 -1
  179. package/dist/chunk-TP7VKEUF.js +0 -1
  180. package/dist/chunk-UTV4DTNM.js +0 -1
  181. package/dist/chunk-XDPTAV2T.js +0 -2
  182. package/dist/chunk-Y35VLVF6.js +0 -5
  183. package/dist/chunk-Y4Z6CEII.js +0 -1
  184. package/dist/chunk-YYY2WXOH.js +0 -1
  185. package/dist/chunk-ZEEV5J4I.js +0 -1
  186. package/dist/chunk-ZGHJIQXL.js +0 -1
  187. package/dist/chunk-ZI2E7P6O.js +0 -4
  188. package/dist/doctor-CVYUESRQ.js +0 -1
  189. package/dist/goal-lifecycle-H55AGFCB.js +0 -1
  190. package/dist/goal-pack-6OBZOPCD.js +0 -1
  191. package/dist/pipeline-SKYOXWHW.js +0 -5
  192. package/dist/verified-goal-HN7G532B.js +0 -1
  193. package/dist/workspace-explain-SUBK6FLO.js +0 -1
  194. package/dist/workspace-explain-contract-WMREJWHF.js +0 -1
  195. package/dist/workspace-graph-token-efficiency-NPECU6Y5.js +0 -1
  196. package/dist/workspace-intelligence-runtime-registry-UKFB3BI7.js +0 -1
  197. package/dist/workspace-knowledge-graph-change-overlay-XG6FC4IX.js +0 -1
  198. package/dist/workspace-knowledge-graph-snapshot-SNI5K2RL.js +0 -1
  199. package/dist/workspace-mcp-serve-PK226GMV.js +0 -3
  200. package/dist/workspace-run-GFBFGUFM.js +0 -1
package/README.md CHANGED
@@ -177,6 +177,24 @@ a machine-readable decision and can use `--scope` and `--runtime`.
177
177
 
178
178
  [Learn how Goal Packs work](docs/goal-packs.md)
179
179
 
180
+ ## Make every agent change carry proof
181
+
182
+ For source-changing work, begin a Goal-bound change before mutation:
183
+
184
+ ```bash
185
+ npx workspai change begin --json
186
+ npx workspai change list --json
187
+ npx workspai change authorize --change <change-id> --effects filesystem,command --json
188
+ # The agent or extension records typed effects, then Workspai re-observes the Graph.
189
+ npx workspai change verify --change <change-id> --strict --json
190
+ npx workspai change capsule validate --change <change-id> --json
191
+ ```
192
+
193
+ The resulting capsule binds intent, baseline architecture, authorization,
194
+ observed effects, predicted-versus-actual Graph changes, verification receipts,
195
+ and remaining uncertainty. Prediction can guide work but can never prove its
196
+ own result. [Learn how Proof-Carrying Change works](docs/proof-carrying-change.md).
197
+
180
198
  ## What happens after the first run
181
199
 
182
200
  Everything shown in the [output tree above](#what-the-output-looks-like) is
@@ -262,24 +280,25 @@ explicitly unproven.
262
280
 
263
281
  ## Everyday workflows
264
282
 
265
- | Goal | Command |
266
- | ------------------------------------------ | -------------------------------------------------------------------------------- |
267
- | Use guided setup | `npx workspai create` |
268
- | Link a project without moving it | `npx workspai adopt .` |
269
- | Turn an outcome into governed work | `npx workspai goal "Raise test coverage to 85%"` |
270
- | Ground an agent before source discovery | `npx workspai agent bootstrap --for-agent codex --strict --json` |
271
- | Audit every agent entry adapter | `npx workspai project agent-entry verify --for-agent all --strict --json` |
272
- | Copy or clone a project into a workspace | `npx workspai import <path-or-git-url> --workspace <path>` |
273
- | Check the current project | `npx workspai doctor project` |
274
- | Check the whole workspace | `npx workspai doctor workspace` |
275
- | Refresh Model and Graph | `npx workspai workspace model --write --json` |
276
- | Watch command activity as a portable board | `npx workspai live --once --json --projection board` |
277
- | Benchmark bounded agent retrieval | `npx workspai workspace graph benchmark-suite agent-core.v1 --write --json` |
278
- | Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
279
- | Verify current evidence | `npx workspai workspace verify --strict --json` |
280
- | Inspect a governed repair before execution | `npx workspai workspace repair capabilities --json` |
281
- | Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
282
- | Start MCP server for workspace queries | `npx workspai workspace mcp serve` |
283
+ | Goal | Command |
284
+ | ------------------------------------------- | -------------------------------------------------------------------------------- |
285
+ | Use guided setup | `npx workspai create` |
286
+ | Link a project without moving it | `npx workspai adopt .` |
287
+ | Turn an outcome into governed work | `npx workspai goal "Raise test coverage to 85%"` |
288
+ | Prove an agent change from intent to verify | `npx workspai change begin --json` |
289
+ | Ground an agent before source discovery | `npx workspai agent bootstrap --for-agent codex --strict --json` |
290
+ | Audit every agent entry adapter | `npx workspai project agent-entry verify --for-agent all --strict --json` |
291
+ | Copy or clone a project into a workspace | `npx workspai import <path-or-git-url> --workspace <path>` |
292
+ | Check the current project | `npx workspai doctor project` |
293
+ | Check the whole workspace | `npx workspai doctor workspace` |
294
+ | Refresh Model and Graph | `npx workspai workspace model --write --json` |
295
+ | Watch command activity as a portable board | `npx workspai live --once --json --projection board` |
296
+ | Benchmark bounded agent retrieval | `npx workspai workspace graph benchmark-suite agent-core.v1 --write --json` |
297
+ | Ask a focused architecture question | `npx workspai workspace graph search "authentication service" --limit 12 --json` |
298
+ | Verify current evidence | `npx workspai workspace verify --strict --json` |
299
+ | Inspect a governed repair before execution | `npx workspai workspace repair capabilities --json` |
300
+ | Refresh agent and IDE context | `npx workspai workspace agent-sync --write --preset enterprise --json` |
301
+ | Start MCP server for workspace queries | `npx workspai workspace mcp serve` |
283
302
 
284
303
  For every command and flag, use the
285
304
  [Command Reference](docs/commands-reference.md).
@@ -323,6 +342,7 @@ modules; Workspai remains the workspace-level CLI.
323
342
  | Plan, approve, execute, or roll back a repair | [Workspace Repair Engine](docs/workspace-repair-engine.md) |
324
343
  | Set a release, security, or coverage outcome | [Verified engineering goals](docs/workspace-intelligence-runner.md#verified-engineering-goals) |
325
344
  | Compile plain language into a governed plan | [Goal Packs](docs/goal-packs.md) |
345
+ | Prove what an agent changed and why | [Proof-Carrying Change](docs/proof-carrying-change.md) |
326
346
  | Ground an agent in canonical project evidence | [Canonical-first agent entry](docs/agent-entry.md) |
327
347
  | Integrate CI | [CI workflows](docs/ci-workflows.md) |
328
348
  | Find generated files and schemas | [Artifact Catalog](docs/contracts/ARTIFACT_CATALOG.md) |
@@ -282,6 +282,464 @@
282
282
  "arguments": [],
283
283
  "options": []
284
284
  },
285
+ {
286
+ "path": [
287
+ "change"
288
+ ],
289
+ "command": "change",
290
+ "parent": null,
291
+ "registrationKind": "commander",
292
+ "aliases": [],
293
+ "description": "Create and verify tamper-evident, architecture-aware change capsules",
294
+ "hidden": false,
295
+ "arguments": [],
296
+ "options": []
297
+ },
298
+ {
299
+ "path": [
300
+ "change",
301
+ "abort"
302
+ ],
303
+ "command": "abort",
304
+ "parent": "change",
305
+ "registrationKind": "commander",
306
+ "aliases": [],
307
+ "description": "Terminate an open change without deleting evidence",
308
+ "hidden": false,
309
+ "arguments": [],
310
+ "options": [
311
+ {
312
+ "flags": "--workspace <path>",
313
+ "attributeName": "workspace"
314
+ },
315
+ {
316
+ "flags": "--json",
317
+ "attributeName": "json"
318
+ },
319
+ {
320
+ "flags": "--change <change-id>",
321
+ "attributeName": "change"
322
+ },
323
+ {
324
+ "flags": "--reason <text>",
325
+ "attributeName": "reason"
326
+ },
327
+ {
328
+ "flags": "--actor <identity>",
329
+ "attributeName": "actor"
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "path": [
335
+ "change",
336
+ "authorize"
337
+ ],
338
+ "command": "authorize",
339
+ "parent": "change",
340
+ "registrationKind": "commander",
341
+ "aliases": [],
342
+ "description": "Grant bounded effect capabilities",
343
+ "hidden": false,
344
+ "arguments": [],
345
+ "options": [
346
+ {
347
+ "flags": "--workspace <path>",
348
+ "attributeName": "workspace"
349
+ },
350
+ {
351
+ "flags": "--json",
352
+ "attributeName": "json"
353
+ },
354
+ {
355
+ "flags": "--change <change-id>",
356
+ "attributeName": "change"
357
+ },
358
+ {
359
+ "flags": "--effects <classes>",
360
+ "attributeName": "effects"
361
+ },
362
+ {
363
+ "flags": "--granted-by <identity>",
364
+ "attributeName": "grantedBy"
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "path": [
370
+ "change",
371
+ "begin"
372
+ ],
373
+ "command": "begin",
374
+ "parent": "change",
375
+ "registrationKind": "commander",
376
+ "aliases": [],
377
+ "description": "Pin an active Goal and architecture baseline",
378
+ "hidden": false,
379
+ "arguments": [],
380
+ "options": [
381
+ {
382
+ "flags": "--workspace <path>",
383
+ "attributeName": "workspace"
384
+ },
385
+ {
386
+ "flags": "--json",
387
+ "attributeName": "json"
388
+ },
389
+ {
390
+ "flags": "--goal <goal-id>",
391
+ "attributeName": "goal"
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "path": [
397
+ "change",
398
+ "capsule"
399
+ ],
400
+ "command": "capsule",
401
+ "parent": "change",
402
+ "registrationKind": "commander",
403
+ "aliases": [],
404
+ "description": "Validate or export a change capsule",
405
+ "hidden": false,
406
+ "arguments": [],
407
+ "options": []
408
+ },
409
+ {
410
+ "path": [
411
+ "change",
412
+ "capsule",
413
+ "export"
414
+ ],
415
+ "command": "export",
416
+ "parent": "change capsule",
417
+ "registrationKind": "commander",
418
+ "aliases": [],
419
+ "description": "Export a validated portable capsule manifest",
420
+ "hidden": false,
421
+ "arguments": [],
422
+ "options": [
423
+ {
424
+ "flags": "--workspace <path>",
425
+ "attributeName": "workspace"
426
+ },
427
+ {
428
+ "flags": "--json",
429
+ "attributeName": "json"
430
+ },
431
+ {
432
+ "flags": "--change <change-id>",
433
+ "attributeName": "change"
434
+ },
435
+ {
436
+ "flags": "--output <path>",
437
+ "attributeName": "output"
438
+ }
439
+ ]
440
+ },
441
+ {
442
+ "path": [
443
+ "change",
444
+ "capsule",
445
+ "validate"
446
+ ],
447
+ "command": "validate",
448
+ "parent": "change capsule",
449
+ "registrationKind": "commander",
450
+ "aliases": [],
451
+ "description": "Validate capsule and referenced local evidence",
452
+ "hidden": false,
453
+ "arguments": [],
454
+ "options": [
455
+ {
456
+ "flags": "--workspace <path>",
457
+ "attributeName": "workspace"
458
+ },
459
+ {
460
+ "flags": "--json",
461
+ "attributeName": "json"
462
+ },
463
+ {
464
+ "flags": "--change <change-id>",
465
+ "attributeName": "change"
466
+ }
467
+ ]
468
+ },
469
+ {
470
+ "path": [
471
+ "change",
472
+ "effect"
473
+ ],
474
+ "command": "effect",
475
+ "parent": "change",
476
+ "registrationKind": "commander",
477
+ "aliases": [],
478
+ "description": "Record typed observed effects",
479
+ "hidden": false,
480
+ "arguments": [],
481
+ "options": []
482
+ },
483
+ {
484
+ "path": [
485
+ "change",
486
+ "effect",
487
+ "record"
488
+ ],
489
+ "command": "record",
490
+ "parent": "change effect",
491
+ "registrationKind": "commander",
492
+ "aliases": [],
493
+ "description": "Append an idempotent effect receipt",
494
+ "hidden": false,
495
+ "arguments": [],
496
+ "options": [
497
+ {
498
+ "flags": "--workspace <path>",
499
+ "attributeName": "workspace"
500
+ },
501
+ {
502
+ "flags": "--json",
503
+ "attributeName": "json"
504
+ },
505
+ {
506
+ "flags": "--change <change-id>",
507
+ "attributeName": "change"
508
+ },
509
+ {
510
+ "flags": "--file <receipt.json>",
511
+ "attributeName": "file"
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "path": [
517
+ "change",
518
+ "explain"
519
+ ],
520
+ "command": "explain",
521
+ "parent": "change",
522
+ "registrationKind": "commander",
523
+ "aliases": [],
524
+ "description": "Explain proof, uncertainty, and next actions",
525
+ "hidden": false,
526
+ "arguments": [],
527
+ "options": [
528
+ {
529
+ "flags": "--workspace <path>",
530
+ "attributeName": "workspace"
531
+ },
532
+ {
533
+ "flags": "--json",
534
+ "attributeName": "json"
535
+ },
536
+ {
537
+ "flags": "--change <change-id>",
538
+ "attributeName": "change"
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "path": [
544
+ "change",
545
+ "list"
546
+ ],
547
+ "command": "list",
548
+ "parent": "change",
549
+ "registrationKind": "commander",
550
+ "aliases": [],
551
+ "description": "List discoverable change capsules and integrity",
552
+ "hidden": false,
553
+ "arguments": [],
554
+ "options": [
555
+ {
556
+ "flags": "--workspace <path>",
557
+ "attributeName": "workspace"
558
+ },
559
+ {
560
+ "flags": "--json",
561
+ "attributeName": "json"
562
+ }
563
+ ]
564
+ },
565
+ {
566
+ "path": [
567
+ "change",
568
+ "predict"
569
+ ],
570
+ "command": "predict",
571
+ "parent": "change",
572
+ "registrationKind": "commander",
573
+ "aliases": [],
574
+ "description": "Attach a noncanonical architecture prediction",
575
+ "hidden": false,
576
+ "arguments": [],
577
+ "options": [
578
+ {
579
+ "flags": "--workspace <path>",
580
+ "attributeName": "workspace"
581
+ },
582
+ {
583
+ "flags": "--json",
584
+ "attributeName": "json"
585
+ },
586
+ {
587
+ "flags": "--change <change-id>",
588
+ "attributeName": "change"
589
+ },
590
+ {
591
+ "flags": "--file <prediction.json>",
592
+ "attributeName": "file"
593
+ }
594
+ ]
595
+ },
596
+ {
597
+ "path": [
598
+ "change",
599
+ "resume"
600
+ ],
601
+ "command": "resume",
602
+ "parent": "change",
603
+ "registrationKind": "commander",
604
+ "aliases": [],
605
+ "description": "Resume a blocked transaction with human intent",
606
+ "hidden": false,
607
+ "arguments": [],
608
+ "options": [
609
+ {
610
+ "flags": "--workspace <path>",
611
+ "attributeName": "workspace"
612
+ },
613
+ {
614
+ "flags": "--json",
615
+ "attributeName": "json"
616
+ },
617
+ {
618
+ "flags": "--change <change-id>",
619
+ "attributeName": "change"
620
+ },
621
+ {
622
+ "flags": "--to <state>",
623
+ "attributeName": "to"
624
+ },
625
+ {
626
+ "flags": "--reason <text>",
627
+ "attributeName": "reason"
628
+ },
629
+ {
630
+ "flags": "--actor <identity>",
631
+ "attributeName": "actor"
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "path": [
637
+ "change",
638
+ "status"
639
+ ],
640
+ "command": "status",
641
+ "parent": "change",
642
+ "registrationKind": "commander",
643
+ "aliases": [],
644
+ "description": "Inspect the derived transaction and assurance state",
645
+ "hidden": false,
646
+ "arguments": [],
647
+ "options": [
648
+ {
649
+ "flags": "--workspace <path>",
650
+ "attributeName": "workspace"
651
+ },
652
+ {
653
+ "flags": "--json",
654
+ "attributeName": "json"
655
+ },
656
+ {
657
+ "flags": "--change <change-id>",
658
+ "attributeName": "change"
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ "path": [
664
+ "change",
665
+ "verification"
666
+ ],
667
+ "command": "verification",
668
+ "parent": "change",
669
+ "registrationKind": "commander",
670
+ "aliases": [],
671
+ "description": "Record independent Goal-criterion verification",
672
+ "hidden": false,
673
+ "arguments": [],
674
+ "options": []
675
+ },
676
+ {
677
+ "path": [
678
+ "change",
679
+ "verification",
680
+ "record"
681
+ ],
682
+ "command": "record",
683
+ "parent": "change verification",
684
+ "registrationKind": "commander",
685
+ "aliases": [],
686
+ "description": "Append an exact-generation verification receipt",
687
+ "hidden": false,
688
+ "arguments": [],
689
+ "options": [
690
+ {
691
+ "flags": "--workspace <path>",
692
+ "attributeName": "workspace"
693
+ },
694
+ {
695
+ "flags": "--json",
696
+ "attributeName": "json"
697
+ },
698
+ {
699
+ "flags": "--change <change-id>",
700
+ "attributeName": "change"
701
+ },
702
+ {
703
+ "flags": "--file <receipt.json>",
704
+ "attributeName": "file"
705
+ }
706
+ ]
707
+ },
708
+ {
709
+ "path": [
710
+ "change",
711
+ "verify"
712
+ ],
713
+ "command": "verify",
714
+ "parent": "change",
715
+ "registrationKind": "commander",
716
+ "aliases": [],
717
+ "description": "Re-observe architecture and verify exact effects",
718
+ "hidden": false,
719
+ "arguments": [],
720
+ "options": [
721
+ {
722
+ "flags": "--workspace <path>",
723
+ "attributeName": "workspace"
724
+ },
725
+ {
726
+ "flags": "--json",
727
+ "attributeName": "json"
728
+ },
729
+ {
730
+ "flags": "--change <change-id>",
731
+ "attributeName": "change"
732
+ },
733
+ {
734
+ "flags": "--strict",
735
+ "attributeName": "strict"
736
+ },
737
+ {
738
+ "flags": "--no-refresh",
739
+ "attributeName": "refresh"
740
+ }
741
+ ]
742
+ },
285
743
  {
286
744
  "path": [
287
745
  "commands"
@@ -1816,6 +2274,7 @@
1816
2274
  "autopilot",
1817
2275
  "bootstrap",
1818
2276
  "cache",
2277
+ "change",
1819
2278
  "commands",
1820
2279
  "config",
1821
2280
  "create",
@@ -37,6 +37,17 @@
37
37
  "goalPlanResult": "workspai.goal-plan-result.v1",
38
38
  "goalIndex": "workspai.goal-index.v1",
39
39
  "goalLifecycleResult": "workspai.goal-lifecycle-result.v1",
40
+ "decisionEvent": "workspai.decision-event.v1",
41
+ "decisionTransaction": "workspai.decision-transaction.v1",
42
+ "decisionCheckpoint": "workspai.decision-checkpoint.v1",
43
+ "changeOperationResult": "workspai.change-operation-result.v1",
44
+ "architectureChangeLease": "workspai.architecture-change-lease.v1",
45
+ "predictedArchitectureChange": "workspai.predicted-architecture-change.v1",
46
+ "architectureSurpriseReport": "workspai.architecture-surprise-report.v1",
47
+ "proofCarryingChangeCapsule": "workspai.proof-carrying-change-capsule.v1",
48
+ "proofCarryingChangeList": "workspai.proof-carrying-change-list.v1",
49
+ "proofCarryingChangeCapsuleValidation": "workspai.proof-carrying-change-capsule-validation.v1",
50
+ "proofCarryingChangeCapsuleExport": "workspai.proof-carrying-change-capsule-export.v1",
40
51
  "workspaceIntelligenceArchitecture": "workspai-workspace-intelligence-architecture-v1",
41
52
  "workspaceIntelligenceChain": "workspai-workspace-intelligence-chain-v1",
42
53
  "workspaceIntelligenceArtifacts": {
@@ -171,6 +171,61 @@
171
171
  "contractPath": "contracts/workspace-intelligence/goal-lifecycle-result.v1.json",
172
172
  "publication": "json-schema"
173
173
  },
174
+ "decisionEvent": {
175
+ "schemaVersion": "workspai.decision-event.v1",
176
+ "contractPath": "contracts/workspace-intelligence/decision-event.v1.json",
177
+ "publication": "json-schema"
178
+ },
179
+ "decisionTransaction": {
180
+ "schemaVersion": "workspai.decision-transaction.v1",
181
+ "contractPath": "contracts/workspace-intelligence/decision-transaction.v1.json",
182
+ "publication": "json-schema"
183
+ },
184
+ "decisionCheckpoint": {
185
+ "schemaVersion": "workspai.decision-checkpoint.v1",
186
+ "contractPath": "contracts/workspace-intelligence/decision-checkpoint.v1.json",
187
+ "publication": "json-schema"
188
+ },
189
+ "changeOperationResult": {
190
+ "schemaVersion": "workspai.change-operation-result.v1",
191
+ "contractPath": "contracts/workspace-intelligence/change-operation-result.v1.json",
192
+ "publication": "json-schema"
193
+ },
194
+ "architectureChangeLease": {
195
+ "schemaVersion": "workspai.architecture-change-lease.v1",
196
+ "contractPath": "contracts/workspace-intelligence/architecture-change-lease.v1.json",
197
+ "publication": "json-schema"
198
+ },
199
+ "predictedArchitectureChange": {
200
+ "schemaVersion": "workspai.predicted-architecture-change.v1",
201
+ "contractPath": "contracts/workspace-intelligence/predicted-architecture-change.v1.json",
202
+ "publication": "json-schema"
203
+ },
204
+ "architectureSurpriseReport": {
205
+ "schemaVersion": "workspai.architecture-surprise-report.v1",
206
+ "contractPath": "contracts/workspace-intelligence/architecture-surprise-report.v1.json",
207
+ "publication": "json-schema"
208
+ },
209
+ "proofCarryingChangeCapsule": {
210
+ "schemaVersion": "workspai.proof-carrying-change-capsule.v1",
211
+ "contractPath": "contracts/workspace-intelligence/proof-carrying-change-capsule.v1.json",
212
+ "publication": "json-schema"
213
+ },
214
+ "proofCarryingChangeList": {
215
+ "schemaVersion": "workspai.proof-carrying-change-list.v1",
216
+ "contractPath": "contracts/workspace-intelligence/proof-carrying-change-list.v1.json",
217
+ "publication": "json-schema"
218
+ },
219
+ "proofCarryingChangeCapsuleValidation": {
220
+ "schemaVersion": "workspai.proof-carrying-change-capsule-validation.v1",
221
+ "contractPath": "contracts/workspace-intelligence/proof-carrying-change-capsule-validation.v1.json",
222
+ "publication": "json-schema"
223
+ },
224
+ "proofCarryingChangeCapsuleExport": {
225
+ "schemaVersion": "workspai.proof-carrying-change-capsule-export.v1",
226
+ "contractPath": "contracts/workspace-intelligence/proof-carrying-change-capsule-export.v1.json",
227
+ "publication": "json-schema"
228
+ },
174
229
  "workspaceIntelligenceArchitecture": {
175
230
  "schemaVersion": "workspai-workspace-intelligence-architecture-v1",
176
231
  "contractPath": "contracts/workspace-intelligence-architecture.v1.json",