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
@@ -49,6 +49,7 @@
49
49
  "import",
50
50
  "adopt",
51
51
  "goal",
52
+ "change",
52
53
  "agent",
53
54
  "snapshot",
54
55
  "live",
@@ -102,6 +103,74 @@
102
103
  "config",
103
104
  "show"
104
105
  ],
106
+ [
107
+ "change",
108
+ "begin"
109
+ ],
110
+ [
111
+ "change",
112
+ "list"
113
+ ],
114
+ [
115
+ "change",
116
+ "predict"
117
+ ],
118
+ [
119
+ "change",
120
+ "authorize"
121
+ ],
122
+ [
123
+ "change",
124
+ "resume"
125
+ ],
126
+ [
127
+ "change",
128
+ "effect"
129
+ ],
130
+ [
131
+ "change",
132
+ "effect",
133
+ "record"
134
+ ],
135
+ [
136
+ "change",
137
+ "verification"
138
+ ],
139
+ [
140
+ "change",
141
+ "verification",
142
+ "record"
143
+ ],
144
+ [
145
+ "change",
146
+ "status"
147
+ ],
148
+ [
149
+ "change",
150
+ "explain"
151
+ ],
152
+ [
153
+ "change",
154
+ "verify"
155
+ ],
156
+ [
157
+ "change",
158
+ "abort"
159
+ ],
160
+ [
161
+ "change",
162
+ "capsule"
163
+ ],
164
+ [
165
+ "change",
166
+ "capsule",
167
+ "validate"
168
+ ],
169
+ [
170
+ "change",
171
+ "capsule",
172
+ "export"
173
+ ],
105
174
  [
106
175
  "infra",
107
176
  "down"
@@ -300,6 +369,145 @@
300
369
  "cache"
301
370
  ]
302
371
  },
372
+ {
373
+ "invocation": "change",
374
+ "summary": "Compose Goal intent, architecture generations, typed effects, independent verification, and uncertainty into a tamper-evident change capsule.",
375
+ "canonicalArgv": [
376
+ "change"
377
+ ]
378
+ },
379
+ {
380
+ "invocation": "change abort",
381
+ "summary": "Terminate an open decision transaction with a durable reason while preserving its evidence history.",
382
+ "canonicalArgv": [
383
+ "change",
384
+ "abort"
385
+ ]
386
+ },
387
+ {
388
+ "invocation": "change authorize",
389
+ "summary": "Grant explicit bounded effect classes before any mutation receipt can enter the decision ledger.",
390
+ "canonicalArgv": [
391
+ "change",
392
+ "authorize"
393
+ ]
394
+ },
395
+ {
396
+ "invocation": "change begin",
397
+ "summary": "Begin a decision transaction by pinning an immutable Goal Pack and exact Model, Graph, and live-input generation.",
398
+ "canonicalArgv": [
399
+ "change",
400
+ "begin"
401
+ ]
402
+ },
403
+ {
404
+ "invocation": "change capsule",
405
+ "summary": "Inspect the validation and export command group for change capsules.",
406
+ "canonicalArgv": [
407
+ "change",
408
+ "capsule"
409
+ ]
410
+ },
411
+ {
412
+ "invocation": "change capsule export",
413
+ "summary": "Export a validated portable capsule manifest to a workspace-contained destination.",
414
+ "canonicalArgv": [
415
+ "change",
416
+ "capsule",
417
+ "export"
418
+ ]
419
+ },
420
+ {
421
+ "invocation": "change capsule validate",
422
+ "summary": "Validate capsule integrity, decision-head binding, baseline materialization, and referenced local evidence.",
423
+ "canonicalArgv": [
424
+ "change",
425
+ "capsule",
426
+ "validate"
427
+ ]
428
+ },
429
+ {
430
+ "invocation": "change effect",
431
+ "summary": "Inspect the typed effect-receipt command group for proof-carrying changes.",
432
+ "canonicalArgv": [
433
+ "change",
434
+ "effect"
435
+ ]
436
+ },
437
+ {
438
+ "invocation": "change effect record",
439
+ "summary": "Record an idempotent observed effect receipt without treating model intent or prediction as execution proof.",
440
+ "canonicalArgv": [
441
+ "change",
442
+ "effect",
443
+ "record"
444
+ ]
445
+ },
446
+ {
447
+ "invocation": "change explain",
448
+ "summary": "Explain the evidence chain and safe next actions for an open, blocked, or sealed change.",
449
+ "canonicalArgv": [
450
+ "change",
451
+ "explain"
452
+ ]
453
+ },
454
+ {
455
+ "invocation": "change list",
456
+ "summary": "Discover open, blocked, sealed, aborted, and invalid change capsules with integrity and assurance summaries.",
457
+ "canonicalArgv": [
458
+ "change",
459
+ "list"
460
+ ]
461
+ },
462
+ {
463
+ "invocation": "change predict",
464
+ "summary": "Attach a bounded noncanonical architecture prediction that is explicitly ineligible as proof.",
465
+ "canonicalArgv": [
466
+ "change",
467
+ "predict"
468
+ ]
469
+ },
470
+ {
471
+ "invocation": "change resume",
472
+ "summary": "Resume a blocked or human-paused transaction into an explicit bounded state with a durable human reason.",
473
+ "canonicalArgv": [
474
+ "change",
475
+ "resume"
476
+ ]
477
+ },
478
+ {
479
+ "invocation": "change status",
480
+ "summary": "Read the derived decision state, assurance coverage, blockers, and remaining uncertainty.",
481
+ "canonicalArgv": [
482
+ "change",
483
+ "status"
484
+ ]
485
+ },
486
+ {
487
+ "invocation": "change verification",
488
+ "summary": "Inspect the independent Goal-criterion verification receipt command group.",
489
+ "canonicalArgv": [
490
+ "change",
491
+ "verification"
492
+ ]
493
+ },
494
+ {
495
+ "invocation": "change verification record",
496
+ "summary": "Admit a typed verification receipt only when it binds the current Model, Graph, effect head, and immutable Goal criterion.",
497
+ "canonicalArgv": [
498
+ "change",
499
+ "verification",
500
+ "record"
501
+ ]
502
+ },
503
+ {
504
+ "invocation": "change verify",
505
+ "summary": "Refresh canonical architecture, derive the actual Graph delta, compare prediction with observation, and run independent verification.",
506
+ "canonicalArgv": [
507
+ "change",
508
+ "verify"
509
+ ]
510
+ },
303
511
  {
304
512
  "invocation": "checkpoint",
305
513
  "summary": "Capture a named project or workspace checkpoint that can anchor later comparison or recovery.",
@@ -1889,6 +2097,80 @@
1889
2097
  ]
1890
2098
  ]
1891
2099
  },
2100
+ {
2101
+ "artifactPath": ".workspai/decisions/change-id/transaction.json",
2102
+ "schemaVersion": "workspai.decision-transaction.v1",
2103
+ "contractPath": "contracts/workspace-intelligence/decision-transaction.v1.json",
2104
+ "producerCommands": [
2105
+ [
2106
+ "change"
2107
+ ]
2108
+ ]
2109
+ },
2110
+ {
2111
+ "artifactPath": ".workspai/decisions/change-id/checkpoint.json",
2112
+ "schemaVersion": "workspai.decision-checkpoint.v1",
2113
+ "contractPath": "contracts/workspace-intelligence/decision-checkpoint.v1.json",
2114
+ "producerCommands": [
2115
+ [
2116
+ "change"
2117
+ ]
2118
+ ]
2119
+ },
2120
+ {
2121
+ "artifactPath": ".workspai/changes/change-id/lease.json",
2122
+ "schemaVersion": "workspai.architecture-change-lease.v1",
2123
+ "contractPath": "contracts/workspace-intelligence/architecture-change-lease.v1.json",
2124
+ "producerCommands": [
2125
+ [
2126
+ "change",
2127
+ "begin"
2128
+ ]
2129
+ ]
2130
+ },
2131
+ {
2132
+ "artifactPath": ".workspai/changes/change-id/predicted-overlay.json",
2133
+ "schemaVersion": "workspai.predicted-architecture-change.v1",
2134
+ "contractPath": "contracts/workspace-intelligence/predicted-architecture-change.v1.json",
2135
+ "producerCommands": [
2136
+ [
2137
+ "change",
2138
+ "predict"
2139
+ ]
2140
+ ]
2141
+ },
2142
+ {
2143
+ "artifactPath": ".workspai/changes/change-id/actual-overlay.json",
2144
+ "schemaVersion": "workspace-knowledge-graph-change-overlay.v1",
2145
+ "contractPath": "contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json",
2146
+ "producerCommands": [
2147
+ [
2148
+ "change",
2149
+ "verify"
2150
+ ]
2151
+ ]
2152
+ },
2153
+ {
2154
+ "artifactPath": ".workspai/changes/change-id/architecture-surprises.json",
2155
+ "schemaVersion": "workspai.architecture-surprise-report.v1",
2156
+ "contractPath": "contracts/workspace-intelligence/architecture-surprise-report.v1.json",
2157
+ "producerCommands": [
2158
+ [
2159
+ "change",
2160
+ "verify"
2161
+ ]
2162
+ ]
2163
+ },
2164
+ {
2165
+ "artifactPath": ".workspai/changes/change-id/capsule.json",
2166
+ "schemaVersion": "workspai.proof-carrying-change-capsule.v1",
2167
+ "contractPath": "contracts/workspace-intelligence/proof-carrying-change-capsule.v1.json",
2168
+ "producerCommands": [
2169
+ [
2170
+ "change"
2171
+ ]
2172
+ ]
2173
+ },
1892
2174
  {
1893
2175
  "artifactPath": ".workspai/goals/index.json",
1894
2176
  "schemaVersion": "workspai.goal-index.v1",
@@ -71,6 +71,12 @@
71
71
  "type": "array",
72
72
  "items": { "$ref": "workspace-activity-monitor-snapshot.v1.json#/$defs/attempt" }
73
73
  },
74
+ "evidenceBindings": {
75
+ "type": "array",
76
+ "items": {
77
+ "$ref": "workspace-activity-monitor-snapshot.v1.json#/$defs/evidenceBinding"
78
+ }
79
+ },
74
80
  "root": { "type": "boolean" }
75
81
  },
76
82
  "additionalProperties": false
@@ -115,6 +115,11 @@
115
115
  },
116
116
  "additionalProperties": false
117
117
  },
118
+ "evidenceBindings": {
119
+ "type": "array",
120
+ "maxItems": 100,
121
+ "items": { "$ref": "#/$defs/evidenceBinding" }
122
+ },
118
123
  "edge": {
119
124
  "type": "object",
120
125
  "required": ["id", "fromBlockId", "toBlockId", "kind"],
@@ -128,5 +133,30 @@
128
133
  },
129
134
  "attributes": { "type": "object", "additionalProperties": true }
130
135
  },
131
- "additionalProperties": false
136
+ "additionalProperties": false,
137
+ "$defs": {
138
+ "evidenceBinding": {
139
+ "type": "object",
140
+ "required": ["kind", "ref", "role", "provenance"],
141
+ "properties": {
142
+ "kind": { "enum": ["artifact", "graph-entity", "graph-relation", "proof", "project"] },
143
+ "ref": { "type": "string", "minLength": 1 },
144
+ "role": { "enum": ["input", "output", "verification", "subject"] },
145
+ "provenance": { "enum": ["authoritative", "observed"] },
146
+ "graphSourceHash": { "type": "string", "minLength": 1 }
147
+ },
148
+ "allOf": [
149
+ {
150
+ "if": {
151
+ "properties": {
152
+ "kind": { "enum": ["graph-entity", "graph-relation", "proof"] }
153
+ },
154
+ "required": ["kind"]
155
+ },
156
+ "then": { "required": ["graphSourceHash"] }
157
+ }
158
+ ],
159
+ "additionalProperties": false
160
+ }
161
+ }
132
162
  }
@@ -72,6 +72,29 @@
72
72
  },
73
73
  "additionalProperties": false
74
74
  },
75
+ "evidenceBinding": {
76
+ "type": "object",
77
+ "required": ["kind", "ref", "role", "provenance"],
78
+ "properties": {
79
+ "kind": { "enum": ["artifact", "graph-entity", "graph-relation", "proof", "project"] },
80
+ "ref": { "type": "string", "minLength": 1 },
81
+ "role": { "enum": ["input", "output", "verification", "subject"] },
82
+ "provenance": { "enum": ["authoritative", "observed"] },
83
+ "graphSourceHash": { "type": "string", "minLength": 1 }
84
+ },
85
+ "allOf": [
86
+ {
87
+ "if": {
88
+ "properties": {
89
+ "kind": { "enum": ["graph-entity", "graph-relation", "proof"] }
90
+ },
91
+ "required": ["kind"]
92
+ },
93
+ "then": { "required": ["graphSourceHash"] }
94
+ }
95
+ ],
96
+ "additionalProperties": false
97
+ },
75
98
  "block": {
76
99
  "type": "object",
77
100
  "required": ["id", "label", "status", "order", "updatedAt", "attempts"],
@@ -87,7 +110,12 @@
87
110
  "group": { "type": "string", "minLength": 1 },
88
111
  "updatedAt": { "type": "string", "format": "date-time" },
89
112
  "attempt": { "type": "integer", "minimum": 1 },
90
- "attempts": { "type": "array", "items": { "$ref": "#/$defs/attempt" } }
113
+ "attempts": { "type": "array", "items": { "$ref": "#/$defs/attempt" } },
114
+ "evidenceBindings": {
115
+ "type": "array",
116
+ "maxItems": 100,
117
+ "items": { "$ref": "#/$defs/evidenceBinding" }
118
+ }
91
119
  },
92
120
  "additionalProperties": false
93
121
  },
@@ -153,7 +181,12 @@
153
181
  "edges": { "type": "array", "items": { "$ref": "#/$defs/edge" } },
154
182
  "touches": { "type": "array", "items": { "$ref": "#/$defs/touch" } },
155
183
  "artifacts": { "type": "array", "items": { "$ref": "#/$defs/artifact" } },
156
- "warnings": { "type": "array", "items": { "type": "string" } }
184
+ "warnings": { "type": "array", "items": { "type": "string" } },
185
+ "evidenceBindings": {
186
+ "type": "array",
187
+ "maxItems": 100,
188
+ "items": { "$ref": "#/$defs/evidenceBinding" }
189
+ }
157
190
  },
158
191
  "additionalProperties": false
159
192
  }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/architecture-change-lease.v1.json",
4
+ "title": "Workspai Architecture Change Lease",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "changeId", "goalId", "createdAt", "workspace", "scope", "baseline", "generation", "semantics", "privateMaterialization"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "workspai.architecture-change-lease.v1" },
9
+ "changeId": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
10
+ "goalId": { "type": "string", "minLength": 1 },
11
+ "createdAt": { "type": "string", "format": "date-time" },
12
+ "workspace": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string", "minLength": 1 } }, "additionalProperties": false },
13
+ "scope": { "$ref": "decision-event.v1.json#/$defs/scope" },
14
+ "baseline": {
15
+ "type": "object",
16
+ "required": ["model", "graph"],
17
+ "properties": {
18
+ "model": { "$ref": "decision-event.v1.json#/$defs/artifactReference" },
19
+ "graph": {
20
+ "type": "object",
21
+ "required": ["role", "artifact", "schemaVersion", "digest", "inputHash"],
22
+ "properties": {
23
+ "role": { "type": "string", "minLength": 1 },
24
+ "artifact": { "type": "string", "minLength": 1 },
25
+ "schemaVersion": { "type": "string", "minLength": 1 },
26
+ "digest": { "$ref": "decision-event.v1.json#/$defs/digest" },
27
+ "inputHash": { "$ref": "decision-event.v1.json#/$defs/sha256" }
28
+ },
29
+ "additionalProperties": false
30
+ }
31
+ },
32
+ "additionalProperties": false
33
+ },
34
+ "generation": { "$ref": "decision-event.v1.json#/$defs/sha256" },
35
+ "semantics": { "const": "optimistic-generation-guard" },
36
+ "privateMaterialization": {
37
+ "type": "object",
38
+ "required": ["artifact", "role", "portable", "authoritative", "digest"],
39
+ "properties": {
40
+ "artifact": { "type": "string", "minLength": 1 },
41
+ "role": { "const": "hash-bound-baseline-cache" },
42
+ "portable": { "const": false },
43
+ "authoritative": { "const": false },
44
+ "digest": { "$ref": "decision-event.v1.json#/$defs/digest" }
45
+ },
46
+ "additionalProperties": false
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/architecture-surprise-report.v1.json",
4
+ "title": "Workspai Architecture Surprise Report",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "changeId", "generatedAt", "prediction", "actual", "matched", "unpredicted", "missing", "summary"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "workspai.architecture-surprise-report.v1" },
9
+ "changeId": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
10
+ "generatedAt": { "type": "string", "format": "date-time" },
11
+ "prediction": { "oneOf": [{ "$ref": "decision-event.v1.json#/$defs/artifactReference" }, { "type": "null" }] },
12
+ "actual": { "$ref": "decision-event.v1.json#/$defs/artifactReference" },
13
+ "matched": { "$ref": "#/$defs/operations" },
14
+ "unpredicted": { "$ref": "#/$defs/operations" },
15
+ "missing": { "$ref": "#/$defs/operations" },
16
+ "summary": {
17
+ "type": "object",
18
+ "required": ["predicted", "actual", "matched", "unpredicted", "missing", "verdict"],
19
+ "properties": {
20
+ "predicted": { "type": "integer", "minimum": 0 },
21
+ "actual": { "type": "integer", "minimum": 0 },
22
+ "matched": { "type": "integer", "minimum": 0 },
23
+ "unpredicted": { "type": "integer", "minimum": 0 },
24
+ "missing": { "type": "integer", "minimum": 0 },
25
+ "verdict": { "enum": ["exact", "within-expectation", "surprising", "no-prediction"] }
26
+ },
27
+ "additionalProperties": false
28
+ }
29
+ },
30
+ "additionalProperties": false,
31
+ "$defs": {
32
+ "operations": {
33
+ "type": "array",
34
+ "items": {
35
+ "type": "object",
36
+ "required": ["operation", "targetKind", "targetId"],
37
+ "properties": {
38
+ "operation": { "type": "string", "minLength": 1 },
39
+ "targetKind": { "type": "string", "minLength": 1 },
40
+ "targetId": { "type": "string", "minLength": 1 }
41
+ },
42
+ "additionalProperties": false
43
+ }
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/change-operation-result.v1.json",
4
+ "title": "Workspai Change Operation Result",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "operation",
9
+ "changeId",
10
+ "state",
11
+ "capsule",
12
+ "artifacts",
13
+ "nextActions"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": { "const": "workspai.change-operation-result.v1" },
17
+ "operation": {
18
+ "enum": [
19
+ "begin",
20
+ "predict",
21
+ "authorize",
22
+ "resume",
23
+ "effect-record",
24
+ "verification-record",
25
+ "status",
26
+ "verify",
27
+ "explain",
28
+ "abort",
29
+ "capsule-validate",
30
+ "capsule-export"
31
+ ]
32
+ },
33
+ "changeId": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
34
+ "state": { "type": "string", "minLength": 1 },
35
+ "capsule": { "$ref": "proof-carrying-change-capsule.v1.json" },
36
+ "artifacts": {
37
+ "type": "object",
38
+ "additionalProperties": { "type": ["string", "null"] }
39
+ },
40
+ "nextActions": { "type": "array", "items": { "type": "string", "minLength": 1 } }
41
+ },
42
+ "additionalProperties": false
43
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/decision-checkpoint.v1.json",
4
+ "title": "Workspai Decision Checkpoint",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "transactionId", "generatedAt", "generation", "eventCount", "eventHeadDigest", "state", "transactionDigest"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "workspai.decision-checkpoint.v1" },
9
+ "transactionId": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
10
+ "generatedAt": { "type": "string", "format": "date-time" },
11
+ "generation": { "type": "integer", "minimum": 1 },
12
+ "eventCount": { "type": "integer", "minimum": 1 },
13
+ "eventHeadDigest": { "$ref": "decision-event.v1.json#/$defs/sha256" },
14
+ "state": { "enum": ["draft", "scoped", "evidence-ready", "authorized", "executing", "verifying", "awaiting-human", "blocked", "committed", "rejected", "aborted", "superseded"] },
15
+ "transactionDigest": { "$ref": "decision-event.v1.json#/$defs/sha256" }
16
+ },
17
+ "additionalProperties": false
18
+ }