@openspecui/core 11.0.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{active-root-config-B-ZjoeVr.d.mts → active-root-config-Ba57tJrq.d.mts} +7 -7
  2. package/dist/active-root-config.d.mts +4 -4
  3. package/dist/app-daemon-control.d.mts +10 -10
  4. package/dist/{cli-projection-CpEtZ-tN.d.mts → cli-projection-CvtX601c.d.mts} +1 -1
  5. package/dist/cli-projection.d.mts +4 -4
  6. package/dist/{command-result-DWMmDl6I.mjs → command-result-DbXO8ZgG.mjs} +106 -13
  7. package/dist/{dashboard-summary-transport-Cv-UaYcc.d.mts → dashboard-summary-transport-edeWQPi7.d.mts} +194 -139
  8. package/dist/dashboard-summary-transport.d.mts +17 -17
  9. package/dist/hosted-app.d.mts +17 -17
  10. package/dist/hosted-contract.d.mts +17 -17
  11. package/dist/{index-BXSLb96t.d.mts → index-D9qYKNqh.d.mts} +2048 -22
  12. package/dist/index.d.mts +18 -18
  13. package/dist/index.mjs +127 -59
  14. package/dist/{local-download-profiles-C9LmIa9_.d.mts → local-download-profiles-DaFozMhH.d.mts} +1 -1
  15. package/dist/local-download-profiles.d.mts +2 -2
  16. package/dist/{notifications-C_Dvqaej.d.mts → notifications-Dkoh_xrs.d.mts} +1 -1
  17. package/dist/notifications.d.mts +2 -2
  18. package/dist/{openspec-compat-DctIDxRM.mjs → openspec-compat-CpMO8-dz.mjs} +20 -16
  19. package/dist/openspec-compat.d.mts +4 -4
  20. package/dist/openspec-compat.mjs +3 -3
  21. package/dist/{openspec-projection-DTu73p25.d.mts → openspec-projection-46QLZ6b8.d.mts} +1 -1
  22. package/dist/openspec-projection.d.mts +2 -2
  23. package/dist/{opsx-entity-Cq5yqzjd.d.mts → opsx-entity-Btqm5OhC.d.mts} +2 -2
  24. package/dist/opsx-entity.d.mts +6 -6
  25. package/dist/{opsx-schema-detail-DwKh5cRx.d.mts → opsx-schema-detail-C4VyWZ8B.d.mts} +2 -2
  26. package/dist/opsx-schema-detail.d.mts +7 -7
  27. package/dist/{opsx-types-Dxq7Yyjz.d.mts → opsx-types-hVFHL9Cb.d.mts} +2 -2
  28. package/dist/{planning-cli-projection-pq8vZC1r.mjs → planning-cli-projection-BUU26bEw.mjs} +2 -2
  29. package/dist/planning-cli-projection.d.mts +17 -17
  30. package/dist/planning-cli-projection.mjs +3 -3
  31. package/dist/{schemas-7hc46y5c.d.mts → schemas-Ce7B_SNx.d.mts} +2 -2
  32. package/dist/{sounds-B0GiWqBN.d.mts → sounds-DzDkqTIX.d.mts} +4 -4
  33. package/dist/sounds.d.mts +1 -1
  34. package/dist/{spec-catalog-BkX0tZp9.mjs → spec-catalog-DshONoJ9.mjs} +31 -2
  35. package/dist/spec-catalog.d.mts +17 -17
  36. package/dist/spec-catalog.mjs +2 -2
  37. package/dist/{store-mutation-protocol-BriXl_0I.d.mts → store-mutation-protocol-DHjp76v0.d.mts} +12 -12
  38. package/dist/store-mutation-protocol.d.mts +1 -1
  39. package/dist/{store-types-C4d1cqYC.d.mts → store-types-vKTsXtfb.d.mts} +1 -1
  40. package/dist/store-types.d.mts +4 -4
  41. package/dist/task-progress.d.mts +5 -5
  42. package/dist/{terminal-audio-BpfUW_eB.d.mts → terminal-audio-C6kc0fbX.d.mts} +1 -1
  43. package/dist/terminal-audio.d.mts +2 -2
  44. package/dist/terminal-control.d.mts +2 -2
  45. package/dist/{terminal-invocation-B2F24Dw6.d.mts → terminal-invocation-zNp8J57-.d.mts} +12 -12
  46. package/dist/terminal-invocation.d.mts +1 -1
  47. package/dist/{translator-CLbxLmcj.d.mts → translator-DZO_bY1X.d.mts} +50 -50
  48. package/dist/translator.d.mts +1 -1
  49. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import { o as DocumentTranslationConfigUpdate } from "./document-translation-CGMD0RLA.mjs";
2
- import { p as NotificationSettings } from "./notifications-C_Dvqaej.mjs";
2
+ import { p as NotificationSettings } from "./notifications-Dkoh_xrs.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/cli-contracts/batch-status.d.ts
@@ -6145,6 +6145,1989 @@ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{
6145
6145
  fix: z.ZodOptional<z.ZodString>;
6146
6146
  }, z.ZodTypeAny, "passthrough">>, "many">;
6147
6147
  }, z.ZodTypeAny, "passthrough">>]>;
6148
+ /**
6149
+ * Typed OpenSpec 1.12 `validate --report findings` document.
6150
+ *
6151
+ * The findings report is a filtered evidence transport beside the full report, never the
6152
+ * validation truth: `itemFindings` carries only items with issues, while `summary` and
6153
+ * `root` stay the full-run values the CLI computed over every item in scope.
6154
+ * `report.returnedItems`/`report.totalItems` distinguish the filtered view from the run
6155
+ * size, and the process exit code keeps the full-run rule (`failed > 0 -> 1`), so decoding
6156
+ * never consults it. An empty scope is the success document
6157
+ * `{ returnedItems: 0, totalItems: 0, itemFindings: [] }`, not a failure sum type.
6158
+ *
6159
+ * Two upstream-guaranteed invariants are decode-level facts (pinned v1.12.0
6160
+ * `projectValidationFindings`): every `itemFindings` entry carries at least one issue
6161
+ * (upstream filters `item.issues.length > 0`), and `returnedItems` never exceeds
6162
+ * `totalItems` (the filtered view is a subset of the full run). Upstream also happens to
6163
+ * set `returnedItems === itemFindings.length` today; that equality stays unasserted so a
6164
+ * future patch-level count adjustment inside the admitted range cannot fabricate a
6165
+ * contract error out of otherwise well-formed CLI evidence.
6166
+ */
6167
+ declare const CliValidateFindingsSchema: z.ZodEffects<z.ZodObject<{
6168
+ report: z.ZodObject<{
6169
+ kind: z.ZodLiteral<"validation-findings">;
6170
+ version: z.ZodString;
6171
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6172
+ returnedItems: z.ZodNumber;
6173
+ totalItems: z.ZodNumber;
6174
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6175
+ kind: z.ZodLiteral<"validation-findings">;
6176
+ version: z.ZodString;
6177
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6178
+ returnedItems: z.ZodNumber;
6179
+ totalItems: z.ZodNumber;
6180
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6181
+ kind: z.ZodLiteral<"validation-findings">;
6182
+ version: z.ZodString;
6183
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6184
+ returnedItems: z.ZodNumber;
6185
+ totalItems: z.ZodNumber;
6186
+ }, z.ZodTypeAny, "passthrough">>;
6187
+ itemFindings: z.ZodArray<z.ZodObject<{
6188
+ id: z.ZodString;
6189
+ type: z.ZodEnum<["change", "spec"]>;
6190
+ valid: z.ZodBoolean;
6191
+ issues: z.ZodArray<z.ZodObject<{
6192
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6193
+ path: z.ZodString;
6194
+ message: z.ZodString;
6195
+ line: z.ZodOptional<z.ZodNumber>;
6196
+ column: z.ZodOptional<z.ZodNumber>;
6197
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6198
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6199
+ path: z.ZodString;
6200
+ message: z.ZodString;
6201
+ line: z.ZodOptional<z.ZodNumber>;
6202
+ column: z.ZodOptional<z.ZodNumber>;
6203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6204
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6205
+ path: z.ZodString;
6206
+ message: z.ZodString;
6207
+ line: z.ZodOptional<z.ZodNumber>;
6208
+ column: z.ZodOptional<z.ZodNumber>;
6209
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6210
+ durationMs: z.ZodNumber;
6211
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6212
+ id: z.ZodString;
6213
+ type: z.ZodEnum<["change", "spec"]>;
6214
+ valid: z.ZodBoolean;
6215
+ issues: z.ZodArray<z.ZodObject<{
6216
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6217
+ path: z.ZodString;
6218
+ message: z.ZodString;
6219
+ line: z.ZodOptional<z.ZodNumber>;
6220
+ column: z.ZodOptional<z.ZodNumber>;
6221
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6222
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6223
+ path: z.ZodString;
6224
+ message: z.ZodString;
6225
+ line: z.ZodOptional<z.ZodNumber>;
6226
+ column: z.ZodOptional<z.ZodNumber>;
6227
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6228
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6229
+ path: z.ZodString;
6230
+ message: z.ZodString;
6231
+ line: z.ZodOptional<z.ZodNumber>;
6232
+ column: z.ZodOptional<z.ZodNumber>;
6233
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6234
+ durationMs: z.ZodNumber;
6235
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6236
+ id: z.ZodString;
6237
+ type: z.ZodEnum<["change", "spec"]>;
6238
+ valid: z.ZodBoolean;
6239
+ issues: z.ZodArray<z.ZodObject<{
6240
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6241
+ path: z.ZodString;
6242
+ message: z.ZodString;
6243
+ line: z.ZodOptional<z.ZodNumber>;
6244
+ column: z.ZodOptional<z.ZodNumber>;
6245
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6246
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6247
+ path: z.ZodString;
6248
+ message: z.ZodString;
6249
+ line: z.ZodOptional<z.ZodNumber>;
6250
+ column: z.ZodOptional<z.ZodNumber>;
6251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6252
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6253
+ path: z.ZodString;
6254
+ message: z.ZodString;
6255
+ line: z.ZodOptional<z.ZodNumber>;
6256
+ column: z.ZodOptional<z.ZodNumber>;
6257
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6258
+ durationMs: z.ZodNumber;
6259
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6260
+ summary: z.ZodObject<{
6261
+ totals: z.ZodObject<{
6262
+ items: z.ZodNumber;
6263
+ passed: z.ZodNumber;
6264
+ failed: z.ZodNumber;
6265
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6266
+ items: z.ZodNumber;
6267
+ passed: z.ZodNumber;
6268
+ failed: z.ZodNumber;
6269
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6270
+ items: z.ZodNumber;
6271
+ passed: z.ZodNumber;
6272
+ failed: z.ZodNumber;
6273
+ }, z.ZodTypeAny, "passthrough">>;
6274
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6275
+ items: z.ZodNumber;
6276
+ passed: z.ZodNumber;
6277
+ failed: z.ZodNumber;
6278
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6279
+ items: z.ZodNumber;
6280
+ passed: z.ZodNumber;
6281
+ failed: z.ZodNumber;
6282
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6283
+ items: z.ZodNumber;
6284
+ passed: z.ZodNumber;
6285
+ failed: z.ZodNumber;
6286
+ }, z.ZodTypeAny, "passthrough">>>;
6287
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6288
+ totals: z.ZodObject<{
6289
+ items: z.ZodNumber;
6290
+ passed: z.ZodNumber;
6291
+ failed: z.ZodNumber;
6292
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6293
+ items: z.ZodNumber;
6294
+ passed: z.ZodNumber;
6295
+ failed: z.ZodNumber;
6296
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6297
+ items: z.ZodNumber;
6298
+ passed: z.ZodNumber;
6299
+ failed: z.ZodNumber;
6300
+ }, z.ZodTypeAny, "passthrough">>;
6301
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6302
+ items: z.ZodNumber;
6303
+ passed: z.ZodNumber;
6304
+ failed: z.ZodNumber;
6305
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6306
+ items: z.ZodNumber;
6307
+ passed: z.ZodNumber;
6308
+ failed: z.ZodNumber;
6309
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6310
+ items: z.ZodNumber;
6311
+ passed: z.ZodNumber;
6312
+ failed: z.ZodNumber;
6313
+ }, z.ZodTypeAny, "passthrough">>>;
6314
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6315
+ totals: z.ZodObject<{
6316
+ items: z.ZodNumber;
6317
+ passed: z.ZodNumber;
6318
+ failed: z.ZodNumber;
6319
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6320
+ items: z.ZodNumber;
6321
+ passed: z.ZodNumber;
6322
+ failed: z.ZodNumber;
6323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6324
+ items: z.ZodNumber;
6325
+ passed: z.ZodNumber;
6326
+ failed: z.ZodNumber;
6327
+ }, z.ZodTypeAny, "passthrough">>;
6328
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6329
+ items: z.ZodNumber;
6330
+ passed: z.ZodNumber;
6331
+ failed: z.ZodNumber;
6332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6333
+ items: z.ZodNumber;
6334
+ passed: z.ZodNumber;
6335
+ failed: z.ZodNumber;
6336
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6337
+ items: z.ZodNumber;
6338
+ passed: z.ZodNumber;
6339
+ failed: z.ZodNumber;
6340
+ }, z.ZodTypeAny, "passthrough">>>;
6341
+ }, z.ZodTypeAny, "passthrough">>;
6342
+ root: z.ZodObject<{
6343
+ path: z.ZodString;
6344
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6345
+ store_id: z.ZodOptional<z.ZodString>;
6346
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6347
+ path: z.ZodString;
6348
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6349
+ store_id: z.ZodOptional<z.ZodString>;
6350
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6351
+ path: z.ZodString;
6352
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6353
+ store_id: z.ZodOptional<z.ZodString>;
6354
+ }, z.ZodTypeAny, "passthrough">>;
6355
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6356
+ report: z.ZodObject<{
6357
+ kind: z.ZodLiteral<"validation-findings">;
6358
+ version: z.ZodString;
6359
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6360
+ returnedItems: z.ZodNumber;
6361
+ totalItems: z.ZodNumber;
6362
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6363
+ kind: z.ZodLiteral<"validation-findings">;
6364
+ version: z.ZodString;
6365
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6366
+ returnedItems: z.ZodNumber;
6367
+ totalItems: z.ZodNumber;
6368
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6369
+ kind: z.ZodLiteral<"validation-findings">;
6370
+ version: z.ZodString;
6371
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6372
+ returnedItems: z.ZodNumber;
6373
+ totalItems: z.ZodNumber;
6374
+ }, z.ZodTypeAny, "passthrough">>;
6375
+ itemFindings: z.ZodArray<z.ZodObject<{
6376
+ id: z.ZodString;
6377
+ type: z.ZodEnum<["change", "spec"]>;
6378
+ valid: z.ZodBoolean;
6379
+ issues: z.ZodArray<z.ZodObject<{
6380
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6381
+ path: z.ZodString;
6382
+ message: z.ZodString;
6383
+ line: z.ZodOptional<z.ZodNumber>;
6384
+ column: z.ZodOptional<z.ZodNumber>;
6385
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6386
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6387
+ path: z.ZodString;
6388
+ message: z.ZodString;
6389
+ line: z.ZodOptional<z.ZodNumber>;
6390
+ column: z.ZodOptional<z.ZodNumber>;
6391
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6392
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6393
+ path: z.ZodString;
6394
+ message: z.ZodString;
6395
+ line: z.ZodOptional<z.ZodNumber>;
6396
+ column: z.ZodOptional<z.ZodNumber>;
6397
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6398
+ durationMs: z.ZodNumber;
6399
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6400
+ id: z.ZodString;
6401
+ type: z.ZodEnum<["change", "spec"]>;
6402
+ valid: z.ZodBoolean;
6403
+ issues: z.ZodArray<z.ZodObject<{
6404
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6405
+ path: z.ZodString;
6406
+ message: z.ZodString;
6407
+ line: z.ZodOptional<z.ZodNumber>;
6408
+ column: z.ZodOptional<z.ZodNumber>;
6409
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6410
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6411
+ path: z.ZodString;
6412
+ message: z.ZodString;
6413
+ line: z.ZodOptional<z.ZodNumber>;
6414
+ column: z.ZodOptional<z.ZodNumber>;
6415
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6416
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6417
+ path: z.ZodString;
6418
+ message: z.ZodString;
6419
+ line: z.ZodOptional<z.ZodNumber>;
6420
+ column: z.ZodOptional<z.ZodNumber>;
6421
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6422
+ durationMs: z.ZodNumber;
6423
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6424
+ id: z.ZodString;
6425
+ type: z.ZodEnum<["change", "spec"]>;
6426
+ valid: z.ZodBoolean;
6427
+ issues: z.ZodArray<z.ZodObject<{
6428
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6429
+ path: z.ZodString;
6430
+ message: z.ZodString;
6431
+ line: z.ZodOptional<z.ZodNumber>;
6432
+ column: z.ZodOptional<z.ZodNumber>;
6433
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6434
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6435
+ path: z.ZodString;
6436
+ message: z.ZodString;
6437
+ line: z.ZodOptional<z.ZodNumber>;
6438
+ column: z.ZodOptional<z.ZodNumber>;
6439
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6440
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6441
+ path: z.ZodString;
6442
+ message: z.ZodString;
6443
+ line: z.ZodOptional<z.ZodNumber>;
6444
+ column: z.ZodOptional<z.ZodNumber>;
6445
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6446
+ durationMs: z.ZodNumber;
6447
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6448
+ summary: z.ZodObject<{
6449
+ totals: z.ZodObject<{
6450
+ items: z.ZodNumber;
6451
+ passed: z.ZodNumber;
6452
+ failed: z.ZodNumber;
6453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6454
+ items: z.ZodNumber;
6455
+ passed: z.ZodNumber;
6456
+ failed: z.ZodNumber;
6457
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6458
+ items: z.ZodNumber;
6459
+ passed: z.ZodNumber;
6460
+ failed: z.ZodNumber;
6461
+ }, z.ZodTypeAny, "passthrough">>;
6462
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6463
+ items: z.ZodNumber;
6464
+ passed: z.ZodNumber;
6465
+ failed: z.ZodNumber;
6466
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6467
+ items: z.ZodNumber;
6468
+ passed: z.ZodNumber;
6469
+ failed: z.ZodNumber;
6470
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6471
+ items: z.ZodNumber;
6472
+ passed: z.ZodNumber;
6473
+ failed: z.ZodNumber;
6474
+ }, z.ZodTypeAny, "passthrough">>>;
6475
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6476
+ totals: z.ZodObject<{
6477
+ items: z.ZodNumber;
6478
+ passed: z.ZodNumber;
6479
+ failed: z.ZodNumber;
6480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6481
+ items: z.ZodNumber;
6482
+ passed: z.ZodNumber;
6483
+ failed: z.ZodNumber;
6484
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6485
+ items: z.ZodNumber;
6486
+ passed: z.ZodNumber;
6487
+ failed: z.ZodNumber;
6488
+ }, z.ZodTypeAny, "passthrough">>;
6489
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6490
+ items: z.ZodNumber;
6491
+ passed: z.ZodNumber;
6492
+ failed: z.ZodNumber;
6493
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6494
+ items: z.ZodNumber;
6495
+ passed: z.ZodNumber;
6496
+ failed: z.ZodNumber;
6497
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6498
+ items: z.ZodNumber;
6499
+ passed: z.ZodNumber;
6500
+ failed: z.ZodNumber;
6501
+ }, z.ZodTypeAny, "passthrough">>>;
6502
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6503
+ totals: z.ZodObject<{
6504
+ items: z.ZodNumber;
6505
+ passed: z.ZodNumber;
6506
+ failed: z.ZodNumber;
6507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6508
+ items: z.ZodNumber;
6509
+ passed: z.ZodNumber;
6510
+ failed: z.ZodNumber;
6511
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6512
+ items: z.ZodNumber;
6513
+ passed: z.ZodNumber;
6514
+ failed: z.ZodNumber;
6515
+ }, z.ZodTypeAny, "passthrough">>;
6516
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6517
+ items: z.ZodNumber;
6518
+ passed: z.ZodNumber;
6519
+ failed: z.ZodNumber;
6520
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6521
+ items: z.ZodNumber;
6522
+ passed: z.ZodNumber;
6523
+ failed: z.ZodNumber;
6524
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6525
+ items: z.ZodNumber;
6526
+ passed: z.ZodNumber;
6527
+ failed: z.ZodNumber;
6528
+ }, z.ZodTypeAny, "passthrough">>>;
6529
+ }, z.ZodTypeAny, "passthrough">>;
6530
+ root: z.ZodObject<{
6531
+ path: z.ZodString;
6532
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6533
+ store_id: z.ZodOptional<z.ZodString>;
6534
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6535
+ path: z.ZodString;
6536
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6537
+ store_id: z.ZodOptional<z.ZodString>;
6538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6539
+ path: z.ZodString;
6540
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6541
+ store_id: z.ZodOptional<z.ZodString>;
6542
+ }, z.ZodTypeAny, "passthrough">>;
6543
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6544
+ report: z.ZodObject<{
6545
+ kind: z.ZodLiteral<"validation-findings">;
6546
+ version: z.ZodString;
6547
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6548
+ returnedItems: z.ZodNumber;
6549
+ totalItems: z.ZodNumber;
6550
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6551
+ kind: z.ZodLiteral<"validation-findings">;
6552
+ version: z.ZodString;
6553
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6554
+ returnedItems: z.ZodNumber;
6555
+ totalItems: z.ZodNumber;
6556
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6557
+ kind: z.ZodLiteral<"validation-findings">;
6558
+ version: z.ZodString;
6559
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6560
+ returnedItems: z.ZodNumber;
6561
+ totalItems: z.ZodNumber;
6562
+ }, z.ZodTypeAny, "passthrough">>;
6563
+ itemFindings: z.ZodArray<z.ZodObject<{
6564
+ id: z.ZodString;
6565
+ type: z.ZodEnum<["change", "spec"]>;
6566
+ valid: z.ZodBoolean;
6567
+ issues: z.ZodArray<z.ZodObject<{
6568
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6569
+ path: z.ZodString;
6570
+ message: z.ZodString;
6571
+ line: z.ZodOptional<z.ZodNumber>;
6572
+ column: z.ZodOptional<z.ZodNumber>;
6573
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6574
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6575
+ path: z.ZodString;
6576
+ message: z.ZodString;
6577
+ line: z.ZodOptional<z.ZodNumber>;
6578
+ column: z.ZodOptional<z.ZodNumber>;
6579
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6580
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6581
+ path: z.ZodString;
6582
+ message: z.ZodString;
6583
+ line: z.ZodOptional<z.ZodNumber>;
6584
+ column: z.ZodOptional<z.ZodNumber>;
6585
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6586
+ durationMs: z.ZodNumber;
6587
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6588
+ id: z.ZodString;
6589
+ type: z.ZodEnum<["change", "spec"]>;
6590
+ valid: z.ZodBoolean;
6591
+ issues: z.ZodArray<z.ZodObject<{
6592
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6593
+ path: z.ZodString;
6594
+ message: z.ZodString;
6595
+ line: z.ZodOptional<z.ZodNumber>;
6596
+ column: z.ZodOptional<z.ZodNumber>;
6597
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6598
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6599
+ path: z.ZodString;
6600
+ message: z.ZodString;
6601
+ line: z.ZodOptional<z.ZodNumber>;
6602
+ column: z.ZodOptional<z.ZodNumber>;
6603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6604
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6605
+ path: z.ZodString;
6606
+ message: z.ZodString;
6607
+ line: z.ZodOptional<z.ZodNumber>;
6608
+ column: z.ZodOptional<z.ZodNumber>;
6609
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6610
+ durationMs: z.ZodNumber;
6611
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6612
+ id: z.ZodString;
6613
+ type: z.ZodEnum<["change", "spec"]>;
6614
+ valid: z.ZodBoolean;
6615
+ issues: z.ZodArray<z.ZodObject<{
6616
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6617
+ path: z.ZodString;
6618
+ message: z.ZodString;
6619
+ line: z.ZodOptional<z.ZodNumber>;
6620
+ column: z.ZodOptional<z.ZodNumber>;
6621
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6622
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6623
+ path: z.ZodString;
6624
+ message: z.ZodString;
6625
+ line: z.ZodOptional<z.ZodNumber>;
6626
+ column: z.ZodOptional<z.ZodNumber>;
6627
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6628
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6629
+ path: z.ZodString;
6630
+ message: z.ZodString;
6631
+ line: z.ZodOptional<z.ZodNumber>;
6632
+ column: z.ZodOptional<z.ZodNumber>;
6633
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6634
+ durationMs: z.ZodNumber;
6635
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6636
+ summary: z.ZodObject<{
6637
+ totals: z.ZodObject<{
6638
+ items: z.ZodNumber;
6639
+ passed: z.ZodNumber;
6640
+ failed: z.ZodNumber;
6641
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6642
+ items: z.ZodNumber;
6643
+ passed: z.ZodNumber;
6644
+ failed: z.ZodNumber;
6645
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6646
+ items: z.ZodNumber;
6647
+ passed: z.ZodNumber;
6648
+ failed: z.ZodNumber;
6649
+ }, z.ZodTypeAny, "passthrough">>;
6650
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6651
+ items: z.ZodNumber;
6652
+ passed: z.ZodNumber;
6653
+ failed: z.ZodNumber;
6654
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6655
+ items: z.ZodNumber;
6656
+ passed: z.ZodNumber;
6657
+ failed: z.ZodNumber;
6658
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6659
+ items: z.ZodNumber;
6660
+ passed: z.ZodNumber;
6661
+ failed: z.ZodNumber;
6662
+ }, z.ZodTypeAny, "passthrough">>>;
6663
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6664
+ totals: z.ZodObject<{
6665
+ items: z.ZodNumber;
6666
+ passed: z.ZodNumber;
6667
+ failed: z.ZodNumber;
6668
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6669
+ items: z.ZodNumber;
6670
+ passed: z.ZodNumber;
6671
+ failed: z.ZodNumber;
6672
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6673
+ items: z.ZodNumber;
6674
+ passed: z.ZodNumber;
6675
+ failed: z.ZodNumber;
6676
+ }, z.ZodTypeAny, "passthrough">>;
6677
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6678
+ items: z.ZodNumber;
6679
+ passed: z.ZodNumber;
6680
+ failed: z.ZodNumber;
6681
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6682
+ items: z.ZodNumber;
6683
+ passed: z.ZodNumber;
6684
+ failed: z.ZodNumber;
6685
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6686
+ items: z.ZodNumber;
6687
+ passed: z.ZodNumber;
6688
+ failed: z.ZodNumber;
6689
+ }, z.ZodTypeAny, "passthrough">>>;
6690
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6691
+ totals: z.ZodObject<{
6692
+ items: z.ZodNumber;
6693
+ passed: z.ZodNumber;
6694
+ failed: z.ZodNumber;
6695
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6696
+ items: z.ZodNumber;
6697
+ passed: z.ZodNumber;
6698
+ failed: z.ZodNumber;
6699
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6700
+ items: z.ZodNumber;
6701
+ passed: z.ZodNumber;
6702
+ failed: z.ZodNumber;
6703
+ }, z.ZodTypeAny, "passthrough">>;
6704
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6705
+ items: z.ZodNumber;
6706
+ passed: z.ZodNumber;
6707
+ failed: z.ZodNumber;
6708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6709
+ items: z.ZodNumber;
6710
+ passed: z.ZodNumber;
6711
+ failed: z.ZodNumber;
6712
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6713
+ items: z.ZodNumber;
6714
+ passed: z.ZodNumber;
6715
+ failed: z.ZodNumber;
6716
+ }, z.ZodTypeAny, "passthrough">>>;
6717
+ }, z.ZodTypeAny, "passthrough">>;
6718
+ root: z.ZodObject<{
6719
+ path: z.ZodString;
6720
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6721
+ store_id: z.ZodOptional<z.ZodString>;
6722
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6723
+ path: z.ZodString;
6724
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6725
+ store_id: z.ZodOptional<z.ZodString>;
6726
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6727
+ path: z.ZodString;
6728
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6729
+ store_id: z.ZodOptional<z.ZodString>;
6730
+ }, z.ZodTypeAny, "passthrough">>;
6731
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
6732
+ report: z.ZodObject<{
6733
+ kind: z.ZodLiteral<"validation-findings">;
6734
+ version: z.ZodString;
6735
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6736
+ returnedItems: z.ZodNumber;
6737
+ totalItems: z.ZodNumber;
6738
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6739
+ kind: z.ZodLiteral<"validation-findings">;
6740
+ version: z.ZodString;
6741
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6742
+ returnedItems: z.ZodNumber;
6743
+ totalItems: z.ZodNumber;
6744
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6745
+ kind: z.ZodLiteral<"validation-findings">;
6746
+ version: z.ZodString;
6747
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6748
+ returnedItems: z.ZodNumber;
6749
+ totalItems: z.ZodNumber;
6750
+ }, z.ZodTypeAny, "passthrough">>;
6751
+ itemFindings: z.ZodArray<z.ZodObject<{
6752
+ id: z.ZodString;
6753
+ type: z.ZodEnum<["change", "spec"]>;
6754
+ valid: z.ZodBoolean;
6755
+ issues: z.ZodArray<z.ZodObject<{
6756
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6757
+ path: z.ZodString;
6758
+ message: z.ZodString;
6759
+ line: z.ZodOptional<z.ZodNumber>;
6760
+ column: z.ZodOptional<z.ZodNumber>;
6761
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6762
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6763
+ path: z.ZodString;
6764
+ message: z.ZodString;
6765
+ line: z.ZodOptional<z.ZodNumber>;
6766
+ column: z.ZodOptional<z.ZodNumber>;
6767
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6768
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6769
+ path: z.ZodString;
6770
+ message: z.ZodString;
6771
+ line: z.ZodOptional<z.ZodNumber>;
6772
+ column: z.ZodOptional<z.ZodNumber>;
6773
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6774
+ durationMs: z.ZodNumber;
6775
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6776
+ id: z.ZodString;
6777
+ type: z.ZodEnum<["change", "spec"]>;
6778
+ valid: z.ZodBoolean;
6779
+ issues: z.ZodArray<z.ZodObject<{
6780
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6781
+ path: z.ZodString;
6782
+ message: z.ZodString;
6783
+ line: z.ZodOptional<z.ZodNumber>;
6784
+ column: z.ZodOptional<z.ZodNumber>;
6785
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6786
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6787
+ path: z.ZodString;
6788
+ message: z.ZodString;
6789
+ line: z.ZodOptional<z.ZodNumber>;
6790
+ column: z.ZodOptional<z.ZodNumber>;
6791
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6792
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6793
+ path: z.ZodString;
6794
+ message: z.ZodString;
6795
+ line: z.ZodOptional<z.ZodNumber>;
6796
+ column: z.ZodOptional<z.ZodNumber>;
6797
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6798
+ durationMs: z.ZodNumber;
6799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6800
+ id: z.ZodString;
6801
+ type: z.ZodEnum<["change", "spec"]>;
6802
+ valid: z.ZodBoolean;
6803
+ issues: z.ZodArray<z.ZodObject<{
6804
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6805
+ path: z.ZodString;
6806
+ message: z.ZodString;
6807
+ line: z.ZodOptional<z.ZodNumber>;
6808
+ column: z.ZodOptional<z.ZodNumber>;
6809
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6810
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6811
+ path: z.ZodString;
6812
+ message: z.ZodString;
6813
+ line: z.ZodOptional<z.ZodNumber>;
6814
+ column: z.ZodOptional<z.ZodNumber>;
6815
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6816
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6817
+ path: z.ZodString;
6818
+ message: z.ZodString;
6819
+ line: z.ZodOptional<z.ZodNumber>;
6820
+ column: z.ZodOptional<z.ZodNumber>;
6821
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6822
+ durationMs: z.ZodNumber;
6823
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6824
+ summary: z.ZodObject<{
6825
+ totals: z.ZodObject<{
6826
+ items: z.ZodNumber;
6827
+ passed: z.ZodNumber;
6828
+ failed: z.ZodNumber;
6829
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6830
+ items: z.ZodNumber;
6831
+ passed: z.ZodNumber;
6832
+ failed: z.ZodNumber;
6833
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6834
+ items: z.ZodNumber;
6835
+ passed: z.ZodNumber;
6836
+ failed: z.ZodNumber;
6837
+ }, z.ZodTypeAny, "passthrough">>;
6838
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6839
+ items: z.ZodNumber;
6840
+ passed: z.ZodNumber;
6841
+ failed: z.ZodNumber;
6842
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6843
+ items: z.ZodNumber;
6844
+ passed: z.ZodNumber;
6845
+ failed: z.ZodNumber;
6846
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6847
+ items: z.ZodNumber;
6848
+ passed: z.ZodNumber;
6849
+ failed: z.ZodNumber;
6850
+ }, z.ZodTypeAny, "passthrough">>>;
6851
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6852
+ totals: z.ZodObject<{
6853
+ items: z.ZodNumber;
6854
+ passed: z.ZodNumber;
6855
+ failed: z.ZodNumber;
6856
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6857
+ items: z.ZodNumber;
6858
+ passed: z.ZodNumber;
6859
+ failed: z.ZodNumber;
6860
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6861
+ items: z.ZodNumber;
6862
+ passed: z.ZodNumber;
6863
+ failed: z.ZodNumber;
6864
+ }, z.ZodTypeAny, "passthrough">>;
6865
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6866
+ items: z.ZodNumber;
6867
+ passed: z.ZodNumber;
6868
+ failed: z.ZodNumber;
6869
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6870
+ items: z.ZodNumber;
6871
+ passed: z.ZodNumber;
6872
+ failed: z.ZodNumber;
6873
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6874
+ items: z.ZodNumber;
6875
+ passed: z.ZodNumber;
6876
+ failed: z.ZodNumber;
6877
+ }, z.ZodTypeAny, "passthrough">>>;
6878
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6879
+ totals: z.ZodObject<{
6880
+ items: z.ZodNumber;
6881
+ passed: z.ZodNumber;
6882
+ failed: z.ZodNumber;
6883
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6884
+ items: z.ZodNumber;
6885
+ passed: z.ZodNumber;
6886
+ failed: z.ZodNumber;
6887
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6888
+ items: z.ZodNumber;
6889
+ passed: z.ZodNumber;
6890
+ failed: z.ZodNumber;
6891
+ }, z.ZodTypeAny, "passthrough">>;
6892
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
6893
+ items: z.ZodNumber;
6894
+ passed: z.ZodNumber;
6895
+ failed: z.ZodNumber;
6896
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6897
+ items: z.ZodNumber;
6898
+ passed: z.ZodNumber;
6899
+ failed: z.ZodNumber;
6900
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6901
+ items: z.ZodNumber;
6902
+ passed: z.ZodNumber;
6903
+ failed: z.ZodNumber;
6904
+ }, z.ZodTypeAny, "passthrough">>>;
6905
+ }, z.ZodTypeAny, "passthrough">>;
6906
+ root: z.ZodObject<{
6907
+ path: z.ZodString;
6908
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6909
+ store_id: z.ZodOptional<z.ZodString>;
6910
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6911
+ path: z.ZodString;
6912
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6913
+ store_id: z.ZodOptional<z.ZodString>;
6914
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6915
+ path: z.ZodString;
6916
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
6917
+ store_id: z.ZodOptional<z.ZodString>;
6918
+ }, z.ZodTypeAny, "passthrough">>;
6919
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6920
+ report: z.ZodObject<{
6921
+ kind: z.ZodLiteral<"validation-findings">;
6922
+ version: z.ZodString;
6923
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6924
+ returnedItems: z.ZodNumber;
6925
+ totalItems: z.ZodNumber;
6926
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6927
+ kind: z.ZodLiteral<"validation-findings">;
6928
+ version: z.ZodString;
6929
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6930
+ returnedItems: z.ZodNumber;
6931
+ totalItems: z.ZodNumber;
6932
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6933
+ kind: z.ZodLiteral<"validation-findings">;
6934
+ version: z.ZodString;
6935
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
6936
+ returnedItems: z.ZodNumber;
6937
+ totalItems: z.ZodNumber;
6938
+ }, z.ZodTypeAny, "passthrough">>;
6939
+ itemFindings: z.ZodArray<z.ZodObject<{
6940
+ id: z.ZodString;
6941
+ type: z.ZodEnum<["change", "spec"]>;
6942
+ valid: z.ZodBoolean;
6943
+ issues: z.ZodArray<z.ZodObject<{
6944
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6945
+ path: z.ZodString;
6946
+ message: z.ZodString;
6947
+ line: z.ZodOptional<z.ZodNumber>;
6948
+ column: z.ZodOptional<z.ZodNumber>;
6949
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6950
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6951
+ path: z.ZodString;
6952
+ message: z.ZodString;
6953
+ line: z.ZodOptional<z.ZodNumber>;
6954
+ column: z.ZodOptional<z.ZodNumber>;
6955
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6956
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6957
+ path: z.ZodString;
6958
+ message: z.ZodString;
6959
+ line: z.ZodOptional<z.ZodNumber>;
6960
+ column: z.ZodOptional<z.ZodNumber>;
6961
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6962
+ durationMs: z.ZodNumber;
6963
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6964
+ id: z.ZodString;
6965
+ type: z.ZodEnum<["change", "spec"]>;
6966
+ valid: z.ZodBoolean;
6967
+ issues: z.ZodArray<z.ZodObject<{
6968
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6969
+ path: z.ZodString;
6970
+ message: z.ZodString;
6971
+ line: z.ZodOptional<z.ZodNumber>;
6972
+ column: z.ZodOptional<z.ZodNumber>;
6973
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6974
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6975
+ path: z.ZodString;
6976
+ message: z.ZodString;
6977
+ line: z.ZodOptional<z.ZodNumber>;
6978
+ column: z.ZodOptional<z.ZodNumber>;
6979
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6980
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6981
+ path: z.ZodString;
6982
+ message: z.ZodString;
6983
+ line: z.ZodOptional<z.ZodNumber>;
6984
+ column: z.ZodOptional<z.ZodNumber>;
6985
+ }, z.ZodTypeAny, "passthrough">>, "many">;
6986
+ durationMs: z.ZodNumber;
6987
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6988
+ id: z.ZodString;
6989
+ type: z.ZodEnum<["change", "spec"]>;
6990
+ valid: z.ZodBoolean;
6991
+ issues: z.ZodArray<z.ZodObject<{
6992
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6993
+ path: z.ZodString;
6994
+ message: z.ZodString;
6995
+ line: z.ZodOptional<z.ZodNumber>;
6996
+ column: z.ZodOptional<z.ZodNumber>;
6997
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6998
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
6999
+ path: z.ZodString;
7000
+ message: z.ZodString;
7001
+ line: z.ZodOptional<z.ZodNumber>;
7002
+ column: z.ZodOptional<z.ZodNumber>;
7003
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7004
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7005
+ path: z.ZodString;
7006
+ message: z.ZodString;
7007
+ line: z.ZodOptional<z.ZodNumber>;
7008
+ column: z.ZodOptional<z.ZodNumber>;
7009
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7010
+ durationMs: z.ZodNumber;
7011
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7012
+ summary: z.ZodObject<{
7013
+ totals: z.ZodObject<{
7014
+ items: z.ZodNumber;
7015
+ passed: z.ZodNumber;
7016
+ failed: z.ZodNumber;
7017
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7018
+ items: z.ZodNumber;
7019
+ passed: z.ZodNumber;
7020
+ failed: z.ZodNumber;
7021
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7022
+ items: z.ZodNumber;
7023
+ passed: z.ZodNumber;
7024
+ failed: z.ZodNumber;
7025
+ }, z.ZodTypeAny, "passthrough">>;
7026
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7027
+ items: z.ZodNumber;
7028
+ passed: z.ZodNumber;
7029
+ failed: z.ZodNumber;
7030
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7031
+ items: z.ZodNumber;
7032
+ passed: z.ZodNumber;
7033
+ failed: z.ZodNumber;
7034
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7035
+ items: z.ZodNumber;
7036
+ passed: z.ZodNumber;
7037
+ failed: z.ZodNumber;
7038
+ }, z.ZodTypeAny, "passthrough">>>;
7039
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7040
+ totals: z.ZodObject<{
7041
+ items: z.ZodNumber;
7042
+ passed: z.ZodNumber;
7043
+ failed: z.ZodNumber;
7044
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7045
+ items: z.ZodNumber;
7046
+ passed: z.ZodNumber;
7047
+ failed: z.ZodNumber;
7048
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7049
+ items: z.ZodNumber;
7050
+ passed: z.ZodNumber;
7051
+ failed: z.ZodNumber;
7052
+ }, z.ZodTypeAny, "passthrough">>;
7053
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7054
+ items: z.ZodNumber;
7055
+ passed: z.ZodNumber;
7056
+ failed: z.ZodNumber;
7057
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7058
+ items: z.ZodNumber;
7059
+ passed: z.ZodNumber;
7060
+ failed: z.ZodNumber;
7061
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7062
+ items: z.ZodNumber;
7063
+ passed: z.ZodNumber;
7064
+ failed: z.ZodNumber;
7065
+ }, z.ZodTypeAny, "passthrough">>>;
7066
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7067
+ totals: z.ZodObject<{
7068
+ items: z.ZodNumber;
7069
+ passed: z.ZodNumber;
7070
+ failed: z.ZodNumber;
7071
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7072
+ items: z.ZodNumber;
7073
+ passed: z.ZodNumber;
7074
+ failed: z.ZodNumber;
7075
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7076
+ items: z.ZodNumber;
7077
+ passed: z.ZodNumber;
7078
+ failed: z.ZodNumber;
7079
+ }, z.ZodTypeAny, "passthrough">>;
7080
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7081
+ items: z.ZodNumber;
7082
+ passed: z.ZodNumber;
7083
+ failed: z.ZodNumber;
7084
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7085
+ items: z.ZodNumber;
7086
+ passed: z.ZodNumber;
7087
+ failed: z.ZodNumber;
7088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7089
+ items: z.ZodNumber;
7090
+ passed: z.ZodNumber;
7091
+ failed: z.ZodNumber;
7092
+ }, z.ZodTypeAny, "passthrough">>>;
7093
+ }, z.ZodTypeAny, "passthrough">>;
7094
+ root: z.ZodObject<{
7095
+ path: z.ZodString;
7096
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7097
+ store_id: z.ZodOptional<z.ZodString>;
7098
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7099
+ path: z.ZodString;
7100
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7101
+ store_id: z.ZodOptional<z.ZodString>;
7102
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7103
+ path: z.ZodString;
7104
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7105
+ store_id: z.ZodOptional<z.ZodString>;
7106
+ }, z.ZodTypeAny, "passthrough">>;
7107
+ }, z.ZodTypeAny, "passthrough">>;
7108
+ /**
7109
+ * Typed findings or request-failure result of `validate --report findings --json`.
7110
+ *
7111
+ * Invalid requests (no bulk scope, an item name, archived+active mixing, or an unknown
7112
+ * report value) produce the shared status-array failure envelope with code
7113
+ * `invalid_validation_report_request`, decoded here through the shared diagnostic
7114
+ * failure schema including its optional `fix` string.
7115
+ */
7116
+ declare const CliValidateFindingsResultSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
7117
+ report: z.ZodObject<{
7118
+ kind: z.ZodLiteral<"validation-findings">;
7119
+ version: z.ZodString;
7120
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7121
+ returnedItems: z.ZodNumber;
7122
+ totalItems: z.ZodNumber;
7123
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7124
+ kind: z.ZodLiteral<"validation-findings">;
7125
+ version: z.ZodString;
7126
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7127
+ returnedItems: z.ZodNumber;
7128
+ totalItems: z.ZodNumber;
7129
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7130
+ kind: z.ZodLiteral<"validation-findings">;
7131
+ version: z.ZodString;
7132
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7133
+ returnedItems: z.ZodNumber;
7134
+ totalItems: z.ZodNumber;
7135
+ }, z.ZodTypeAny, "passthrough">>;
7136
+ itemFindings: z.ZodArray<z.ZodObject<{
7137
+ id: z.ZodString;
7138
+ type: z.ZodEnum<["change", "spec"]>;
7139
+ valid: z.ZodBoolean;
7140
+ issues: z.ZodArray<z.ZodObject<{
7141
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7142
+ path: z.ZodString;
7143
+ message: z.ZodString;
7144
+ line: z.ZodOptional<z.ZodNumber>;
7145
+ column: z.ZodOptional<z.ZodNumber>;
7146
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7147
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7148
+ path: z.ZodString;
7149
+ message: z.ZodString;
7150
+ line: z.ZodOptional<z.ZodNumber>;
7151
+ column: z.ZodOptional<z.ZodNumber>;
7152
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7153
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7154
+ path: z.ZodString;
7155
+ message: z.ZodString;
7156
+ line: z.ZodOptional<z.ZodNumber>;
7157
+ column: z.ZodOptional<z.ZodNumber>;
7158
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7159
+ durationMs: z.ZodNumber;
7160
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7161
+ id: z.ZodString;
7162
+ type: z.ZodEnum<["change", "spec"]>;
7163
+ valid: z.ZodBoolean;
7164
+ issues: z.ZodArray<z.ZodObject<{
7165
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7166
+ path: z.ZodString;
7167
+ message: z.ZodString;
7168
+ line: z.ZodOptional<z.ZodNumber>;
7169
+ column: z.ZodOptional<z.ZodNumber>;
7170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7171
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7172
+ path: z.ZodString;
7173
+ message: z.ZodString;
7174
+ line: z.ZodOptional<z.ZodNumber>;
7175
+ column: z.ZodOptional<z.ZodNumber>;
7176
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7177
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7178
+ path: z.ZodString;
7179
+ message: z.ZodString;
7180
+ line: z.ZodOptional<z.ZodNumber>;
7181
+ column: z.ZodOptional<z.ZodNumber>;
7182
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7183
+ durationMs: z.ZodNumber;
7184
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7185
+ id: z.ZodString;
7186
+ type: z.ZodEnum<["change", "spec"]>;
7187
+ valid: z.ZodBoolean;
7188
+ issues: z.ZodArray<z.ZodObject<{
7189
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7190
+ path: z.ZodString;
7191
+ message: z.ZodString;
7192
+ line: z.ZodOptional<z.ZodNumber>;
7193
+ column: z.ZodOptional<z.ZodNumber>;
7194
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7195
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7196
+ path: z.ZodString;
7197
+ message: z.ZodString;
7198
+ line: z.ZodOptional<z.ZodNumber>;
7199
+ column: z.ZodOptional<z.ZodNumber>;
7200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7201
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7202
+ path: z.ZodString;
7203
+ message: z.ZodString;
7204
+ line: z.ZodOptional<z.ZodNumber>;
7205
+ column: z.ZodOptional<z.ZodNumber>;
7206
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7207
+ durationMs: z.ZodNumber;
7208
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7209
+ summary: z.ZodObject<{
7210
+ totals: z.ZodObject<{
7211
+ items: z.ZodNumber;
7212
+ passed: z.ZodNumber;
7213
+ failed: z.ZodNumber;
7214
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7215
+ items: z.ZodNumber;
7216
+ passed: z.ZodNumber;
7217
+ failed: z.ZodNumber;
7218
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7219
+ items: z.ZodNumber;
7220
+ passed: z.ZodNumber;
7221
+ failed: z.ZodNumber;
7222
+ }, z.ZodTypeAny, "passthrough">>;
7223
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7224
+ items: z.ZodNumber;
7225
+ passed: z.ZodNumber;
7226
+ failed: z.ZodNumber;
7227
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7228
+ items: z.ZodNumber;
7229
+ passed: z.ZodNumber;
7230
+ failed: z.ZodNumber;
7231
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7232
+ items: z.ZodNumber;
7233
+ passed: z.ZodNumber;
7234
+ failed: z.ZodNumber;
7235
+ }, z.ZodTypeAny, "passthrough">>>;
7236
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7237
+ totals: z.ZodObject<{
7238
+ items: z.ZodNumber;
7239
+ passed: z.ZodNumber;
7240
+ failed: z.ZodNumber;
7241
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7242
+ items: z.ZodNumber;
7243
+ passed: z.ZodNumber;
7244
+ failed: z.ZodNumber;
7245
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7246
+ items: z.ZodNumber;
7247
+ passed: z.ZodNumber;
7248
+ failed: z.ZodNumber;
7249
+ }, z.ZodTypeAny, "passthrough">>;
7250
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7251
+ items: z.ZodNumber;
7252
+ passed: z.ZodNumber;
7253
+ failed: z.ZodNumber;
7254
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7255
+ items: z.ZodNumber;
7256
+ passed: z.ZodNumber;
7257
+ failed: z.ZodNumber;
7258
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7259
+ items: z.ZodNumber;
7260
+ passed: z.ZodNumber;
7261
+ failed: z.ZodNumber;
7262
+ }, z.ZodTypeAny, "passthrough">>>;
7263
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7264
+ totals: z.ZodObject<{
7265
+ items: z.ZodNumber;
7266
+ passed: z.ZodNumber;
7267
+ failed: z.ZodNumber;
7268
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7269
+ items: z.ZodNumber;
7270
+ passed: z.ZodNumber;
7271
+ failed: z.ZodNumber;
7272
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7273
+ items: z.ZodNumber;
7274
+ passed: z.ZodNumber;
7275
+ failed: z.ZodNumber;
7276
+ }, z.ZodTypeAny, "passthrough">>;
7277
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7278
+ items: z.ZodNumber;
7279
+ passed: z.ZodNumber;
7280
+ failed: z.ZodNumber;
7281
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7282
+ items: z.ZodNumber;
7283
+ passed: z.ZodNumber;
7284
+ failed: z.ZodNumber;
7285
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7286
+ items: z.ZodNumber;
7287
+ passed: z.ZodNumber;
7288
+ failed: z.ZodNumber;
7289
+ }, z.ZodTypeAny, "passthrough">>>;
7290
+ }, z.ZodTypeAny, "passthrough">>;
7291
+ root: z.ZodObject<{
7292
+ path: z.ZodString;
7293
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7294
+ store_id: z.ZodOptional<z.ZodString>;
7295
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7296
+ path: z.ZodString;
7297
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7298
+ store_id: z.ZodOptional<z.ZodString>;
7299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7300
+ path: z.ZodString;
7301
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7302
+ store_id: z.ZodOptional<z.ZodString>;
7303
+ }, z.ZodTypeAny, "passthrough">>;
7304
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7305
+ report: z.ZodObject<{
7306
+ kind: z.ZodLiteral<"validation-findings">;
7307
+ version: z.ZodString;
7308
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7309
+ returnedItems: z.ZodNumber;
7310
+ totalItems: z.ZodNumber;
7311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7312
+ kind: z.ZodLiteral<"validation-findings">;
7313
+ version: z.ZodString;
7314
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7315
+ returnedItems: z.ZodNumber;
7316
+ totalItems: z.ZodNumber;
7317
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7318
+ kind: z.ZodLiteral<"validation-findings">;
7319
+ version: z.ZodString;
7320
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7321
+ returnedItems: z.ZodNumber;
7322
+ totalItems: z.ZodNumber;
7323
+ }, z.ZodTypeAny, "passthrough">>;
7324
+ itemFindings: z.ZodArray<z.ZodObject<{
7325
+ id: z.ZodString;
7326
+ type: z.ZodEnum<["change", "spec"]>;
7327
+ valid: z.ZodBoolean;
7328
+ issues: z.ZodArray<z.ZodObject<{
7329
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7330
+ path: z.ZodString;
7331
+ message: z.ZodString;
7332
+ line: z.ZodOptional<z.ZodNumber>;
7333
+ column: z.ZodOptional<z.ZodNumber>;
7334
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7335
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7336
+ path: z.ZodString;
7337
+ message: z.ZodString;
7338
+ line: z.ZodOptional<z.ZodNumber>;
7339
+ column: z.ZodOptional<z.ZodNumber>;
7340
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7341
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7342
+ path: z.ZodString;
7343
+ message: z.ZodString;
7344
+ line: z.ZodOptional<z.ZodNumber>;
7345
+ column: z.ZodOptional<z.ZodNumber>;
7346
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7347
+ durationMs: z.ZodNumber;
7348
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7349
+ id: z.ZodString;
7350
+ type: z.ZodEnum<["change", "spec"]>;
7351
+ valid: z.ZodBoolean;
7352
+ issues: z.ZodArray<z.ZodObject<{
7353
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7354
+ path: z.ZodString;
7355
+ message: z.ZodString;
7356
+ line: z.ZodOptional<z.ZodNumber>;
7357
+ column: z.ZodOptional<z.ZodNumber>;
7358
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7359
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7360
+ path: z.ZodString;
7361
+ message: z.ZodString;
7362
+ line: z.ZodOptional<z.ZodNumber>;
7363
+ column: z.ZodOptional<z.ZodNumber>;
7364
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7365
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7366
+ path: z.ZodString;
7367
+ message: z.ZodString;
7368
+ line: z.ZodOptional<z.ZodNumber>;
7369
+ column: z.ZodOptional<z.ZodNumber>;
7370
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7371
+ durationMs: z.ZodNumber;
7372
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7373
+ id: z.ZodString;
7374
+ type: z.ZodEnum<["change", "spec"]>;
7375
+ valid: z.ZodBoolean;
7376
+ issues: z.ZodArray<z.ZodObject<{
7377
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7378
+ path: z.ZodString;
7379
+ message: z.ZodString;
7380
+ line: z.ZodOptional<z.ZodNumber>;
7381
+ column: z.ZodOptional<z.ZodNumber>;
7382
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7383
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7384
+ path: z.ZodString;
7385
+ message: z.ZodString;
7386
+ line: z.ZodOptional<z.ZodNumber>;
7387
+ column: z.ZodOptional<z.ZodNumber>;
7388
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7389
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7390
+ path: z.ZodString;
7391
+ message: z.ZodString;
7392
+ line: z.ZodOptional<z.ZodNumber>;
7393
+ column: z.ZodOptional<z.ZodNumber>;
7394
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7395
+ durationMs: z.ZodNumber;
7396
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7397
+ summary: z.ZodObject<{
7398
+ totals: z.ZodObject<{
7399
+ items: z.ZodNumber;
7400
+ passed: z.ZodNumber;
7401
+ failed: z.ZodNumber;
7402
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7403
+ items: z.ZodNumber;
7404
+ passed: z.ZodNumber;
7405
+ failed: z.ZodNumber;
7406
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7407
+ items: z.ZodNumber;
7408
+ passed: z.ZodNumber;
7409
+ failed: z.ZodNumber;
7410
+ }, z.ZodTypeAny, "passthrough">>;
7411
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7412
+ items: z.ZodNumber;
7413
+ passed: z.ZodNumber;
7414
+ failed: z.ZodNumber;
7415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7416
+ items: z.ZodNumber;
7417
+ passed: z.ZodNumber;
7418
+ failed: z.ZodNumber;
7419
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7420
+ items: z.ZodNumber;
7421
+ passed: z.ZodNumber;
7422
+ failed: z.ZodNumber;
7423
+ }, z.ZodTypeAny, "passthrough">>>;
7424
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7425
+ totals: z.ZodObject<{
7426
+ items: z.ZodNumber;
7427
+ passed: z.ZodNumber;
7428
+ failed: z.ZodNumber;
7429
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7430
+ items: z.ZodNumber;
7431
+ passed: z.ZodNumber;
7432
+ failed: z.ZodNumber;
7433
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7434
+ items: z.ZodNumber;
7435
+ passed: z.ZodNumber;
7436
+ failed: z.ZodNumber;
7437
+ }, z.ZodTypeAny, "passthrough">>;
7438
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7439
+ items: z.ZodNumber;
7440
+ passed: z.ZodNumber;
7441
+ failed: z.ZodNumber;
7442
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7443
+ items: z.ZodNumber;
7444
+ passed: z.ZodNumber;
7445
+ failed: z.ZodNumber;
7446
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7447
+ items: z.ZodNumber;
7448
+ passed: z.ZodNumber;
7449
+ failed: z.ZodNumber;
7450
+ }, z.ZodTypeAny, "passthrough">>>;
7451
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7452
+ totals: z.ZodObject<{
7453
+ items: z.ZodNumber;
7454
+ passed: z.ZodNumber;
7455
+ failed: z.ZodNumber;
7456
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7457
+ items: z.ZodNumber;
7458
+ passed: z.ZodNumber;
7459
+ failed: z.ZodNumber;
7460
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7461
+ items: z.ZodNumber;
7462
+ passed: z.ZodNumber;
7463
+ failed: z.ZodNumber;
7464
+ }, z.ZodTypeAny, "passthrough">>;
7465
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7466
+ items: z.ZodNumber;
7467
+ passed: z.ZodNumber;
7468
+ failed: z.ZodNumber;
7469
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7470
+ items: z.ZodNumber;
7471
+ passed: z.ZodNumber;
7472
+ failed: z.ZodNumber;
7473
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7474
+ items: z.ZodNumber;
7475
+ passed: z.ZodNumber;
7476
+ failed: z.ZodNumber;
7477
+ }, z.ZodTypeAny, "passthrough">>>;
7478
+ }, z.ZodTypeAny, "passthrough">>;
7479
+ root: z.ZodObject<{
7480
+ path: z.ZodString;
7481
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7482
+ store_id: z.ZodOptional<z.ZodString>;
7483
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7484
+ path: z.ZodString;
7485
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7486
+ store_id: z.ZodOptional<z.ZodString>;
7487
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7488
+ path: z.ZodString;
7489
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7490
+ store_id: z.ZodOptional<z.ZodString>;
7491
+ }, z.ZodTypeAny, "passthrough">>;
7492
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7493
+ report: z.ZodObject<{
7494
+ kind: z.ZodLiteral<"validation-findings">;
7495
+ version: z.ZodString;
7496
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7497
+ returnedItems: z.ZodNumber;
7498
+ totalItems: z.ZodNumber;
7499
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7500
+ kind: z.ZodLiteral<"validation-findings">;
7501
+ version: z.ZodString;
7502
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7503
+ returnedItems: z.ZodNumber;
7504
+ totalItems: z.ZodNumber;
7505
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7506
+ kind: z.ZodLiteral<"validation-findings">;
7507
+ version: z.ZodString;
7508
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7509
+ returnedItems: z.ZodNumber;
7510
+ totalItems: z.ZodNumber;
7511
+ }, z.ZodTypeAny, "passthrough">>;
7512
+ itemFindings: z.ZodArray<z.ZodObject<{
7513
+ id: z.ZodString;
7514
+ type: z.ZodEnum<["change", "spec"]>;
7515
+ valid: z.ZodBoolean;
7516
+ issues: z.ZodArray<z.ZodObject<{
7517
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7518
+ path: z.ZodString;
7519
+ message: z.ZodString;
7520
+ line: z.ZodOptional<z.ZodNumber>;
7521
+ column: z.ZodOptional<z.ZodNumber>;
7522
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7523
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7524
+ path: z.ZodString;
7525
+ message: z.ZodString;
7526
+ line: z.ZodOptional<z.ZodNumber>;
7527
+ column: z.ZodOptional<z.ZodNumber>;
7528
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7529
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7530
+ path: z.ZodString;
7531
+ message: z.ZodString;
7532
+ line: z.ZodOptional<z.ZodNumber>;
7533
+ column: z.ZodOptional<z.ZodNumber>;
7534
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7535
+ durationMs: z.ZodNumber;
7536
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7537
+ id: z.ZodString;
7538
+ type: z.ZodEnum<["change", "spec"]>;
7539
+ valid: z.ZodBoolean;
7540
+ issues: z.ZodArray<z.ZodObject<{
7541
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7542
+ path: z.ZodString;
7543
+ message: z.ZodString;
7544
+ line: z.ZodOptional<z.ZodNumber>;
7545
+ column: z.ZodOptional<z.ZodNumber>;
7546
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7547
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7548
+ path: z.ZodString;
7549
+ message: z.ZodString;
7550
+ line: z.ZodOptional<z.ZodNumber>;
7551
+ column: z.ZodOptional<z.ZodNumber>;
7552
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7553
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7554
+ path: z.ZodString;
7555
+ message: z.ZodString;
7556
+ line: z.ZodOptional<z.ZodNumber>;
7557
+ column: z.ZodOptional<z.ZodNumber>;
7558
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7559
+ durationMs: z.ZodNumber;
7560
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7561
+ id: z.ZodString;
7562
+ type: z.ZodEnum<["change", "spec"]>;
7563
+ valid: z.ZodBoolean;
7564
+ issues: z.ZodArray<z.ZodObject<{
7565
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7566
+ path: z.ZodString;
7567
+ message: z.ZodString;
7568
+ line: z.ZodOptional<z.ZodNumber>;
7569
+ column: z.ZodOptional<z.ZodNumber>;
7570
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7571
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7572
+ path: z.ZodString;
7573
+ message: z.ZodString;
7574
+ line: z.ZodOptional<z.ZodNumber>;
7575
+ column: z.ZodOptional<z.ZodNumber>;
7576
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7577
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7578
+ path: z.ZodString;
7579
+ message: z.ZodString;
7580
+ line: z.ZodOptional<z.ZodNumber>;
7581
+ column: z.ZodOptional<z.ZodNumber>;
7582
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7583
+ durationMs: z.ZodNumber;
7584
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7585
+ summary: z.ZodObject<{
7586
+ totals: z.ZodObject<{
7587
+ items: z.ZodNumber;
7588
+ passed: z.ZodNumber;
7589
+ failed: z.ZodNumber;
7590
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7591
+ items: z.ZodNumber;
7592
+ passed: z.ZodNumber;
7593
+ failed: z.ZodNumber;
7594
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7595
+ items: z.ZodNumber;
7596
+ passed: z.ZodNumber;
7597
+ failed: z.ZodNumber;
7598
+ }, z.ZodTypeAny, "passthrough">>;
7599
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7600
+ items: z.ZodNumber;
7601
+ passed: z.ZodNumber;
7602
+ failed: z.ZodNumber;
7603
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7604
+ items: z.ZodNumber;
7605
+ passed: z.ZodNumber;
7606
+ failed: z.ZodNumber;
7607
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7608
+ items: z.ZodNumber;
7609
+ passed: z.ZodNumber;
7610
+ failed: z.ZodNumber;
7611
+ }, z.ZodTypeAny, "passthrough">>>;
7612
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7613
+ totals: z.ZodObject<{
7614
+ items: z.ZodNumber;
7615
+ passed: z.ZodNumber;
7616
+ failed: z.ZodNumber;
7617
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7618
+ items: z.ZodNumber;
7619
+ passed: z.ZodNumber;
7620
+ failed: z.ZodNumber;
7621
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7622
+ items: z.ZodNumber;
7623
+ passed: z.ZodNumber;
7624
+ failed: z.ZodNumber;
7625
+ }, z.ZodTypeAny, "passthrough">>;
7626
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7627
+ items: z.ZodNumber;
7628
+ passed: z.ZodNumber;
7629
+ failed: z.ZodNumber;
7630
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7631
+ items: z.ZodNumber;
7632
+ passed: z.ZodNumber;
7633
+ failed: z.ZodNumber;
7634
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7635
+ items: z.ZodNumber;
7636
+ passed: z.ZodNumber;
7637
+ failed: z.ZodNumber;
7638
+ }, z.ZodTypeAny, "passthrough">>>;
7639
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7640
+ totals: z.ZodObject<{
7641
+ items: z.ZodNumber;
7642
+ passed: z.ZodNumber;
7643
+ failed: z.ZodNumber;
7644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7645
+ items: z.ZodNumber;
7646
+ passed: z.ZodNumber;
7647
+ failed: z.ZodNumber;
7648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7649
+ items: z.ZodNumber;
7650
+ passed: z.ZodNumber;
7651
+ failed: z.ZodNumber;
7652
+ }, z.ZodTypeAny, "passthrough">>;
7653
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7654
+ items: z.ZodNumber;
7655
+ passed: z.ZodNumber;
7656
+ failed: z.ZodNumber;
7657
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7658
+ items: z.ZodNumber;
7659
+ passed: z.ZodNumber;
7660
+ failed: z.ZodNumber;
7661
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7662
+ items: z.ZodNumber;
7663
+ passed: z.ZodNumber;
7664
+ failed: z.ZodNumber;
7665
+ }, z.ZodTypeAny, "passthrough">>>;
7666
+ }, z.ZodTypeAny, "passthrough">>;
7667
+ root: z.ZodObject<{
7668
+ path: z.ZodString;
7669
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7670
+ store_id: z.ZodOptional<z.ZodString>;
7671
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7672
+ path: z.ZodString;
7673
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7674
+ store_id: z.ZodOptional<z.ZodString>;
7675
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7676
+ path: z.ZodString;
7677
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7678
+ store_id: z.ZodOptional<z.ZodString>;
7679
+ }, z.ZodTypeAny, "passthrough">>;
7680
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
7681
+ report: z.ZodObject<{
7682
+ kind: z.ZodLiteral<"validation-findings">;
7683
+ version: z.ZodString;
7684
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7685
+ returnedItems: z.ZodNumber;
7686
+ totalItems: z.ZodNumber;
7687
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7688
+ kind: z.ZodLiteral<"validation-findings">;
7689
+ version: z.ZodString;
7690
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7691
+ returnedItems: z.ZodNumber;
7692
+ totalItems: z.ZodNumber;
7693
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7694
+ kind: z.ZodLiteral<"validation-findings">;
7695
+ version: z.ZodString;
7696
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7697
+ returnedItems: z.ZodNumber;
7698
+ totalItems: z.ZodNumber;
7699
+ }, z.ZodTypeAny, "passthrough">>;
7700
+ itemFindings: z.ZodArray<z.ZodObject<{
7701
+ id: z.ZodString;
7702
+ type: z.ZodEnum<["change", "spec"]>;
7703
+ valid: z.ZodBoolean;
7704
+ issues: z.ZodArray<z.ZodObject<{
7705
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7706
+ path: z.ZodString;
7707
+ message: z.ZodString;
7708
+ line: z.ZodOptional<z.ZodNumber>;
7709
+ column: z.ZodOptional<z.ZodNumber>;
7710
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7711
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7712
+ path: z.ZodString;
7713
+ message: z.ZodString;
7714
+ line: z.ZodOptional<z.ZodNumber>;
7715
+ column: z.ZodOptional<z.ZodNumber>;
7716
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7717
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7718
+ path: z.ZodString;
7719
+ message: z.ZodString;
7720
+ line: z.ZodOptional<z.ZodNumber>;
7721
+ column: z.ZodOptional<z.ZodNumber>;
7722
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7723
+ durationMs: z.ZodNumber;
7724
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7725
+ id: z.ZodString;
7726
+ type: z.ZodEnum<["change", "spec"]>;
7727
+ valid: z.ZodBoolean;
7728
+ issues: z.ZodArray<z.ZodObject<{
7729
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7730
+ path: z.ZodString;
7731
+ message: z.ZodString;
7732
+ line: z.ZodOptional<z.ZodNumber>;
7733
+ column: z.ZodOptional<z.ZodNumber>;
7734
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7735
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7736
+ path: z.ZodString;
7737
+ message: z.ZodString;
7738
+ line: z.ZodOptional<z.ZodNumber>;
7739
+ column: z.ZodOptional<z.ZodNumber>;
7740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7741
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7742
+ path: z.ZodString;
7743
+ message: z.ZodString;
7744
+ line: z.ZodOptional<z.ZodNumber>;
7745
+ column: z.ZodOptional<z.ZodNumber>;
7746
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7747
+ durationMs: z.ZodNumber;
7748
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7749
+ id: z.ZodString;
7750
+ type: z.ZodEnum<["change", "spec"]>;
7751
+ valid: z.ZodBoolean;
7752
+ issues: z.ZodArray<z.ZodObject<{
7753
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7754
+ path: z.ZodString;
7755
+ message: z.ZodString;
7756
+ line: z.ZodOptional<z.ZodNumber>;
7757
+ column: z.ZodOptional<z.ZodNumber>;
7758
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7759
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7760
+ path: z.ZodString;
7761
+ message: z.ZodString;
7762
+ line: z.ZodOptional<z.ZodNumber>;
7763
+ column: z.ZodOptional<z.ZodNumber>;
7764
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7765
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7766
+ path: z.ZodString;
7767
+ message: z.ZodString;
7768
+ line: z.ZodOptional<z.ZodNumber>;
7769
+ column: z.ZodOptional<z.ZodNumber>;
7770
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7771
+ durationMs: z.ZodNumber;
7772
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7773
+ summary: z.ZodObject<{
7774
+ totals: z.ZodObject<{
7775
+ items: z.ZodNumber;
7776
+ passed: z.ZodNumber;
7777
+ failed: z.ZodNumber;
7778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7779
+ items: z.ZodNumber;
7780
+ passed: z.ZodNumber;
7781
+ failed: z.ZodNumber;
7782
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7783
+ items: z.ZodNumber;
7784
+ passed: z.ZodNumber;
7785
+ failed: z.ZodNumber;
7786
+ }, z.ZodTypeAny, "passthrough">>;
7787
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7788
+ items: z.ZodNumber;
7789
+ passed: z.ZodNumber;
7790
+ failed: z.ZodNumber;
7791
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7792
+ items: z.ZodNumber;
7793
+ passed: z.ZodNumber;
7794
+ failed: z.ZodNumber;
7795
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7796
+ items: z.ZodNumber;
7797
+ passed: z.ZodNumber;
7798
+ failed: z.ZodNumber;
7799
+ }, z.ZodTypeAny, "passthrough">>>;
7800
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7801
+ totals: z.ZodObject<{
7802
+ items: z.ZodNumber;
7803
+ passed: z.ZodNumber;
7804
+ failed: z.ZodNumber;
7805
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7806
+ items: z.ZodNumber;
7807
+ passed: z.ZodNumber;
7808
+ failed: z.ZodNumber;
7809
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7810
+ items: z.ZodNumber;
7811
+ passed: z.ZodNumber;
7812
+ failed: z.ZodNumber;
7813
+ }, z.ZodTypeAny, "passthrough">>;
7814
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7815
+ items: z.ZodNumber;
7816
+ passed: z.ZodNumber;
7817
+ failed: z.ZodNumber;
7818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7819
+ items: z.ZodNumber;
7820
+ passed: z.ZodNumber;
7821
+ failed: z.ZodNumber;
7822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7823
+ items: z.ZodNumber;
7824
+ passed: z.ZodNumber;
7825
+ failed: z.ZodNumber;
7826
+ }, z.ZodTypeAny, "passthrough">>>;
7827
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7828
+ totals: z.ZodObject<{
7829
+ items: z.ZodNumber;
7830
+ passed: z.ZodNumber;
7831
+ failed: z.ZodNumber;
7832
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7833
+ items: z.ZodNumber;
7834
+ passed: z.ZodNumber;
7835
+ failed: z.ZodNumber;
7836
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7837
+ items: z.ZodNumber;
7838
+ passed: z.ZodNumber;
7839
+ failed: z.ZodNumber;
7840
+ }, z.ZodTypeAny, "passthrough">>;
7841
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7842
+ items: z.ZodNumber;
7843
+ passed: z.ZodNumber;
7844
+ failed: z.ZodNumber;
7845
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7846
+ items: z.ZodNumber;
7847
+ passed: z.ZodNumber;
7848
+ failed: z.ZodNumber;
7849
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7850
+ items: z.ZodNumber;
7851
+ passed: z.ZodNumber;
7852
+ failed: z.ZodNumber;
7853
+ }, z.ZodTypeAny, "passthrough">>>;
7854
+ }, z.ZodTypeAny, "passthrough">>;
7855
+ root: z.ZodObject<{
7856
+ path: z.ZodString;
7857
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7858
+ store_id: z.ZodOptional<z.ZodString>;
7859
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7860
+ path: z.ZodString;
7861
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7862
+ store_id: z.ZodOptional<z.ZodString>;
7863
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7864
+ path: z.ZodString;
7865
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
7866
+ store_id: z.ZodOptional<z.ZodString>;
7867
+ }, z.ZodTypeAny, "passthrough">>;
7868
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7869
+ report: z.ZodObject<{
7870
+ kind: z.ZodLiteral<"validation-findings">;
7871
+ version: z.ZodString;
7872
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7873
+ returnedItems: z.ZodNumber;
7874
+ totalItems: z.ZodNumber;
7875
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7876
+ kind: z.ZodLiteral<"validation-findings">;
7877
+ version: z.ZodString;
7878
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7879
+ returnedItems: z.ZodNumber;
7880
+ totalItems: z.ZodNumber;
7881
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7882
+ kind: z.ZodLiteral<"validation-findings">;
7883
+ version: z.ZodString;
7884
+ scope: z.ZodEnum<["all", "changes", "specs", "archived"]>;
7885
+ returnedItems: z.ZodNumber;
7886
+ totalItems: z.ZodNumber;
7887
+ }, z.ZodTypeAny, "passthrough">>;
7888
+ itemFindings: z.ZodArray<z.ZodObject<{
7889
+ id: z.ZodString;
7890
+ type: z.ZodEnum<["change", "spec"]>;
7891
+ valid: z.ZodBoolean;
7892
+ issues: z.ZodArray<z.ZodObject<{
7893
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7894
+ path: z.ZodString;
7895
+ message: z.ZodString;
7896
+ line: z.ZodOptional<z.ZodNumber>;
7897
+ column: z.ZodOptional<z.ZodNumber>;
7898
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7899
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7900
+ path: z.ZodString;
7901
+ message: z.ZodString;
7902
+ line: z.ZodOptional<z.ZodNumber>;
7903
+ column: z.ZodOptional<z.ZodNumber>;
7904
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7905
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7906
+ path: z.ZodString;
7907
+ message: z.ZodString;
7908
+ line: z.ZodOptional<z.ZodNumber>;
7909
+ column: z.ZodOptional<z.ZodNumber>;
7910
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7911
+ durationMs: z.ZodNumber;
7912
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7913
+ id: z.ZodString;
7914
+ type: z.ZodEnum<["change", "spec"]>;
7915
+ valid: z.ZodBoolean;
7916
+ issues: z.ZodArray<z.ZodObject<{
7917
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7918
+ path: z.ZodString;
7919
+ message: z.ZodString;
7920
+ line: z.ZodOptional<z.ZodNumber>;
7921
+ column: z.ZodOptional<z.ZodNumber>;
7922
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7923
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7924
+ path: z.ZodString;
7925
+ message: z.ZodString;
7926
+ line: z.ZodOptional<z.ZodNumber>;
7927
+ column: z.ZodOptional<z.ZodNumber>;
7928
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7929
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7930
+ path: z.ZodString;
7931
+ message: z.ZodString;
7932
+ line: z.ZodOptional<z.ZodNumber>;
7933
+ column: z.ZodOptional<z.ZodNumber>;
7934
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7935
+ durationMs: z.ZodNumber;
7936
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7937
+ id: z.ZodString;
7938
+ type: z.ZodEnum<["change", "spec"]>;
7939
+ valid: z.ZodBoolean;
7940
+ issues: z.ZodArray<z.ZodObject<{
7941
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7942
+ path: z.ZodString;
7943
+ message: z.ZodString;
7944
+ line: z.ZodOptional<z.ZodNumber>;
7945
+ column: z.ZodOptional<z.ZodNumber>;
7946
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7947
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7948
+ path: z.ZodString;
7949
+ message: z.ZodString;
7950
+ line: z.ZodOptional<z.ZodNumber>;
7951
+ column: z.ZodOptional<z.ZodNumber>;
7952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7953
+ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>;
7954
+ path: z.ZodString;
7955
+ message: z.ZodString;
7956
+ line: z.ZodOptional<z.ZodNumber>;
7957
+ column: z.ZodOptional<z.ZodNumber>;
7958
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7959
+ durationMs: z.ZodNumber;
7960
+ }, z.ZodTypeAny, "passthrough">>, "many">;
7961
+ summary: z.ZodObject<{
7962
+ totals: z.ZodObject<{
7963
+ items: z.ZodNumber;
7964
+ passed: z.ZodNumber;
7965
+ failed: z.ZodNumber;
7966
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7967
+ items: z.ZodNumber;
7968
+ passed: z.ZodNumber;
7969
+ failed: z.ZodNumber;
7970
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7971
+ items: z.ZodNumber;
7972
+ passed: z.ZodNumber;
7973
+ failed: z.ZodNumber;
7974
+ }, z.ZodTypeAny, "passthrough">>;
7975
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
7976
+ items: z.ZodNumber;
7977
+ passed: z.ZodNumber;
7978
+ failed: z.ZodNumber;
7979
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7980
+ items: z.ZodNumber;
7981
+ passed: z.ZodNumber;
7982
+ failed: z.ZodNumber;
7983
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7984
+ items: z.ZodNumber;
7985
+ passed: z.ZodNumber;
7986
+ failed: z.ZodNumber;
7987
+ }, z.ZodTypeAny, "passthrough">>>;
7988
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7989
+ totals: z.ZodObject<{
7990
+ items: z.ZodNumber;
7991
+ passed: z.ZodNumber;
7992
+ failed: z.ZodNumber;
7993
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7994
+ items: z.ZodNumber;
7995
+ passed: z.ZodNumber;
7996
+ failed: z.ZodNumber;
7997
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7998
+ items: z.ZodNumber;
7999
+ passed: z.ZodNumber;
8000
+ failed: z.ZodNumber;
8001
+ }, z.ZodTypeAny, "passthrough">>;
8002
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8003
+ items: z.ZodNumber;
8004
+ passed: z.ZodNumber;
8005
+ failed: z.ZodNumber;
8006
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8007
+ items: z.ZodNumber;
8008
+ passed: z.ZodNumber;
8009
+ failed: z.ZodNumber;
8010
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8011
+ items: z.ZodNumber;
8012
+ passed: z.ZodNumber;
8013
+ failed: z.ZodNumber;
8014
+ }, z.ZodTypeAny, "passthrough">>>;
8015
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8016
+ totals: z.ZodObject<{
8017
+ items: z.ZodNumber;
8018
+ passed: z.ZodNumber;
8019
+ failed: z.ZodNumber;
8020
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8021
+ items: z.ZodNumber;
8022
+ passed: z.ZodNumber;
8023
+ failed: z.ZodNumber;
8024
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8025
+ items: z.ZodNumber;
8026
+ passed: z.ZodNumber;
8027
+ failed: z.ZodNumber;
8028
+ }, z.ZodTypeAny, "passthrough">>;
8029
+ byType: z.ZodRecord<z.ZodString, z.ZodObject<{
8030
+ items: z.ZodNumber;
8031
+ passed: z.ZodNumber;
8032
+ failed: z.ZodNumber;
8033
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8034
+ items: z.ZodNumber;
8035
+ passed: z.ZodNumber;
8036
+ failed: z.ZodNumber;
8037
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8038
+ items: z.ZodNumber;
8039
+ passed: z.ZodNumber;
8040
+ failed: z.ZodNumber;
8041
+ }, z.ZodTypeAny, "passthrough">>>;
8042
+ }, z.ZodTypeAny, "passthrough">>;
8043
+ root: z.ZodObject<{
8044
+ path: z.ZodString;
8045
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8046
+ store_id: z.ZodOptional<z.ZodString>;
8047
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8048
+ path: z.ZodString;
8049
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8050
+ store_id: z.ZodOptional<z.ZodString>;
8051
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8052
+ path: z.ZodString;
8053
+ source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>;
8054
+ store_id: z.ZodOptional<z.ZodString>;
8055
+ }, z.ZodTypeAny, "passthrough">>;
8056
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
8057
+ status: z.ZodArray<z.ZodObject<{
8058
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8059
+ code: z.ZodString;
8060
+ message: z.ZodString;
8061
+ target: z.ZodOptional<z.ZodString>;
8062
+ fix: z.ZodOptional<z.ZodString>;
8063
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8064
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8065
+ code: z.ZodString;
8066
+ message: z.ZodString;
8067
+ target: z.ZodOptional<z.ZodString>;
8068
+ fix: z.ZodOptional<z.ZodString>;
8069
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8070
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8071
+ code: z.ZodString;
8072
+ message: z.ZodString;
8073
+ target: z.ZodOptional<z.ZodString>;
8074
+ fix: z.ZodOptional<z.ZodString>;
8075
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8076
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8077
+ status: z.ZodArray<z.ZodObject<{
8078
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8079
+ code: z.ZodString;
8080
+ message: z.ZodString;
8081
+ target: z.ZodOptional<z.ZodString>;
8082
+ fix: z.ZodOptional<z.ZodString>;
8083
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8084
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8085
+ code: z.ZodString;
8086
+ message: z.ZodString;
8087
+ target: z.ZodOptional<z.ZodString>;
8088
+ fix: z.ZodOptional<z.ZodString>;
8089
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8090
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8091
+ code: z.ZodString;
8092
+ message: z.ZodString;
8093
+ target: z.ZodOptional<z.ZodString>;
8094
+ fix: z.ZodOptional<z.ZodString>;
8095
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8096
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8097
+ status: z.ZodArray<z.ZodObject<{
8098
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8099
+ code: z.ZodString;
8100
+ message: z.ZodString;
8101
+ target: z.ZodOptional<z.ZodString>;
8102
+ fix: z.ZodOptional<z.ZodString>;
8103
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8104
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8105
+ code: z.ZodString;
8106
+ message: z.ZodString;
8107
+ target: z.ZodOptional<z.ZodString>;
8108
+ fix: z.ZodOptional<z.ZodString>;
8109
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8110
+ severity: z.ZodEnum<["error", "warning", "info"]>;
8111
+ code: z.ZodString;
8112
+ message: z.ZodString;
8113
+ target: z.ZodOptional<z.ZodString>;
8114
+ fix: z.ZodOptional<z.ZodString>;
8115
+ }, z.ZodTypeAny, "passthrough">>, "many">;
8116
+ }, z.ZodTypeAny, "passthrough">>]>;
8117
+ /**
8118
+ * Whether a findings result is the findings document rather than the request-failure
8119
+ * envelope. Passthrough tolerance means a failure envelope may legally carry unknown
8120
+ * keys, so mere `report`-key presence cannot discriminate the union: the guard validates
8121
+ * the upstream discriminator shape — `report` is an object whose `kind` is the
8122
+ * `validation-findings` literal and whose count fields are numbers.
8123
+ *
8124
+ * The input is deliberately `unknown`: route and evidence consumers receive the union
8125
+ * of every validate transport (`CliValidate | CliValidateFindingsResult | null`), so the
8126
+ * guard must accept the consumed boundary, not only the already-narrowed findings union.
8127
+ * It stays a cheap shape check, never a second decode: schema-level invariants
8128
+ * (issue presence, count bounds) belong to `CliValidateFindingsSchema` alone.
8129
+ */
8130
+ declare function isCliValidateFindings(result: unknown): result is CliValidateFindings;
6148
8131
  /** Typed Archive result without inferred retry or readiness semantics. */
6149
8132
  declare const CliArchiveSchema: z.ZodObject<{
6150
8133
  archive: z.ZodNullable<z.ZodObject<{
@@ -6469,15 +8452,18 @@ type CliApplyInstructions = z.infer<typeof CliApplyInstructionsSchema>;
6469
8452
  type CliArchiveInstructions = z.infer<typeof CliArchiveInstructionsSchema>;
6470
8453
  type CliValidate = z.infer<typeof CliValidateSchema>;
6471
8454
  type CliValidateReport = z.infer<typeof CliValidateReportSchema>;
8455
+ type CliValidateFindings = z.infer<typeof CliValidateFindingsSchema>;
8456
+ type CliValidateFindingsResult = z.infer<typeof CliValidateFindingsResultSchema>;
6472
8457
  type CliArchive = z.infer<typeof CliArchiveSchema>;
6473
8458
  //#endregion
6474
8459
  //#region src/openspec-compat.d.ts
6475
8460
  /**
6476
- * Orthogonal intents (updated 2026-08-28 Asia/Shanghai):
8461
+ * Orthogonal intents (updated 2026-09-03 Asia/Shanghai):
6477
8462
  * 1. Encode the shipped OpenSpecUI release line's OpenSpec CLI compatibility law.
6478
8463
  * 2. Classify current, supported non-current, unsupported, and unknown CLI versions.
6479
8464
  * 3. Express the accepted range and the recommended line as separate public facts.
6480
- * 4. Derive per-command capabilities from the detected admitted CLI version.
8465
+ * 4. Derive per-command capabilities (including the 1.12 findings report) from the detected
8466
+ * admitted CLI version.
6481
8467
  * 5. Re-export the browser-safe contract schemas for renderer evidence boundaries.
6482
8468
  *
6483
8469
  * Original request (2026-07-15): "CLI 1.6 兼容性门禁。"
@@ -6485,37 +8471,40 @@ type CliArchive = z.infer<typeof CliArchiveSchema>;
6485
8471
  * Original request (2026-08-01): "v7不兼容1.6.x,明确要求必须使用 v1.7.x。"
6486
8472
  * Original request (2026-08-15): "v9的适配需要同时适配 1.8和1.9。"
6487
8473
  * Original request (2026-08-28): "直接将 0.10.0 和 0.11.0 一起适配,然后发布 v11。"
8474
+ * Original request (2026-09-03): "Openspec 1.12.0 刚刚放出来,你更新一下,调查变更内容,然后开始规划适配工作,我们将用标准工作流worktree来推进"
6488
8475
  */
6489
- declare const OPENSPECUI_TARGET_MAJOR = 11;
6490
- declare const OPENSPEC_CLI_TARGET_SERIES = "1.11";
6491
- declare const OPENSPEC_CLI_SUPPORTED_SERIES: readonly ["1.10", "1.11"];
6492
- declare const OPENSPEC_CLI_MIN_VERSION = "1.10.0";
6493
- declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.11.0";
6494
- declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.11.0";
6495
- declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.12.0";
6496
- declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.10.0 <1.12.0";
6497
- declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.11.0 <1.12.0";
6498
- declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.11.*";
8476
+ declare const OPENSPECUI_TARGET_MAJOR = 12;
8477
+ declare const OPENSPEC_CLI_TARGET_SERIES = "1.12";
8478
+ declare const OPENSPEC_CLI_SUPPORTED_SERIES: readonly ["1.12"];
8479
+ declare const OPENSPEC_CLI_MIN_VERSION = "1.12.0";
8480
+ declare const OPENSPEC_CLI_TARGET_MIN_VERSION = "1.12.0";
8481
+ declare const OPENSPEC_CLI_RECOMMENDED_MIN_VERSION = "1.12.0";
8482
+ declare const OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION = "1.13.0";
8483
+ declare const OPENSPEC_CLI_ACCEPTED_RANGE = ">=1.12.0 <1.13.0";
8484
+ declare const OPENSPEC_CLI_RECOMMENDED_RANGE = ">=1.12.0 <1.13.0";
8485
+ declare const OPENSPEC_CLI_REFERENCE_TAG_PATTERN = "v1.12.*";
6499
8486
  /** Per-command capabilities derived from one admitted OpenSpec CLI version. */
6500
8487
  interface OpenSpecCliCapabilities {
6501
- /** `openspec schemas --json --store <id>` accepts the selector (OpenSpec 1.9+; both admitted lines). */
8488
+ /** `openspec schemas --json --store <id>` accepts the selector (OpenSpec 1.9+; the admitted 1.12 line). */
6502
8489
  schemasRootSelector: boolean;
6503
- /** `openspec validate --archived --json` exists (OpenSpec 1.9+; both admitted lines). */
8490
+ /** `openspec validate --archived --json` exists (OpenSpec 1.9+; the admitted 1.12 line). */
6504
8491
  archivedValidation: boolean;
6505
8492
  /** `openspec init --language <language>` exists (OpenSpec 1.10+). */
6506
8493
  initLanguage: boolean;
6507
- /** `openspec status --all --json` batch envelope exists (OpenSpec 1.11 only; 1.10 rejects the flag). */
8494
+ /** `openspec status --all --json` batch envelope exists (OpenSpec 1.11+; the admitted 1.12 line accepts the flag). */
6508
8495
  batchStatus: boolean;
6509
- /** `openspec show <change> --json --diff` requirement diffs exist (OpenSpec 1.11 only). */
8496
+ /** `openspec show <change> --json --diff` requirement diffs exist (OpenSpec 1.11+; the admitted 1.12 line). */
6510
8497
  requirementDiff: boolean;
8498
+ /** `openspec validate --report findings --json` exists (OpenSpec 1.12 only; explicit bulk scope required). */
8499
+ findingsReport: boolean;
6511
8500
  }
6512
8501
  /**
6513
8502
  * Derive command capabilities from one parsed CLI version.
6514
8503
  *
6515
8504
  * Only an admitted version — stable inside the accepted range — can select version-specific
6516
- * capabilities. Unsupported forms (prereleases, >=1.12, below-range) and unparseable output
8505
+ * capabilities. Unsupported forms (prereleases, >=1.13, below-range) and unparseable output
6517
8506
  * keep their mismatch evidence and expose no capability, so a page-level version bypass can
6518
- * never manufacture a 1.11 command surface for a CLI the release line does not admit.
8507
+ * never manufacture a 1.12 command surface for a CLI the release line does not admit.
6519
8508
  */
6520
8509
  declare function deriveOpenSpecCliCapabilities(version: OpenSpecCliVersion | null): OpenSpecCliCapabilities;
6521
8510
  interface OpenSpecCliVersion {
@@ -14214,13 +16203,33 @@ type CliGatedCommandResult<T> = {
14214
16203
  result: CliCommandResult<T>;
14215
16204
  } | {
14216
16205
  kind: 'unavailable';
14217
- capability: 'batchStatus' | 'requirementDiff';
16206
+ capability: 'batchStatus' | 'requirementDiff' | 'findingsReport';
14218
16207
  };
14219
16208
  /** Options for the OpenSpec 1.11 batch Status command. */
14220
16209
  interface CliWorkflowStatusAllOptions extends CliWorkflowOptions {
14221
16210
  /** Capabilities of the admitted CLI; `batchStatus` must be true to construct argv. */
14222
16211
  capabilities: Pick<OpenSpecCliCapabilities, 'batchStatus'>;
14223
16212
  }
16213
+ /**
16214
+ * Bulk scope (or the archive) targeted by the OpenSpec 1.12 findings report.
16215
+ *
16216
+ * Upstream requires one explicit bulk scope for `--report findings` and rejects an
16217
+ * item name with the typed `invalid_validation_report_request` envelope, so the gated
16218
+ * surface accepts exactly the valid scopes — never an item target.
16219
+ */
16220
+ type CliValidateFindingsTarget = {
16221
+ kind: 'scope';
16222
+ scope: 'all' | 'changes' | 'specs';
16223
+ } | {
16224
+ kind: 'archived';
16225
+ };
16226
+ /** Options for the OpenSpec 1.12 gated findings report command. */
16227
+ interface CliValidateFindingsOptions extends CliRootSelector {
16228
+ /** Capabilities of the admitted CLI; `findingsReport` must be true to construct argv. */
16229
+ capabilities: Pick<OpenSpecCliCapabilities, 'findingsReport'>;
16230
+ /** One explicit bulk scope; the CLI owns every remaining request-combination rejection. */
16231
+ target: CliValidateFindingsTarget;
16232
+ }
14224
16233
  /** Options for the OpenSpec 1.11 show-change diff command. */
14225
16234
  interface CliShowChangeDiffOptions extends CliRootSelector {
14226
16235
  /** Capabilities of the admitted CLI; `requirementDiff` must be true to construct argv. */
@@ -14324,8 +16333,25 @@ declare class OpenSpecCliContractExecutor {
14324
16333
  unregisterStore(id: string): Promise<CliCommandResult<CliStoreCleanup>>;
14325
16334
  /** Remove one Store through the official CLI destructive boundary. */
14326
16335
  removeStore(id: string, options?: CliStoreRemoveOptions): Promise<CliCommandResult<CliStoreCleanup>>;
14327
- /** Validate an item, scope, or the archive without inferring retries or readiness. */
16336
+ /**
16337
+ * Validate an item, scope, or the archive without inferring retries or readiness.
16338
+ *
16339
+ * This plain transport never composes a `--report` flag: the report argv belongs to
16340
+ * `validateFindings` alone, because the retired 1.11 line rejects `--report` entirely
16341
+ * and a report-carrying request is a separate typed truth, never the full-report union.
16342
+ */
14328
16343
  validate(options: CliValidateJsonOptions): Promise<CliCommandResult<CliValidate>>;
16344
+ /**
16345
+ * Read the filtered OpenSpec 1.12 findings evidence for one bulk scope (one spawn).
16346
+ *
16347
+ * Gated by the `findingsReport` capability because only the 1.12 line declares the
16348
+ * `--report` flag at all: a non-admitted CLI receives the typed refusal before any
16349
+ * argv exists, never a flag it would reject. The findings document decodes through
16350
+ * its own result schema (findings document or `invalid_validation_report_request`
16351
+ * envelope), never the full-report union: a findings document is a filtered evidence
16352
+ * transport, so the decode split keeps the two truths separate.
16353
+ */
16354
+ validateFindings(options: CliValidateFindingsOptions): Promise<CliGatedCommandResult<CliValidateFindingsResult>>;
14329
16355
  /** Archive one change without implicit validation bypass or retry. */
14330
16356
  archive(changeId: string, options?: CliRootSelector & {
14331
16357
  skipSpecs?: boolean;
@@ -14333,4 +16359,4 @@ declare class OpenSpecCliContractExecutor {
14333
16359
  }): Promise<CliCommandResult<CliArchive>>;
14334
16360
  }
14335
16361
  //#endregion
14336
- export { CliArchiveSchema as $, OpenSpecUIConfigSchema as $t, OPENSPEC_CLI_ACCEPTED_RANGE as A, CliRootSource as At, OpenSpecCliCompatibility as B, CliSniffResult as Bt, CliStoreMutation as C, CliDiagnosticSchema as Ct, CliShowChangeDiff as D, CliReferenceIndexEntrySchema as Dt, CliShowChangeDelta as E, CliReferenceIndexEntry as Et, OPENSPEC_CLI_REFERENCE_TAG_PATTERN as F, CliStreamHandle as Ft, deriveOpenSpecCliCapabilities as G, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as Gt, OpenSpecCliVersion as H, CodeEditorThemeSchema as Ht, OPENSPEC_CLI_SUPPORTED_SERIES as I, CliStreamSettlement as It, CliApplyInstructions as J, GitConfig as Jt, formatOpenSpecCliVersion as K, DashboardConfig as Kt, OPENSPEC_CLI_TARGET_MIN_VERSION as L, CliStreamTerminationError as Lt, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION as M, CliExecutor as Mt, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION as N, CliResult as Nt, CliShowChangeDiffSuccess as O, CliRoot as Ot, OPENSPEC_CLI_RECOMMENDED_RANGE as P, CliStreamEvent as Pt, CliArchiveInstructionsSchema as Q, OpenSpecUIConfigPresence as Qt, OPENSPEC_CLI_TARGET_SERIES as R, CODE_EDITOR_THEME_VALUES as Rt, CliStoreListSchema as S, CliBatchStatusEntry as Sn, CliDiagnosticFailureSchema as St, CliStoreSchema as T, CliDoctorReferenceEntrySchema as Tt, classifyOpenSpecCliVersion as U, ConfigManager as Ut, OpenSpecCliCompatibilityStatus as V, CodeEditorTheme as Vt, compareOpenSpecCliVersions as W, DEFAULT_CONFIG as Wt, CliArchive as X, OPSX_AGENT_INVOCATION_MODE_VALUES as Xt, CliApplyInstructionsSchema as Y, GitConfigSchema as Yt, CliArchiveInstructions as Z, OpenSpecUIConfig as Zt, CliStoreDoctor as _, getDefaultCliCommandString as _n, CliCommandTransportSchema as _t, CliStoreSetupOptions as a, ResolvedCliRunner as an, CliShowSpec as at, CliStoreDoctorSchema as b, sniffGlobalCli as bn, CliDiagnostic as bt, CliWorkflowOptions as c, TerminalRendererEngine as cn, CliSpecList as ct, CliContextSchema as d, TerminalThemeMode as dn, CliValidateReport as dt, OpenSpecUIConfigUpdate as en, CliArtifactInstructions as et, CliDoctor as f, TerminalThemeModeSchema as fn, CliValidateReportSchema as ft, CliStoreCleanupSchema as g, getDefaultCliCommand as gn, CliCommandResult as gt, CliStoreCleanup as h, createCleanCliEnv as hn, CliWorkflowStatusSchema as ht, CliStoreRemoveOptions as i, OpsxConfigSchema as in, CliChangeListSchema as it, OPENSPEC_CLI_MIN_VERSION as j, CliRootSourceSchema as jt, OPENSPECUI_TARGET_MAJOR as k, CliRootSchema as kt, OpenSpecCliContractExecutor as l, TerminalRendererEngineSchema as ln, CliSpecListSchema as lt, CliStore as m, buildCliRunnerCandidates as mn, CliWorkflowStatus as mt, CliRootSelector as n, OpsxAgentInvocationModeSchema as nn, CliChangeList as nt, CliValidateJsonOptions as o, TerminalConfig as on, CliShowSpecDocumentSchema as ot, CliDoctorSchema as p, TerminalThemeSchema as pn, CliValidateSchema as pt, parseOpenSpecCliVersion as q, DashboardConfigSchema as qt, CliStoreRegisterOptions as r, OpsxConfig as rn, CliChangeListEntry as rt, CliValidateTarget as s, TerminalConfigSchema as sn, CliShowSpecSchema as st, CliGatedCommandResult as t, OpsxAgentInvocationMode as tn, CliArtifactInstructionsSchema as tt, CliContext as u, TerminalThemeId as un, CliValidate as ut, CliStoreDoctorEntry as v, isTerminalRendererEngine as vn, CliJsonValue as vt, CliStoreMutationSchema as w, CliDoctorReferenceEntry as wt, CliStoreList as x, CliBatchStatus as xn, CliDiagnosticFailure as xt, CliStoreDoctorEntrySchema as y, parseCliCommand as yn, parseCliCommandResult as yt, OpenSpecCliCapabilities as z, CliRunnerAttempt as zt };
16362
+ export { CliArchiveSchema as $, GitConfig as $t, OPENSPEC_CLI_ACCEPTED_RANGE as A, CliDoctorReferenceEntrySchema as At, OpenSpecCliCompatibility as B, CliStreamHandle as Bt, CliStoreMutation as C, isTerminalRendererEngine as Cn, CliJsonValue as Ct, CliShowChangeDiff as D, CliBatchStatusEntry as Dn, CliDiagnosticFailureSchema as Dt, CliShowChangeDelta as E, CliBatchStatus as En, CliDiagnosticFailure as Et, OPENSPEC_CLI_REFERENCE_TAG_PATTERN as F, CliRootSource as Ft, deriveOpenSpecCliCapabilities as G, CliSniffResult as Gt, OpenSpecCliVersion as H, CliStreamTerminationError as Ht, OPENSPEC_CLI_SUPPORTED_SERIES as I, CliRootSourceSchema as It, CliApplyInstructions as J, ConfigManager as Jt, formatOpenSpecCliVersion as K, CodeEditorTheme as Kt, OPENSPEC_CLI_TARGET_MIN_VERSION as L, CliExecutor as Lt, OPENSPEC_CLI_NEXT_SERIES_MIN_VERSION as M, CliReferenceIndexEntrySchema as Mt, OPENSPEC_CLI_RECOMMENDED_MIN_VERSION as N, CliRoot as Nt, CliShowChangeDiffSuccess as O, CliDiagnosticSchema as Ot, OPENSPEC_CLI_RECOMMENDED_RANGE as P, CliRootSchema as Pt, CliArchiveInstructionsSchema as Q, DashboardConfigSchema as Qt, OPENSPEC_CLI_TARGET_SERIES as R, CliResult as Rt, CliStoreListSchema as S, getDefaultCliCommandString as Sn, CliCommandTransportSchema as St, CliStoreSchema as T, sniffGlobalCli as Tn, CliDiagnostic as Tt, classifyOpenSpecCliVersion as U, CODE_EDITOR_THEME_VALUES as Ut, OpenSpecCliCompatibilityStatus as V, CliStreamSettlement as Vt, compareOpenSpecCliVersions as W, CliRunnerAttempt as Wt, CliArchive as X, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as Xt, CliApplyInstructionsSchema as Y, DEFAULT_CONFIG as Yt, CliArchiveInstructions as Z, DashboardConfig as Zt, CliStoreDoctor as _, TerminalThemeModeSchema as _n, CliValidateSchema as _t, CliStoreSetupOptions as a, OpenSpecUIConfigUpdate as an, CliShowSpec as at, CliStoreDoctorSchema as b, createCleanCliEnv as bn, isCliValidateFindings as bt, CliWorkflowOptions as c, OpsxConfig as cn, CliSpecList as ct, CliContextSchema as d, TerminalConfig as dn, CliValidateFindings as dt, GitConfigSchema as en, CliArtifactInstructions as et, CliDoctor as f, TerminalConfigSchema as fn, CliValidateFindingsResult as ft, CliStoreCleanupSchema as g, TerminalThemeMode as gn, CliValidateReportSchema as gt, CliStoreCleanup as h, TerminalThemeId as hn, CliValidateReport as ht, CliStoreRemoveOptions as i, OpenSpecUIConfigSchema as in, CliChangeListSchema as it, OPENSPEC_CLI_MIN_VERSION as j, CliReferenceIndexEntry as jt, OPENSPECUI_TARGET_MAJOR as k, CliDoctorReferenceEntry as kt, OpenSpecCliContractExecutor as l, OpsxConfigSchema as ln, CliSpecListSchema as lt, CliStore as m, TerminalRendererEngineSchema as mn, CliValidateFindingsSchema as mt, CliRootSelector as n, OpenSpecUIConfig as nn, CliChangeList as nt, CliValidateJsonOptions as o, OpsxAgentInvocationMode as on, CliShowSpecDocumentSchema as ot, CliDoctorSchema as p, TerminalRendererEngine as pn, CliValidateFindingsResultSchema as pt, parseOpenSpecCliVersion as q, CodeEditorThemeSchema as qt, CliStoreRegisterOptions as r, OpenSpecUIConfigPresence as rn, CliChangeListEntry as rt, CliValidateTarget as s, OpsxAgentInvocationModeSchema as sn, CliShowSpecSchema as st, CliGatedCommandResult as t, OPSX_AGENT_INVOCATION_MODE_VALUES as tn, CliArtifactInstructionsSchema as tt, CliContext as u, ResolvedCliRunner as un, CliValidate as ut, CliStoreDoctorEntry as v, TerminalThemeSchema as vn, CliWorkflowStatus as vt, CliStoreMutationSchema as w, parseCliCommand as wn, parseCliCommandResult as wt, CliStoreList as x, getDefaultCliCommand as xn, CliCommandResult as xt, CliStoreDoctorEntrySchema as y, buildCliRunnerCandidates as yn, CliWorkflowStatusSchema as yt, OpenSpecCliCapabilities as z, CliStreamEvent as zt };