@unbrained/pm-cli 2026.8.10 → 2026.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +102 -80
  3. package/dist/cli/commander-usage.js +79 -7
  4. package/dist/cli/error-guidance.d.ts +10 -0
  5. package/dist/cli/error-guidance.js +76 -25
  6. package/dist/cli/main.js +6 -2
  7. package/dist/cli/register-assurance.d.ts +8 -0
  8. package/dist/cli/register-assurance.js +52 -0
  9. package/dist/cli/register-files-lookup.js +14 -3
  10. package/dist/cli/register-mutation.js +30 -9
  11. package/dist/cli/register-operations.js +16 -11
  12. package/dist/cli-bundle/bundle-manifest.json +159 -159
  13. package/dist/cli-bundle/chunks/{chunk-TRWXF476.js → chunk-2OOU2AFH.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-2RA2YTHJ.js +33 -0
  15. package/dist/cli-bundle/chunks/chunk-A2SJGHSI.js +3 -0
  16. package/dist/cli-bundle/chunks/chunk-DSKYD4LG.js +13 -0
  17. package/dist/cli-bundle/chunks/chunk-HC3GM6YY.js +194 -0
  18. package/dist/cli-bundle/chunks/chunk-IUNRVDAI.js +2 -0
  19. package/dist/cli-bundle/chunks/chunk-W7CPZGSB.js +2 -0
  20. package/dist/cli-bundle/chunks/{chunk-EBO7OUUE.js → chunk-WMEZHCFI.js} +59 -53
  21. package/dist/cli-bundle/chunks/{chunk-ETML5C6H.js → chunk-ZU34C3LH.js} +47 -47
  22. package/dist/cli-bundle/chunks/chunk-ZXOC6HG5.js +5 -0
  23. package/dist/cli-bundle/chunks/{register-list-query-OJ6ZXKV4.js → register-list-query-HAUXVUPY.js} +8 -8
  24. package/dist/cli-bundle/chunks/register-mutation-7Y5U7ABT.js +20 -0
  25. package/dist/cli-bundle/chunks/register-operations-EQX3DLAZ.js +2 -0
  26. package/dist/cli-bundle/chunks/{register-setup-S3KT2LTH.js → register-setup-NOCOOWQY.js} +2 -2
  27. package/dist/cli-bundle/focused-chunks/{chunk-34SX654S.js → chunk-23FTGO3W.js} +2 -2
  28. package/dist/cli-bundle/focused-chunks/{chunk-2COZ67XT.js → chunk-2DL3MRTD.js} +2 -2
  29. package/dist/cli-bundle/focused-chunks/chunk-3AYKXMYX.js +2 -0
  30. package/dist/cli-bundle/focused-chunks/chunk-4AHEC74N.js +2 -0
  31. package/dist/cli-bundle/focused-chunks/{chunk-7UN6BHHO.js → chunk-4H5IA6AV.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/chunk-4SV3ZKG3.js +16 -0
  33. package/dist/cli-bundle/focused-chunks/chunk-55BIB6DV.js +2 -0
  34. package/dist/cli-bundle/focused-chunks/chunk-6JW6Z2P5.js +8 -0
  35. package/dist/cli-bundle/focused-chunks/{chunk-IW43E4XL.js → chunk-BKPIY34S.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/chunk-D4PIWE6D.js +2 -0
  37. package/dist/cli-bundle/focused-chunks/{chunk-KR5RVXLQ.js → chunk-DPO7TEFX.js} +29 -29
  38. package/dist/cli-bundle/focused-chunks/{chunk-JMVA4HKR.js → chunk-E3KCL7AY.js} +2 -2
  39. package/dist/cli-bundle/focused-chunks/chunk-ERAAFLPS.js +153 -0
  40. package/dist/cli-bundle/focused-chunks/{chunk-RIIN5V4N.js → chunk-F6E4JZKG.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/chunk-FPSYO5ZG.js +18 -0
  42. package/dist/cli-bundle/focused-chunks/{chunk-M6RPIXKC.js → chunk-J5EKAIVD.js} +2 -2
  43. package/dist/cli-bundle/focused-chunks/{chunk-2EXI2DKR.js → chunk-KDH5OX3D.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-OJ3LVVIS.js +2 -0
  45. package/dist/cli-bundle/focused-chunks/{chunk-DZGAHZZV.js → chunk-TL5M2PAY.js} +2 -2
  46. package/dist/cli-bundle/focused-chunks/{chunk-75774JWP.js → chunk-UDAZWT25.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/chunk-VABB4L5Y.js +17 -0
  48. package/dist/cli-bundle/main.js +13 -13
  49. package/dist/cli-bundle/sdk-authoring.js +1 -1
  50. package/dist/cli-bundle/sdk-contracts.js +1 -1
  51. package/dist/cli-bundle/sdk-core.js +41 -39
  52. package/dist/cli-bundle/sdk-governance.js +1 -1
  53. package/dist/cli-bundle/sdk-graph.js +1 -1
  54. package/dist/cli-bundle/sdk-merge.js +1 -1
  55. package/dist/cli-bundle/sdk-query.js +1 -1
  56. package/dist/cli-bundle/sdk-runtime.js +1 -1
  57. package/dist/cli-bundle/sdk-testing.js +1 -1
  58. package/dist/cli-bundle/sdk.js +2 -2
  59. package/dist/core/session/session-state.d.ts +47 -0
  60. package/dist/core/session/session-state.js +207 -6
  61. package/dist/core/shared/author.d.ts +7 -1
  62. package/dist/core/shared/author.js +66 -46
  63. package/dist/core/shared/errors.d.ts +8 -0
  64. package/dist/core/shared/errors.js +2 -2
  65. package/dist/sdk/agent/refusal-reachability.d.ts +40 -0
  66. package/dist/sdk/agent/refusal-reachability.js +72 -0
  67. package/dist/sdk/agent/subcommand-recovery.d.ts +40 -0
  68. package/dist/sdk/agent/subcommand-recovery.js +84 -0
  69. package/dist/sdk/cli-bootstrap.d.ts +8 -0
  70. package/dist/sdk/cli-bootstrap.js +7 -7
  71. package/dist/sdk/cli-contracts/completeness.js +13 -3
  72. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  73. package/dist/sdk/cli-contracts/enum-contracts.js +3 -2
  74. package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
  75. package/dist/sdk/cli-contracts/flag-contracts.js +17 -2
  76. package/dist/sdk/cli-contracts/runtime-contracts.js +4 -3
  77. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +513 -0
  78. package/dist/sdk/cli-contracts/schemas/assurance-definition.js +251 -0
  79. package/dist/sdk/cli-contracts/tool-parameter-tables.js +79 -2
  80. package/dist/sdk/cli-contracts/tool-schema.d.ts +2 -2
  81. package/dist/sdk/cli-contracts/tool-schema.js +34 -4
  82. package/dist/sdk/cli-contracts.d.ts +1 -1
  83. package/dist/sdk/cli-contracts.js +3 -3
  84. package/dist/sdk/completion.js +9 -3
  85. package/dist/sdk/config.js +9 -3
  86. package/dist/sdk/context/semantic-session-attribution.d.ts +32 -0
  87. package/dist/sdk/context/semantic-session-attribution.js +83 -0
  88. package/dist/sdk/core-governance.d.ts +3 -1
  89. package/dist/sdk/core-governance.js +5 -3
  90. package/dist/sdk/core.d.ts +1 -1
  91. package/dist/sdk/core.js +2 -2
  92. package/dist/sdk/error-code-catalog.d.ts +13 -0
  93. package/dist/sdk/error-code-catalog.js +35 -2
  94. package/dist/sdk/extension.js +18 -17
  95. package/dist/sdk/files.d.ts +11 -0
  96. package/dist/sdk/files.js +82 -24
  97. package/dist/sdk/generated-error-code-catalog.js +32 -13
  98. package/dist/sdk/governance/assurance-action-contracts.d.ts +7 -0
  99. package/dist/sdk/governance/assurance-action-contracts.js +5 -0
  100. package/dist/sdk/governance/assurance-action.d.ts +70 -0
  101. package/dist/sdk/governance/assurance-action.js +198 -0
  102. package/dist/sdk/governance/assurance-limits.d.ts +7 -0
  103. package/dist/sdk/governance/assurance-limits.js +11 -0
  104. package/dist/sdk/governance/assurance-runtime.d.ts +20 -0
  105. package/dist/sdk/governance/assurance-runtime.js +131 -0
  106. package/dist/sdk/governance/assurance.d.ts +432 -0
  107. package/dist/sdk/governance/assurance.js +689 -0
  108. package/dist/sdk/graph/run.js +8 -3
  109. package/dist/sdk/index.d.ts +6 -1
  110. package/dist/sdk/index.js +8 -3
  111. package/dist/sdk/lifecycle/claim.js +18 -3
  112. package/dist/sdk/lifecycle/focus.js +13 -3
  113. package/dist/sdk/lifecycle/plan.js +8 -3
  114. package/dist/sdk/provenance.d.ts +38 -0
  115. package/dist/sdk/provenance.js +64 -2
  116. package/dist/sdk/query/context.js +19 -8
  117. package/dist/sdk/runtime-extended-actions.js +22 -5
  118. package/dist/sdk/runtime-primitives.d.ts +2 -0
  119. package/dist/sdk/runtime-primitives.js +4 -2
  120. package/dist/sdk/runtime.d.ts +4 -0
  121. package/dist/sdk/runtime.js +31 -27
  122. package/dist/sdk/telemetry.js +7 -4
  123. package/dist/sdk/traceability/runtime-files-lookup.d.ts +8 -0
  124. package/dist/sdk/traceability/runtime-files-lookup.js +33 -0
  125. package/dist/sdk/traceability/source-traceability.d.ts +102 -0
  126. package/dist/sdk/traceability/source-traceability.js +293 -0
  127. package/dist/types.d.ts +8 -2
  128. package/dist/types.js +2 -2
  129. package/docs/ASSURANCE.md +132 -0
  130. package/docs/README.md +1 -0
  131. package/docs/RELEASING.md +9 -5
  132. package/docs/SDK.md +12 -1
  133. package/docs/SDK_AGENT_SESSION_CONTEXT.md +40 -4
  134. package/docs/SDK_EVIDENCE_TRACEABILITY.md +39 -1
  135. package/docs/SDK_RUNTIME_BOUNDARIES.md +36 -1
  136. package/docs/TESTING.md +12 -9
  137. package/docs/generated/AGENT_COMMAND_SURFACE.md +1 -0
  138. package/marketplace.json +2 -2
  139. package/package.json +3 -3
  140. package/packages/pm-beads/package.json +1 -1
  141. package/packages/pm-calendar/package.json +1 -1
  142. package/packages/pm-command-kit/package.json +1 -1
  143. package/packages/pm-digital-twin/package.json +1 -1
  144. package/packages/pm-governance-audit/package.json +1 -1
  145. package/packages/pm-guide-shell/package.json +1 -1
  146. package/packages/pm-kanban/package.json +1 -1
  147. package/packages/pm-lifecycle-hooks/package.json +1 -1
  148. package/packages/pm-linked-test-adapters/package.json +1 -1
  149. package/packages/pm-search-advanced/package.json +1 -1
  150. package/packages/pm-templates/extensions/templates/index.ts +9 -3
  151. package/packages/pm-templates/package.json +1 -1
  152. package/packages/pm-todos/package.json +1 -1
  153. package/packages/pm-vcs/package.json +1 -1
  154. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  155. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  156. package/sdk/public-surface.json +840 -28
  157. package/dist/cli-bundle/chunks/chunk-2QYH4QMI.js +0 -30
  158. package/dist/cli-bundle/chunks/chunk-JUDU4RO4.js +0 -194
  159. package/dist/cli-bundle/chunks/chunk-JZSNADRR.js +0 -5
  160. package/dist/cli-bundle/chunks/chunk-MENWVGJW.js +0 -2
  161. package/dist/cli-bundle/chunks/chunk-S4EITGLA.js +0 -3
  162. package/dist/cli-bundle/chunks/chunk-TIGKWVLA.js +0 -13
  163. package/dist/cli-bundle/chunks/chunk-TSLDTJLQ.js +0 -2
  164. package/dist/cli-bundle/chunks/register-mutation-DKI7QC7O.js +0 -20
  165. package/dist/cli-bundle/chunks/register-operations-P5OGMT6I.js +0 -2
  166. package/dist/cli-bundle/focused-chunks/chunk-36FTZ2NT.js +0 -2
  167. package/dist/cli-bundle/focused-chunks/chunk-3CQECMKR.js +0 -16
  168. package/dist/cli-bundle/focused-chunks/chunk-CHIBMEZR.js +0 -8
  169. package/dist/cli-bundle/focused-chunks/chunk-FF4MNAYB.js +0 -153
  170. package/dist/cli-bundle/focused-chunks/chunk-GHTN2ILR.js +0 -2
  171. package/dist/cli-bundle/focused-chunks/chunk-I4YM2I7S.js +0 -2
  172. package/dist/cli-bundle/focused-chunks/chunk-IMDTEN7K.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/chunk-KSNJG4KI.js +0 -16
  174. package/dist/cli-bundle/focused-chunks/chunk-MXYSIQ56.js +0 -18
  175. package/dist/cli-bundle/focused-chunks/chunk-RKWSCYYN.js +0 -2
@@ -0,0 +1,513 @@
1
+ /**
2
+ * @module sdk/cli-contracts/schemas/assurance-definition
3
+ *
4
+ * Defines the strict JSON Schema accepted by assurance definition mutations.
5
+ */
6
+ /** JSON Schema for measurement, assertion, and gate assurance definitions. */
7
+ export declare const ASSURANCE_DEFINITION_SCHEMA: {
8
+ oneOf: ({
9
+ type: string;
10
+ additionalProperties: boolean;
11
+ required: string[];
12
+ properties: {
13
+ id: {
14
+ type: string;
15
+ minLength: number;
16
+ };
17
+ description: {
18
+ type: string;
19
+ };
20
+ max_cost: {
21
+ type: string;
22
+ minimum: number;
23
+ };
24
+ source: {
25
+ oneOf: ({
26
+ type: string;
27
+ required: string[];
28
+ properties: {
29
+ kind: {
30
+ const: string;
31
+ };
32
+ check: {
33
+ type: string;
34
+ minLength: number;
35
+ };
36
+ field: {
37
+ type: string;
38
+ minLength: number;
39
+ };
40
+ };
41
+ additionalProperties: boolean;
42
+ } | {
43
+ type: string;
44
+ additionalProperties: boolean;
45
+ required: string[];
46
+ allOf: Record<string, unknown>[];
47
+ properties: {
48
+ kind: {
49
+ const: string;
50
+ };
51
+ statuses: {
52
+ type: string;
53
+ items: {
54
+ type: string;
55
+ };
56
+ };
57
+ types: {
58
+ type: string;
59
+ items: {
60
+ type: string;
61
+ };
62
+ };
63
+ tags: {
64
+ type: string;
65
+ items: {
66
+ type: string;
67
+ };
68
+ };
69
+ field: {
70
+ type: string;
71
+ minLength?: undefined;
72
+ };
73
+ equals: {
74
+ type: string[];
75
+ };
76
+ dependency_kind?: undefined;
77
+ operation?: undefined;
78
+ parameters?: undefined;
79
+ op?: undefined;
80
+ author?: undefined;
81
+ harness?: undefined;
82
+ model?: undefined;
83
+ link?: undefined;
84
+ state?: undefined;
85
+ provider?: undefined;
86
+ key?: undefined;
87
+ expression?: undefined;
88
+ };
89
+ } | {
90
+ type: string;
91
+ additionalProperties: boolean;
92
+ required: string[];
93
+ properties: {
94
+ kind: {
95
+ const: string;
96
+ };
97
+ dependency_kind: {
98
+ type: string;
99
+ minLength: number;
100
+ };
101
+ statuses?: undefined;
102
+ types?: undefined;
103
+ tags?: undefined;
104
+ field?: undefined;
105
+ equals?: undefined;
106
+ operation?: undefined;
107
+ parameters?: undefined;
108
+ op?: undefined;
109
+ author?: undefined;
110
+ harness?: undefined;
111
+ model?: undefined;
112
+ link?: undefined;
113
+ state?: undefined;
114
+ provider?: undefined;
115
+ key?: undefined;
116
+ expression?: undefined;
117
+ };
118
+ allOf?: undefined;
119
+ } | {
120
+ type: string;
121
+ required: string[];
122
+ properties: {
123
+ kind: {
124
+ const: string;
125
+ };
126
+ operation: {
127
+ type: string;
128
+ minLength: number;
129
+ };
130
+ field: {
131
+ type: string;
132
+ minLength: number;
133
+ };
134
+ parameters: {
135
+ type: string;
136
+ };
137
+ statuses?: undefined;
138
+ types?: undefined;
139
+ tags?: undefined;
140
+ equals?: undefined;
141
+ dependency_kind?: undefined;
142
+ op?: undefined;
143
+ author?: undefined;
144
+ harness?: undefined;
145
+ model?: undefined;
146
+ link?: undefined;
147
+ state?: undefined;
148
+ provider?: undefined;
149
+ key?: undefined;
150
+ expression?: undefined;
151
+ };
152
+ additionalProperties: boolean;
153
+ allOf?: undefined;
154
+ } | {
155
+ type: string;
156
+ additionalProperties: boolean;
157
+ required: string[];
158
+ properties: {
159
+ kind: {
160
+ const: string;
161
+ };
162
+ op: {
163
+ type: string;
164
+ };
165
+ author: {
166
+ type: string;
167
+ };
168
+ harness: {
169
+ type: string;
170
+ };
171
+ model: {
172
+ type: string;
173
+ };
174
+ statuses?: undefined;
175
+ types?: undefined;
176
+ tags?: undefined;
177
+ field?: undefined;
178
+ equals?: undefined;
179
+ dependency_kind?: undefined;
180
+ operation?: undefined;
181
+ parameters?: undefined;
182
+ link?: undefined;
183
+ state?: undefined;
184
+ provider?: undefined;
185
+ key?: undefined;
186
+ expression?: undefined;
187
+ };
188
+ allOf?: undefined;
189
+ } | {
190
+ type: string;
191
+ additionalProperties: boolean;
192
+ required: string[];
193
+ properties: {
194
+ kind: {
195
+ const: string;
196
+ };
197
+ link: {
198
+ enum: string[];
199
+ };
200
+ state: {
201
+ enum: string[];
202
+ };
203
+ statuses?: undefined;
204
+ types?: undefined;
205
+ tags?: undefined;
206
+ field?: undefined;
207
+ equals?: undefined;
208
+ dependency_kind?: undefined;
209
+ operation?: undefined;
210
+ parameters?: undefined;
211
+ op?: undefined;
212
+ author?: undefined;
213
+ harness?: undefined;
214
+ model?: undefined;
215
+ provider?: undefined;
216
+ key?: undefined;
217
+ expression?: undefined;
218
+ };
219
+ allOf?: undefined;
220
+ } | {
221
+ type: string;
222
+ additionalProperties: boolean;
223
+ required: string[];
224
+ properties: {
225
+ kind: {
226
+ const: string;
227
+ };
228
+ provider: {
229
+ type: string;
230
+ minLength: number;
231
+ };
232
+ key: {
233
+ type: string;
234
+ minLength: number;
235
+ };
236
+ parameters: {
237
+ type: string;
238
+ };
239
+ statuses?: undefined;
240
+ types?: undefined;
241
+ tags?: undefined;
242
+ field?: undefined;
243
+ equals?: undefined;
244
+ dependency_kind?: undefined;
245
+ operation?: undefined;
246
+ op?: undefined;
247
+ author?: undefined;
248
+ harness?: undefined;
249
+ model?: undefined;
250
+ link?: undefined;
251
+ state?: undefined;
252
+ expression?: undefined;
253
+ };
254
+ allOf?: undefined;
255
+ } | {
256
+ type: string;
257
+ additionalProperties: boolean;
258
+ required: string[];
259
+ properties: {
260
+ kind: {
261
+ const: string;
262
+ };
263
+ expression: {
264
+ type: string;
265
+ minProperties: number;
266
+ };
267
+ statuses?: undefined;
268
+ types?: undefined;
269
+ tags?: undefined;
270
+ field?: undefined;
271
+ equals?: undefined;
272
+ dependency_kind?: undefined;
273
+ operation?: undefined;
274
+ parameters?: undefined;
275
+ op?: undefined;
276
+ author?: undefined;
277
+ harness?: undefined;
278
+ model?: undefined;
279
+ link?: undefined;
280
+ state?: undefined;
281
+ provider?: undefined;
282
+ key?: undefined;
283
+ };
284
+ allOf?: undefined;
285
+ })[];
286
+ };
287
+ measurement_id?: undefined;
288
+ owner_item_id?: undefined;
289
+ scope?: undefined;
290
+ ceiling?: undefined;
291
+ floor?: undefined;
292
+ equals?: undefined;
293
+ zero?: undefined;
294
+ monotone_nondecreasing?: undefined;
295
+ monotone_nonincreasing?: undefined;
296
+ subset_of?: undefined;
297
+ lifetime?: undefined;
298
+ retire_reason?: undefined;
299
+ enforcement?: undefined;
300
+ authorization_decision?: undefined;
301
+ negative_control?: undefined;
302
+ assertion_ids?: undefined;
303
+ triggers?: undefined;
304
+ };
305
+ oneOf?: undefined;
306
+ allOf?: undefined;
307
+ } | {
308
+ type: string;
309
+ additionalProperties: boolean;
310
+ required: string[];
311
+ oneOf: {
312
+ required: string[];
313
+ }[];
314
+ allOf: {
315
+ oneOf: ({
316
+ not: {
317
+ required: string[];
318
+ properties: {
319
+ lifetime: {
320
+ const: string;
321
+ };
322
+ };
323
+ };
324
+ required?: undefined;
325
+ properties?: undefined;
326
+ } | {
327
+ required: string[];
328
+ properties: {
329
+ lifetime: {
330
+ const: string;
331
+ };
332
+ retire_reason: {
333
+ type: string;
334
+ minLength: number;
335
+ };
336
+ };
337
+ not?: undefined;
338
+ })[];
339
+ }[];
340
+ properties: {
341
+ id: {
342
+ type: string;
343
+ minLength: number;
344
+ };
345
+ measurement_id: {
346
+ type: string;
347
+ minLength: number;
348
+ };
349
+ owner_item_id: {
350
+ type: string;
351
+ minLength: number;
352
+ };
353
+ scope: {
354
+ oneOf: ({
355
+ type: string;
356
+ additionalProperties: boolean;
357
+ required: string[];
358
+ properties: {
359
+ kind: {
360
+ enum: string[];
361
+ const?: undefined;
362
+ };
363
+ measurement_id?: undefined;
364
+ };
365
+ } | {
366
+ type: string;
367
+ additionalProperties: boolean;
368
+ required: string[];
369
+ properties: {
370
+ kind: {
371
+ const: string;
372
+ enum?: undefined;
373
+ };
374
+ measurement_id: {
375
+ type: string;
376
+ minLength: number;
377
+ };
378
+ };
379
+ })[];
380
+ };
381
+ ceiling: {
382
+ type: string;
383
+ };
384
+ floor: {
385
+ type: string;
386
+ };
387
+ equals: {
388
+ oneOf: ({
389
+ type: string;
390
+ items?: undefined;
391
+ } | {
392
+ type: string;
393
+ items: {
394
+ type: string;
395
+ };
396
+ })[];
397
+ };
398
+ zero: {
399
+ const: boolean;
400
+ };
401
+ monotone_nondecreasing: {
402
+ type: string;
403
+ };
404
+ monotone_nonincreasing: {
405
+ type: string;
406
+ };
407
+ subset_of: {
408
+ type: string;
409
+ items: {
410
+ type: string;
411
+ };
412
+ };
413
+ lifetime: {
414
+ enum: string[];
415
+ };
416
+ retire_reason: {
417
+ type: string;
418
+ minLength: number;
419
+ };
420
+ enforcement: {
421
+ enum: string[];
422
+ };
423
+ authorization_decision: {
424
+ type: string;
425
+ minLength: number;
426
+ };
427
+ negative_control: {
428
+ type: string;
429
+ additionalProperties: boolean;
430
+ required: string[];
431
+ properties: {
432
+ cases: {
433
+ type: string;
434
+ minItems: number;
435
+ items: {
436
+ type: string;
437
+ additionalProperties: boolean;
438
+ required: string[];
439
+ properties: {
440
+ observed: {
441
+ oneOf: ({
442
+ type: string;
443
+ items?: undefined;
444
+ } | {
445
+ type: string;
446
+ items: {
447
+ type: string;
448
+ };
449
+ })[];
450
+ };
451
+ expected: {
452
+ enum: string[];
453
+ };
454
+ };
455
+ };
456
+ };
457
+ };
458
+ };
459
+ description?: undefined;
460
+ max_cost?: undefined;
461
+ source?: undefined;
462
+ assertion_ids?: undefined;
463
+ triggers?: undefined;
464
+ };
465
+ } | {
466
+ type: string;
467
+ additionalProperties: boolean;
468
+ required: string[];
469
+ properties: {
470
+ id: {
471
+ type: string;
472
+ minLength: number;
473
+ };
474
+ description: {
475
+ type: string;
476
+ };
477
+ assertion_ids: {
478
+ type: string;
479
+ minItems: number;
480
+ items: {
481
+ type: string;
482
+ minLength: number;
483
+ };
484
+ };
485
+ triggers: {
486
+ type: string;
487
+ minItems: number;
488
+ items: {
489
+ enum: string[];
490
+ };
491
+ };
492
+ max_cost?: undefined;
493
+ source?: undefined;
494
+ measurement_id?: undefined;
495
+ owner_item_id?: undefined;
496
+ scope?: undefined;
497
+ ceiling?: undefined;
498
+ floor?: undefined;
499
+ equals?: undefined;
500
+ zero?: undefined;
501
+ monotone_nondecreasing?: undefined;
502
+ monotone_nonincreasing?: undefined;
503
+ subset_of?: undefined;
504
+ lifetime?: undefined;
505
+ retire_reason?: undefined;
506
+ enforcement?: undefined;
507
+ authorization_decision?: undefined;
508
+ negative_control?: undefined;
509
+ };
510
+ oneOf?: undefined;
511
+ allOf?: undefined;
512
+ })[];
513
+ };