workspai 0.68.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 (175) 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-intelligence/architecture-change-lease.v1.json +50 -0
  7. package/contracts/workspace-intelligence/architecture-surprise-report.v1.json +46 -0
  8. package/contracts/workspace-intelligence/change-operation-result.v1.json +43 -0
  9. package/contracts/workspace-intelligence/decision-checkpoint.v1.json +18 -0
  10. package/contracts/workspace-intelligence/decision-event.v1.json +134 -0
  11. package/contracts/workspace-intelligence/decision-transaction.v1.json +29 -0
  12. package/contracts/workspace-intelligence/goal-index.v1.json +13 -0
  13. package/contracts/workspace-intelligence/goal-pack.v1.json +2 -1
  14. package/contracts/workspace-intelligence/predicted-architecture-change.v1.json +34 -0
  15. package/contracts/workspace-intelligence/proof-carrying-change-capsule-export.v1.json +14 -0
  16. package/contracts/workspace-intelligence/proof-carrying-change-capsule-validation.v1.json +16 -0
  17. package/contracts/workspace-intelligence/proof-carrying-change-capsule.v1.json +62 -0
  18. package/contracts/workspace-intelligence/proof-carrying-change-list.v1.json +80 -0
  19. package/contracts/workspace-intelligence/workspace-knowledge-graph-change-overlay.v1.json +9 -1
  20. package/dist/analyze-GPYPXXRT.js +1 -0
  21. package/dist/{artifact-remediation-plan-I7IKC5MR.js → artifact-remediation-plan-JHHZ4L24.js} +1 -1
  22. package/dist/autopilot-release-FL47VMF7.js +1 -0
  23. package/dist/capabilities-command-MYSLJIYS.js +1 -0
  24. package/dist/chunk-2LZWBUJD.js +1 -0
  25. package/dist/{chunk-7DDEMDG2.js → chunk-37ZLNFV5.js} +2 -2
  26. package/dist/{chunk-OFYY4725.js → chunk-3G5FF2JZ.js} +1 -1
  27. package/dist/chunk-3HFFKW4Q.js +2 -0
  28. package/dist/{chunk-BHM6RHTA.js → chunk-3WHE7V4M.js} +1 -1
  29. package/dist/chunk-A3MYO55A.js +3 -0
  30. package/dist/chunk-ABMB6MJT.js +1 -0
  31. package/dist/chunk-AD4ZY3RF.js +12 -0
  32. package/dist/chunk-BM2F5C4J.js +1 -0
  33. package/dist/chunk-COICGD62.js +1 -0
  34. package/dist/{chunk-4WVOAX2V.js → chunk-DWL3PPLA.js} +1 -1
  35. package/dist/{chunk-3Z4SVBMR.js → chunk-EBEAJIBI.js} +1 -1
  36. package/dist/chunk-EBQS5T7Q.js +7 -0
  37. package/dist/{chunk-5OV2WXAR.js → chunk-EG6EZ7HW.js} +1 -1
  38. package/dist/chunk-ERVWW5HX.js +1 -0
  39. package/dist/chunk-EZPLMAW2.js +1 -0
  40. package/dist/chunk-FIK343LI.js +1 -0
  41. package/dist/chunk-GSSJJS5M.js +6 -0
  42. package/dist/{chunk-TMRCPT7S.js → chunk-GYN6RPNU.js} +1 -1
  43. package/dist/{chunk-6E2Y3XGT.js → chunk-HCFOVANQ.js} +1 -1
  44. package/dist/chunk-I3UCODXU.js +1 -0
  45. package/dist/{chunk-3BMYMZQB.js → chunk-IGJA6GBQ.js} +1 -1
  46. package/dist/{chunk-FX5J6JCK.js → chunk-IVYPC36J.js} +1 -1
  47. package/dist/chunk-K33JJVQZ.js +2 -0
  48. package/dist/{chunk-KDY4X7SQ.js → chunk-M37ALD4V.js} +1 -1
  49. package/dist/{chunk-3XF7O66C.js → chunk-MAWHHHU3.js} +5 -5
  50. package/dist/chunk-MBICKDYP.js +1 -0
  51. package/dist/{chunk-QMQBX3RV.js → chunk-MGL6DBOR.js} +1 -1
  52. package/dist/chunk-MHQHRMKU.js +5 -0
  53. package/dist/{chunk-2C5XJBYI.js → chunk-N2Q4MSSP.js} +64 -64
  54. package/dist/chunk-N4B2M44I.js +1 -0
  55. package/dist/chunk-NSH7TTSV.js +1 -0
  56. package/dist/chunk-O5XQP5E7.js +1 -0
  57. package/dist/chunk-ODK4LCEL.js +1 -0
  58. package/dist/chunk-OU3BBWH5.js +49 -0
  59. package/dist/chunk-OZXCNVGW.js +2 -0
  60. package/dist/{chunk-SLFOUSRW.js → chunk-QYEQVNBF.js} +1 -1
  61. package/dist/chunk-RVOW3BHQ.js +2 -0
  62. package/dist/chunk-TKXRP2B4.js +1 -0
  63. package/dist/chunk-UNXG3ZFV.js +1 -0
  64. package/dist/chunk-UW4SESKD.js +2 -0
  65. package/dist/{chunk-2MTJWPQ4.js → chunk-V52R2W2Q.js} +1 -1
  66. package/dist/chunk-V6TIT6M3.js +157 -0
  67. package/dist/chunk-VNKAISFE.js +8 -0
  68. package/dist/chunk-W6WRT77T.js +1 -0
  69. package/dist/chunk-WHR5SL33.js +4 -0
  70. package/dist/{chunk-IXXQMD34.js → chunk-WZ5V5U2K.js} +1 -1
  71. package/dist/chunk-XPGCFVGC.js +4 -0
  72. package/dist/chunk-YKY4JFCF.js +1 -0
  73. package/dist/{chunk-VIN7NJW3.js → chunk-YWZBGSFE.js} +3 -3
  74. package/dist/chunk-YZL7ZY7J.js +2 -0
  75. package/dist/{create-U5PQHOZ4.js → create-GWBQ74ZI.js} +1 -1
  76. package/dist/doctor-OQAXSMEM.js +1 -0
  77. package/dist/goal-lifecycle-YWBVQ2DF.js +1 -0
  78. package/dist/goal-pack-KUXPZVNO.js +1 -0
  79. package/dist/index.d.ts +35 -2
  80. package/dist/index.js +239 -239
  81. package/dist/pipeline-PGB5TEV3.js +5 -0
  82. package/dist/{project-agent-entry-MH7364BE.js → project-agent-entry-H3JAGNLS.js} +1 -1
  83. package/dist/{project-intelligence-lens-ZCCHUKVI.js → project-intelligence-lens-7NMKHV5N.js} +1 -1
  84. package/dist/{project-test-coverage-JPWTBSSJ.js → project-test-coverage-3DKZKLWY.js} +1 -1
  85. package/dist/proof-carrying-change-QFH7WI2E.js +1 -0
  86. package/dist/verified-goal-7XHRWYSE.js +1 -0
  87. package/dist/{workspace-B33BFZZ3.js → workspace-TJHCETBV.js} +1 -1
  88. package/dist/{workspace-agent-sync-T3MJO2MX.js → workspace-agent-sync-Z35NTXCB.js} +1 -1
  89. package/dist/{workspace-archive-NOSGRKRZ.js → workspace-archive-OSMU3CK6.js} +1 -1
  90. package/dist/{workspace-context-KOCEP4MJ.js → workspace-context-KNJQUJWC.js} +1 -1
  91. package/dist/{workspace-contract-MQ3QE52V.js → workspace-contract-VIUQT5SZ.js} +1 -1
  92. package/dist/workspace-explain-HM6GMK26.js +1 -0
  93. package/dist/workspace-explain-contract-KV7RTEJU.js +1 -0
  94. package/dist/{workspace-feedback-3YLIUFQ7.js → workspace-feedback-YSPEGCON.js} +1 -1
  95. package/dist/{workspace-foundation-O7O3QIS4.js → workspace-foundation-PLXFPI3J.js} +1 -1
  96. package/dist/{workspace-graph-stream-XTGGBD7D.js → workspace-graph-stream-FNRQ2FTB.js} +1 -1
  97. package/dist/workspace-graph-token-efficiency-WNAFAN2F.js +1 -0
  98. package/dist/{workspace-history-7HDZZ4G5.js → workspace-history-HDDFG6LH.js} +1 -1
  99. package/dist/{workspace-intelligence-TFEQBPUP.js → workspace-intelligence-QLSD5EEV.js} +1 -1
  100. package/dist/{workspace-intelligence-benchmark-PLVUBGWO.js → workspace-intelligence-benchmark-S5OXVNLC.js} +1 -1
  101. package/dist/{workspace-intelligence-evaluation-OJIQS5SN.js → workspace-intelligence-evaluation-QDSOOUHH.js} +1 -1
  102. package/dist/{workspace-intelligence-runner-6ZAV6RO4.js → workspace-intelligence-runner-4EW4T2OW.js} +1 -1
  103. package/dist/workspace-intelligence-runtime-registry-ZLPF7BAY.js +1 -0
  104. package/dist/{workspace-knowledge-graph-AUXYL3L6.js → workspace-knowledge-graph-EEOW5VAJ.js} +1 -1
  105. package/dist/workspace-knowledge-graph-change-overlay-FIIAFLO6.js +1 -0
  106. package/dist/{workspace-knowledge-graph-contract-X52KXBXJ.js → workspace-knowledge-graph-contract-FVX5T7SU.js} +1 -1
  107. package/dist/{workspace-knowledge-graph-query-A7TKONWY.js → workspace-knowledge-graph-query-WHCGPBGS.js} +1 -1
  108. package/dist/workspace-knowledge-graph-snapshot-X347REDB.js +1 -0
  109. package/dist/workspace-mcp-serve-NQ42PE2I.js +3 -0
  110. package/dist/{workspace-model-GVXNLSQM.js → workspace-model-NCOOY5LC.js} +1 -1
  111. package/dist/{workspace-onboarding-ECZ2KJ2A.js → workspace-onboarding-JNC7ZFMR.js} +1 -1
  112. package/dist/{workspace-readme-6N5Y2ZSJ.js → workspace-readme-OV2ADTLW.js} +2 -2
  113. package/dist/{workspace-registry-summary-5SFBTRGQ.js → workspace-registry-summary-ONT4VOJX.js} +1 -1
  114. package/dist/{workspace-repair-engine-CKJCTWKX.js → workspace-repair-engine-WMJCYWO4.js} +2 -2
  115. package/dist/workspace-run-3S35MDX6.js +1 -0
  116. package/dist/{workspace-verify-D3QTMAUI.js → workspace-verify-MLABQUWK.js} +1 -1
  117. package/dist/{workspace-watch-XYJEW2Z2.js → workspace-watch-MJOG5AZ3.js} +1 -1
  118. package/docs/README.md +2 -0
  119. package/docs/ci-workflows.md +1 -1
  120. package/docs/commands-reference.md +23 -0
  121. package/docs/contracts/ARTIFACT_CATALOG.md +37 -18
  122. package/docs/contracts/COMMAND_OWNERSHIP_MATRIX.md +17 -0
  123. package/docs/contracts/PROOF_CARRYING_CHANGE_CONTRACT_PLAN.md +65 -0
  124. package/docs/proof-carrying-change.implementation.v1.json +118 -0
  125. package/docs/proof-carrying-change.md +202 -0
  126. package/package.json +1 -1
  127. package/dist/analyze-JDEWUBC6.js +0 -1
  128. package/dist/autopilot-release-OELUFNLL.js +0 -1
  129. package/dist/capabilities-command-RAAYENQ6.js +0 -1
  130. package/dist/chunk-2KX6KHEC.js +0 -1
  131. package/dist/chunk-3KU3YUWD.js +0 -2
  132. package/dist/chunk-3NF3M3RE.js +0 -1
  133. package/dist/chunk-3OGPTLI2.js +0 -1
  134. package/dist/chunk-5ME4W4LN.js +0 -1
  135. package/dist/chunk-5XUAAQSV.js +0 -5
  136. package/dist/chunk-5YZ2W57R.js +0 -8
  137. package/dist/chunk-7DZNZ3GM.js +0 -3
  138. package/dist/chunk-BG6IX6HA.js +0 -1
  139. package/dist/chunk-BMAFHX6A.js +0 -1
  140. package/dist/chunk-BUYLM6QV.js +0 -1
  141. package/dist/chunk-C2VTO5WT.js +0 -2
  142. package/dist/chunk-CPR2CMOY.js +0 -1
  143. package/dist/chunk-CSZPE637.js +0 -2
  144. package/dist/chunk-DFVG4DDZ.js +0 -6
  145. package/dist/chunk-EHLGPLIU.js +0 -1
  146. package/dist/chunk-FPDH3N3A.js +0 -7
  147. package/dist/chunk-GVQKAINC.js +0 -49
  148. package/dist/chunk-IKUFNK46.js +0 -2
  149. package/dist/chunk-JYMO7QXQ.js +0 -1
  150. package/dist/chunk-KY2GOSO5.js +0 -1
  151. package/dist/chunk-LEOFD3W5.js +0 -12
  152. package/dist/chunk-LPCZHKD5.js +0 -1
  153. package/dist/chunk-N5HPMATQ.js +0 -1
  154. package/dist/chunk-P3622IM5.js +0 -4
  155. package/dist/chunk-Q7UGDNSM.js +0 -1
  156. package/dist/chunk-RVAOJOXA.js +0 -2
  157. package/dist/chunk-TCLKGPXF.js +0 -2
  158. package/dist/chunk-W5VKBDSD.js +0 -157
  159. package/dist/chunk-WRZSQDZV.js +0 -1
  160. package/dist/chunk-Y4Z6CEII.js +0 -1
  161. package/dist/chunk-ZEEV5J4I.js +0 -1
  162. package/dist/chunk-ZGHJIQXL.js +0 -1
  163. package/dist/doctor-D7YI7LSA.js +0 -1
  164. package/dist/goal-lifecycle-BMS6GSIU.js +0 -1
  165. package/dist/goal-pack-RBSVQMMX.js +0 -1
  166. package/dist/pipeline-QOMXH2EK.js +0 -5
  167. package/dist/verified-goal-XUXU2X5H.js +0 -1
  168. package/dist/workspace-explain-DTFCKYXK.js +0 -1
  169. package/dist/workspace-explain-contract-WMREJWHF.js +0 -1
  170. package/dist/workspace-graph-token-efficiency-5LJKQU2J.js +0 -1
  171. package/dist/workspace-intelligence-runtime-registry-UKFB3BI7.js +0 -1
  172. package/dist/workspace-knowledge-graph-change-overlay-XG6FC4IX.js +0 -1
  173. package/dist/workspace-knowledge-graph-snapshot-GPBDAKAU.js +0 -1
  174. package/dist/workspace-mcp-serve-TDUXJUAA.js +0 -3
  175. package/dist/workspace-run-ZZ5WHL7W.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",
@@ -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
+ }
@@ -0,0 +1,134 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/decision-event.v1.json",
4
+ "title": "Workspai Decision Event",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "transactionId", "sequence", "kind", "occurredAt", "actor", "previousEventDigest", "payload", "digest"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "workspai.decision-event.v1" },
9
+ "transactionId": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
10
+ "sequence": { "type": "integer", "minimum": 1 },
11
+ "kind": { "enum": ["created", "scope-bound", "evidence-attached", "plan-attached", "authorized", "effect-requested", "effect-recorded", "effect-uncertain", "verification-started", "verification-recorded", "human-required", "blocked", "resumed", "committed", "rejected", "aborted", "superseded"] },
12
+ "occurredAt": { "type": "string", "format": "date-time" },
13
+ "actor": {
14
+ "type": "object",
15
+ "required": ["kind", "id"],
16
+ "properties": {
17
+ "kind": { "enum": ["human", "agent", "cli", "ci", "extension"] },
18
+ "id": { "type": "string", "minLength": 1 }
19
+ },
20
+ "additionalProperties": false
21
+ },
22
+ "previousEventDigest": { "oneOf": [{ "$ref": "#/$defs/sha256" }, { "type": "null" }] },
23
+ "payload": { "$ref": "#/$defs/payload" },
24
+ "digest": { "$ref": "#/$defs/sha256" }
25
+ },
26
+ "additionalProperties": false,
27
+ "$defs": {
28
+ "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
29
+ "digest": {
30
+ "type": "object",
31
+ "required": ["algorithm", "semantics", "value"],
32
+ "properties": {
33
+ "algorithm": { "const": "sha256" },
34
+ "semantics": { "enum": ["canonical-json-v1", "raw-bytes-v1", "workspace-model-structural-v1"] },
35
+ "value": { "$ref": "#/$defs/sha256" }
36
+ },
37
+ "additionalProperties": false
38
+ },
39
+ "artifactReference": {
40
+ "type": "object",
41
+ "required": ["role", "artifact", "schemaVersion", "digest"],
42
+ "properties": {
43
+ "role": { "type": "string", "minLength": 1 },
44
+ "artifact": { "type": "string", "minLength": 1 },
45
+ "schemaVersion": { "type": "string", "minLength": 1 },
46
+ "digest": { "$ref": "#/$defs/digest" }
47
+ },
48
+ "additionalProperties": false
49
+ },
50
+ "scope": {
51
+ "type": "object",
52
+ "required": ["kind", "projects"],
53
+ "properties": {
54
+ "kind": { "enum": ["workspace", "project", "project-set"] },
55
+ "projects": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true }
56
+ },
57
+ "additionalProperties": false
58
+ },
59
+ "authorization": {
60
+ "type": "object",
61
+ "required": ["grantedBy", "grant", "effectClasses"],
62
+ "properties": {
63
+ "grantedBy": { "type": "string", "minLength": 1 },
64
+ "grant": { "enum": ["bounded-effects", "verification-only"] },
65
+ "effectClasses": { "type": "array", "items": { "enum": ["filesystem", "command", "configuration", "dependency", "external"] }, "minItems": 1, "uniqueItems": true }
66
+ },
67
+ "additionalProperties": false
68
+ },
69
+ "effectReceipt": {
70
+ "type": "object",
71
+ "required": ["id", "effectClass", "status", "summary", "artifacts", "observedAt", "idempotencyKey"],
72
+ "properties": {
73
+ "id": { "type": "string", "minLength": 1 },
74
+ "effectClass": { "enum": ["filesystem", "command", "configuration", "dependency", "external"] },
75
+ "status": { "enum": ["succeeded", "failed", "uncertain"] },
76
+ "summary": { "type": "string", "minLength": 1 },
77
+ "command": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
78
+ "artifacts": { "type": "array", "items": { "$ref": "#/$defs/artifactReference" } },
79
+ "observedAt": { "type": "string", "format": "date-time" },
80
+ "idempotencyKey": { "type": "string", "minLength": 1 }
81
+ },
82
+ "additionalProperties": false
83
+ },
84
+ "verificationReceipt": {
85
+ "type": "object",
86
+ "required": ["id", "criterionId", "status", "summary", "target", "artifacts", "observedAt"],
87
+ "properties": {
88
+ "id": { "type": "string", "minLength": 1 },
89
+ "criterionId": { "type": "string", "minLength": 1 },
90
+ "status": { "enum": ["passed", "failed", "inconclusive"] },
91
+ "summary": { "type": "string", "minLength": 1 },
92
+ "target": {
93
+ "type": "object",
94
+ "required": ["modelHash", "graphHash", "effectHeadDigest"],
95
+ "properties": {
96
+ "modelHash": { "$ref": "#/$defs/sha256" },
97
+ "graphHash": { "$ref": "#/$defs/sha256" },
98
+ "effectHeadDigest": { "$ref": "#/$defs/sha256" }
99
+ },
100
+ "additionalProperties": false
101
+ },
102
+ "artifacts": { "type": "array", "items": { "$ref": "#/$defs/artifactReference" } },
103
+ "observedAt": { "type": "string", "format": "date-time" }
104
+ },
105
+ "additionalProperties": false
106
+ },
107
+ "blocker": {
108
+ "type": "object",
109
+ "required": ["code", "actionable"],
110
+ "properties": {
111
+ "code": { "type": "string", "minLength": 1 },
112
+ "actionable": { "type": "boolean" },
113
+ "details": { "type": "string" }
114
+ },
115
+ "additionalProperties": false
116
+ },
117
+ "payload": {
118
+ "type": "object",
119
+ "required": ["summary"],
120
+ "properties": {
121
+ "summary": { "type": "string", "minLength": 1 },
122
+ "scope": { "$ref": "#/$defs/scope" },
123
+ "references": { "type": "array", "items": { "$ref": "#/$defs/artifactReference" } },
124
+ "authorization": { "$ref": "#/$defs/authorization" },
125
+ "effect": { "$ref": "#/$defs/effectReceipt" },
126
+ "verification": { "$ref": "#/$defs/verificationReceipt" },
127
+ "blocker": { "$ref": "#/$defs/blocker" },
128
+ "resumeTo": { "enum": ["authorized", "executing", "verifying"] },
129
+ "reason": { "type": "string" }
130
+ },
131
+ "additionalProperties": false
132
+ }
133
+ }
134
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://workspai.dev/schemas/workspace-intelligence/decision-transaction.v1.json",
4
+ "title": "Workspai Decision Transaction Projection",
5
+ "type": "object",
6
+ "required": ["schemaVersion", "id", "purpose", "createdAt", "updatedAt", "state", "generation", "eventCount", "eventHeadDigest", "intent", "requiredCriteria", "scope", "evidence", "plans", "authorization", "effects", "verifications", "blockers"],
7
+ "properties": {
8
+ "schemaVersion": { "const": "workspai.decision-transaction.v1" },
9
+ "id": { "type": "string", "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$" },
10
+ "purpose": { "const": "proof-carrying-change" },
11
+ "createdAt": { "type": "string", "format": "date-time" },
12
+ "updatedAt": { "type": "string", "format": "date-time" },
13
+ "state": { "enum": ["draft", "scoped", "evidence-ready", "authorized", "executing", "verifying", "awaiting-human", "blocked", "committed", "rejected", "aborted", "superseded"] },
14
+ "generation": { "type": "integer", "minimum": 1 },
15
+ "eventCount": { "type": "integer", "minimum": 1 },
16
+ "eventHeadDigest": { "$ref": "decision-event.v1.json#/$defs/sha256" },
17
+ "intent": { "$ref": "decision-event.v1.json#/$defs/artifactReference" },
18
+ "requiredCriteria": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
19
+ "scope": { "oneOf": [{ "$ref": "decision-event.v1.json#/$defs/scope" }, { "type": "null" }] },
20
+ "evidence": { "type": "array", "items": { "$ref": "decision-event.v1.json#/$defs/artifactReference" } },
21
+ "plans": { "type": "array", "items": { "$ref": "decision-event.v1.json#/$defs/artifactReference" } },
22
+ "authorization": { "oneOf": [{ "$ref": "decision-event.v1.json#/$defs/authorization" }, { "type": "null" }] },
23
+ "effects": { "type": "array", "items": { "$ref": "decision-event.v1.json#/$defs/effectReceipt" } },
24
+ "verifications": { "type": "array", "items": { "$ref": "decision-event.v1.json#/$defs/verificationReceipt" } },
25
+ "blockers": { "type": "array", "items": { "$ref": "decision-event.v1.json#/$defs/blocker" } },
26
+ "terminalReason": { "type": "string" }
27
+ },
28
+ "additionalProperties": false
29
+ }
@@ -111,6 +111,19 @@
111
111
  "uniqueItems": true,
112
112
  "items": { "type": "string", "minLength": 1 }
113
113
  },
114
+ "changeTransactionId": {
115
+ "type": "string",
116
+ "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$"
117
+ },
118
+ "changeTransactionIds": {
119
+ "type": "array",
120
+ "maxItems": 25,
121
+ "uniqueItems": true,
122
+ "items": {
123
+ "type": "string",
124
+ "pattern": "^change-[a-z0-9][a-z0-9-]{7,95}$"
125
+ }
126
+ },
114
127
  "verificationReceipt": {
115
128
  "type": "object",
116
129
  "required": [