workspai 0.54.0 → 0.55.1

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 (47) hide show
  1. package/contracts/extension-cli-compatibility.v1.json +1 -1
  2. package/contracts/studio-card-repair-capabilities.v1.json +65 -1
  3. package/contracts/workspace-intelligence/workspace-explain.v1.json +3 -0
  4. package/contracts/workspace-intelligence/workspace-repair-proposal.v1.json +8 -0
  5. package/contracts/workspace-intelligence/workspace-repair-transaction.v1.json +28 -0
  6. package/contracts/workspace-repair-capabilities.v1.json +57 -0
  7. package/dist/{artifact-remediation-plan-A2PRCUNA.js → artifact-remediation-plan-O3YIULQN.js} +1 -1
  8. package/dist/autopilot-release-3H5FTF6H.js +1 -0
  9. package/dist/chunk-CEIJIFY7.js +88 -0
  10. package/dist/chunk-D37NEYV6.js +1 -0
  11. package/dist/{chunk-BPACED27.js → chunk-DPMO4U3Z.js} +1 -1
  12. package/dist/chunk-DS4UYMLX.js +1 -0
  13. package/dist/{chunk-2FJW6GSW.js → chunk-HUPLAFZQ.js} +1 -1
  14. package/dist/chunk-IBPPMOHM.js +1 -0
  15. package/dist/{chunk-OLX6LX77.js → chunk-NWQ5VWUW.js} +3 -3
  16. package/dist/chunk-TEHQ7XKK.js +3 -0
  17. package/dist/{chunk-3GRKUP5W.js → chunk-W3HXTCSY.js} +6 -6
  18. package/dist/{chunk-HRN5J6PW.js → chunk-WSAFBPS5.js} +1 -1
  19. package/dist/chunk-YTLUT6IA.js +13 -0
  20. package/dist/{create-R6A7EHQZ.js → create-3NSOY7CA.js} +1 -1
  21. package/dist/{doctor-HJ3O7SAO.js → doctor-UEFFNAUD.js} +1 -1
  22. package/dist/index.js +147 -147
  23. package/dist/{pipeline-TDQK5QYQ.js → pipeline-B5S6P36F.js} +1 -1
  24. package/dist/{pythonRapidkitExec-YR7P5LWG.js → pythonRapidkitExec-4YTAMLBD.js} +1 -1
  25. package/dist/{verified-goal-S2PEBJUV.js → verified-goal-KOU3WJYN.js} +1 -1
  26. package/dist/{workspace-B53XH35L.js → workspace-C4UETGY7.js} +1 -1
  27. package/dist/{workspace-explain-SZI2WAAD.js → workspace-explain-ZEWVKDBF.js} +1 -1
  28. package/dist/{workspace-explain-contract-N2XQHAPM.js → workspace-explain-contract-6CCC26QT.js} +1 -1
  29. package/dist/{workspace-foundation-FFNCK5ZD.js → workspace-foundation-3EVAQ5X6.js} +1 -1
  30. package/dist/{workspace-intelligence-runner-EQFLRVRL.js → workspace-intelligence-runner-SMEAB4CO.js} +1 -1
  31. package/dist/{workspace-mcp-serve-COA4FMCA.js → workspace-mcp-serve-X6C3AWTA.js} +1 -1
  32. package/dist/{workspace-onboarding-2B7CYZ5H.js → workspace-onboarding-5KO7Z7AD.js} +1 -1
  33. package/dist/workspace-repair-engine-GWTXVVKB.js +3 -0
  34. package/dist/workspace-run-FJTBX4JQ.js +1 -0
  35. package/docs/ci-workflows.md +1 -1
  36. package/docs/workspace-repair-engine.md +42 -2
  37. package/package.json +3 -3
  38. package/dist/autopilot-release-63XHNGR6.js +0 -1
  39. package/dist/chunk-4HTSZGEU.js +0 -88
  40. package/dist/chunk-EBKYSDCX.js +0 -1
  41. package/dist/chunk-I5CGTCP5.js +0 -1
  42. package/dist/chunk-IQQWQ3II.js +0 -3
  43. package/dist/chunk-WZA5ISAQ.js +0 -13
  44. package/dist/chunk-ZLYEYHMH.js +0 -1
  45. package/dist/workspace-repair-engine-OZXOXVVV.js +0 -3
  46. package/dist/workspace-run-VPXRRHDK.js +0 -1
  47. /package/dist/{chunk-3LVJBH7V.js → chunk-7S4QNH5A.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "rapidkit-extension-cli-compatibility.v1",
3
3
  "cli": "workspai",
4
- "minimumVerifiedCliVersion": "0.54.0",
4
+ "minimumVerifiedCliVersion": "0.55.1",
5
5
  "publishedContractSchemas": {
6
6
  "workspaceContract": 1,
7
7
  "runtimeCommandSurface": "rapidkit-runtime-command-surface-v1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": "workspai.studio-card-repair-capabilities.v1",
3
- "invariant": "A card repair closes only after its exact producer is non-blocking and aggregate Workspace Verify passes.",
3
+ "invariant": "A card repair closes only after its exact producer refreshes, its selected causal action set is absent, and aggregate Workspace Verify completes without an execution failure. Unrelated workspace blockers are reported separately and do not reopen the selected card.",
4
4
  "cards": [
5
5
  {
6
6
  "cardId": "doctor",
@@ -10,6 +10,8 @@
10
10
  "verifyCommand": "npx workspai doctor workspace --json",
11
11
  "verifyArtifact": ".workspai/reports/doctor-last-run.json",
12
12
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
13
+ "targetClosure": "exact-producer-and-causal-action-set",
14
+ "workspacePosture": "reported-separately",
13
15
  "repairPolicy": "diagnose-and-repair",
14
16
  "remediationArtifacts": [
15
17
  ".workspai/reports/doctor-remediation-plan-last-run.json",
@@ -24,6 +26,8 @@
24
26
  "verifyCommand": "npx workspai doctor project --json",
25
27
  "verifyArtifact": ".workspai/reports/doctor-project-last-run.json",
26
28
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
29
+ "targetClosure": "exact-producer-and-causal-action-set",
30
+ "workspacePosture": "reported-separately",
27
31
  "repairPolicy": "diagnose-and-repair",
28
32
  "remediationArtifacts": [
29
33
  ".workspai/reports/doctor-remediation-plan-last-run.json",
@@ -38,6 +42,8 @@
38
42
  "verifyCommand": "npx workspai pipeline --json --strict",
39
43
  "verifyArtifact": ".workspai/reports/pipeline-last-run.json",
40
44
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
45
+ "targetClosure": "exact-producer-and-causal-action-set",
46
+ "workspacePosture": "reported-separately",
41
47
  "repairPolicy": "source-repair-then-produce",
42
48
  "remediationArtifacts": [
43
49
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -51,6 +57,8 @@
51
57
  "verifyCommand": "npx workspai analyze --json",
52
58
  "verifyArtifact": ".workspai/reports/analyze-last-run.json",
53
59
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
60
+ "targetClosure": "exact-producer-and-causal-action-set",
61
+ "workspacePosture": "reported-separately",
54
62
  "repairPolicy": "source-repair-then-produce",
55
63
  "remediationArtifacts": [
56
64
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -64,6 +72,8 @@
64
72
  "verifyCommand": "npx workspai readiness --json",
65
73
  "verifyArtifact": ".workspai/reports/release-readiness-last-run.json",
66
74
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
75
+ "targetClosure": "exact-producer-and-causal-action-set",
76
+ "workspacePosture": "reported-separately",
67
77
  "repairPolicy": "source-repair-then-produce",
68
78
  "remediationArtifacts": [
69
79
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -77,6 +87,8 @@
77
87
  "verifyCommand": "npx workspai bootstrap --ci --json",
78
88
  "verifyArtifact": ".workspai/reports/bootstrap-compliance.latest.json",
79
89
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
90
+ "targetClosure": "exact-producer-and-causal-action-set",
91
+ "workspacePosture": "reported-separately",
80
92
  "repairPolicy": "source-repair-then-produce",
81
93
  "remediationArtifacts": [
82
94
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -90,6 +102,8 @@
90
102
  "verifyCommand": "npx workspai workspace sync --json",
91
103
  "verifyArtifact": ".workspai/workspace-registry.v1.json",
92
104
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
105
+ "targetClosure": "exact-producer-and-causal-action-set",
106
+ "workspacePosture": "reported-separately",
93
107
  "repairPolicy": "refresh-producer",
94
108
  "remediationArtifacts": []
95
109
  },
@@ -101,6 +115,8 @@
101
115
  "verifyCommand": "npx workspai workspace foundation ensure --json",
102
116
  "verifyArtifact": ".workspai/workspace.json",
103
117
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
118
+ "targetClosure": "exact-producer-and-causal-action-set",
119
+ "workspacePosture": "reported-separately",
104
120
  "repairPolicy": "refresh-producer",
105
121
  "remediationArtifacts": []
106
122
  },
@@ -112,6 +128,8 @@
112
128
  "verifyCommand": "npx workspai workspace contract verify --strict --json",
113
129
  "verifyArtifact": ".workspai/reports/workspace-contract-verify-last-run.json",
114
130
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
131
+ "targetClosure": "exact-producer-and-causal-action-set",
132
+ "workspacePosture": "reported-separately",
115
133
  "repairPolicy": "source-repair-then-produce",
116
134
  "remediationArtifacts": []
117
135
  },
@@ -123,6 +141,8 @@
123
141
  "verifyCommand": "npx workspai autopilot release --json",
124
142
  "verifyArtifact": ".workspai/reports/autopilot-release-last-run.json",
125
143
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
144
+ "targetClosure": "exact-producer-and-causal-action-set",
145
+ "workspacePosture": "reported-separately",
126
146
  "repairPolicy": "source-repair-then-produce",
127
147
  "remediationArtifacts": []
128
148
  },
@@ -134,6 +154,8 @@
134
154
  "verifyCommand": "npx workspai workspace run test --json",
135
155
  "verifyArtifact": ".workspai/reports/workspace-run-last.json",
136
156
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
157
+ "targetClosure": "exact-producer-and-causal-action-set",
158
+ "workspacePosture": "reported-separately",
137
159
  "repairPolicy": "source-repair-then-produce",
138
160
  "remediationArtifacts": [
139
161
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -147,6 +169,8 @@
147
169
  "verifyCommand": "npx workspai setup --json",
148
170
  "verifyArtifact": ".workspai/toolchain.lock",
149
171
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
172
+ "targetClosure": "exact-producer-and-causal-action-set",
173
+ "workspacePosture": "reported-separately",
150
174
  "repairPolicy": "source-repair-then-produce",
151
175
  "remediationArtifacts": []
152
176
  },
@@ -158,6 +182,8 @@
158
182
  "verifyCommand": "npx workspai doctor project --json",
159
183
  "verifyArtifact": ".workspai/reports/doctor-project-last-run.json",
160
184
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
185
+ "targetClosure": "exact-producer-and-causal-action-set",
186
+ "workspacePosture": "reported-separately",
161
187
  "repairPolicy": "diagnose-and-repair",
162
188
  "remediationArtifacts": [
163
189
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -171,6 +197,8 @@
171
197
  "verifyCommand": "npx workspai snapshot create --json",
172
198
  "verifyArtifact": ".workspai/reports/snapshot-last-run.json",
173
199
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
200
+ "targetClosure": "exact-producer-and-causal-action-set",
201
+ "workspacePosture": "reported-separately",
174
202
  "repairPolicy": "refresh-producer",
175
203
  "remediationArtifacts": []
176
204
  },
@@ -182,6 +210,8 @@
182
210
  "verifyCommand": "npx workspai workspace model --json --write",
183
211
  "verifyArtifact": ".workspai/reports/workspace-model.json",
184
212
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
213
+ "targetClosure": "exact-producer-and-causal-action-set",
214
+ "workspacePosture": "reported-separately",
185
215
  "repairPolicy": "refresh-producer",
186
216
  "remediationArtifacts": []
187
217
  },
@@ -193,6 +223,8 @@
193
223
  "verifyCommand": "npx workspai workspace snapshot --json",
194
224
  "verifyArtifact": ".workspai/reports/workspace-model-snapshot.json",
195
225
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
226
+ "targetClosure": "exact-producer-and-causal-action-set",
227
+ "workspacePosture": "reported-separately",
196
228
  "repairPolicy": "refresh-producer",
197
229
  "remediationArtifacts": []
198
230
  },
@@ -204,6 +236,8 @@
204
236
  "verifyCommand": "npx workspai workspace diff --from .workspai/reports/workspace-model-snapshot.json --json",
205
237
  "verifyArtifact": ".workspai/reports/workspace-model-diff-last-run.json",
206
238
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
239
+ "targetClosure": "exact-producer-and-causal-action-set",
240
+ "workspacePosture": "reported-separately",
207
241
  "repairPolicy": "refresh-producer",
208
242
  "remediationArtifacts": []
209
243
  },
@@ -215,6 +249,8 @@
215
249
  "verifyCommand": "npx workspai workspace impact --from .workspai/reports/workspace-model-diff-last-run.json --json",
216
250
  "verifyArtifact": ".workspai/reports/workspace-impact-last-run.json",
217
251
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
252
+ "targetClosure": "exact-producer-and-causal-action-set",
253
+ "workspacePosture": "reported-separately",
218
254
  "repairPolicy": "refresh-producer",
219
255
  "remediationArtifacts": []
220
256
  },
@@ -226,6 +262,8 @@
226
262
  "verifyCommand": "npx workspai workspace intelligence run --for-agent generic --strict --json",
227
263
  "verifyArtifact": ".workspai/reports/workspace-intelligence-run-last-run.json",
228
264
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
265
+ "targetClosure": "exact-producer-and-causal-action-set",
266
+ "workspacePosture": "reported-separately",
229
267
  "repairPolicy": "source-repair-then-produce",
230
268
  "remediationArtifacts": []
231
269
  },
@@ -237,6 +275,8 @@
237
275
  "verifyCommand": "npx workspai workspace verify --json",
238
276
  "verifyArtifact": ".workspai/reports/workspace-verify-last-run.json",
239
277
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
278
+ "targetClosure": "exact-producer-and-causal-action-set",
279
+ "workspacePosture": "reported-separately",
240
280
  "repairPolicy": "source-repair-then-produce",
241
281
  "remediationArtifacts": [
242
282
  ".workspai/reports/artifact-remediation-plan-last-run.json"
@@ -250,6 +290,8 @@
250
290
  "verifyCommand": "npx workspai workspace explain release-blocked --json --write",
251
291
  "verifyArtifact": ".workspai/reports/workspace-explain-last-run.json",
252
292
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
293
+ "targetClosure": "exact-producer-and-causal-action-set",
294
+ "workspacePosture": "reported-separately",
253
295
  "repairPolicy": "refresh-producer",
254
296
  "remediationArtifacts": []
255
297
  },
@@ -261,6 +303,8 @@
261
303
  "verifyCommand": "npx workspai workspace why release-blocked --json --write",
262
304
  "verifyArtifact": ".workspai/reports/workspace-why-last-run.json",
263
305
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
306
+ "targetClosure": "exact-producer-and-causal-action-set",
307
+ "workspacePosture": "reported-separately",
264
308
  "repairPolicy": "refresh-producer",
265
309
  "remediationArtifacts": []
266
310
  },
@@ -272,6 +316,8 @@
272
316
  "verifyCommand": "npx workspai workspace trace --from .workspai/reports/workspace-model-diff-last-run.json --json --write",
273
317
  "verifyArtifact": ".workspai/reports/workspace-trace-last-run.json",
274
318
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
319
+ "targetClosure": "exact-producer-and-causal-action-set",
320
+ "workspacePosture": "reported-separately",
275
321
  "repairPolicy": "refresh-producer",
276
322
  "remediationArtifacts": []
277
323
  },
@@ -283,6 +329,8 @@
283
329
  "verifyCommand": "npx workspai workspace watch --once --json",
284
330
  "verifyArtifact": ".workspai/reports/workspace-model.json",
285
331
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
332
+ "targetClosure": "exact-producer-and-causal-action-set",
333
+ "workspacePosture": "reported-separately",
286
334
  "repairPolicy": "refresh-producer",
287
335
  "remediationArtifacts": []
288
336
  },
@@ -294,6 +342,8 @@
294
342
  "verifyCommand": "npx workspai workspace context --for-agent --json --write",
295
343
  "verifyArtifact": ".workspai/reports/workspace-context-agent.json",
296
344
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
345
+ "targetClosure": "exact-producer-and-causal-action-set",
346
+ "workspacePosture": "reported-separately",
297
347
  "repairPolicy": "refresh-producer",
298
348
  "remediationArtifacts": []
299
349
  },
@@ -305,6 +355,8 @@
305
355
  "verifyCommand": "npx workspai workspace agent-sync --write --refresh-context --json --preset enterprise --target vscode",
306
356
  "verifyArtifact": ".workspai/reports/agent-customization-pack.json",
307
357
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
358
+ "targetClosure": "exact-producer-and-causal-action-set",
359
+ "workspacePosture": "reported-separately",
308
360
  "repairPolicy": "refresh-producer",
309
361
  "remediationArtifacts": []
310
362
  },
@@ -316,6 +368,8 @@
316
368
  "verifyCommand": "npx workspai workspace share --output .workspai/reports/share-bundle.json --json",
317
369
  "verifyArtifact": ".workspai/reports/share-bundle.json",
318
370
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
371
+ "targetClosure": "exact-producer-and-causal-action-set",
372
+ "workspacePosture": "reported-separately",
319
373
  "repairPolicy": "refresh-producer",
320
374
  "remediationArtifacts": []
321
375
  },
@@ -327,6 +381,8 @@
327
381
  "verifyCommand": "npx workspai workspace export --output team-workspace.workspai-archive.zip --json",
328
382
  "verifyArtifact": ".workspai/archive-manifest.json",
329
383
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
384
+ "targetClosure": "exact-producer-and-causal-action-set",
385
+ "workspacePosture": "reported-separately",
330
386
  "repairPolicy": "refresh-producer",
331
387
  "remediationArtifacts": []
332
388
  },
@@ -338,6 +394,8 @@
338
394
  "verifyCommand": "npx workspai mirror status --json",
339
395
  "verifyArtifact": ".workspai/reports/mirror-ops.latest.json",
340
396
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
397
+ "targetClosure": "exact-producer-and-causal-action-set",
398
+ "workspacePosture": "reported-separately",
341
399
  "repairPolicy": "refresh-producer",
342
400
  "remediationArtifacts": []
343
401
  },
@@ -349,6 +407,8 @@
349
407
  "verifyCommand": "npx workspai cache status --json",
350
408
  "verifyArtifact": ".workspai/cache-config.yml",
351
409
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
410
+ "targetClosure": "exact-producer-and-causal-action-set",
411
+ "workspacePosture": "reported-separately",
352
412
  "repairPolicy": "refresh-producer",
353
413
  "remediationArtifacts": []
354
414
  },
@@ -360,6 +420,8 @@
360
420
  "verifyCommand": "npx workspai workspace policy show --json",
361
421
  "verifyArtifact": ".workspai/policies.yml",
362
422
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
423
+ "targetClosure": "exact-producer-and-causal-action-set",
424
+ "workspacePosture": "reported-separately",
363
425
  "repairPolicy": "source-repair-then-produce",
364
426
  "remediationArtifacts": []
365
427
  },
@@ -371,6 +433,8 @@
371
433
  "verifyCommand": "npx workspai infra plan --json",
372
434
  "verifyArtifact": ".workspai/reports/infra-plan.json",
373
435
  "aggregateVerifyCommand": "npx workspai workspace verify --json",
436
+ "targetClosure": "exact-producer-and-causal-action-set",
437
+ "workspacePosture": "reported-separately",
374
438
  "repairPolicy": "source-repair-then-produce",
375
439
  "remediationArtifacts": []
376
440
  }
@@ -24,6 +24,9 @@
24
24
  "additionalProperties": false
25
25
  }
26
26
  },
27
+ "releaseVerdict": { "enum": ["ready", "needs-attention", "blocked"] },
28
+ "evidenceFreshness": { "enum": ["fresh", "stale", "unknown"] },
29
+ "blocking": { "type": "boolean" },
27
30
  "releaseRisk": { "type": "string" },
28
31
  "blockingReasons": { "type": "array", "items": { "type": "string" } },
29
32
  "resolutionHints": { "type": "array", "items": { "type": "object" } }
@@ -9,6 +9,14 @@
9
9
  "properties": {
10
10
  "schemaVersion": { "const": "workspai.workspace-repair-proposal.v1" },
11
11
  "cardId": { "type": "string", "minLength": 1, "maxLength": 160 },
12
+ "blockerSignature": { "type": "string", "minLength": 1, "maxLength": 256 },
13
+ "targetActionIds": {
14
+ "type": "array",
15
+ "minItems": 1,
16
+ "maxItems": 200,
17
+ "uniqueItems": true,
18
+ "items": { "type": "string", "minLength": 1, "maxLength": 500 }
19
+ },
12
20
  "projectName": { "type": "string", "minLength": 1, "maxLength": 200 },
13
21
  "projectPath": { "type": "string", "minLength": 1, "maxLength": 1000 },
14
22
  "rationale": { "type": "string", "minLength": 1, "maxLength": 4000 },
@@ -43,6 +43,7 @@
43
43
  "required": ["cardId", "scope", "actionIds"],
44
44
  "properties": {
45
45
  "cardId": { "type": "string", "minLength": 1 },
46
+ "blockerSignature": { "type": "string", "minLength": 1, "maxLength": 256 },
46
47
  "scope": { "enum": ["workspace", "project"] },
47
48
  "projectName": { "type": "string", "minLength": 1 },
48
49
  "projectPath": { "type": "string", "minLength": 1 },
@@ -266,9 +267,36 @@
266
267
  "cancel"
267
268
  ]
268
269
  }
270
+ },
271
+ "causes": {
272
+ "type": "array",
273
+ "minItems": 1,
274
+ "items": { "$ref": "#/$defs/decisionCause" }
269
275
  }
270
276
  }
271
277
  },
278
+ "decisionCause": {
279
+ "type": "object",
280
+ "additionalProperties": false,
281
+ "required": ["kind", "id", "message"],
282
+ "properties": {
283
+ "kind": {
284
+ "enum": [
285
+ "missing-executable",
286
+ "unsupported-adapter",
287
+ "failed-precondition",
288
+ "risk-approval",
289
+ "policy-exception",
290
+ "source-repair-required"
291
+ ]
292
+ },
293
+ "id": { "type": "string", "minLength": 1 },
294
+ "message": { "type": "string", "minLength": 1 },
295
+ "projectPath": { "type": "string", "minLength": 1 },
296
+ "adapterId": { "type": "string", "minLength": 1 },
297
+ "executable": { "type": "string", "minLength": 1 }
298
+ }
299
+ },
272
300
  "event": {
273
301
  "type": "object",
274
302
  "additionalProperties": false,
@@ -5,12 +5,14 @@
5
5
  "plan",
6
6
  "preconditions",
7
7
  "approval",
8
+ "target-precondition",
8
9
  "checkpoint",
9
10
  "execute",
10
11
  "reconcile",
11
12
  "audit",
12
13
  "test",
13
14
  "build",
15
+ "target-producer-verify",
14
16
  "canonical-verify",
15
17
  "close-or-rollback-or-decision"
16
18
  ],
@@ -19,10 +21,65 @@
19
21
  "missingTools": "decision-required",
20
22
  "unsupportedEcosystems": "decision-required",
21
23
  "silentFallbackToModelExecution": false,
24
+ "mutationAuthority": "cli-only",
25
+ "targetClosure": "selected-causal-action-set",
26
+ "changeReceipt": "checkpoint-hash-delta",
27
+ "consumerTimeline": "durable-transaction-events",
28
+ "typedDecisionCauses": true,
29
+ "consumerHandshakeRequired": true,
30
+ "ephemeralProposalsAreEvidence": false,
22
31
  "approvalBoundToPlanHash": true,
23
32
  "canonicalVerificationRequired": true,
24
33
  "rollbackConflictDetection": true
25
34
  },
35
+ "consumerProtocol": {
36
+ "protocolVersion": "workspai.workspace-repair-consumer-protocol.v1",
37
+ "versionProbe": {
38
+ "args": [
39
+ "--version",
40
+ "--json"
41
+ ],
42
+ "schemaVersion": "rapidkit-version-v1"
43
+ },
44
+ "capabilityProbe": {
45
+ "args": [
46
+ "workspace",
47
+ "repair",
48
+ "capabilities",
49
+ "--json"
50
+ ],
51
+ "schemaVersion": "workspai.workspace-repair-capabilities.v1"
52
+ },
53
+ "invocation": {
54
+ "command": "workspace repair",
55
+ "workspaceResolution": [
56
+ "process-cwd",
57
+ "--workspace"
58
+ ],
59
+ "actions": [
60
+ "capabilities",
61
+ "plan",
62
+ "propose",
63
+ "approve",
64
+ "decide",
65
+ "execute",
66
+ "resume",
67
+ "status",
68
+ "list",
69
+ "rollback",
70
+ "cancel"
71
+ ]
72
+ },
73
+ "contracts": {
74
+ "operationResult": "workspai-cli-operation-result-v1",
75
+ "proposal": "workspai.workspace-repair-proposal.v1",
76
+ "transaction": "workspai.workspace-repair-transaction.v1"
77
+ },
78
+ "transientPaths": [
79
+ ".workspai/repair/inbox/*.json",
80
+ ".workspai/repair/engine.lock"
81
+ ]
82
+ },
26
83
  "adapters": [
27
84
  {
28
85
  "id": "node",
@@ -1 +1 @@
1
- export{a as buildArtifactRemediationPlan,b as writeArtifactRemediationPlan}from'./chunk-IQQWQ3II.js';
1
+ export{a as buildArtifactRemediationPlan,b as writeArtifactRemediationPlan}from'./chunk-TEHQ7XKK.js';
@@ -0,0 +1 @@
1
+ export{b as AUTOPILOT_RELEASE_ALIAS_FILENAME,a as AUTOPILOT_RELEASE_LAST_RUN_FILENAME,c as runAutopilotRelease}from'./chunk-DPMO4U3Z.js';