@unbrained/pm-cli 2026.8.9 → 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 (249) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +142 -80
  3. package/dist/cli/commander-usage.js +94 -17
  4. package/dist/cli/error-guidance.d.ts +10 -0
  5. package/dist/cli/error-guidance.js +76 -25
  6. package/dist/cli/help-json-payload.js +51 -16
  7. package/dist/cli/main.js +11 -6
  8. package/dist/cli/register-assurance.d.ts +8 -0
  9. package/dist/cli/register-assurance.js +52 -0
  10. package/dist/cli/register-files-lookup.js +14 -3
  11. package/dist/cli/register-mutation.js +30 -9
  12. package/dist/cli/register-operations.js +16 -11
  13. package/dist/cli-bundle/bundle-manifest.json +163 -163
  14. package/dist/cli-bundle/chunks/{chunk-RJC7TPF4.js → chunk-2OOU2AFH.js} +2 -2
  15. package/dist/cli-bundle/chunks/chunk-2RA2YTHJ.js +33 -0
  16. package/dist/cli-bundle/chunks/chunk-A2SJGHSI.js +3 -0
  17. package/dist/cli-bundle/chunks/chunk-DSKYD4LG.js +13 -0
  18. package/dist/cli-bundle/chunks/chunk-HC3GM6YY.js +194 -0
  19. package/dist/cli-bundle/chunks/chunk-IUNRVDAI.js +2 -0
  20. package/dist/cli-bundle/chunks/chunk-W7CPZGSB.js +2 -0
  21. package/dist/cli-bundle/chunks/{chunk-YC3UF2IO.js → chunk-WMEZHCFI.js} +66 -60
  22. package/dist/cli-bundle/chunks/{chunk-GMX5YOI3.js → chunk-ZU34C3LH.js} +48 -48
  23. package/dist/cli-bundle/chunks/chunk-ZXOC6HG5.js +5 -0
  24. package/dist/cli-bundle/chunks/{register-list-query-BUE7PTCU.js → register-list-query-HAUXVUPY.js} +8 -8
  25. package/dist/cli-bundle/chunks/register-mutation-7Y5U7ABT.js +20 -0
  26. package/dist/cli-bundle/chunks/register-operations-EQX3DLAZ.js +2 -0
  27. package/dist/cli-bundle/chunks/{register-setup-UQDTNTLJ.js → register-setup-NOCOOWQY.js} +2 -2
  28. package/dist/cli-bundle/focused-chunks/{chunk-KNEHLPBF.js → chunk-23FTGO3W.js} +2 -2
  29. package/dist/cli-bundle/focused-chunks/{chunk-6DO4YQWZ.js → chunk-2DL3MRTD.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/chunk-3AYKXMYX.js +2 -0
  31. package/dist/cli-bundle/focused-chunks/chunk-4AHEC74N.js +2 -0
  32. package/dist/cli-bundle/focused-chunks/{chunk-MRWVJ3ZG.js → chunk-4H5IA6AV.js} +2 -2
  33. package/dist/cli-bundle/focused-chunks/chunk-4SV3ZKG3.js +16 -0
  34. package/dist/cli-bundle/focused-chunks/chunk-55BIB6DV.js +2 -0
  35. package/dist/cli-bundle/focused-chunks/chunk-6JW6Z2P5.js +8 -0
  36. package/dist/cli-bundle/focused-chunks/chunk-BKPIY34S.js +2 -0
  37. package/dist/cli-bundle/focused-chunks/chunk-D4PIWE6D.js +2 -0
  38. package/dist/cli-bundle/focused-chunks/chunk-DPO7TEFX.js +31 -0
  39. package/dist/cli-bundle/focused-chunks/{chunk-3WVHTUAW.js → chunk-E3KCL7AY.js} +2 -2
  40. package/dist/cli-bundle/focused-chunks/chunk-ERAAFLPS.js +153 -0
  41. package/dist/cli-bundle/focused-chunks/chunk-F6E4JZKG.js +2 -0
  42. package/dist/cli-bundle/focused-chunks/chunk-FPSYO5ZG.js +18 -0
  43. package/dist/cli-bundle/focused-chunks/{chunk-73FIJONU.js → chunk-J5EKAIVD.js} +2 -2
  44. package/dist/cli-bundle/focused-chunks/chunk-KDH5OX3D.js +4 -0
  45. package/dist/cli-bundle/focused-chunks/chunk-OJ3LVVIS.js +2 -0
  46. package/dist/cli-bundle/focused-chunks/chunk-TL5M2PAY.js +3 -0
  47. package/dist/cli-bundle/focused-chunks/chunk-UDAZWT25.js +6 -0
  48. package/dist/cli-bundle/focused-chunks/chunk-VABB4L5Y.js +17 -0
  49. package/dist/cli-bundle/main.js +13 -13
  50. package/dist/cli-bundle/sdk-authoring.js +1 -1
  51. package/dist/cli-bundle/sdk-contracts.js +1 -1
  52. package/dist/cli-bundle/sdk-core.js +41 -39
  53. package/dist/cli-bundle/sdk-governance.js +1 -1
  54. package/dist/cli-bundle/sdk-graph.js +1 -1
  55. package/dist/cli-bundle/sdk-merge.js +1 -1
  56. package/dist/cli-bundle/sdk-query.js +1 -1
  57. package/dist/cli-bundle/sdk-runtime.js +1 -1
  58. package/dist/cli-bundle/sdk-testing.js +1 -1
  59. package/dist/cli-bundle/sdk.js +2 -2
  60. package/dist/core/diagnostics/remediation.js +9 -9
  61. package/dist/core/fs/fs-utils.d.ts +10 -0
  62. package/dist/core/fs/fs-utils.js +16 -4
  63. package/dist/core/item/item-format.js +3 -32
  64. package/dist/core/schema/fields-file.d.ts +1 -2
  65. package/dist/core/schema/fields-file.js +4 -11
  66. package/dist/core/schema/runtime-schema.js +3 -10
  67. package/dist/core/schema/status-defs-file.d.ts +1 -2
  68. package/dist/core/schema/status-defs-file.js +4 -32
  69. package/dist/core/schema/status-token.d.ts +2 -0
  70. package/dist/core/schema/status-token.js +32 -0
  71. package/dist/core/schema/type-workflows.d.ts +1 -2
  72. package/dist/core/schema/type-workflows.js +4 -11
  73. package/dist/core/session/session-state.d.ts +47 -0
  74. package/dist/core/session/session-state.js +207 -6
  75. package/dist/core/shared/author.d.ts +8 -2
  76. package/dist/core/shared/author.js +85 -52
  77. package/dist/core/shared/errors.d.ts +12 -0
  78. package/dist/core/shared/errors.js +2 -2
  79. package/dist/core/shared/text-normalization.d.ts +1 -1
  80. package/dist/core/shared/text-normalization.js +2 -2
  81. package/dist/sdk/agent/command-recovery.d.ts +4 -0
  82. package/dist/sdk/agent/command-recovery.js +52 -0
  83. package/dist/sdk/agent/command-suggestions.d.ts +4 -0
  84. package/dist/sdk/agent/command-suggestions.js +67 -0
  85. package/dist/sdk/agent/create-option-policy.d.ts +12 -0
  86. package/dist/sdk/agent/create-option-policy.js +32 -0
  87. package/dist/sdk/agent/item-addressing.d.ts +19 -0
  88. package/dist/sdk/agent/item-addressing.js +208 -0
  89. package/dist/sdk/agent/refusal-reachability.d.ts +40 -0
  90. package/dist/sdk/agent/refusal-reachability.js +72 -0
  91. package/dist/sdk/agent/subcommand-recovery.d.ts +40 -0
  92. package/dist/sdk/agent/subcommand-recovery.js +84 -0
  93. package/dist/sdk/cli-bootstrap.d.ts +9 -1
  94. package/dist/sdk/cli-bootstrap.js +25 -10
  95. package/dist/sdk/cli-contracts/commander-mutation-options.js +16 -4
  96. package/dist/sdk/cli-contracts/completeness.js +13 -3
  97. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  98. package/dist/sdk/cli-contracts/enum-contracts.js +3 -2
  99. package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
  100. package/dist/sdk/cli-contracts/flag-contracts.js +77 -21
  101. package/dist/sdk/cli-contracts/registration-helpers.js +10 -2
  102. package/dist/sdk/cli-contracts/runtime-contracts.js +6 -3
  103. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +513 -0
  104. package/dist/sdk/cli-contracts/schemas/assurance-definition.js +251 -0
  105. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +6 -0
  106. package/dist/sdk/cli-contracts/tool-option-contracts.js +4 -2
  107. package/dist/sdk/cli-contracts/tool-parameter-tables.js +96 -4
  108. package/dist/sdk/cli-contracts/tool-schema.d.ts +2 -2
  109. package/dist/sdk/cli-contracts/tool-schema.js +49 -6
  110. package/dist/sdk/cli-contracts.d.ts +1 -1
  111. package/dist/sdk/cli-contracts.js +3 -3
  112. package/dist/sdk/completion.js +9 -3
  113. package/dist/sdk/config.js +9 -3
  114. package/dist/sdk/context/semantic-session-attribution.d.ts +32 -0
  115. package/dist/sdk/context/semantic-session-attribution.js +83 -0
  116. package/dist/sdk/context-intent-runtime.js +8 -5
  117. package/dist/sdk/context-signal-store.d.ts +34 -0
  118. package/dist/sdk/context-signal-store.js +24 -2
  119. package/dist/sdk/core-governance.d.ts +3 -1
  120. package/dist/sdk/core-governance.js +5 -3
  121. package/dist/sdk/core.d.ts +1 -1
  122. package/dist/sdk/core.js +2 -2
  123. package/dist/sdk/dependency-flag-validation.d.ts +15 -1
  124. package/dist/sdk/dependency-flag-validation.js +54 -2
  125. package/dist/sdk/error-code-catalog.d.ts +13 -0
  126. package/dist/sdk/error-code-catalog.js +35 -2
  127. package/dist/sdk/extension.js +18 -17
  128. package/dist/sdk/files.d.ts +11 -0
  129. package/dist/sdk/files.js +82 -24
  130. package/dist/sdk/generated-error-code-catalog.js +104 -13
  131. package/dist/sdk/governance/assurance-action-contracts.d.ts +7 -0
  132. package/dist/sdk/governance/assurance-action-contracts.js +5 -0
  133. package/dist/sdk/governance/assurance-action.d.ts +70 -0
  134. package/dist/sdk/governance/assurance-action.js +198 -0
  135. package/dist/sdk/governance/assurance-limits.d.ts +7 -0
  136. package/dist/sdk/governance/assurance-limits.js +11 -0
  137. package/dist/sdk/governance/assurance-runtime.d.ts +20 -0
  138. package/dist/sdk/governance/assurance-runtime.js +131 -0
  139. package/dist/sdk/governance/assurance.d.ts +432 -0
  140. package/dist/sdk/governance/assurance.js +689 -0
  141. package/dist/sdk/governance/health.js +14 -7
  142. package/dist/sdk/governance/provenance-health.d.ts +13 -0
  143. package/dist/sdk/governance/provenance-health.js +63 -17
  144. package/dist/sdk/governance/validate-item-reader.d.ts +13 -0
  145. package/dist/sdk/governance/validate-item-reader.js +18 -0
  146. package/dist/sdk/governance/validate.d.ts +2 -2
  147. package/dist/sdk/governance/validate.js +15 -6
  148. package/dist/sdk/graph/run.js +8 -3
  149. package/dist/sdk/index.d.ts +10 -1
  150. package/dist/sdk/index.js +12 -3
  151. package/dist/sdk/lifecycle/claim.js +18 -3
  152. package/dist/sdk/lifecycle/close.js +17 -14
  153. package/dist/sdk/lifecycle/create.d.ts +2 -0
  154. package/dist/sdk/lifecycle/create.js +62 -9
  155. package/dist/sdk/lifecycle/focus.js +13 -3
  156. package/dist/sdk/lifecycle/plan.js +8 -3
  157. package/dist/sdk/lifecycle/update-many.js +39 -27
  158. package/dist/sdk/lifecycle/update.d.ts +6 -1
  159. package/dist/sdk/lifecycle/update.js +47 -10
  160. package/dist/sdk/merge/index.d.ts +1 -1
  161. package/dist/sdk/merge/index.js +3 -3
  162. package/dist/sdk/merge/install.d.ts +4 -0
  163. package/dist/sdk/merge/install.js +28 -16
  164. package/dist/sdk/merge/receipts.d.ts +3 -0
  165. package/dist/sdk/merge/receipts.js +81 -17
  166. package/dist/sdk/output-projection.js +24 -4
  167. package/dist/sdk/provenance.d.ts +38 -0
  168. package/dist/sdk/provenance.js +64 -2
  169. package/dist/sdk/query/context.d.ts +2 -0
  170. package/dist/sdk/query/context.js +24 -10
  171. package/dist/sdk/query/light-metadata.d.ts +3 -0
  172. package/dist/sdk/query/light-metadata.js +19 -0
  173. package/dist/sdk/runtime-extended-actions.js +22 -5
  174. package/dist/sdk/runtime-primitives.d.ts +2 -0
  175. package/dist/sdk/runtime-primitives.js +4 -2
  176. package/dist/sdk/runtime.d.ts +8 -1
  177. package/dist/sdk/runtime.js +37 -28
  178. package/dist/sdk/schema-migration.js +7 -9
  179. package/dist/sdk/similarity-scoring.d.ts +1 -2
  180. package/dist/sdk/similarity-scoring.js +4 -16
  181. package/dist/sdk/telemetry.js +7 -4
  182. package/dist/sdk/traceability/runtime-files-lookup.d.ts +8 -0
  183. package/dist/sdk/traceability/runtime-files-lookup.js +33 -0
  184. package/dist/sdk/traceability/source-traceability.d.ts +102 -0
  185. package/dist/sdk/traceability/source-traceability.js +293 -0
  186. package/dist/sdk/workspace-snapshot.d.ts +4 -0
  187. package/dist/sdk/workspace-snapshot.js +24 -11
  188. package/dist/types.d.ts +8 -2
  189. package/dist/types.js +2 -2
  190. package/docs/AGENT_GUIDE.md +3 -1
  191. package/docs/ASSURANCE.md +132 -0
  192. package/docs/COMMANDS.md +8 -5
  193. package/docs/MERGE_SAFETY.md +7 -5
  194. package/docs/README.md +3 -5
  195. package/docs/READ_OUTPUT_CONTRACTS.md +2 -2
  196. package/docs/RELEASING.md +9 -5
  197. package/docs/SDK.md +44 -8
  198. package/docs/SDK_AGENT_SESSION_CONTEXT.md +43 -6
  199. package/docs/SDK_CONTEXT.md +97 -0
  200. package/docs/SDK_CONTEXT_INTEGRITY.md +18 -3
  201. package/docs/SDK_EVIDENCE_TRACEABILITY.md +39 -1
  202. package/docs/SDK_RUNTIME_BOUNDARIES.md +36 -1
  203. package/docs/TESTING.md +12 -9
  204. package/docs/agent-task-token-baseline.json +2 -2
  205. package/docs/generated/AGENT_COMMAND_SURFACE.md +1 -0
  206. package/marketplace.json +2 -2
  207. package/package.json +7 -6
  208. package/packages/pm-beads/package.json +1 -1
  209. package/packages/pm-calendar/package.json +1 -1
  210. package/packages/pm-command-kit/package.json +1 -1
  211. package/packages/pm-digital-twin/package.json +1 -1
  212. package/packages/pm-governance-audit/package.json +1 -1
  213. package/packages/pm-guide-shell/package.json +1 -1
  214. package/packages/pm-kanban/package.json +1 -1
  215. package/packages/pm-lifecycle-hooks/package.json +1 -1
  216. package/packages/pm-linked-test-adapters/package.json +1 -1
  217. package/packages/pm-search-advanced/package.json +1 -1
  218. package/packages/pm-templates/extensions/templates/index.ts +9 -3
  219. package/packages/pm-templates/package.json +1 -1
  220. package/packages/pm-todos/package.json +1 -1
  221. package/packages/pm-vcs/package.json +1 -1
  222. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  223. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  224. package/sdk/public-surface.json +1028 -48
  225. package/dist/cli-bundle/chunks/chunk-2DTCZXSD.js +0 -13
  226. package/dist/cli-bundle/chunks/chunk-5JO6R4BS.js +0 -3
  227. package/dist/cli-bundle/chunks/chunk-5KN4DZYV.js +0 -194
  228. package/dist/cli-bundle/chunks/chunk-EF43KODO.js +0 -2
  229. package/dist/cli-bundle/chunks/chunk-HUV2Z7IS.js +0 -28
  230. package/dist/cli-bundle/chunks/chunk-MHBVCUF2.js +0 -2
  231. package/dist/cli-bundle/chunks/chunk-PYO5GZU6.js +0 -5
  232. package/dist/cli-bundle/chunks/register-mutation-FC3XLVIK.js +0 -20
  233. package/dist/cli-bundle/chunks/register-operations-YH2WAOXU.js +0 -2
  234. package/dist/cli-bundle/focused-chunks/chunk-2VVP5RAA.js +0 -153
  235. package/dist/cli-bundle/focused-chunks/chunk-3GSFUDAI.js +0 -2
  236. package/dist/cli-bundle/focused-chunks/chunk-4H6MVCK3.js +0 -16
  237. package/dist/cli-bundle/focused-chunks/chunk-54TZJ4BM.js +0 -2
  238. package/dist/cli-bundle/focused-chunks/chunk-5NK5TJ5D.js +0 -2
  239. package/dist/cli-bundle/focused-chunks/chunk-C3GCHDSQ.js +0 -31
  240. package/dist/cli-bundle/focused-chunks/chunk-JGRSQZJT.js +0 -18
  241. package/dist/cli-bundle/focused-chunks/chunk-NL57J7BZ.js +0 -4
  242. package/dist/cli-bundle/focused-chunks/chunk-P6BBIQRG.js +0 -6
  243. package/dist/cli-bundle/focused-chunks/chunk-PZAGVQNN.js +0 -3
  244. package/dist/cli-bundle/focused-chunks/chunk-QDAO3XEK.js +0 -14
  245. package/dist/cli-bundle/focused-chunks/chunk-T4IGQCSY.js +0 -2
  246. package/dist/cli-bundle/focused-chunks/chunk-U46GQJNY.js +0 -2
  247. package/dist/cli-bundle/focused-chunks/chunk-VRXJSGIT.js +0 -8
  248. package/dist/cli-bundle/focused-chunks/chunk-XC2ZW3CJ.js +0 -2
  249. package/dist/cli-bundle/focused-chunks/chunk-ZG54B4XG.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
+ };