clinkx 1.1.0 → 1.1.2

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 (162) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/README.md +210 -177
  3. package/clinkx-workflows/dist/architecture-comparison/admission.d.ts +5 -0
  4. package/clinkx-workflows/dist/architecture-comparison/admission.js +50 -0
  5. package/clinkx-workflows/dist/architecture-comparison/admission.js.map +1 -0
  6. package/clinkx-workflows/dist/architecture-comparison/contract.d.ts +995 -0
  7. package/clinkx-workflows/dist/architecture-comparison/contract.js +149 -0
  8. package/clinkx-workflows/dist/architecture-comparison/contract.js.map +1 -0
  9. package/clinkx-workflows/dist/architecture-comparison/runtime.d.ts +29 -0
  10. package/clinkx-workflows/dist/architecture-comparison/runtime.js +387 -0
  11. package/clinkx-workflows/dist/architecture-comparison/runtime.js.map +1 -0
  12. package/clinkx-workflows/dist/contained-file.js +1 -1
  13. package/clinkx-workflows/dist/contained-file.js.map +1 -1
  14. package/clinkx-workflows/dist/council-execution-policy.d.ts +4 -2
  15. package/clinkx-workflows/dist/council-execution-policy.js +5 -1
  16. package/clinkx-workflows/dist/council-execution-policy.js.map +1 -1
  17. package/clinkx-workflows/dist/dashboard/activity-contract.d.ts +72 -72
  18. package/clinkx-workflows/dist/dashboard/contracts.d.ts +1564 -122
  19. package/clinkx-workflows/dist/dashboard/contracts.js +4 -0
  20. package/clinkx-workflows/dist/dashboard/contracts.js.map +1 -1
  21. package/clinkx-workflows/dist/dashboard/progress-report-contract.d.ts +12 -12
  22. package/clinkx-workflows/dist/dashboard/progress-report-status-overlay.d.ts +8 -8
  23. package/clinkx-workflows/dist/dashboard/scanner.d.ts +3 -0
  24. package/clinkx-workflows/dist/dashboard/scanner.js +27 -0
  25. package/clinkx-workflows/dist/dashboard/scanner.js.map +1 -1
  26. package/clinkx-workflows/dist/dashboard/session-log-contract.d.ts +48 -48
  27. package/clinkx-workflows/dist/dashboard/session-log-redaction.d.ts +2 -0
  28. package/clinkx-workflows/dist/dashboard/session-log-redaction.js +4 -0
  29. package/clinkx-workflows/dist/dashboard/session-log-redaction.js.map +1 -1
  30. package/clinkx-workflows/dist/dashboard/verified-repair-contract.d.ts +191 -0
  31. package/clinkx-workflows/dist/dashboard/verified-repair-contract.js +28 -0
  32. package/clinkx-workflows/dist/dashboard/verified-repair-contract.js.map +1 -0
  33. package/clinkx-workflows/dist/dashboard-ui/assets/index-BdpmbPps.js +115 -0
  34. package/clinkx-workflows/dist/dashboard-ui/assets/style-Im5i1iAs.css +1 -0
  35. package/clinkx-workflows/dist/dashboard-ui/index.html +2 -2
  36. package/clinkx-workflows/dist/engine.d.ts +6 -0
  37. package/clinkx-workflows/dist/engine.js +78 -7
  38. package/clinkx-workflows/dist/engine.js.map +1 -1
  39. package/clinkx-workflows/dist/index.d.ts +3 -0
  40. package/clinkx-workflows/dist/index.js +3 -2
  41. package/clinkx-workflows/dist/index.js.map +1 -1
  42. package/clinkx-workflows/dist/reducers/index.d.ts +9 -1
  43. package/clinkx-workflows/dist/reducers/index.js +22 -0
  44. package/clinkx-workflows/dist/reducers/index.js.map +1 -1
  45. package/clinkx-workflows/dist/state.js +17 -7
  46. package/clinkx-workflows/dist/state.js.map +1 -1
  47. package/clinkx-workflows/dist/validators/architecture-comparison.d.ts +2 -0
  48. package/clinkx-workflows/dist/validators/architecture-comparison.js +12 -0
  49. package/clinkx-workflows/dist/validators/architecture-comparison.js.map +1 -0
  50. package/clinkx-workflows/dist/validators/index.js +4 -0
  51. package/clinkx-workflows/dist/validators/index.js.map +1 -1
  52. package/clinkx-workflows/dist/validators/verified-repair.d.ts +2 -0
  53. package/clinkx-workflows/dist/validators/verified-repair.js +12 -0
  54. package/clinkx-workflows/dist/validators/verified-repair.js.map +1 -0
  55. package/clinkx-workflows/dist/verification-proof.d.ts +254 -0
  56. package/clinkx-workflows/dist/verification-proof.js +195 -0
  57. package/clinkx-workflows/dist/verification-proof.js.map +1 -0
  58. package/clinkx-workflows/dist/verified-repair/admission.d.ts +72 -0
  59. package/clinkx-workflows/dist/verified-repair/admission.js +63 -0
  60. package/clinkx-workflows/dist/verified-repair/admission.js.map +1 -0
  61. package/clinkx-workflows/dist/verified-repair/contract.d.ts +1910 -0
  62. package/clinkx-workflows/dist/verified-repair/contract.js +127 -0
  63. package/clinkx-workflows/dist/verified-repair/contract.js.map +1 -0
  64. package/clinkx-workflows/dist/verified-repair/host.d.ts +32 -0
  65. package/clinkx-workflows/dist/verified-repair/host.js +2 -0
  66. package/clinkx-workflows/dist/verified-repair/host.js.map +1 -0
  67. package/clinkx-workflows/dist/verified-repair/prompts.d.ts +12 -0
  68. package/clinkx-workflows/dist/verified-repair/prompts.js +58 -0
  69. package/clinkx-workflows/dist/verified-repair/prompts.js.map +1 -0
  70. package/clinkx-workflows/dist/verified-repair/result.d.ts +16 -0
  71. package/clinkx-workflows/dist/verified-repair/result.js +102 -0
  72. package/clinkx-workflows/dist/verified-repair/result.js.map +1 -0
  73. package/clinkx-workflows/dist/verified-repair/runtime.d.ts +28 -0
  74. package/clinkx-workflows/dist/verified-repair/runtime.js +186 -0
  75. package/clinkx-workflows/dist/verified-repair/runtime.js.map +1 -0
  76. package/clinkx-workflows/dist/workflow-tools.d.ts +3 -0
  77. package/clinkx-workflows/dist/workflow-tools.js +148 -14
  78. package/clinkx-workflows/dist/workflow-tools.js.map +1 -1
  79. package/clinkx-workflows/dist/workflow-verification-contract.d.ts +539 -0
  80. package/clinkx-workflows/dist/workflow-verification-contract.js +52 -0
  81. package/clinkx-workflows/dist/workflow-verification-contract.js.map +1 -0
  82. package/clinkx-workflows/dist/workflow-verification.d.ts +15 -0
  83. package/clinkx-workflows/dist/workflow-verification.js +218 -0
  84. package/clinkx-workflows/dist/workflow-verification.js.map +1 -0
  85. package/clinkx-workflows/templates/architecture-comparison/candidate.txt +29 -0
  86. package/clinkx-workflows/templates/architecture-comparison/judge.txt +31 -0
  87. package/clinkx-workflows/templates/verified-repair/investigate.txt +20 -0
  88. package/clinkx-workflows/templates/verified-repair/repair.txt +11 -0
  89. package/clinkx-workflows/templates/verified-repair/review.txt +18 -0
  90. package/clinkx-workflows/workflows/architecture-comparison.yaml +133 -0
  91. package/clinkx-workflows/workflows/verified-repair.yaml +104 -0
  92. package/dist/allowed-roots.js +4 -1
  93. package/dist/allowed-roots.js.map +1 -1
  94. package/dist/codex/app-server-client.d.ts +1 -0
  95. package/dist/codex/app-server-client.js +3 -2
  96. package/dist/codex/app-server-client.js.map +1 -1
  97. package/dist/context-builder/diagnostics.d.ts +1 -0
  98. package/dist/context-builder/diagnostics.js +1 -1
  99. package/dist/context-builder/diagnostics.js.map +1 -1
  100. package/dist/context-builder/discovery.d.ts +18 -1
  101. package/dist/context-builder/discovery.js +69 -1
  102. package/dist/context-builder/discovery.js.map +1 -1
  103. package/dist/context-builder/handler.js +8 -1
  104. package/dist/context-builder/handler.js.map +1 -1
  105. package/dist/context-builder/lifecycle-contract.d.ts +24 -24
  106. package/dist/context-builder/refine-handler.js +16 -1
  107. package/dist/context-builder/refine-handler.js.map +1 -1
  108. package/dist/context-builder/secrets.d.ts +11 -0
  109. package/dist/context-builder/secrets.js +81 -1
  110. package/dist/context-builder/secrets.js.map +1 -1
  111. package/dist/context-builder/versions.d.ts +5 -2
  112. package/dist/context-builder/versions.js +5 -2
  113. package/dist/context-builder/versions.js.map +1 -1
  114. package/dist/dashboard-cli.js +10 -3
  115. package/dist/dashboard-cli.js.map +1 -1
  116. package/dist/dashboard-gateway/main.js +8 -3
  117. package/dist/dashboard-gateway/main.js.map +1 -1
  118. package/dist/index.d.ts +2 -0
  119. package/dist/index.js +8 -2
  120. package/dist/index.js.map +1 -1
  121. package/dist/project-verification/contract.d.ts +537 -0
  122. package/dist/project-verification/contract.js +40 -0
  123. package/dist/project-verification/contract.js.map +1 -0
  124. package/dist/project-verification/files.d.ts +23 -0
  125. package/dist/project-verification/files.js +80 -0
  126. package/dist/project-verification/files.js.map +1 -0
  127. package/dist/project-verification/process.d.ts +7 -0
  128. package/dist/project-verification/process.js +115 -0
  129. package/dist/project-verification/process.js.map +1 -0
  130. package/dist/project-verification/runner.d.ts +35 -0
  131. package/dist/project-verification/runner.js +185 -0
  132. package/dist/project-verification/runner.js.map +1 -0
  133. package/dist/project-verification/service.d.ts +37 -0
  134. package/dist/project-verification/service.js +151 -0
  135. package/dist/project-verification/service.js.map +1 -0
  136. package/dist/provider-doctor.d.ts +22 -0
  137. package/dist/provider-doctor.js +22 -0
  138. package/dist/provider-doctor.js.map +1 -0
  139. package/dist/server.js +29 -1
  140. package/dist/server.js.map +1 -1
  141. package/dist/verification-tools.d.ts +90 -0
  142. package/dist/verification-tools.js +120 -0
  143. package/dist/verification-tools.js.map +1 -0
  144. package/dist/verified-repair/files.d.ts +22 -0
  145. package/dist/verified-repair/files.js +114 -0
  146. package/dist/verified-repair/files.js.map +1 -0
  147. package/dist/verified-repair/host.d.ts +14 -0
  148. package/dist/verified-repair/host.js +612 -0
  149. package/dist/verified-repair/host.js.map +1 -0
  150. package/docs/configuration.md +493 -0
  151. package/docs/engineering-recipes.md +415 -0
  152. package/docs/security.md +293 -0
  153. package/docs/verification/README.md +59 -0
  154. package/docs/verification/dashboard-real-disk.md +436 -0
  155. package/docs/verification/project-checks.example.json +14 -0
  156. package/docs/verification/project-checks.md +444 -0
  157. package/docs/verification/workflow-handoff.md +113 -0
  158. package/package.json +13 -6
  159. package/scripts/provider-doctor-core.mjs +364 -0
  160. package/scripts/provider-doctor-probe.mjs +34 -0
  161. package/clinkx-workflows/dist/dashboard-ui/assets/index-JPHQVtn9.js +0 -106
  162. package/clinkx-workflows/dist/dashboard-ui/assets/style-DOMHk-j6.css +0 -1
@@ -0,0 +1,995 @@
1
+ import { z } from "zod";
2
+ export declare const ARCHITECTURE_WORKFLOW = "architecture-comparison";
3
+ export declare const MAX_SHARED_BYTES: number;
4
+ export declare const MAX_CANDIDATE_BYTES: number;
5
+ export declare const MAX_VIEW_BYTES: number;
6
+ export declare const MAX_JUDGE_BYTES: number;
7
+ export declare const MAX_RECORD_BYTES: number;
8
+ export declare const ARCHITECTURE_STATE_PATH = "architecture-comparison.v1.json";
9
+ export declare const ALIASES: readonly ["candidate_A", "candidate_B"];
10
+ export declare const CANDIDATE_REFS: readonly ["candidates.author_a", "candidates.author_b"];
11
+ export declare const SHARED_REF = "freeze.input";
12
+ export declare const VIEW_REF = "judge_view.view";
13
+ export declare const JUDGE_REF = "judge.judge";
14
+ export declare const RECORD_REF = "comparison.record";
15
+ export declare const DigestSchema: z.ZodString;
16
+ export declare const SourceRefSchema: z.ZodString;
17
+ export declare const SharedInputSchema: z.ZodObject<{
18
+ schema_version: z.ZodLiteral<"architecture-shared-input-v1">;
19
+ requirements: z.ZodString;
20
+ source_identity: z.ZodString;
21
+ sources: z.ZodArray<z.ZodObject<{
22
+ source_ref: z.ZodString;
23
+ sha256: z.ZodString;
24
+ size_bytes: z.ZodNumber;
25
+ content: z.ZodString;
26
+ }, "strict", z.ZodTypeAny, {
27
+ sha256: string;
28
+ content: string;
29
+ source_ref: string;
30
+ size_bytes: number;
31
+ }, {
32
+ sha256: string;
33
+ content: string;
34
+ source_ref: string;
35
+ size_bytes: number;
36
+ }>, "many">;
37
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
38
+ frozen_digest: z.ZodString;
39
+ }, "strict", z.ZodTypeAny, {
40
+ schema_version: "architecture-shared-input-v1";
41
+ sources: {
42
+ sha256: string;
43
+ content: string;
44
+ source_ref: string;
45
+ size_bytes: number;
46
+ }[];
47
+ requirements: string;
48
+ source_identity: string;
49
+ source_refs: string[];
50
+ frozen_digest: string;
51
+ }, {
52
+ schema_version: "architecture-shared-input-v1";
53
+ sources: {
54
+ sha256: string;
55
+ content: string;
56
+ source_ref: string;
57
+ size_bytes: number;
58
+ }[];
59
+ requirements: string;
60
+ source_identity: string;
61
+ source_refs: string[];
62
+ frozen_digest: string;
63
+ }>;
64
+ export type SharedInput = z.infer<typeof SharedInputSchema>;
65
+ export declare const CandidateSchema: z.ZodObject<{
66
+ schema_version: z.ZodLiteral<"architecture-candidate-v1">;
67
+ frozen_digest: z.ZodString;
68
+ caller_usage: z.ZodString;
69
+ public_signatures: z.ZodString;
70
+ ownership: z.ZodString;
71
+ failure_behavior: z.ZodString;
72
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
73
+ assumptions: z.ZodArray<z.ZodString, "many">;
74
+ rejected_alternatives: z.ZodArray<z.ZodString, "many">;
75
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
76
+ }, "strict", z.ZodTypeAny, {
77
+ schema_version: "architecture-candidate-v1";
78
+ source_refs: string[];
79
+ frozen_digest: string;
80
+ caller_usage: string;
81
+ public_signatures: string;
82
+ ownership: string;
83
+ failure_behavior: string;
84
+ tradeoffs: string[];
85
+ assumptions: string[];
86
+ rejected_alternatives: string[];
87
+ }, {
88
+ schema_version: "architecture-candidate-v1";
89
+ source_refs: string[];
90
+ frozen_digest: string;
91
+ caller_usage: string;
92
+ public_signatures: string;
93
+ ownership: string;
94
+ failure_behavior: string;
95
+ tradeoffs: string[];
96
+ assumptions: string[];
97
+ rejected_alternatives: string[];
98
+ }>;
99
+ export type Candidate = z.infer<typeof CandidateSchema>;
100
+ export declare const JudgeViewSchema: z.ZodObject<{
101
+ schema_version: z.ZodLiteral<"architecture-judge-view-v1">;
102
+ shared: z.ZodObject<{
103
+ schema_version: z.ZodLiteral<"architecture-shared-input-v1">;
104
+ requirements: z.ZodString;
105
+ source_identity: z.ZodString;
106
+ sources: z.ZodArray<z.ZodObject<{
107
+ source_ref: z.ZodString;
108
+ sha256: z.ZodString;
109
+ size_bytes: z.ZodNumber;
110
+ content: z.ZodString;
111
+ }, "strict", z.ZodTypeAny, {
112
+ sha256: string;
113
+ content: string;
114
+ source_ref: string;
115
+ size_bytes: number;
116
+ }, {
117
+ sha256: string;
118
+ content: string;
119
+ source_ref: string;
120
+ size_bytes: number;
121
+ }>, "many">;
122
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
123
+ frozen_digest: z.ZodString;
124
+ }, "strict", z.ZodTypeAny, {
125
+ schema_version: "architecture-shared-input-v1";
126
+ sources: {
127
+ sha256: string;
128
+ content: string;
129
+ source_ref: string;
130
+ size_bytes: number;
131
+ }[];
132
+ requirements: string;
133
+ source_identity: string;
134
+ source_refs: string[];
135
+ frozen_digest: string;
136
+ }, {
137
+ schema_version: "architecture-shared-input-v1";
138
+ sources: {
139
+ sha256: string;
140
+ content: string;
141
+ source_ref: string;
142
+ size_bytes: number;
143
+ }[];
144
+ requirements: string;
145
+ source_identity: string;
146
+ source_refs: string[];
147
+ frozen_digest: string;
148
+ }>;
149
+ candidates: z.ZodTuple<[z.ZodObject<{
150
+ alias: z.ZodLiteral<"candidate_A">;
151
+ body: z.ZodObject<{
152
+ schema_version: z.ZodLiteral<"architecture-candidate-v1">;
153
+ frozen_digest: z.ZodString;
154
+ caller_usage: z.ZodString;
155
+ public_signatures: z.ZodString;
156
+ ownership: z.ZodString;
157
+ failure_behavior: z.ZodString;
158
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
159
+ assumptions: z.ZodArray<z.ZodString, "many">;
160
+ rejected_alternatives: z.ZodArray<z.ZodString, "many">;
161
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
162
+ }, "strict", z.ZodTypeAny, {
163
+ schema_version: "architecture-candidate-v1";
164
+ source_refs: string[];
165
+ frozen_digest: string;
166
+ caller_usage: string;
167
+ public_signatures: string;
168
+ ownership: string;
169
+ failure_behavior: string;
170
+ tradeoffs: string[];
171
+ assumptions: string[];
172
+ rejected_alternatives: string[];
173
+ }, {
174
+ schema_version: "architecture-candidate-v1";
175
+ source_refs: string[];
176
+ frozen_digest: string;
177
+ caller_usage: string;
178
+ public_signatures: string;
179
+ ownership: string;
180
+ failure_behavior: string;
181
+ tradeoffs: string[];
182
+ assumptions: string[];
183
+ rejected_alternatives: string[];
184
+ }>;
185
+ }, "strict", z.ZodTypeAny, {
186
+ alias: "candidate_A";
187
+ body: {
188
+ schema_version: "architecture-candidate-v1";
189
+ source_refs: string[];
190
+ frozen_digest: string;
191
+ caller_usage: string;
192
+ public_signatures: string;
193
+ ownership: string;
194
+ failure_behavior: string;
195
+ tradeoffs: string[];
196
+ assumptions: string[];
197
+ rejected_alternatives: string[];
198
+ };
199
+ }, {
200
+ alias: "candidate_A";
201
+ body: {
202
+ schema_version: "architecture-candidate-v1";
203
+ source_refs: string[];
204
+ frozen_digest: string;
205
+ caller_usage: string;
206
+ public_signatures: string;
207
+ ownership: string;
208
+ failure_behavior: string;
209
+ tradeoffs: string[];
210
+ assumptions: string[];
211
+ rejected_alternatives: string[];
212
+ };
213
+ }>, z.ZodObject<{
214
+ alias: z.ZodLiteral<"candidate_B">;
215
+ body: z.ZodObject<{
216
+ schema_version: z.ZodLiteral<"architecture-candidate-v1">;
217
+ frozen_digest: z.ZodString;
218
+ caller_usage: z.ZodString;
219
+ public_signatures: z.ZodString;
220
+ ownership: z.ZodString;
221
+ failure_behavior: z.ZodString;
222
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
223
+ assumptions: z.ZodArray<z.ZodString, "many">;
224
+ rejected_alternatives: z.ZodArray<z.ZodString, "many">;
225
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
226
+ }, "strict", z.ZodTypeAny, {
227
+ schema_version: "architecture-candidate-v1";
228
+ source_refs: string[];
229
+ frozen_digest: string;
230
+ caller_usage: string;
231
+ public_signatures: string;
232
+ ownership: string;
233
+ failure_behavior: string;
234
+ tradeoffs: string[];
235
+ assumptions: string[];
236
+ rejected_alternatives: string[];
237
+ }, {
238
+ schema_version: "architecture-candidate-v1";
239
+ source_refs: string[];
240
+ frozen_digest: string;
241
+ caller_usage: string;
242
+ public_signatures: string;
243
+ ownership: string;
244
+ failure_behavior: string;
245
+ tradeoffs: string[];
246
+ assumptions: string[];
247
+ rejected_alternatives: string[];
248
+ }>;
249
+ }, "strict", z.ZodTypeAny, {
250
+ alias: "candidate_B";
251
+ body: {
252
+ schema_version: "architecture-candidate-v1";
253
+ source_refs: string[];
254
+ frozen_digest: string;
255
+ caller_usage: string;
256
+ public_signatures: string;
257
+ ownership: string;
258
+ failure_behavior: string;
259
+ tradeoffs: string[];
260
+ assumptions: string[];
261
+ rejected_alternatives: string[];
262
+ };
263
+ }, {
264
+ alias: "candidate_B";
265
+ body: {
266
+ schema_version: "architecture-candidate-v1";
267
+ source_refs: string[];
268
+ frozen_digest: string;
269
+ caller_usage: string;
270
+ public_signatures: string;
271
+ ownership: string;
272
+ failure_behavior: string;
273
+ tradeoffs: string[];
274
+ assumptions: string[];
275
+ rejected_alternatives: string[];
276
+ };
277
+ }>], null>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ schema_version: "architecture-judge-view-v1";
280
+ shared: {
281
+ schema_version: "architecture-shared-input-v1";
282
+ sources: {
283
+ sha256: string;
284
+ content: string;
285
+ source_ref: string;
286
+ size_bytes: number;
287
+ }[];
288
+ requirements: string;
289
+ source_identity: string;
290
+ source_refs: string[];
291
+ frozen_digest: string;
292
+ };
293
+ candidates: [{
294
+ alias: "candidate_A";
295
+ body: {
296
+ schema_version: "architecture-candidate-v1";
297
+ source_refs: string[];
298
+ frozen_digest: string;
299
+ caller_usage: string;
300
+ public_signatures: string;
301
+ ownership: string;
302
+ failure_behavior: string;
303
+ tradeoffs: string[];
304
+ assumptions: string[];
305
+ rejected_alternatives: string[];
306
+ };
307
+ }, {
308
+ alias: "candidate_B";
309
+ body: {
310
+ schema_version: "architecture-candidate-v1";
311
+ source_refs: string[];
312
+ frozen_digest: string;
313
+ caller_usage: string;
314
+ public_signatures: string;
315
+ ownership: string;
316
+ failure_behavior: string;
317
+ tradeoffs: string[];
318
+ assumptions: string[];
319
+ rejected_alternatives: string[];
320
+ };
321
+ }];
322
+ }, {
323
+ schema_version: "architecture-judge-view-v1";
324
+ shared: {
325
+ schema_version: "architecture-shared-input-v1";
326
+ sources: {
327
+ sha256: string;
328
+ content: string;
329
+ source_ref: string;
330
+ size_bytes: number;
331
+ }[];
332
+ requirements: string;
333
+ source_identity: string;
334
+ source_refs: string[];
335
+ frozen_digest: string;
336
+ };
337
+ candidates: [{
338
+ alias: "candidate_A";
339
+ body: {
340
+ schema_version: "architecture-candidate-v1";
341
+ source_refs: string[];
342
+ frozen_digest: string;
343
+ caller_usage: string;
344
+ public_signatures: string;
345
+ ownership: string;
346
+ failure_behavior: string;
347
+ tradeoffs: string[];
348
+ assumptions: string[];
349
+ rejected_alternatives: string[];
350
+ };
351
+ }, {
352
+ alias: "candidate_B";
353
+ body: {
354
+ schema_version: "architecture-candidate-v1";
355
+ source_refs: string[];
356
+ frozen_digest: string;
357
+ caller_usage: string;
358
+ public_signatures: string;
359
+ ownership: string;
360
+ failure_behavior: string;
361
+ tradeoffs: string[];
362
+ assumptions: string[];
363
+ rejected_alternatives: string[];
364
+ };
365
+ }];
366
+ }>;
367
+ export declare const JudgeSchema: z.ZodEffects<z.ZodObject<{
368
+ schema_version: z.ZodLiteral<"architecture-judge-v1">;
369
+ frozen_digest: z.ZodString;
370
+ assessments: z.ZodArray<z.ZodObject<{
371
+ alias: z.ZodEnum<["candidate_A", "candidate_B"]>;
372
+ strengths: z.ZodArray<z.ZodString, "many">;
373
+ weaknesses: z.ZodArray<z.ZodString, "many">;
374
+ }, "strict", z.ZodTypeAny, {
375
+ strengths: string[];
376
+ weaknesses: string[];
377
+ alias: "candidate_A" | "candidate_B";
378
+ }, {
379
+ strengths: string[];
380
+ weaknesses: string[];
381
+ alias: "candidate_A" | "candidate_B";
382
+ }>, "many">;
383
+ ranking: z.ZodArray<z.ZodEnum<["candidate_A", "candidate_B"]>, "many">;
384
+ recommendation: z.ZodEnum<["candidate_A", "candidate_B", "neither"]>;
385
+ rationale: z.ZodString;
386
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
387
+ }, "strict", z.ZodTypeAny, {
388
+ schema_version: "architecture-judge-v1";
389
+ rationale: string;
390
+ recommendation: "candidate_A" | "candidate_B" | "neither";
391
+ ranking: ("candidate_A" | "candidate_B")[];
392
+ source_refs: string[];
393
+ frozen_digest: string;
394
+ assessments: {
395
+ strengths: string[];
396
+ weaknesses: string[];
397
+ alias: "candidate_A" | "candidate_B";
398
+ }[];
399
+ }, {
400
+ schema_version: "architecture-judge-v1";
401
+ rationale: string;
402
+ recommendation: "candidate_A" | "candidate_B" | "neither";
403
+ ranking: ("candidate_A" | "candidate_B")[];
404
+ source_refs: string[];
405
+ frozen_digest: string;
406
+ assessments: {
407
+ strengths: string[];
408
+ weaknesses: string[];
409
+ alias: "candidate_A" | "candidate_B";
410
+ }[];
411
+ }>, {
412
+ schema_version: "architecture-judge-v1";
413
+ rationale: string;
414
+ recommendation: "candidate_A" | "candidate_B" | "neither";
415
+ ranking: ("candidate_A" | "candidate_B")[];
416
+ source_refs: string[];
417
+ frozen_digest: string;
418
+ assessments: {
419
+ strengths: string[];
420
+ weaknesses: string[];
421
+ alias: "candidate_A" | "candidate_B";
422
+ }[];
423
+ }, {
424
+ schema_version: "architecture-judge-v1";
425
+ rationale: string;
426
+ recommendation: "candidate_A" | "candidate_B" | "neither";
427
+ ranking: ("candidate_A" | "candidate_B")[];
428
+ source_refs: string[];
429
+ frozen_digest: string;
430
+ assessments: {
431
+ strengths: string[];
432
+ weaknesses: string[];
433
+ alias: "candidate_A" | "candidate_B";
434
+ }[];
435
+ }>;
436
+ export declare const RouteSchema: z.ZodObject<{
437
+ cli_name: z.ZodString;
438
+ model: z.ZodOptional<z.ZodString>;
439
+ effort: z.ZodOptional<z.ZodString>;
440
+ }, "strict", z.ZodTypeAny, {
441
+ cli_name: string;
442
+ model?: string | undefined;
443
+ effort?: string | undefined;
444
+ }, {
445
+ cli_name: string;
446
+ model?: string | undefined;
447
+ effort?: string | undefined;
448
+ }>;
449
+ export declare const ArchitectureStateSchema: z.ZodObject<{
450
+ schema_version: z.ZodLiteral<"architecture-comparison-state-v1">;
451
+ run_id: z.ZodString;
452
+ definition_sha256: z.ZodString;
453
+ variables_sha256: z.ZodString;
454
+ frozen_digest: z.ZodString;
455
+ routes: z.ZodObject<{
456
+ candidate_A: z.ZodObject<{
457
+ cli_name: z.ZodString;
458
+ model: z.ZodOptional<z.ZodString>;
459
+ effort: z.ZodOptional<z.ZodString>;
460
+ }, "strict", z.ZodTypeAny, {
461
+ cli_name: string;
462
+ model?: string | undefined;
463
+ effort?: string | undefined;
464
+ }, {
465
+ cli_name: string;
466
+ model?: string | undefined;
467
+ effort?: string | undefined;
468
+ }>;
469
+ candidate_B: z.ZodObject<{
470
+ cli_name: z.ZodString;
471
+ model: z.ZodOptional<z.ZodString>;
472
+ effort: z.ZodOptional<z.ZodString>;
473
+ }, "strict", z.ZodTypeAny, {
474
+ cli_name: string;
475
+ model?: string | undefined;
476
+ effort?: string | undefined;
477
+ }, {
478
+ cli_name: string;
479
+ model?: string | undefined;
480
+ effort?: string | undefined;
481
+ }>;
482
+ judge: z.ZodObject<{
483
+ cli_name: z.ZodString;
484
+ model: z.ZodOptional<z.ZodString>;
485
+ effort: z.ZodOptional<z.ZodString>;
486
+ }, "strict", z.ZodTypeAny, {
487
+ cli_name: string;
488
+ model?: string | undefined;
489
+ effort?: string | undefined;
490
+ }, {
491
+ cli_name: string;
492
+ model?: string | undefined;
493
+ effort?: string | undefined;
494
+ }>;
495
+ }, "strict", z.ZodTypeAny, {
496
+ candidate_A: {
497
+ cli_name: string;
498
+ model?: string | undefined;
499
+ effort?: string | undefined;
500
+ };
501
+ candidate_B: {
502
+ cli_name: string;
503
+ model?: string | undefined;
504
+ effort?: string | undefined;
505
+ };
506
+ judge: {
507
+ cli_name: string;
508
+ model?: string | undefined;
509
+ effort?: string | undefined;
510
+ };
511
+ }, {
512
+ candidate_A: {
513
+ cli_name: string;
514
+ model?: string | undefined;
515
+ effort?: string | undefined;
516
+ };
517
+ candidate_B: {
518
+ cli_name: string;
519
+ model?: string | undefined;
520
+ effort?: string | undefined;
521
+ };
522
+ judge: {
523
+ cli_name: string;
524
+ model?: string | undefined;
525
+ effort?: string | undefined;
526
+ };
527
+ }>;
528
+ source_files: z.ZodArray<z.ZodObject<{
529
+ path: z.ZodString;
530
+ sha256: z.ZodString;
531
+ }, "strict", z.ZodTypeAny, {
532
+ path: string;
533
+ sha256: string;
534
+ }, {
535
+ path: string;
536
+ sha256: string;
537
+ }>, "many">;
538
+ artifacts: z.ZodRecord<z.ZodString, z.ZodObject<{
539
+ path: z.ZodString;
540
+ sha256: z.ZodString;
541
+ }, "strict", z.ZodTypeAny, {
542
+ path: string;
543
+ sha256: string;
544
+ }, {
545
+ path: string;
546
+ sha256: string;
547
+ }>>;
548
+ }, "strict", z.ZodTypeAny, {
549
+ schema_version: "architecture-comparison-state-v1";
550
+ run_id: string;
551
+ frozen_digest: string;
552
+ definition_sha256: string;
553
+ variables_sha256: string;
554
+ routes: {
555
+ candidate_A: {
556
+ cli_name: string;
557
+ model?: string | undefined;
558
+ effort?: string | undefined;
559
+ };
560
+ candidate_B: {
561
+ cli_name: string;
562
+ model?: string | undefined;
563
+ effort?: string | undefined;
564
+ };
565
+ judge: {
566
+ cli_name: string;
567
+ model?: string | undefined;
568
+ effort?: string | undefined;
569
+ };
570
+ };
571
+ source_files: {
572
+ path: string;
573
+ sha256: string;
574
+ }[];
575
+ artifacts: Record<string, {
576
+ path: string;
577
+ sha256: string;
578
+ }>;
579
+ }, {
580
+ schema_version: "architecture-comparison-state-v1";
581
+ run_id: string;
582
+ frozen_digest: string;
583
+ definition_sha256: string;
584
+ variables_sha256: string;
585
+ routes: {
586
+ candidate_A: {
587
+ cli_name: string;
588
+ model?: string | undefined;
589
+ effort?: string | undefined;
590
+ };
591
+ candidate_B: {
592
+ cli_name: string;
593
+ model?: string | undefined;
594
+ effort?: string | undefined;
595
+ };
596
+ judge: {
597
+ cli_name: string;
598
+ model?: string | undefined;
599
+ effort?: string | undefined;
600
+ };
601
+ };
602
+ source_files: {
603
+ path: string;
604
+ sha256: string;
605
+ }[];
606
+ artifacts: Record<string, {
607
+ path: string;
608
+ sha256: string;
609
+ }>;
610
+ }>;
611
+ export type ArchitectureState = z.infer<typeof ArchitectureStateSchema>;
612
+ export declare const ComparisonRecordSchema: z.ZodEffects<z.ZodObject<{
613
+ schema_version: z.ZodLiteral<"architecture-comparison-record-v1">;
614
+ run_id: z.ZodString;
615
+ status: z.ZodEnum<["complete", "incomplete"]>;
616
+ missing: z.ZodArray<z.ZodString, "many">;
617
+ frozen_digest: z.ZodOptional<z.ZodString>;
618
+ source_identity: z.ZodOptional<z.ZodString>;
619
+ evidence: z.ZodArray<z.ZodObject<{
620
+ reference: z.ZodString;
621
+ path: z.ZodString;
622
+ sha256: z.ZodString;
623
+ }, "strict", z.ZodTypeAny, {
624
+ path: string;
625
+ sha256: string;
626
+ reference: string;
627
+ }, {
628
+ path: string;
629
+ sha256: string;
630
+ reference: string;
631
+ }>, "many">;
632
+ candidates: z.ZodArray<z.ZodObject<{
633
+ alias: z.ZodEnum<["candidate_A", "candidate_B"]>;
634
+ route: z.ZodObject<{
635
+ cli_name: z.ZodString;
636
+ model: z.ZodOptional<z.ZodString>;
637
+ effort: z.ZodOptional<z.ZodString>;
638
+ }, "strict", z.ZodTypeAny, {
639
+ cli_name: string;
640
+ model?: string | undefined;
641
+ effort?: string | undefined;
642
+ }, {
643
+ cli_name: string;
644
+ model?: string | undefined;
645
+ effort?: string | undefined;
646
+ }>;
647
+ body: z.ZodObject<{
648
+ schema_version: z.ZodLiteral<"architecture-candidate-v1">;
649
+ frozen_digest: z.ZodString;
650
+ caller_usage: z.ZodString;
651
+ public_signatures: z.ZodString;
652
+ ownership: z.ZodString;
653
+ failure_behavior: z.ZodString;
654
+ tradeoffs: z.ZodArray<z.ZodString, "many">;
655
+ assumptions: z.ZodArray<z.ZodString, "many">;
656
+ rejected_alternatives: z.ZodArray<z.ZodString, "many">;
657
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
658
+ }, "strict", z.ZodTypeAny, {
659
+ schema_version: "architecture-candidate-v1";
660
+ source_refs: string[];
661
+ frozen_digest: string;
662
+ caller_usage: string;
663
+ public_signatures: string;
664
+ ownership: string;
665
+ failure_behavior: string;
666
+ tradeoffs: string[];
667
+ assumptions: string[];
668
+ rejected_alternatives: string[];
669
+ }, {
670
+ schema_version: "architecture-candidate-v1";
671
+ source_refs: string[];
672
+ frozen_digest: string;
673
+ caller_usage: string;
674
+ public_signatures: string;
675
+ ownership: string;
676
+ failure_behavior: string;
677
+ tradeoffs: string[];
678
+ assumptions: string[];
679
+ rejected_alternatives: string[];
680
+ }>;
681
+ }, "strict", z.ZodTypeAny, {
682
+ alias: "candidate_A" | "candidate_B";
683
+ body: {
684
+ schema_version: "architecture-candidate-v1";
685
+ source_refs: string[];
686
+ frozen_digest: string;
687
+ caller_usage: string;
688
+ public_signatures: string;
689
+ ownership: string;
690
+ failure_behavior: string;
691
+ tradeoffs: string[];
692
+ assumptions: string[];
693
+ rejected_alternatives: string[];
694
+ };
695
+ route: {
696
+ cli_name: string;
697
+ model?: string | undefined;
698
+ effort?: string | undefined;
699
+ };
700
+ }, {
701
+ alias: "candidate_A" | "candidate_B";
702
+ body: {
703
+ schema_version: "architecture-candidate-v1";
704
+ source_refs: string[];
705
+ frozen_digest: string;
706
+ caller_usage: string;
707
+ public_signatures: string;
708
+ ownership: string;
709
+ failure_behavior: string;
710
+ tradeoffs: string[];
711
+ assumptions: string[];
712
+ rejected_alternatives: string[];
713
+ };
714
+ route: {
715
+ cli_name: string;
716
+ model?: string | undefined;
717
+ effort?: string | undefined;
718
+ };
719
+ }>, "many">;
720
+ judge: z.ZodOptional<z.ZodEffects<z.ZodObject<{
721
+ schema_version: z.ZodLiteral<"architecture-judge-v1">;
722
+ frozen_digest: z.ZodString;
723
+ assessments: z.ZodArray<z.ZodObject<{
724
+ alias: z.ZodEnum<["candidate_A", "candidate_B"]>;
725
+ strengths: z.ZodArray<z.ZodString, "many">;
726
+ weaknesses: z.ZodArray<z.ZodString, "many">;
727
+ }, "strict", z.ZodTypeAny, {
728
+ strengths: string[];
729
+ weaknesses: string[];
730
+ alias: "candidate_A" | "candidate_B";
731
+ }, {
732
+ strengths: string[];
733
+ weaknesses: string[];
734
+ alias: "candidate_A" | "candidate_B";
735
+ }>, "many">;
736
+ ranking: z.ZodArray<z.ZodEnum<["candidate_A", "candidate_B"]>, "many">;
737
+ recommendation: z.ZodEnum<["candidate_A", "candidate_B", "neither"]>;
738
+ rationale: z.ZodString;
739
+ source_refs: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
740
+ }, "strict", z.ZodTypeAny, {
741
+ schema_version: "architecture-judge-v1";
742
+ rationale: string;
743
+ recommendation: "candidate_A" | "candidate_B" | "neither";
744
+ ranking: ("candidate_A" | "candidate_B")[];
745
+ source_refs: string[];
746
+ frozen_digest: string;
747
+ assessments: {
748
+ strengths: string[];
749
+ weaknesses: string[];
750
+ alias: "candidate_A" | "candidate_B";
751
+ }[];
752
+ }, {
753
+ schema_version: "architecture-judge-v1";
754
+ rationale: string;
755
+ recommendation: "candidate_A" | "candidate_B" | "neither";
756
+ ranking: ("candidate_A" | "candidate_B")[];
757
+ source_refs: string[];
758
+ frozen_digest: string;
759
+ assessments: {
760
+ strengths: string[];
761
+ weaknesses: string[];
762
+ alias: "candidate_A" | "candidate_B";
763
+ }[];
764
+ }>, {
765
+ schema_version: "architecture-judge-v1";
766
+ rationale: string;
767
+ recommendation: "candidate_A" | "candidate_B" | "neither";
768
+ ranking: ("candidate_A" | "candidate_B")[];
769
+ source_refs: string[];
770
+ frozen_digest: string;
771
+ assessments: {
772
+ strengths: string[];
773
+ weaknesses: string[];
774
+ alias: "candidate_A" | "candidate_B";
775
+ }[];
776
+ }, {
777
+ schema_version: "architecture-judge-v1";
778
+ rationale: string;
779
+ recommendation: "candidate_A" | "candidate_B" | "neither";
780
+ ranking: ("candidate_A" | "candidate_B")[];
781
+ source_refs: string[];
782
+ frozen_digest: string;
783
+ assessments: {
784
+ strengths: string[];
785
+ weaknesses: string[];
786
+ alias: "candidate_A" | "candidate_B";
787
+ }[];
788
+ }>>;
789
+ owner_acceptance: z.ZodLiteral<"not_recorded">;
790
+ owner_next_steps: z.ZodArray<z.ZodString, "many">;
791
+ limitations: z.ZodArray<z.ZodString, "many">;
792
+ }, "strict", z.ZodTypeAny, {
793
+ status: "complete" | "incomplete";
794
+ schema_version: "architecture-comparison-record-v1";
795
+ missing: string[];
796
+ run_id: string;
797
+ evidence: {
798
+ path: string;
799
+ sha256: string;
800
+ reference: string;
801
+ }[];
802
+ candidates: {
803
+ alias: "candidate_A" | "candidate_B";
804
+ body: {
805
+ schema_version: "architecture-candidate-v1";
806
+ source_refs: string[];
807
+ frozen_digest: string;
808
+ caller_usage: string;
809
+ public_signatures: string;
810
+ ownership: string;
811
+ failure_behavior: string;
812
+ tradeoffs: string[];
813
+ assumptions: string[];
814
+ rejected_alternatives: string[];
815
+ };
816
+ route: {
817
+ cli_name: string;
818
+ model?: string | undefined;
819
+ effort?: string | undefined;
820
+ };
821
+ }[];
822
+ owner_acceptance: "not_recorded";
823
+ owner_next_steps: string[];
824
+ limitations: string[];
825
+ source_identity?: string | undefined;
826
+ frozen_digest?: string | undefined;
827
+ judge?: {
828
+ schema_version: "architecture-judge-v1";
829
+ rationale: string;
830
+ recommendation: "candidate_A" | "candidate_B" | "neither";
831
+ ranking: ("candidate_A" | "candidate_B")[];
832
+ source_refs: string[];
833
+ frozen_digest: string;
834
+ assessments: {
835
+ strengths: string[];
836
+ weaknesses: string[];
837
+ alias: "candidate_A" | "candidate_B";
838
+ }[];
839
+ } | undefined;
840
+ }, {
841
+ status: "complete" | "incomplete";
842
+ schema_version: "architecture-comparison-record-v1";
843
+ missing: string[];
844
+ run_id: string;
845
+ evidence: {
846
+ path: string;
847
+ sha256: string;
848
+ reference: string;
849
+ }[];
850
+ candidates: {
851
+ alias: "candidate_A" | "candidate_B";
852
+ body: {
853
+ schema_version: "architecture-candidate-v1";
854
+ source_refs: string[];
855
+ frozen_digest: string;
856
+ caller_usage: string;
857
+ public_signatures: string;
858
+ ownership: string;
859
+ failure_behavior: string;
860
+ tradeoffs: string[];
861
+ assumptions: string[];
862
+ rejected_alternatives: string[];
863
+ };
864
+ route: {
865
+ cli_name: string;
866
+ model?: string | undefined;
867
+ effort?: string | undefined;
868
+ };
869
+ }[];
870
+ owner_acceptance: "not_recorded";
871
+ owner_next_steps: string[];
872
+ limitations: string[];
873
+ source_identity?: string | undefined;
874
+ frozen_digest?: string | undefined;
875
+ judge?: {
876
+ schema_version: "architecture-judge-v1";
877
+ rationale: string;
878
+ recommendation: "candidate_A" | "candidate_B" | "neither";
879
+ ranking: ("candidate_A" | "candidate_B")[];
880
+ source_refs: string[];
881
+ frozen_digest: string;
882
+ assessments: {
883
+ strengths: string[];
884
+ weaknesses: string[];
885
+ alias: "candidate_A" | "candidate_B";
886
+ }[];
887
+ } | undefined;
888
+ }>, {
889
+ status: "complete" | "incomplete";
890
+ schema_version: "architecture-comparison-record-v1";
891
+ missing: string[];
892
+ run_id: string;
893
+ evidence: {
894
+ path: string;
895
+ sha256: string;
896
+ reference: string;
897
+ }[];
898
+ candidates: {
899
+ alias: "candidate_A" | "candidate_B";
900
+ body: {
901
+ schema_version: "architecture-candidate-v1";
902
+ source_refs: string[];
903
+ frozen_digest: string;
904
+ caller_usage: string;
905
+ public_signatures: string;
906
+ ownership: string;
907
+ failure_behavior: string;
908
+ tradeoffs: string[];
909
+ assumptions: string[];
910
+ rejected_alternatives: string[];
911
+ };
912
+ route: {
913
+ cli_name: string;
914
+ model?: string | undefined;
915
+ effort?: string | undefined;
916
+ };
917
+ }[];
918
+ owner_acceptance: "not_recorded";
919
+ owner_next_steps: string[];
920
+ limitations: string[];
921
+ source_identity?: string | undefined;
922
+ frozen_digest?: string | undefined;
923
+ judge?: {
924
+ schema_version: "architecture-judge-v1";
925
+ rationale: string;
926
+ recommendation: "candidate_A" | "candidate_B" | "neither";
927
+ ranking: ("candidate_A" | "candidate_B")[];
928
+ source_refs: string[];
929
+ frozen_digest: string;
930
+ assessments: {
931
+ strengths: string[];
932
+ weaknesses: string[];
933
+ alias: "candidate_A" | "candidate_B";
934
+ }[];
935
+ } | undefined;
936
+ }, {
937
+ status: "complete" | "incomplete";
938
+ schema_version: "architecture-comparison-record-v1";
939
+ missing: string[];
940
+ run_id: string;
941
+ evidence: {
942
+ path: string;
943
+ sha256: string;
944
+ reference: string;
945
+ }[];
946
+ candidates: {
947
+ alias: "candidate_A" | "candidate_B";
948
+ body: {
949
+ schema_version: "architecture-candidate-v1";
950
+ source_refs: string[];
951
+ frozen_digest: string;
952
+ caller_usage: string;
953
+ public_signatures: string;
954
+ ownership: string;
955
+ failure_behavior: string;
956
+ tradeoffs: string[];
957
+ assumptions: string[];
958
+ rejected_alternatives: string[];
959
+ };
960
+ route: {
961
+ cli_name: string;
962
+ model?: string | undefined;
963
+ effort?: string | undefined;
964
+ };
965
+ }[];
966
+ owner_acceptance: "not_recorded";
967
+ owner_next_steps: string[];
968
+ limitations: string[];
969
+ source_identity?: string | undefined;
970
+ frozen_digest?: string | undefined;
971
+ judge?: {
972
+ schema_version: "architecture-judge-v1";
973
+ rationale: string;
974
+ recommendation: "candidate_A" | "candidate_B" | "neither";
975
+ ranking: ("candidate_A" | "candidate_B")[];
976
+ source_refs: string[];
977
+ frozen_digest: string;
978
+ assessments: {
979
+ strengths: string[];
980
+ weaknesses: string[];
981
+ alias: "candidate_A" | "candidate_B";
982
+ }[];
983
+ } | undefined;
984
+ }>;
985
+ export declare function canonicalJson(value: unknown): string;
986
+ export declare function digest(value: unknown): string;
987
+ export declare function bytesDigest(value: string | Buffer): string;
988
+ export declare function serialized(value: unknown): string;
989
+ export declare function assertBounded(value: unknown, maximum: number): void;
990
+ export declare function assertSharedInput(input: unknown): SharedInput;
991
+ export declare function assertReferences(body: {
992
+ frozen_digest: string;
993
+ source_refs: string[];
994
+ }, shared: SharedInput): void;
995
+ export declare function assertNoSelfAttribution(candidate: Candidate): void;