@openspecui/core 6.2.1 → 7.0.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 (121) hide show
  1. package/dist/active-root-config-DxRGkvOp.d.mts +668 -0
  2. package/dist/active-root-config-L5QaMb3A.mjs +333 -0
  3. package/dist/active-root-config.d.mts +6 -0
  4. package/dist/active-root-config.mjs +3 -0
  5. package/dist/app-daemon-control.d.mts +59 -59
  6. package/dist/{cli-projection-Cus0QYkY.d.mts → cli-projection-BeBPIxhK.d.mts} +17 -17
  7. package/dist/{cli-projection-BHfqvlpA.mjs → cli-projection-CKRwTvwf.mjs} +1 -1
  8. package/dist/cli-projection.d.mts +5 -5
  9. package/dist/cli-projection.mjs +2 -2
  10. package/dist/{common-BpgNUOOT.mjs → common-BRL_34xt.mjs} +2 -1
  11. package/dist/{dashboard-summary-transport-ByWMiUWn.d.mts → dashboard-summary-transport-CXGjAcQZ.d.mts} +2904 -2112
  12. package/dist/{dashboard-summary-transport-BMtZ0q12.mjs → dashboard-summary-transport-ILCfZD_I.mjs} +2 -2
  13. package/dist/dashboard-summary-transport.d.mts +26 -25
  14. package/dist/dashboard-summary-transport.mjs +4 -4
  15. package/dist/{document-translation-CUkkxnYV.mjs → document-translation-B3xaP0dJ.mjs} +1 -1
  16. package/dist/document-translation.d.mts +1 -1
  17. package/dist/document-translation.mjs +2 -2
  18. package/dist/{hosted-app-C3gBSvov.mjs → hosted-app-B_T_tTvO.mjs} +7 -2
  19. package/dist/hosted-app.d.mts +27 -26
  20. package/dist/hosted-app.mjs +7 -7
  21. package/dist/{hosted-contract-CaN2aw54.mjs → hosted-contract-BxUx6ksP.mjs} +5 -5
  22. package/dist/hosted-contract.d.mts +26 -25
  23. package/dist/hosted-contract.mjs +6 -6
  24. package/dist/{command-result-BkUqqa0m.d.mts → index-CkwSp1WZ.d.mts} +8143 -8002
  25. package/dist/index.d.mts +27 -26
  26. package/dist/index.mjs +904 -332
  27. package/dist/{local-download-profiles-Detliqbu.d.mts → local-download-profiles-DYeaRK_E.d.mts} +1 -1
  28. package/dist/local-download-profiles.d.mts +2 -2
  29. package/dist/local-download-profiles.mjs +1 -1
  30. package/dist/markdown-facts.d.mts +1 -1
  31. package/dist/markdown-facts.mjs +1 -1
  32. package/dist/{markdown-reading-w686Obnl.d.mts → markdown-reading--Sr6JAl5.d.mts} +1 -1
  33. package/dist/{markdown-reading-0L-mVBJp.mjs → markdown-reading-LtgFpB8E.mjs} +1 -1
  34. package/dist/markdown-reading.d.mts +2 -2
  35. package/dist/markdown-reading.mjs +2 -2
  36. package/dist/{notifications-COeXWb2h.d.mts → notifications-B43aFxw9.d.mts} +5 -5
  37. package/dist/{notifications-E6_WBjQO.mjs → notifications-Cy74GVN7.mjs} +2 -2
  38. package/dist/notifications.d.mts +2 -2
  39. package/dist/notifications.mjs +3 -3
  40. package/dist/{openspec-annotations-DiHje5HD.mjs → openspec-annotations-BJ1BlVyo.mjs} +2 -2
  41. package/dist/{openspec-annotations-BXAqKLXc.d.mts → openspec-annotations-BylPW5rz.d.mts} +2 -2
  42. package/dist/openspec-annotations.d.mts +3 -3
  43. package/dist/openspec-annotations.mjs +3 -3
  44. package/dist/openspec-compat.d.mts +14 -14
  45. package/dist/openspec-compat.mjs +18 -32
  46. package/dist/{openspec-projection-DvJnsxLZ.mjs → openspec-projection-Cno7FlwE.mjs} +2 -2
  47. package/dist/{openspec-projection-BwPchxIq.d.mts → openspec-projection-NGJSLiSk.d.mts} +3 -3
  48. package/dist/openspec-projection.d.mts +5 -5
  49. package/dist/openspec-projection.mjs +4 -4
  50. package/dist/opsx-display-path.d.mts +1 -1
  51. package/dist/opsx-display-path.mjs +1 -1
  52. package/dist/{opsx-entity-D3aLGfC7.d.mts → opsx-entity-5ATD3peX.d.mts} +2 -2
  53. package/dist/opsx-entity.d.mts +7 -7
  54. package/dist/opsx-entity.mjs +1 -1
  55. package/dist/{opsx-schema-detail-DJ9QKFSH.d.mts → opsx-schema-detail-Cu7mIrGm.d.mts} +2 -2
  56. package/dist/opsx-schema-detail.d.mts +8 -8
  57. package/dist/opsx-schema-detail.mjs +1 -1
  58. package/dist/{opsx-types-BJTT7C4w.d.mts → opsx-types-DJzyK1W7.d.mts} +402 -153
  59. package/dist/opsx-workflows.d.mts +1 -1
  60. package/dist/opsx-workflows.mjs +1 -1
  61. package/dist/{planning-cli-projection-DrkT18EI.mjs → planning-cli-projection-BreqsrYA.mjs} +51 -11
  62. package/dist/planning-cli-projection.d.mts +26 -25
  63. package/dist/planning-cli-projection.mjs +7 -7
  64. package/dist/{schemas-DKF6kaQ3.d.mts → schemas-kuds0tNv.d.mts} +96 -96
  65. package/dist/{sounds-CsPiQKxX.d.mts → sounds-vwRCMSzL.d.mts} +4 -4
  66. package/dist/sounds.d.mts +1 -1
  67. package/dist/sounds.mjs +1 -1
  68. package/dist/{spec-catalog-Dv2qolxy.mjs → spec-catalog-DEk_oHAx.mjs} +99 -18
  69. package/dist/spec-catalog.d.mts +27 -26
  70. package/dist/spec-catalog.mjs +5 -5
  71. package/dist/{store-content-projection-CiMcGZnG.mjs → store-content-projection-Bpdb7_d9.mjs} +1 -1
  72. package/dist/store-content-projection.d.mts +1 -1
  73. package/dist/store-content-projection.mjs +2 -2
  74. package/dist/{store-mutation-protocol-CLtYUSwC.mjs → store-mutation-protocol-CJGUWWI6.mjs} +1 -1
  75. package/dist/{store-mutation-protocol-ZUGSy1a0.d.mts → store-mutation-protocol-D9IK_wrr.d.mts} +36 -36
  76. package/dist/store-mutation-protocol.d.mts +1 -1
  77. package/dist/store-mutation-protocol.mjs +2 -2
  78. package/dist/{store-types-B42Br9lz.d.mts → store-types-DxvwR0sj.d.mts} +1 -1
  79. package/dist/store-types.d.mts +5 -5
  80. package/dist/store-types.mjs +1 -1
  81. package/dist/{task-progress-DpZak5xA.mjs → task-progress-Bvid_Ws8.mjs} +1 -1
  82. package/dist/task-progress.d.mts +6 -6
  83. package/dist/task-progress.mjs +2 -2
  84. package/dist/{terminal-audio-BXa1vpkF.d.mts → terminal-audio-BcjP_os4.d.mts} +1 -1
  85. package/dist/{terminal-audio-punFQHXI.mjs → terminal-audio-DeubAfFC.mjs} +1 -1
  86. package/dist/terminal-audio.d.mts +2 -2
  87. package/dist/terminal-audio.mjs +2 -2
  88. package/dist/terminal-control.d.mts +2 -2
  89. package/dist/terminal-control.mjs +1 -1
  90. package/dist/{terminal-invocation-Bkic6avG.d.mts → terminal-invocation-BW357tO1.d.mts} +70 -70
  91. package/dist/terminal-invocation.d.mts +1 -1
  92. package/dist/terminal-invocation.mjs +1 -1
  93. package/dist/terminal-theme.d.mts +1 -1
  94. package/dist/terminal-theme.mjs +1 -1
  95. package/dist/translation-language-pair.d.mts +1 -1
  96. package/dist/translation-language-pair.mjs +1 -1
  97. package/dist/{translator-D_V2ZFPP.d.mts → translator-YggUX3F7.d.mts} +200 -200
  98. package/dist/translator.d.mts +1 -1
  99. package/dist/translator.mjs +1 -1
  100. package/package.json +15 -5
  101. /package/dist/{document-translation-J_NddeDy.d.mts → document-translation-BNbM3fEj.d.mts} +0 -0
  102. /package/dist/{local-download-profiles-DK4g6FRe.mjs → local-download-profiles-h9lUTXr-.mjs} +0 -0
  103. /package/dist/{markdown-facts-Dve6IAJP.mjs → markdown-facts-BIx47NNY.mjs} +0 -0
  104. /package/dist/{markdown-facts-C9yWB2I9.d.mts → markdown-facts-DLclHfpE.d.mts} +0 -0
  105. /package/dist/{opsx-display-path-eWJ4ve-O.d.mts → opsx-display-path-BD34M8QV.d.mts} +0 -0
  106. /package/dist/{opsx-display-path-DuPEvPV0.mjs → opsx-display-path-ocbNzMZj.mjs} +0 -0
  107. /package/dist/{opsx-entity-Br5S5N0o.mjs → opsx-entity-BnO3k48r.mjs} +0 -0
  108. /package/dist/{opsx-schema-detail-CckZIEVr.mjs → opsx-schema-detail-zk8ePaKK.mjs} +0 -0
  109. /package/dist/{opsx-workflows-Bhh_bI-e.d.mts → opsx-workflows-DX1r6e5j.d.mts} +0 -0
  110. /package/dist/{opsx-workflows-GPZSe1C_.mjs → opsx-workflows-byPfLlo8.mjs} +0 -0
  111. /package/dist/{schemas-BrS9qSB3.mjs → schemas-CMThmKx1.mjs} +0 -0
  112. /package/dist/{sounds-na4c8j0c.mjs → sounds-6prQvKXl.mjs} +0 -0
  113. /package/dist/{store-content-projection-BPDCma8v.d.mts → store-content-projection-R74MV_sD.d.mts} +0 -0
  114. /package/dist/{store-types-Cs40yohL.mjs → store-types-CvpEVNoE.mjs} +0 -0
  115. /package/dist/{terminal-control-BvoxwQ6m.mjs → terminal-control-c6oS-lFb.mjs} +0 -0
  116. /package/dist/{terminal-invocation-BexVY5E2.mjs → terminal-invocation-DIpoFYDo.mjs} +0 -0
  117. /package/dist/{terminal-theme-DIhzj5Si.mjs → terminal-theme-Byzxmnjm.mjs} +0 -0
  118. /package/dist/{terminal-theme-BzARb2Do.d.mts → terminal-theme-DX08Gci8.d.mts} +0 -0
  119. /package/dist/{translation-language-pair-DeAiww3_.d.mts → translation-language-pair-BR5uxGm-.d.mts} +0 -0
  120. /package/dist/{translation-language-pair-BV2cGjfv.mjs → translation-language-pair-DG9mOuFD.mjs} +0 -0
  121. /package/dist/{translator-DCCZeHt1.mjs → translator-CEGdRmKw.mjs} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as CliJsonValue } from "./command-result-BkUqqa0m.mjs";
2
- import { n as ChangeFile, v as Task } from "./schemas-DKF6kaQ3.mjs";
1
+ import { G as CliJsonValue } from "./index-CkwSp1WZ.mjs";
2
+ import { n as ChangeFile, v as Task } from "./schemas-kuds0tNv.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/task-progress.d.ts
@@ -109,7 +109,7 @@ declare function projectTaskProjectionsFromMarkdownFiles(files: readonly ChangeF
109
109
  declare function isGlobPattern(pattern: string): boolean;
110
110
  /** Raw process and parser evidence retained beside one live CLI projection. */
111
111
  declare const OpsxCliEvidenceSchema: z.ZodObject<{
112
- command: z.ZodEnum<["status", "instructions", "instructions apply"]>;
112
+ command: z.ZodEnum<["status", "instructions", "instructions apply", "instructions archive"]>;
113
113
  success: z.ZodBoolean;
114
114
  stdout: z.ZodString;
115
115
  stderr: z.ZodString;
@@ -144,19 +144,19 @@ declare const OpsxCliEvidenceSchema: z.ZodObject<{
144
144
  }>;
145
145
  root: z.ZodOptional<z.ZodObject<{
146
146
  path: z.ZodString;
147
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
147
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
148
148
  store_id: z.ZodOptional<z.ZodString>;
149
149
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
150
150
  path: z.ZodString;
151
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
151
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
152
152
  store_id: z.ZodOptional<z.ZodString>;
153
153
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
154
154
  path: z.ZodString;
155
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
155
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
156
156
  store_id: z.ZodOptional<z.ZodString>;
157
157
  }, z.ZodTypeAny, "passthrough">>>;
158
158
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
159
- command: z.ZodEnum<["status", "instructions", "instructions apply"]>;
159
+ command: z.ZodEnum<["status", "instructions", "instructions apply", "instructions archive"]>;
160
160
  success: z.ZodBoolean;
161
161
  stdout: z.ZodString;
162
162
  stderr: z.ZodString;
@@ -191,19 +191,19 @@ declare const OpsxCliEvidenceSchema: z.ZodObject<{
191
191
  }>;
192
192
  root: z.ZodOptional<z.ZodObject<{
193
193
  path: z.ZodString;
194
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
194
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
195
195
  store_id: z.ZodOptional<z.ZodString>;
196
196
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
197
197
  path: z.ZodString;
198
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
198
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
199
199
  store_id: z.ZodOptional<z.ZodString>;
200
200
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
201
201
  path: z.ZodString;
202
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
202
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
203
203
  store_id: z.ZodOptional<z.ZodString>;
204
204
  }, z.ZodTypeAny, "passthrough">>>;
205
205
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
206
- command: z.ZodEnum<["status", "instructions", "instructions apply"]>;
206
+ command: z.ZodEnum<["status", "instructions", "instructions apply", "instructions archive"]>;
207
207
  success: z.ZodBoolean;
208
208
  stdout: z.ZodString;
209
209
  stderr: z.ZodString;
@@ -238,15 +238,15 @@ declare const OpsxCliEvidenceSchema: z.ZodObject<{
238
238
  }>;
239
239
  root: z.ZodOptional<z.ZodObject<{
240
240
  path: z.ZodString;
241
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
241
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
242
242
  store_id: z.ZodOptional<z.ZodString>;
243
243
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
244
244
  path: z.ZodString;
245
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
245
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
246
246
  store_id: z.ZodOptional<z.ZodString>;
247
247
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
248
248
  path: z.ZodString;
249
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
249
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
250
250
  store_id: z.ZodOptional<z.ZodString>;
251
251
  }, z.ZodTypeAny, "passthrough">>>;
252
252
  }, z.ZodTypeAny, "passthrough">>;
@@ -287,15 +287,15 @@ declare const OpsxStatusEvidenceSchema: z.ZodObject<{
287
287
  }>;
288
288
  root: z.ZodOptional<z.ZodObject<{
289
289
  path: z.ZodString;
290
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
290
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
291
291
  store_id: z.ZodOptional<z.ZodString>;
292
292
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
293
293
  path: z.ZodString;
294
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
294
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
295
295
  store_id: z.ZodOptional<z.ZodString>;
296
296
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
297
297
  path: z.ZodString;
298
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
298
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
299
299
  store_id: z.ZodOptional<z.ZodString>;
300
300
  }, z.ZodTypeAny, "passthrough">>>;
301
301
  } & {
@@ -335,15 +335,15 @@ declare const OpsxStatusEvidenceSchema: z.ZodObject<{
335
335
  }>;
336
336
  root: z.ZodOptional<z.ZodObject<{
337
337
  path: z.ZodString;
338
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
338
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
339
339
  store_id: z.ZodOptional<z.ZodString>;
340
340
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
341
341
  path: z.ZodString;
342
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
342
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
343
343
  store_id: z.ZodOptional<z.ZodString>;
344
344
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
345
345
  path: z.ZodString;
346
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
346
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
347
347
  store_id: z.ZodOptional<z.ZodString>;
348
348
  }, z.ZodTypeAny, "passthrough">>>;
349
349
  } & {
@@ -383,15 +383,15 @@ declare const OpsxStatusEvidenceSchema: z.ZodObject<{
383
383
  }>;
384
384
  root: z.ZodOptional<z.ZodObject<{
385
385
  path: z.ZodString;
386
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
386
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
387
387
  store_id: z.ZodOptional<z.ZodString>;
388
388
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
389
389
  path: z.ZodString;
390
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
390
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
391
391
  store_id: z.ZodOptional<z.ZodString>;
392
392
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
393
393
  path: z.ZodString;
394
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
394
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
395
395
  store_id: z.ZodOptional<z.ZodString>;
396
396
  }, z.ZodTypeAny, "passthrough">>>;
397
397
  } & {
@@ -401,19 +401,22 @@ type OpsxStatusEvidence = z.infer<typeof OpsxStatusEvidenceSchema>;
401
401
  declare const ArtifactStatusSchema: z.ZodObject<{
402
402
  id: z.ZodString;
403
403
  outputPath: z.ZodString;
404
- status: z.ZodEnum<["done", "ready", "blocked"]>;
404
+ status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>;
405
+ requires: z.ZodArray<z.ZodString, "many">;
405
406
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
406
407
  relativePath: z.ZodOptional<z.ZodString>;
407
408
  }, "strip", z.ZodTypeAny, {
408
- status: "ready" | "done" | "blocked";
409
+ status: "ready" | "done" | "skipped" | "blocked";
409
410
  id: string;
410
411
  outputPath: string;
412
+ requires: string[];
411
413
  missingDeps?: string[] | undefined;
412
414
  relativePath?: string | undefined;
413
415
  }, {
414
- status: "ready" | "done" | "blocked";
416
+ status: "ready" | "done" | "skipped" | "blocked";
415
417
  id: string;
416
418
  outputPath: string;
419
+ requires: string[];
417
420
  missingDeps?: string[] | undefined;
418
421
  relativePath?: string | undefined;
419
422
  }>;
@@ -426,19 +429,22 @@ declare const ChangeStatusSchema: z.ZodObject<{
426
429
  artifacts: z.ZodArray<z.ZodObject<{
427
430
  id: z.ZodString;
428
431
  outputPath: z.ZodString;
429
- status: z.ZodEnum<["done", "ready", "blocked"]>;
432
+ status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>;
433
+ requires: z.ZodArray<z.ZodString, "many">;
430
434
  missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
435
  relativePath: z.ZodOptional<z.ZodString>;
432
436
  }, "strip", z.ZodTypeAny, {
433
- status: "ready" | "done" | "blocked";
437
+ status: "ready" | "done" | "skipped" | "blocked";
434
438
  id: string;
435
439
  outputPath: string;
440
+ requires: string[];
436
441
  missingDeps?: string[] | undefined;
437
442
  relativePath?: string | undefined;
438
443
  }, {
439
- status: "ready" | "done" | "blocked";
444
+ status: "ready" | "done" | "skipped" | "blocked";
440
445
  id: string;
441
446
  outputPath: string;
447
+ requires: string[];
442
448
  missingDeps?: string[] | undefined;
443
449
  relativePath?: string | undefined;
444
450
  }>, "many">;
@@ -520,15 +526,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
520
526
  }, z.ZodTypeAny, "passthrough">>;
521
527
  root: z.ZodObject<{
522
528
  path: z.ZodString;
523
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
529
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
524
530
  store_id: z.ZodOptional<z.ZodString>;
525
531
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
526
532
  path: z.ZodString;
527
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
533
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
528
534
  store_id: z.ZodOptional<z.ZodString>;
529
535
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
530
536
  path: z.ZodString;
531
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
537
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
532
538
  store_id: z.ZodOptional<z.ZodString>;
533
539
  }, z.ZodTypeAny, "passthrough">>;
534
540
  evidence: z.ZodObject<{
@@ -566,15 +572,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
566
572
  }>;
567
573
  root: z.ZodOptional<z.ZodObject<{
568
574
  path: z.ZodString;
569
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
575
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
570
576
  store_id: z.ZodOptional<z.ZodString>;
571
577
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
572
578
  path: z.ZodString;
573
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
579
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
574
580
  store_id: z.ZodOptional<z.ZodString>;
575
581
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
576
582
  path: z.ZodString;
577
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
583
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
578
584
  store_id: z.ZodOptional<z.ZodString>;
579
585
  }, z.ZodTypeAny, "passthrough">>>;
580
586
  } & {
@@ -614,15 +620,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
614
620
  }>;
615
621
  root: z.ZodOptional<z.ZodObject<{
616
622
  path: z.ZodString;
617
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
623
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
618
624
  store_id: z.ZodOptional<z.ZodString>;
619
625
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
620
626
  path: z.ZodString;
621
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
627
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
622
628
  store_id: z.ZodOptional<z.ZodString>;
623
629
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
624
630
  path: z.ZodString;
625
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
631
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
626
632
  store_id: z.ZodOptional<z.ZodString>;
627
633
  }, z.ZodTypeAny, "passthrough">>>;
628
634
  } & {
@@ -662,15 +668,15 @@ declare const ChangeStatusSchema: z.ZodObject<{
662
668
  }>;
663
669
  root: z.ZodOptional<z.ZodObject<{
664
670
  path: z.ZodString;
665
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
671
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
666
672
  store_id: z.ZodOptional<z.ZodString>;
667
673
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
668
674
  path: z.ZodString;
669
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
675
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
670
676
  store_id: z.ZodOptional<z.ZodString>;
671
677
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
672
678
  path: z.ZodString;
673
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
679
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
674
680
  store_id: z.ZodOptional<z.ZodString>;
675
681
  }, z.ZodTypeAny, "passthrough">>>;
676
682
  } & {
@@ -680,7 +686,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
680
686
  kind: "cli";
681
687
  root: {
682
688
  path: string;
683
- source: "store" | "declared" | "nearest" | "implicit";
689
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
684
690
  store_id?: string | undefined;
685
691
  } & {
686
692
  [k: string]: unknown;
@@ -733,7 +739,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
733
739
  contractError?: string | undefined;
734
740
  root?: z.objectOutputType<{
735
741
  path: z.ZodString;
736
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
742
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
737
743
  store_id: z.ZodOptional<z.ZodString>;
738
744
  }, z.ZodTypeAny, "passthrough"> | undefined;
739
745
  } & {
@@ -743,7 +749,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
743
749
  kind: "cli";
744
750
  root: {
745
751
  path: string;
746
- source: "store" | "declared" | "nearest" | "implicit";
752
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
747
753
  store_id?: string | undefined;
748
754
  } & {
749
755
  [k: string]: unknown;
@@ -796,7 +802,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
796
802
  contractError?: string | undefined;
797
803
  root?: z.objectInputType<{
798
804
  path: z.ZodString;
799
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
805
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
800
806
  store_id: z.ZodOptional<z.ZodString>;
801
807
  }, z.ZodTypeAny, "passthrough"> | undefined;
802
808
  } & {
@@ -815,9 +821,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
815
821
  isComplete: boolean;
816
822
  applyRequires: string[];
817
823
  artifacts: {
818
- status: "ready" | "done" | "blocked";
824
+ status: "ready" | "done" | "skipped" | "blocked";
819
825
  id: string;
820
826
  outputPath: string;
827
+ requires: string[];
821
828
  missingDeps?: string[] | undefined;
822
829
  relativePath?: string | undefined;
823
830
  }[];
@@ -825,7 +832,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
825
832
  kind: "cli";
826
833
  root: {
827
834
  path: string;
828
- source: "store" | "declared" | "nearest" | "implicit";
835
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
829
836
  store_id?: string | undefined;
830
837
  } & {
831
838
  [k: string]: unknown;
@@ -878,7 +885,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
878
885
  contractError?: string | undefined;
879
886
  root?: z.objectOutputType<{
880
887
  path: z.ZodString;
881
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
888
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
882
889
  store_id: z.ZodOptional<z.ZodString>;
883
890
  }, z.ZodTypeAny, "passthrough"> | undefined;
884
891
  } & {
@@ -893,9 +900,10 @@ declare const ChangeStatusSchema: z.ZodObject<{
893
900
  isComplete: boolean;
894
901
  applyRequires: string[];
895
902
  artifacts: {
896
- status: "ready" | "done" | "blocked";
903
+ status: "ready" | "done" | "skipped" | "blocked";
897
904
  id: string;
898
905
  outputPath: string;
906
+ requires: string[];
899
907
  missingDeps?: string[] | undefined;
900
908
  relativePath?: string | undefined;
901
909
  }[];
@@ -903,7 +911,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
903
911
  kind: "cli";
904
912
  root: {
905
913
  path: string;
906
- source: "store" | "declared" | "nearest" | "implicit";
914
+ source: "store" | "declared" | "nearest" | "global_default" | "implicit";
907
915
  store_id?: string | undefined;
908
916
  } & {
909
917
  [k: string]: unknown;
@@ -956,7 +964,7 @@ declare const ChangeStatusSchema: z.ZodObject<{
956
964
  contractError?: string | undefined;
957
965
  root?: z.objectInputType<{
958
966
  path: z.ZodString;
959
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
967
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
960
968
  store_id: z.ZodOptional<z.ZodString>;
961
969
  }, z.ZodTypeAny, "passthrough"> | undefined;
962
970
  } & {
@@ -972,16 +980,19 @@ declare const DependencyInfoSchema: z.ZodObject<{
972
980
  done: z.ZodBoolean;
973
981
  path: z.ZodString;
974
982
  description: z.ZodString;
983
+ skipped: z.ZodOptional<z.ZodBoolean>;
975
984
  }, "strip", z.ZodTypeAny, {
976
985
  path: string;
977
986
  id: string;
978
- description: string;
979
987
  done: boolean;
988
+ description: string;
989
+ skipped?: boolean | undefined;
980
990
  }, {
981
991
  path: string;
982
992
  id: string;
983
- description: string;
984
993
  done: boolean;
994
+ description: string;
995
+ skipped?: boolean | undefined;
985
996
  }>;
986
997
  type DependencyInfo = z.infer<typeof DependencyInfoSchema>;
987
998
  declare const ApplyTaskSchema: z.ZodObject<{
@@ -990,12 +1001,12 @@ declare const ApplyTaskSchema: z.ZodObject<{
990
1001
  done: z.ZodBoolean;
991
1002
  }, "strip", z.ZodTypeAny, {
992
1003
  id: string;
993
- description: string;
994
1004
  done: boolean;
1005
+ description: string;
995
1006
  }, {
996
1007
  id: string;
997
- description: string;
998
1008
  done: boolean;
1009
+ description: string;
999
1010
  }>;
1000
1011
  type ApplyTask = z.infer<typeof ApplyTaskSchema>;
1001
1012
  declare const ApplyInstructionsContextFilesSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
@@ -1011,12 +1022,12 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1011
1022
  done: z.ZodBoolean;
1012
1023
  }, "strip", z.ZodTypeAny, {
1013
1024
  id: string;
1014
- description: string;
1015
1025
  done: boolean;
1026
+ description: string;
1016
1027
  }, {
1017
1028
  id: string;
1018
- description: string;
1019
1029
  done: boolean;
1030
+ description: string;
1020
1031
  }>, "many">;
1021
1032
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1022
1033
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1124,6 +1135,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1124
1135
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1125
1136
  fetch: z.ZodOptional<z.ZodString>;
1126
1137
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1138
+ context: z.ZodOptional<z.ZodString>;
1139
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1127
1140
  evidence: z.ZodObject<{
1128
1141
  success: z.ZodBoolean;
1129
1142
  stdout: z.ZodString;
@@ -1159,15 +1172,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1159
1172
  }>;
1160
1173
  root: z.ZodOptional<z.ZodObject<{
1161
1174
  path: z.ZodString;
1162
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1175
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1163
1176
  store_id: z.ZodOptional<z.ZodString>;
1164
1177
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1165
1178
  path: z.ZodString;
1166
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1179
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1167
1180
  store_id: z.ZodOptional<z.ZodString>;
1168
1181
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1169
1182
  path: z.ZodString;
1170
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1183
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1171
1184
  store_id: z.ZodOptional<z.ZodString>;
1172
1185
  }, z.ZodTypeAny, "passthrough">>>;
1173
1186
  } & {
@@ -1207,15 +1220,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1207
1220
  }>;
1208
1221
  root: z.ZodOptional<z.ZodObject<{
1209
1222
  path: z.ZodString;
1210
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1223
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1211
1224
  store_id: z.ZodOptional<z.ZodString>;
1212
1225
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1213
1226
  path: z.ZodString;
1214
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1227
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1215
1228
  store_id: z.ZodOptional<z.ZodString>;
1216
1229
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1217
1230
  path: z.ZodString;
1218
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1231
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1219
1232
  store_id: z.ZodOptional<z.ZodString>;
1220
1233
  }, z.ZodTypeAny, "passthrough">>>;
1221
1234
  } & {
@@ -1255,15 +1268,15 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1255
1268
  }>;
1256
1269
  root: z.ZodOptional<z.ZodObject<{
1257
1270
  path: z.ZodString;
1258
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1271
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1259
1272
  store_id: z.ZodOptional<z.ZodString>;
1260
1273
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1261
1274
  path: z.ZodString;
1262
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1275
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1263
1276
  store_id: z.ZodOptional<z.ZodString>;
1264
1277
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1265
1278
  path: z.ZodString;
1266
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1279
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1267
1280
  store_id: z.ZodOptional<z.ZodString>;
1268
1281
  }, z.ZodTypeAny, "passthrough">>>;
1269
1282
  } & {
@@ -1383,8 +1396,8 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1383
1396
  state: "ready" | "blocked" | "all_done";
1384
1397
  tasks: {
1385
1398
  id: string;
1386
- description: string;
1387
1399
  done: boolean;
1400
+ description: string;
1388
1401
  }[];
1389
1402
  changeName: string;
1390
1403
  schemaName: string;
@@ -1408,7 +1421,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1408
1421
  contractError?: string | undefined;
1409
1422
  root?: z.objectOutputType<{
1410
1423
  path: z.ZodString;
1411
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1424
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1412
1425
  store_id: z.ZodOptional<z.ZodString>;
1413
1426
  }, z.ZodTypeAny, "passthrough"> | undefined;
1414
1427
  } & {
@@ -1439,6 +1452,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1439
1452
  };
1440
1453
  } | null;
1441
1454
  };
1455
+ context?: string | undefined;
1442
1456
  references?: z.objectOutputType<{
1443
1457
  store_id: z.ZodString;
1444
1458
  root: z.ZodOptional<z.ZodString>;
@@ -1475,12 +1489,13 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1475
1489
  fetch: z.ZodOptional<z.ZodString>;
1476
1490
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1477
1491
  missingArtifacts?: string[] | undefined;
1492
+ operationGuidance?: string[] | undefined;
1478
1493
  }, {
1479
1494
  state: "ready" | "blocked" | "all_done";
1480
1495
  tasks: {
1481
1496
  id: string;
1482
- description: string;
1483
1497
  done: boolean;
1498
+ description: string;
1484
1499
  }[];
1485
1500
  changeName: string;
1486
1501
  schemaName: string;
@@ -1504,7 +1519,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1504
1519
  contractError?: string | undefined;
1505
1520
  root?: z.objectInputType<{
1506
1521
  path: z.ZodString;
1507
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1522
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1508
1523
  store_id: z.ZodOptional<z.ZodString>;
1509
1524
  }, z.ZodTypeAny, "passthrough"> | undefined;
1510
1525
  } & {
@@ -1535,6 +1550,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1535
1550
  };
1536
1551
  } | null;
1537
1552
  };
1553
+ context?: string | undefined;
1538
1554
  references?: z.objectInputType<{
1539
1555
  store_id: z.ZodString;
1540
1556
  root: z.ZodOptional<z.ZodString>;
@@ -1571,6 +1587,7 @@ declare const ApplyInstructionsProjectionSchema: z.ZodObject<{
1571
1587
  fetch: z.ZodOptional<z.ZodString>;
1572
1588
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1573
1589
  missingArtifacts?: string[] | undefined;
1590
+ operationGuidance?: string[] | undefined;
1574
1591
  }>;
1575
1592
  declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1576
1593
  changeName: z.ZodString;
@@ -1596,12 +1613,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1596
1613
  done: z.ZodBoolean;
1597
1614
  }, "strip", z.ZodTypeAny, {
1598
1615
  id: string;
1599
- description: string;
1600
1616
  done: boolean;
1617
+ description: string;
1601
1618
  }, {
1602
1619
  id: string;
1603
- description: string;
1604
1620
  done: boolean;
1621
+ description: string;
1605
1622
  }>, "many">;
1606
1623
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
1607
1624
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1709,6 +1726,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1709
1726
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1710
1727
  fetch: z.ZodOptional<z.ZodString>;
1711
1728
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1729
+ context: z.ZodOptional<z.ZodString>;
1730
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1712
1731
  evidence: z.ZodObject<{
1713
1732
  success: z.ZodBoolean;
1714
1733
  stdout: z.ZodString;
@@ -1744,15 +1763,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1744
1763
  }>;
1745
1764
  root: z.ZodOptional<z.ZodObject<{
1746
1765
  path: z.ZodString;
1747
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1766
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1748
1767
  store_id: z.ZodOptional<z.ZodString>;
1749
1768
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1750
1769
  path: z.ZodString;
1751
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1770
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1752
1771
  store_id: z.ZodOptional<z.ZodString>;
1753
1772
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1754
1773
  path: z.ZodString;
1755
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1774
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1756
1775
  store_id: z.ZodOptional<z.ZodString>;
1757
1776
  }, z.ZodTypeAny, "passthrough">>>;
1758
1777
  } & {
@@ -1792,15 +1811,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1792
1811
  }>;
1793
1812
  root: z.ZodOptional<z.ZodObject<{
1794
1813
  path: z.ZodString;
1795
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1814
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1796
1815
  store_id: z.ZodOptional<z.ZodString>;
1797
1816
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1798
1817
  path: z.ZodString;
1799
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1818
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1800
1819
  store_id: z.ZodOptional<z.ZodString>;
1801
1820
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1802
1821
  path: z.ZodString;
1803
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1822
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1804
1823
  store_id: z.ZodOptional<z.ZodString>;
1805
1824
  }, z.ZodTypeAny, "passthrough">>>;
1806
1825
  } & {
@@ -1840,15 +1859,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1840
1859
  }>;
1841
1860
  root: z.ZodOptional<z.ZodObject<{
1842
1861
  path: z.ZodString;
1843
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1862
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1844
1863
  store_id: z.ZodOptional<z.ZodString>;
1845
1864
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1846
1865
  path: z.ZodString;
1847
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1866
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1848
1867
  store_id: z.ZodOptional<z.ZodString>;
1849
1868
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1850
1869
  path: z.ZodString;
1851
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1870
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1852
1871
  store_id: z.ZodOptional<z.ZodString>;
1853
1872
  }, z.ZodTypeAny, "passthrough">>>;
1854
1873
  } & {
@@ -1858,14 +1877,9 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1858
1877
  state: "ready" | "blocked" | "all_done";
1859
1878
  tasks: {
1860
1879
  id: string;
1861
- description: string;
1862
1880
  done: boolean;
1881
+ description: string;
1863
1882
  }[];
1864
- progress: {
1865
- complete: number;
1866
- total: number;
1867
- remaining: number;
1868
- };
1869
1883
  changeName: string;
1870
1884
  schemaName: string;
1871
1885
  evidence: {
@@ -1888,7 +1902,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1888
1902
  contractError?: string | undefined;
1889
1903
  root?: z.objectOutputType<{
1890
1904
  path: z.ZodString;
1891
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1905
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1892
1906
  store_id: z.ZodOptional<z.ZodString>;
1893
1907
  }, z.ZodTypeAny, "passthrough"> | undefined;
1894
1908
  } & {
@@ -1897,6 +1911,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1897
1911
  changeDir: string;
1898
1912
  instruction: string;
1899
1913
  contextFiles: Record<string, string[]>;
1914
+ progress: {
1915
+ complete: number;
1916
+ total: number;
1917
+ remaining: number;
1918
+ };
1919
+ context?: string | undefined;
1900
1920
  references?: z.objectOutputType<{
1901
1921
  store_id: z.ZodString;
1902
1922
  root: z.ZodOptional<z.ZodString>;
@@ -1933,18 +1953,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1933
1953
  fetch: z.ZodOptional<z.ZodString>;
1934
1954
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1935
1955
  missingArtifacts?: string[] | undefined;
1956
+ operationGuidance?: string[] | undefined;
1936
1957
  }, {
1937
1958
  state: "ready" | "blocked" | "all_done";
1938
1959
  tasks: {
1939
1960
  id: string;
1940
- description: string;
1941
1961
  done: boolean;
1962
+ description: string;
1942
1963
  }[];
1943
- progress: {
1944
- complete: number;
1945
- total: number;
1946
- remaining: number;
1947
- };
1948
1964
  changeName: string;
1949
1965
  schemaName: string;
1950
1966
  evidence: {
@@ -1967,7 +1983,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1967
1983
  contractError?: string | undefined;
1968
1984
  root?: z.objectInputType<{
1969
1985
  path: z.ZodString;
1970
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
1986
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
1971
1987
  store_id: z.ZodOptional<z.ZodString>;
1972
1988
  }, z.ZodTypeAny, "passthrough"> | undefined;
1973
1989
  } & {
@@ -1976,6 +1992,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1976
1992
  changeDir: string;
1977
1993
  instruction: string;
1978
1994
  contextFiles: Record<string, string | string[]>;
1995
+ progress: {
1996
+ complete: number;
1997
+ total: number;
1998
+ remaining: number;
1999
+ };
2000
+ context?: string | undefined;
1979
2001
  references?: z.objectInputType<{
1980
2002
  store_id: z.ZodString;
1981
2003
  root: z.ZodOptional<z.ZodString>;
@@ -2012,13 +2034,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2012
2034
  fetch: z.ZodOptional<z.ZodString>;
2013
2035
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2014
2036
  missingArtifacts?: string[] | undefined;
2037
+ operationGuidance?: string[] | undefined;
2015
2038
  }>, {
2016
2039
  applyInstructionProgress: ApplyInstructionProgress;
2017
2040
  state: "ready" | "blocked" | "all_done";
2018
2041
  tasks: {
2019
2042
  id: string;
2020
- description: string;
2021
2043
  done: boolean;
2044
+ description: string;
2022
2045
  }[];
2023
2046
  changeName: string;
2024
2047
  schemaName: string;
@@ -2042,7 +2065,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2042
2065
  contractError?: string | undefined;
2043
2066
  root?: z.objectOutputType<{
2044
2067
  path: z.ZodString;
2045
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2068
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2046
2069
  store_id: z.ZodOptional<z.ZodString>;
2047
2070
  }, z.ZodTypeAny, "passthrough"> | undefined;
2048
2071
  } & {
@@ -2051,6 +2074,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2051
2074
  changeDir: string;
2052
2075
  instruction: string;
2053
2076
  contextFiles: Record<string, string[]>;
2077
+ context?: string | undefined;
2054
2078
  references?: z.objectOutputType<{
2055
2079
  store_id: z.ZodString;
2056
2080
  root: z.ZodOptional<z.ZodString>;
@@ -2087,18 +2111,14 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2087
2111
  fetch: z.ZodOptional<z.ZodString>;
2088
2112
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2089
2113
  missingArtifacts?: string[] | undefined;
2114
+ operationGuidance?: string[] | undefined;
2090
2115
  }, {
2091
2116
  state: "ready" | "blocked" | "all_done";
2092
2117
  tasks: {
2093
2118
  id: string;
2094
- description: string;
2095
2119
  done: boolean;
2120
+ description: string;
2096
2121
  }[];
2097
- progress: {
2098
- complete: number;
2099
- total: number;
2100
- remaining: number;
2101
- };
2102
2122
  changeName: string;
2103
2123
  schemaName: string;
2104
2124
  evidence: {
@@ -2121,7 +2141,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2121
2141
  contractError?: string | undefined;
2122
2142
  root?: z.objectInputType<{
2123
2143
  path: z.ZodString;
2124
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2144
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2125
2145
  store_id: z.ZodOptional<z.ZodString>;
2126
2146
  }, z.ZodTypeAny, "passthrough"> | undefined;
2127
2147
  } & {
@@ -2130,6 +2150,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2130
2150
  changeDir: string;
2131
2151
  instruction: string;
2132
2152
  contextFiles: Record<string, string | string[]>;
2153
+ progress: {
2154
+ complete: number;
2155
+ total: number;
2156
+ remaining: number;
2157
+ };
2158
+ context?: string | undefined;
2133
2159
  references?: z.objectInputType<{
2134
2160
  store_id: z.ZodString;
2135
2161
  root: z.ZodOptional<z.ZodString>;
@@ -2166,6 +2192,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2166
2192
  fetch: z.ZodOptional<z.ZodString>;
2167
2193
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2168
2194
  missingArtifacts?: string[] | undefined;
2195
+ operationGuidance?: string[] | undefined;
2169
2196
  }>, z.ZodObject<{
2170
2197
  changeName: z.ZodString;
2171
2198
  changeDir: z.ZodString;
@@ -2177,12 +2204,12 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2177
2204
  done: z.ZodBoolean;
2178
2205
  }, "strip", z.ZodTypeAny, {
2179
2206
  id: string;
2180
- description: string;
2181
2207
  done: boolean;
2208
+ description: string;
2182
2209
  }, {
2183
2210
  id: string;
2184
- description: string;
2185
2211
  done: boolean;
2212
+ description: string;
2186
2213
  }>, "many">;
2187
2214
  state: z.ZodEnum<["blocked", "all_done", "ready"]>;
2188
2215
  missingArtifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2290,6 +2317,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2290
2317
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2291
2318
  fetch: z.ZodOptional<z.ZodString>;
2292
2319
  }, z.ZodTypeAny, "passthrough">>, "many">>;
2320
+ context: z.ZodOptional<z.ZodString>;
2321
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2293
2322
  evidence: z.ZodObject<{
2294
2323
  success: z.ZodBoolean;
2295
2324
  stdout: z.ZodString;
@@ -2325,15 +2354,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2325
2354
  }>;
2326
2355
  root: z.ZodOptional<z.ZodObject<{
2327
2356
  path: z.ZodString;
2328
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2357
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2329
2358
  store_id: z.ZodOptional<z.ZodString>;
2330
2359
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2331
2360
  path: z.ZodString;
2332
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2361
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2333
2362
  store_id: z.ZodOptional<z.ZodString>;
2334
2363
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2335
2364
  path: z.ZodString;
2336
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2365
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2337
2366
  store_id: z.ZodOptional<z.ZodString>;
2338
2367
  }, z.ZodTypeAny, "passthrough">>>;
2339
2368
  } & {
@@ -2373,15 +2402,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2373
2402
  }>;
2374
2403
  root: z.ZodOptional<z.ZodObject<{
2375
2404
  path: z.ZodString;
2376
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2405
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2377
2406
  store_id: z.ZodOptional<z.ZodString>;
2378
2407
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2379
2408
  path: z.ZodString;
2380
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2409
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2381
2410
  store_id: z.ZodOptional<z.ZodString>;
2382
2411
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2383
2412
  path: z.ZodString;
2384
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2413
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2385
2414
  store_id: z.ZodOptional<z.ZodString>;
2386
2415
  }, z.ZodTypeAny, "passthrough">>>;
2387
2416
  } & {
@@ -2421,15 +2450,15 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2421
2450
  }>;
2422
2451
  root: z.ZodOptional<z.ZodObject<{
2423
2452
  path: z.ZodString;
2424
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2453
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2425
2454
  store_id: z.ZodOptional<z.ZodString>;
2426
2455
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2427
2456
  path: z.ZodString;
2428
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2457
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2429
2458
  store_id: z.ZodOptional<z.ZodString>;
2430
2459
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2431
2460
  path: z.ZodString;
2432
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2461
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2433
2462
  store_id: z.ZodOptional<z.ZodString>;
2434
2463
  }, z.ZodTypeAny, "passthrough">>>;
2435
2464
  } & {
@@ -2549,8 +2578,8 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2549
2578
  state: "ready" | "blocked" | "all_done";
2550
2579
  tasks: {
2551
2580
  id: string;
2552
- description: string;
2553
2581
  done: boolean;
2582
+ description: string;
2554
2583
  }[];
2555
2584
  changeName: string;
2556
2585
  schemaName: string;
@@ -2574,7 +2603,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2574
2603
  contractError?: string | undefined;
2575
2604
  root?: z.objectOutputType<{
2576
2605
  path: z.ZodString;
2577
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2606
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2578
2607
  store_id: z.ZodOptional<z.ZodString>;
2579
2608
  }, z.ZodTypeAny, "passthrough"> | undefined;
2580
2609
  } & {
@@ -2605,6 +2634,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2605
2634
  };
2606
2635
  } | null;
2607
2636
  };
2637
+ context?: string | undefined;
2608
2638
  references?: z.objectOutputType<{
2609
2639
  store_id: z.ZodString;
2610
2640
  root: z.ZodOptional<z.ZodString>;
@@ -2641,12 +2671,13 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2641
2671
  fetch: z.ZodOptional<z.ZodString>;
2642
2672
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2643
2673
  missingArtifacts?: string[] | undefined;
2674
+ operationGuidance?: string[] | undefined;
2644
2675
  }, {
2645
2676
  state: "ready" | "blocked" | "all_done";
2646
2677
  tasks: {
2647
2678
  id: string;
2648
- description: string;
2649
2679
  done: boolean;
2680
+ description: string;
2650
2681
  }[];
2651
2682
  changeName: string;
2652
2683
  schemaName: string;
@@ -2670,7 +2701,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2670
2701
  contractError?: string | undefined;
2671
2702
  root?: z.objectInputType<{
2672
2703
  path: z.ZodString;
2673
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
2704
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2674
2705
  store_id: z.ZodOptional<z.ZodString>;
2675
2706
  }, z.ZodTypeAny, "passthrough"> | undefined;
2676
2707
  } & {
@@ -2701,6 +2732,7 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2701
2732
  };
2702
2733
  } | null;
2703
2734
  };
2735
+ context?: string | undefined;
2704
2736
  references?: z.objectInputType<{
2705
2737
  store_id: z.ZodString;
2706
2738
  root: z.ZodOptional<z.ZodString>;
@@ -2737,8 +2769,220 @@ declare const ApplyInstructionsSchema: z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2737
2769
  fetch: z.ZodOptional<z.ZodString>;
2738
2770
  }, z.ZodTypeAny, "passthrough">[] | undefined;
2739
2771
  missingArtifacts?: string[] | undefined;
2772
+ operationGuidance?: string[] | undefined;
2740
2773
  }>>;
2741
2774
  type ApplyInstructions = z.infer<typeof ApplyInstructionsSchema>;
2775
+ declare const ArchiveInstructionsSchema: z.ZodObject<{
2776
+ changeName: z.ZodString;
2777
+ context: z.ZodOptional<z.ZodString>;
2778
+ operationGuidance: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2779
+ evidence: z.ZodObject<{
2780
+ success: z.ZodBoolean;
2781
+ stdout: z.ZodString;
2782
+ stderr: z.ZodString;
2783
+ exitCode: z.ZodNullable<z.ZodNumber>;
2784
+ payload: z.ZodNullable<z.ZodType<CliJsonValue, z.ZodTypeDef, CliJsonValue>>;
2785
+ diagnostics: z.ZodArray<z.ZodObject<{
2786
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2787
+ code: z.ZodString;
2788
+ message: z.ZodString;
2789
+ target: z.ZodOptional<z.ZodString>;
2790
+ fix: z.ZodOptional<z.ZodString>;
2791
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2792
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2793
+ code: z.ZodString;
2794
+ message: z.ZodString;
2795
+ target: z.ZodOptional<z.ZodString>;
2796
+ fix: z.ZodOptional<z.ZodString>;
2797
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2798
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2799
+ code: z.ZodString;
2800
+ message: z.ZodString;
2801
+ target: z.ZodOptional<z.ZodString>;
2802
+ fix: z.ZodOptional<z.ZodString>;
2803
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2804
+ contractError: z.ZodOptional<z.ZodString>;
2805
+ selector: z.ZodObject<{
2806
+ store: z.ZodOptional<z.ZodString>;
2807
+ }, "strict", z.ZodTypeAny, {
2808
+ store?: string | undefined;
2809
+ }, {
2810
+ store?: string | undefined;
2811
+ }>;
2812
+ root: z.ZodOptional<z.ZodObject<{
2813
+ path: z.ZodString;
2814
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2815
+ store_id: z.ZodOptional<z.ZodString>;
2816
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2817
+ path: z.ZodString;
2818
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2819
+ store_id: z.ZodOptional<z.ZodString>;
2820
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2821
+ path: z.ZodString;
2822
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2823
+ store_id: z.ZodOptional<z.ZodString>;
2824
+ }, z.ZodTypeAny, "passthrough">>>;
2825
+ } & {
2826
+ command: z.ZodLiteral<"instructions archive">;
2827
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2828
+ success: z.ZodBoolean;
2829
+ stdout: z.ZodString;
2830
+ stderr: z.ZodString;
2831
+ exitCode: z.ZodNullable<z.ZodNumber>;
2832
+ payload: z.ZodNullable<z.ZodType<CliJsonValue, z.ZodTypeDef, CliJsonValue>>;
2833
+ diagnostics: z.ZodArray<z.ZodObject<{
2834
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2835
+ code: z.ZodString;
2836
+ message: z.ZodString;
2837
+ target: z.ZodOptional<z.ZodString>;
2838
+ fix: z.ZodOptional<z.ZodString>;
2839
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2840
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2841
+ code: z.ZodString;
2842
+ message: z.ZodString;
2843
+ target: z.ZodOptional<z.ZodString>;
2844
+ fix: z.ZodOptional<z.ZodString>;
2845
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2846
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2847
+ code: z.ZodString;
2848
+ message: z.ZodString;
2849
+ target: z.ZodOptional<z.ZodString>;
2850
+ fix: z.ZodOptional<z.ZodString>;
2851
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2852
+ contractError: z.ZodOptional<z.ZodString>;
2853
+ selector: z.ZodObject<{
2854
+ store: z.ZodOptional<z.ZodString>;
2855
+ }, "strict", z.ZodTypeAny, {
2856
+ store?: string | undefined;
2857
+ }, {
2858
+ store?: string | undefined;
2859
+ }>;
2860
+ root: z.ZodOptional<z.ZodObject<{
2861
+ path: z.ZodString;
2862
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2863
+ store_id: z.ZodOptional<z.ZodString>;
2864
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2865
+ path: z.ZodString;
2866
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2867
+ store_id: z.ZodOptional<z.ZodString>;
2868
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2869
+ path: z.ZodString;
2870
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2871
+ store_id: z.ZodOptional<z.ZodString>;
2872
+ }, z.ZodTypeAny, "passthrough">>>;
2873
+ } & {
2874
+ command: z.ZodLiteral<"instructions archive">;
2875
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2876
+ success: z.ZodBoolean;
2877
+ stdout: z.ZodString;
2878
+ stderr: z.ZodString;
2879
+ exitCode: z.ZodNullable<z.ZodNumber>;
2880
+ payload: z.ZodNullable<z.ZodType<CliJsonValue, z.ZodTypeDef, CliJsonValue>>;
2881
+ diagnostics: z.ZodArray<z.ZodObject<{
2882
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2883
+ code: z.ZodString;
2884
+ message: z.ZodString;
2885
+ target: z.ZodOptional<z.ZodString>;
2886
+ fix: z.ZodOptional<z.ZodString>;
2887
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2888
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2889
+ code: z.ZodString;
2890
+ message: z.ZodString;
2891
+ target: z.ZodOptional<z.ZodString>;
2892
+ fix: z.ZodOptional<z.ZodString>;
2893
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2894
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2895
+ code: z.ZodString;
2896
+ message: z.ZodString;
2897
+ target: z.ZodOptional<z.ZodString>;
2898
+ fix: z.ZodOptional<z.ZodString>;
2899
+ }, z.ZodTypeAny, "passthrough">>, "many">;
2900
+ contractError: z.ZodOptional<z.ZodString>;
2901
+ selector: z.ZodObject<{
2902
+ store: z.ZodOptional<z.ZodString>;
2903
+ }, "strict", z.ZodTypeAny, {
2904
+ store?: string | undefined;
2905
+ }, {
2906
+ store?: string | undefined;
2907
+ }>;
2908
+ root: z.ZodOptional<z.ZodObject<{
2909
+ path: z.ZodString;
2910
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2911
+ store_id: z.ZodOptional<z.ZodString>;
2912
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2913
+ path: z.ZodString;
2914
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2915
+ store_id: z.ZodOptional<z.ZodString>;
2916
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2917
+ path: z.ZodString;
2918
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2919
+ store_id: z.ZodOptional<z.ZodString>;
2920
+ }, z.ZodTypeAny, "passthrough">>>;
2921
+ } & {
2922
+ command: z.ZodLiteral<"instructions archive">;
2923
+ }, z.ZodTypeAny, "passthrough">>;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ changeName: string;
2926
+ evidence: {
2927
+ success: boolean;
2928
+ stdout: string;
2929
+ stderr: string;
2930
+ exitCode: number | null;
2931
+ payload: CliJsonValue;
2932
+ diagnostics: z.objectOutputType<{
2933
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2934
+ code: z.ZodString;
2935
+ message: z.ZodString;
2936
+ target: z.ZodOptional<z.ZodString>;
2937
+ fix: z.ZodOptional<z.ZodString>;
2938
+ }, z.ZodTypeAny, "passthrough">[];
2939
+ command: "instructions archive";
2940
+ selector: {
2941
+ store?: string | undefined;
2942
+ };
2943
+ contractError?: string | undefined;
2944
+ root?: z.objectOutputType<{
2945
+ path: z.ZodString;
2946
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2947
+ store_id: z.ZodOptional<z.ZodString>;
2948
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2949
+ } & {
2950
+ [k: string]: unknown;
2951
+ };
2952
+ context?: string | undefined;
2953
+ operationGuidance?: string[] | undefined;
2954
+ }, {
2955
+ changeName: string;
2956
+ evidence: {
2957
+ success: boolean;
2958
+ stdout: string;
2959
+ stderr: string;
2960
+ exitCode: number | null;
2961
+ payload: CliJsonValue;
2962
+ diagnostics: z.objectInputType<{
2963
+ severity: z.ZodEnum<["error", "warning", "info"]>;
2964
+ code: z.ZodString;
2965
+ message: z.ZodString;
2966
+ target: z.ZodOptional<z.ZodString>;
2967
+ fix: z.ZodOptional<z.ZodString>;
2968
+ }, z.ZodTypeAny, "passthrough">[];
2969
+ command: "instructions archive";
2970
+ selector: {
2971
+ store?: string | undefined;
2972
+ };
2973
+ contractError?: string | undefined;
2974
+ root?: z.objectInputType<{
2975
+ path: z.ZodString;
2976
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2977
+ store_id: z.ZodOptional<z.ZodString>;
2978
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2979
+ } & {
2980
+ [k: string]: unknown;
2981
+ };
2982
+ context?: string | undefined;
2983
+ operationGuidance?: string[] | undefined;
2984
+ }>;
2985
+ type ArchiveInstructions = z.infer<typeof ArchiveInstructionsSchema>;
2742
2986
  declare const ArtifactInstructionsSchema: z.ZodObject<{
2743
2987
  changeName: z.ZodString;
2744
2988
  artifactId: z.ZodString;
@@ -2755,16 +2999,19 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2755
2999
  done: z.ZodBoolean;
2756
3000
  path: z.ZodString;
2757
3001
  description: z.ZodString;
3002
+ skipped: z.ZodOptional<z.ZodBoolean>;
2758
3003
  }, "strip", z.ZodTypeAny, {
2759
3004
  path: string;
2760
3005
  id: string;
2761
- description: string;
2762
3006
  done: boolean;
3007
+ description: string;
3008
+ skipped?: boolean | undefined;
2763
3009
  }, {
2764
3010
  path: string;
2765
3011
  id: string;
2766
- description: string;
2767
3012
  done: boolean;
3013
+ description: string;
3014
+ skipped?: boolean | undefined;
2768
3015
  }>, "many">;
2769
3016
  unlocks: z.ZodArray<z.ZodString, "many">;
2770
3017
  references: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2905,15 +3152,15 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2905
3152
  }>;
2906
3153
  root: z.ZodOptional<z.ZodObject<{
2907
3154
  path: z.ZodString;
2908
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3155
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2909
3156
  store_id: z.ZodOptional<z.ZodString>;
2910
3157
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2911
3158
  path: z.ZodString;
2912
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3159
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2913
3160
  store_id: z.ZodOptional<z.ZodString>;
2914
3161
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2915
3162
  path: z.ZodString;
2916
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3163
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2917
3164
  store_id: z.ZodOptional<z.ZodString>;
2918
3165
  }, z.ZodTypeAny, "passthrough">>>;
2919
3166
  } & {
@@ -2953,15 +3200,15 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
2953
3200
  }>;
2954
3201
  root: z.ZodOptional<z.ZodObject<{
2955
3202
  path: z.ZodString;
2956
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3203
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2957
3204
  store_id: z.ZodOptional<z.ZodString>;
2958
3205
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2959
3206
  path: z.ZodString;
2960
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3207
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2961
3208
  store_id: z.ZodOptional<z.ZodString>;
2962
3209
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2963
3210
  path: z.ZodString;
2964
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3211
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
2965
3212
  store_id: z.ZodOptional<z.ZodString>;
2966
3213
  }, z.ZodTypeAny, "passthrough">>>;
2967
3214
  } & {
@@ -3001,15 +3248,15 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3001
3248
  }>;
3002
3249
  root: z.ZodOptional<z.ZodObject<{
3003
3250
  path: z.ZodString;
3004
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3251
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3005
3252
  store_id: z.ZodOptional<z.ZodString>;
3006
3253
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3007
3254
  path: z.ZodString;
3008
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3255
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3009
3256
  store_id: z.ZodOptional<z.ZodString>;
3010
3257
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3011
3258
  path: z.ZodString;
3012
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3259
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3013
3260
  store_id: z.ZodOptional<z.ZodString>;
3014
3261
  }, z.ZodTypeAny, "passthrough">>>;
3015
3262
  } & {
@@ -3018,8 +3265,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3018
3265
  }, "strip", z.ZodTypeAny, {
3019
3266
  artifactId: string;
3020
3267
  outputPath: string;
3021
- description: string;
3022
- template: string;
3023
3268
  changeName: string;
3024
3269
  schemaName: string;
3025
3270
  evidence: {
@@ -3042,22 +3287,25 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3042
3287
  contractError?: string | undefined;
3043
3288
  root?: z.objectOutputType<{
3044
3289
  path: z.ZodString;
3045
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3290
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3046
3291
  store_id: z.ZodOptional<z.ZodString>;
3047
3292
  }, z.ZodTypeAny, "passthrough"> | undefined;
3048
3293
  } & {
3049
3294
  [k: string]: unknown;
3050
3295
  };
3051
3296
  changeDir: string;
3297
+ description: string;
3298
+ template: string;
3052
3299
  dependencies: {
3053
3300
  path: string;
3054
3301
  id: string;
3055
- description: string;
3056
3302
  done: boolean;
3303
+ description: string;
3304
+ skipped?: boolean | undefined;
3057
3305
  }[];
3058
3306
  unlocks: string[];
3059
- context?: string | null | undefined;
3060
3307
  instruction?: string | null | undefined;
3308
+ context?: string | null | undefined;
3061
3309
  rules?: string[] | null | undefined;
3062
3310
  references?: z.objectOutputType<{
3063
3311
  store_id: z.ZodString;
@@ -3097,8 +3345,6 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3097
3345
  }, {
3098
3346
  artifactId: string;
3099
3347
  outputPath: string;
3100
- description: string;
3101
- template: string;
3102
3348
  changeName: string;
3103
3349
  schemaName: string;
3104
3350
  evidence: {
@@ -3121,22 +3367,25 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
3121
3367
  contractError?: string | undefined;
3122
3368
  root?: z.objectInputType<{
3123
3369
  path: z.ZodString;
3124
- source: z.ZodEnum<["store", "declared", "nearest", "implicit"]>;
3370
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
3125
3371
  store_id: z.ZodOptional<z.ZodString>;
3126
3372
  }, z.ZodTypeAny, "passthrough"> | undefined;
3127
3373
  } & {
3128
3374
  [k: string]: unknown;
3129
3375
  };
3130
3376
  changeDir: string;
3377
+ description: string;
3378
+ template: string;
3131
3379
  dependencies: {
3132
3380
  path: string;
3133
3381
  id: string;
3134
- description: string;
3135
3382
  done: boolean;
3383
+ description: string;
3384
+ skipped?: boolean | undefined;
3136
3385
  }[];
3137
3386
  unlocks: string[];
3138
- context?: string | null | undefined;
3139
3387
  instruction?: string | null | undefined;
3388
+ context?: string | null | undefined;
3140
3389
  rules?: string[] | null | undefined;
3141
3390
  references?: z.objectInputType<{
3142
3391
  store_id: z.ZodString;
@@ -3292,15 +3541,15 @@ declare const SchemaArtifactSchema: z.ZodObject<{
3292
3541
  outputPath: string;
3293
3542
  requires: string[];
3294
3543
  description?: string | undefined;
3295
- template?: string | undefined;
3296
3544
  instruction?: string | undefined;
3545
+ template?: string | undefined;
3297
3546
  }, {
3298
3547
  id: string;
3299
3548
  outputPath: string;
3300
3549
  requires: string[];
3301
3550
  description?: string | undefined;
3302
- template?: string | undefined;
3303
3551
  instruction?: string | undefined;
3552
+ template?: string | undefined;
3304
3553
  }>;
3305
3554
  type SchemaArtifact = z.infer<typeof SchemaArtifactSchema>;
3306
3555
  declare const SchemaDetailSchema: z.ZodObject<{
@@ -3319,15 +3568,15 @@ declare const SchemaDetailSchema: z.ZodObject<{
3319
3568
  outputPath: string;
3320
3569
  requires: string[];
3321
3570
  description?: string | undefined;
3322
- template?: string | undefined;
3323
3571
  instruction?: string | undefined;
3572
+ template?: string | undefined;
3324
3573
  }, {
3325
3574
  id: string;
3326
3575
  outputPath: string;
3327
3576
  requires: string[];
3328
3577
  description?: string | undefined;
3329
- template?: string | undefined;
3330
3578
  instruction?: string | undefined;
3579
+ template?: string | undefined;
3331
3580
  }>, "many">;
3332
3581
  applyRequires: z.ZodArray<z.ZodString, "many">;
3333
3582
  applyTracks: z.ZodOptional<z.ZodString>;
@@ -3340,8 +3589,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3340
3589
  outputPath: string;
3341
3590
  requires: string[];
3342
3591
  description?: string | undefined;
3343
- template?: string | undefined;
3344
3592
  instruction?: string | undefined;
3593
+ template?: string | undefined;
3345
3594
  }[];
3346
3595
  description?: string | undefined;
3347
3596
  version?: string | number | undefined;
@@ -3355,8 +3604,8 @@ declare const SchemaDetailSchema: z.ZodObject<{
3355
3604
  outputPath: string;
3356
3605
  requires: string[];
3357
3606
  description?: string | undefined;
3358
- template?: string | undefined;
3359
3607
  instruction?: string | undefined;
3608
+ template?: string | undefined;
3360
3609
  }[];
3361
3610
  description?: string | undefined;
3362
3611
  version?: string | number | undefined;
@@ -3398,15 +3647,15 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3398
3647
  outputPath: string;
3399
3648
  requires: string[];
3400
3649
  description?: string | undefined;
3401
- template?: string | undefined;
3402
3650
  instruction?: string | undefined;
3651
+ template?: string | undefined;
3403
3652
  }, {
3404
3653
  id: string;
3405
3654
  outputPath: string;
3406
3655
  requires: string[];
3407
3656
  description?: string | undefined;
3408
- template?: string | undefined;
3409
3657
  instruction?: string | undefined;
3658
+ template?: string | undefined;
3410
3659
  }>, "many">;
3411
3660
  applyRequires: z.ZodArray<z.ZodString, "many">;
3412
3661
  applyTracks: z.ZodOptional<z.ZodString>;
@@ -3419,8 +3668,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3419
3668
  outputPath: string;
3420
3669
  requires: string[];
3421
3670
  description?: string | undefined;
3422
- template?: string | undefined;
3423
3671
  instruction?: string | undefined;
3672
+ template?: string | undefined;
3424
3673
  }[];
3425
3674
  description?: string | undefined;
3426
3675
  version?: string | number | undefined;
@@ -3434,8 +3683,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3434
3683
  outputPath: string;
3435
3684
  requires: string[];
3436
3685
  description?: string | undefined;
3437
- template?: string | undefined;
3438
3686
  instruction?: string | undefined;
3687
+ template?: string | undefined;
3439
3688
  }[];
3440
3689
  description?: string | undefined;
3441
3690
  version?: string | number | undefined;
@@ -3524,8 +3773,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3524
3773
  outputPath: string;
3525
3774
  requires: string[];
3526
3775
  description?: string | undefined;
3527
- template?: string | undefined;
3528
3776
  instruction?: string | undefined;
3777
+ template?: string | undefined;
3529
3778
  }[];
3530
3779
  description?: string | undefined;
3531
3780
  version?: string | number | undefined;
@@ -3570,8 +3819,8 @@ declare const OpsxConfigBundleSchema: z.ZodObject<{
3570
3819
  outputPath: string;
3571
3820
  requires: string[];
3572
3821
  description?: string | undefined;
3573
- template?: string | undefined;
3574
3822
  instruction?: string | undefined;
3823
+ template?: string | undefined;
3575
3824
  }[];
3576
3825
  description?: string | undefined;
3577
3826
  version?: string | number | undefined;
@@ -3639,4 +3888,4 @@ declare const TemplateContentMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3639
3888
  }>>;
3640
3889
  type TemplateContentMap = z.infer<typeof TemplateContentMapSchema>;
3641
3890
  //#endregion
3642
- export { projectTaskProjectionsFromMarkdownFiles as $, TemplateContentMapSchema as A, TaskProjectionOptions as B, SchemaDetail as C, SchemaResolution as D, SchemaInfoSchema as E, ApplyInstructionDivergence as F, TrackedTaskProgress as G, TrackedTask as H, ApplyInstructionProgress as I, createDocumentChecklistSummary as J, TrackedTaskSource as K, ApplyInstructionState as L, TemplatesMap as M, TemplatesSchema as N, SchemaResolutionSchema as O, isGlobPattern as P, parseMarkdownTasks as Q, DocumentChecklistGroup as R, SchemaArtifactSchema as S, SchemaInfo as T, TrackedTaskLocation as U, TaskProjections as V, TrackedTaskPhase as W, deriveTrackedTaskPhase as X, createTrackedTaskProgress as Y, isMarkdownTaskSourcePath as Z, OpsxConfigBundle as _, ApplyTask as a, OpsxStatusEvidenceSchema as b, ArtifactInstructionsSchema as c, ChangeStatus as d, toggleMarkdownTask as et, ChangeStatusSchema as f, OpsxCliEvidenceSchema as g, OpsxCliEvidence as h, ApplyInstructionsSchema as i, TemplateContentSchema as j, TemplateContentMap as k, ArtifactStatus as l, DependencyInfoSchema as m, ApplyInstructionsContextFilesSchema as n, ApplyTaskSchema as o, DependencyInfo as p, createApplyInstructionProgress as q, ApplyInstructionsProjectionSchema as r, ArtifactInstructions as s, ApplyInstructions as t, ArtifactStatusSchema as u, OpsxConfigBundleSchema as v, SchemaDetailSchema as w, SchemaArtifact as x, OpsxStatusEvidence as y, DocumentChecklistSummary as z };
3891
+ export { isMarkdownTaskSourcePath as $, SchemaResolutionSchema as A, DocumentChecklistGroup as B, SchemaArtifact as C, SchemaInfo as D, SchemaDetailSchema as E, TemplatesSchema as F, TrackedTaskLocation as G, TaskProjectionOptions as H, isGlobPattern as I, TrackedTaskSource as J, TrackedTaskPhase as K, ApplyInstructionDivergence as L, TemplateContentMapSchema as M, TemplateContentSchema as N, SchemaInfoSchema as O, TemplatesMap as P, deriveTrackedTaskPhase as Q, ApplyInstructionProgress as R, OpsxStatusEvidenceSchema as S, SchemaDetail as T, TaskProjections as U, DocumentChecklistSummary as V, TrackedTask as W, createDocumentChecklistSummary as X, createApplyInstructionProgress as Y, createTrackedTaskProgress as Z, OpsxCliEvidence as _, ApplyTask as a, OpsxConfigBundleSchema as b, ArchiveInstructionsSchema as c, ArtifactStatus as d, parseMarkdownTasks as et, ArtifactStatusSchema as f, DependencyInfoSchema as g, DependencyInfo as h, ApplyInstructionsSchema as i, TemplateContentMap as j, SchemaResolution as k, ArtifactInstructions as l, ChangeStatusSchema as m, ApplyInstructionsContextFilesSchema as n, toggleMarkdownTask as nt, ApplyTaskSchema as o, ChangeStatus as p, TrackedTaskProgress as q, ApplyInstructionsProjectionSchema as r, ArchiveInstructions as s, ApplyInstructions as t, projectTaskProjectionsFromMarkdownFiles as tt, ArtifactInstructionsSchema as u, OpsxCliEvidenceSchema as v, SchemaArtifactSchema as w, OpsxStatusEvidence as x, OpsxConfigBundle as y, ApplyInstructionState as z };