sysprom 1.14.0 → 1.15.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.
@@ -0,0 +1,1246 @@
1
+ import * as z from "zod";
2
+ /**
3
+ * Impact node in the impact trace.
4
+ */
5
+ declare const ImpactNode: z.ZodObject<{
6
+ id: z.ZodString;
7
+ node: z.ZodOptional<z.ZodObject<{
8
+ id: z.ZodString;
9
+ type: z.ZodEnum<{
10
+ intent: "intent";
11
+ concept: "concept";
12
+ capability: "capability";
13
+ element: "element";
14
+ realisation: "realisation";
15
+ invariant: "invariant";
16
+ principle: "principle";
17
+ policy: "policy";
18
+ protocol: "protocol";
19
+ stage: "stage";
20
+ role: "role";
21
+ gate: "gate";
22
+ mode: "mode";
23
+ artefact: "artefact";
24
+ artefact_flow: "artefact_flow";
25
+ decision: "decision";
26
+ change: "change";
27
+ view: "view";
28
+ milestone: "milestone";
29
+ version: "version";
30
+ }> & {
31
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
32
+ };
33
+ name: z.ZodString;
34
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
35
+ is(value: unknown): value is string | string[];
36
+ }>;
37
+ status: z.ZodOptional<z.ZodEnum<{
38
+ deprecated: "deprecated";
39
+ proposed: "proposed";
40
+ accepted: "accepted";
41
+ active: "active";
42
+ implemented: "implemented";
43
+ adopted: "adopted";
44
+ defined: "defined";
45
+ introduced: "introduced";
46
+ in_progress: "in_progress";
47
+ complete: "complete";
48
+ consolidated: "consolidated";
49
+ experimental: "experimental";
50
+ retired: "retired";
51
+ superseded: "superseded";
52
+ abandoned: "abandoned";
53
+ deferred: "deferred";
54
+ }> & {
55
+ is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
56
+ }>;
57
+ lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
58
+ context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
59
+ is(value: unknown): value is string | string[];
60
+ }>;
61
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ id: z.ZodString;
63
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
64
+ is(value: unknown): value is string | string[];
65
+ };
66
+ }, z.core.$loose> & {
67
+ is(value: unknown): value is {
68
+ [x: string]: unknown;
69
+ id: string;
70
+ description: string | string[];
71
+ };
72
+ }>>;
73
+ selected: z.ZodOptional<z.ZodString>;
74
+ rationale: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
75
+ is(value: unknown): value is string | string[];
76
+ }>;
77
+ scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
+ operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
+ type: z.ZodEnum<{
80
+ link: "link";
81
+ add: "add";
82
+ update: "update";
83
+ remove: "remove";
84
+ }>;
85
+ target: z.ZodOptional<z.ZodString>;
86
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
87
+ is(value: unknown): value is string | string[];
88
+ }>;
89
+ }, z.core.$loose> & {
90
+ is(value: unknown): value is {
91
+ [x: string]: unknown;
92
+ type: "link" | "add" | "update" | "remove";
93
+ target?: string | undefined;
94
+ description?: string | string[] | undefined;
95
+ };
96
+ }>>;
97
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
99
+ is(value: unknown): value is string | string[];
100
+ };
101
+ done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
102
+ }, z.core.$loose> & {
103
+ is(value: unknown): value is {
104
+ [x: string]: unknown;
105
+ description: string | string[];
106
+ done?: boolean | undefined;
107
+ };
108
+ }>>;
109
+ propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
110
+ includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ input: z.ZodOptional<z.ZodString>;
112
+ output: z.ZodOptional<z.ZodString>;
113
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ role: z.ZodEnum<{
115
+ output: "output";
116
+ input: "input";
117
+ context: "context";
118
+ evidence: "evidence";
119
+ source: "source";
120
+ standard: "standard";
121
+ prior_art: "prior_art";
122
+ }> & {
123
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
124
+ };
125
+ identifier: z.ZodString;
126
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
127
+ is(value: unknown): value is string | string[];
128
+ }>;
129
+ node_id: z.ZodOptional<z.ZodString>;
130
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
131
+ is(value: unknown): value is string | string[];
132
+ }>;
133
+ }, z.core.$strip> & {
134
+ is(value: unknown): value is {
135
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
136
+ identifier: string;
137
+ description?: string | string[] | undefined;
138
+ node_id?: string | undefined;
139
+ internalised?: string | string[] | undefined;
140
+ };
141
+ }>>;
142
+ readonly subsystem: z.ZodOptional<z.ZodObject<{
143
+ $schema: z.ZodOptional<z.ZodString>;
144
+ metadata: z.ZodOptional<z.ZodObject<{
145
+ title: z.ZodOptional<z.ZodString>;
146
+ doc_type: z.ZodOptional<z.ZodString>;
147
+ scope: z.ZodOptional<z.ZodString>;
148
+ status: z.ZodOptional<z.ZodString>;
149
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodInt]>>;
150
+ }, z.core.$loose> & {
151
+ is(value: unknown): value is {
152
+ [x: string]: unknown;
153
+ title?: string | undefined;
154
+ doc_type?: string | undefined;
155
+ scope?: string | undefined;
156
+ status?: string | undefined;
157
+ version?: string | number | undefined;
158
+ };
159
+ }>;
160
+ nodes: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$loose>>;
161
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
+ from: z.ZodString;
163
+ to: z.ZodString;
164
+ type: z.ZodEnum<{
165
+ refines: "refines";
166
+ realises: "realises";
167
+ implements: "implements";
168
+ depends_on: "depends_on";
169
+ constrained_by: "constrained_by";
170
+ affects: "affects";
171
+ supersedes: "supersedes";
172
+ must_preserve: "must_preserve";
173
+ performs: "performs";
174
+ part_of: "part_of";
175
+ precedes: "precedes";
176
+ must_follow: "must_follow";
177
+ blocks: "blocks";
178
+ routes_to: "routes_to";
179
+ governed_by: "governed_by";
180
+ modifies: "modifies";
181
+ triggered_by: "triggered_by";
182
+ applies_to: "applies_to";
183
+ produces: "produces";
184
+ consumes: "consumes";
185
+ transforms_into: "transforms_into";
186
+ selects: "selects";
187
+ requires: "requires";
188
+ disables: "disables";
189
+ }> & {
190
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
191
+ };
192
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
193
+ is(value: unknown): value is string | string[];
194
+ }>;
195
+ }, z.core.$loose> & {
196
+ is(value: unknown): value is {
197
+ [x: string]: unknown;
198
+ from: string;
199
+ to: string;
200
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
201
+ description?: string | string[] | undefined;
202
+ };
203
+ }>>;
204
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ role: z.ZodEnum<{
206
+ output: "output";
207
+ input: "input";
208
+ context: "context";
209
+ evidence: "evidence";
210
+ source: "source";
211
+ standard: "standard";
212
+ prior_art: "prior_art";
213
+ }> & {
214
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
215
+ };
216
+ identifier: z.ZodString;
217
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
218
+ is(value: unknown): value is string | string[];
219
+ }>;
220
+ node_id: z.ZodOptional<z.ZodString>;
221
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
222
+ is(value: unknown): value is string | string[];
223
+ }>;
224
+ }, z.core.$strip> & {
225
+ is(value: unknown): value is {
226
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
227
+ identifier: string;
228
+ description?: string | string[] | undefined;
229
+ node_id?: string | undefined;
230
+ internalised?: string | string[] | undefined;
231
+ };
232
+ }>>;
233
+ }, z.core.$strip>>;
234
+ }, z.core.$loose> & {
235
+ is(value: unknown): value is {
236
+ [x: string]: unknown;
237
+ id: string;
238
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
239
+ name: string;
240
+ description?: string | string[] | undefined;
241
+ status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
242
+ lifecycle?: Record<string, string | boolean> | undefined;
243
+ context?: string | string[] | undefined;
244
+ options?: {
245
+ [x: string]: unknown;
246
+ id: string;
247
+ description: string | string[];
248
+ }[] | undefined;
249
+ selected?: string | undefined;
250
+ rationale?: string | string[] | undefined;
251
+ scope?: string[] | undefined;
252
+ operations?: {
253
+ [x: string]: unknown;
254
+ type: "link" | "add" | "update" | "remove";
255
+ target?: string | undefined;
256
+ description?: string | string[] | undefined;
257
+ }[] | undefined;
258
+ plan?: {
259
+ [x: string]: unknown;
260
+ description: string | string[];
261
+ done?: boolean | undefined;
262
+ }[] | undefined;
263
+ propagation?: Record<string, boolean> | undefined;
264
+ includes?: string[] | undefined;
265
+ input?: string | undefined;
266
+ output?: string | undefined;
267
+ external_references?: {
268
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
269
+ identifier: string;
270
+ description?: string | string[] | undefined;
271
+ node_id?: string | undefined;
272
+ internalised?: string | string[] | undefined;
273
+ }[] | undefined;
274
+ subsystem?: {
275
+ nodes: /*elided*/ any[];
276
+ $schema?: string | undefined;
277
+ metadata?: {
278
+ [x: string]: unknown;
279
+ title?: string | undefined;
280
+ doc_type?: string | undefined;
281
+ scope?: string | undefined;
282
+ status?: string | undefined;
283
+ version?: string | number | undefined;
284
+ } | undefined;
285
+ relationships?: {
286
+ [x: string]: unknown;
287
+ from: string;
288
+ to: string;
289
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
290
+ description?: string | string[] | undefined;
291
+ }[] | undefined;
292
+ external_references?: {
293
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
294
+ identifier: string;
295
+ description?: string | string[] | undefined;
296
+ node_id?: string | undefined;
297
+ internalised?: string | string[] | undefined;
298
+ }[] | undefined;
299
+ } | undefined;
300
+ };
301
+ }>;
302
+ impactType: z.ZodEnum<{
303
+ direct: "direct";
304
+ transitive: "transitive";
305
+ potential: "potential";
306
+ }>;
307
+ distance: z.ZodNumber;
308
+ }, z.core.$strip>;
309
+ /** Impact node in the impact trace. */
310
+ export type ImpactNode = z.infer<typeof ImpactNode>;
311
+ /**
312
+ * Output schema for inferImpactOp.
313
+ */
314
+ declare const ImpactOutput: z.ZodObject<{
315
+ sourceId: z.ZodString;
316
+ impactedNodes: z.ZodArray<z.ZodObject<{
317
+ id: z.ZodString;
318
+ node: z.ZodOptional<z.ZodObject<{
319
+ id: z.ZodString;
320
+ type: z.ZodEnum<{
321
+ intent: "intent";
322
+ concept: "concept";
323
+ capability: "capability";
324
+ element: "element";
325
+ realisation: "realisation";
326
+ invariant: "invariant";
327
+ principle: "principle";
328
+ policy: "policy";
329
+ protocol: "protocol";
330
+ stage: "stage";
331
+ role: "role";
332
+ gate: "gate";
333
+ mode: "mode";
334
+ artefact: "artefact";
335
+ artefact_flow: "artefact_flow";
336
+ decision: "decision";
337
+ change: "change";
338
+ view: "view";
339
+ milestone: "milestone";
340
+ version: "version";
341
+ }> & {
342
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
343
+ };
344
+ name: z.ZodString;
345
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
346
+ is(value: unknown): value is string | string[];
347
+ }>;
348
+ status: z.ZodOptional<z.ZodEnum<{
349
+ deprecated: "deprecated";
350
+ proposed: "proposed";
351
+ accepted: "accepted";
352
+ active: "active";
353
+ implemented: "implemented";
354
+ adopted: "adopted";
355
+ defined: "defined";
356
+ introduced: "introduced";
357
+ in_progress: "in_progress";
358
+ complete: "complete";
359
+ consolidated: "consolidated";
360
+ experimental: "experimental";
361
+ retired: "retired";
362
+ superseded: "superseded";
363
+ abandoned: "abandoned";
364
+ deferred: "deferred";
365
+ }> & {
366
+ is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
367
+ }>;
368
+ lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
369
+ context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
370
+ is(value: unknown): value is string | string[];
371
+ }>;
372
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
373
+ id: z.ZodString;
374
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
375
+ is(value: unknown): value is string | string[];
376
+ };
377
+ }, z.core.$loose> & {
378
+ is(value: unknown): value is {
379
+ [x: string]: unknown;
380
+ id: string;
381
+ description: string | string[];
382
+ };
383
+ }>>;
384
+ selected: z.ZodOptional<z.ZodString>;
385
+ rationale: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
386
+ is(value: unknown): value is string | string[];
387
+ }>;
388
+ scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
+ operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
390
+ type: z.ZodEnum<{
391
+ link: "link";
392
+ add: "add";
393
+ update: "update";
394
+ remove: "remove";
395
+ }>;
396
+ target: z.ZodOptional<z.ZodString>;
397
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
398
+ is(value: unknown): value is string | string[];
399
+ }>;
400
+ }, z.core.$loose> & {
401
+ is(value: unknown): value is {
402
+ [x: string]: unknown;
403
+ type: "link" | "add" | "update" | "remove";
404
+ target?: string | undefined;
405
+ description?: string | string[] | undefined;
406
+ };
407
+ }>>;
408
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
410
+ is(value: unknown): value is string | string[];
411
+ };
412
+ done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
413
+ }, z.core.$loose> & {
414
+ is(value: unknown): value is {
415
+ [x: string]: unknown;
416
+ description: string | string[];
417
+ done?: boolean | undefined;
418
+ };
419
+ }>>;
420
+ propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
421
+ includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
422
+ input: z.ZodOptional<z.ZodString>;
423
+ output: z.ZodOptional<z.ZodString>;
424
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
425
+ role: z.ZodEnum<{
426
+ output: "output";
427
+ input: "input";
428
+ context: "context";
429
+ evidence: "evidence";
430
+ source: "source";
431
+ standard: "standard";
432
+ prior_art: "prior_art";
433
+ }> & {
434
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
435
+ };
436
+ identifier: z.ZodString;
437
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
438
+ is(value: unknown): value is string | string[];
439
+ }>;
440
+ node_id: z.ZodOptional<z.ZodString>;
441
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
442
+ is(value: unknown): value is string | string[];
443
+ }>;
444
+ }, z.core.$strip> & {
445
+ is(value: unknown): value is {
446
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
447
+ identifier: string;
448
+ description?: string | string[] | undefined;
449
+ node_id?: string | undefined;
450
+ internalised?: string | string[] | undefined;
451
+ };
452
+ }>>;
453
+ readonly subsystem: z.ZodOptional<z.ZodObject<{
454
+ $schema: z.ZodOptional<z.ZodString>;
455
+ metadata: z.ZodOptional<z.ZodObject<{
456
+ title: z.ZodOptional<z.ZodString>;
457
+ doc_type: z.ZodOptional<z.ZodString>;
458
+ scope: z.ZodOptional<z.ZodString>;
459
+ status: z.ZodOptional<z.ZodString>;
460
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodInt]>>;
461
+ }, z.core.$loose> & {
462
+ is(value: unknown): value is {
463
+ [x: string]: unknown;
464
+ title?: string | undefined;
465
+ doc_type?: string | undefined;
466
+ scope?: string | undefined;
467
+ status?: string | undefined;
468
+ version?: string | number | undefined;
469
+ };
470
+ }>;
471
+ nodes: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$loose>>;
472
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
473
+ from: z.ZodString;
474
+ to: z.ZodString;
475
+ type: z.ZodEnum<{
476
+ refines: "refines";
477
+ realises: "realises";
478
+ implements: "implements";
479
+ depends_on: "depends_on";
480
+ constrained_by: "constrained_by";
481
+ affects: "affects";
482
+ supersedes: "supersedes";
483
+ must_preserve: "must_preserve";
484
+ performs: "performs";
485
+ part_of: "part_of";
486
+ precedes: "precedes";
487
+ must_follow: "must_follow";
488
+ blocks: "blocks";
489
+ routes_to: "routes_to";
490
+ governed_by: "governed_by";
491
+ modifies: "modifies";
492
+ triggered_by: "triggered_by";
493
+ applies_to: "applies_to";
494
+ produces: "produces";
495
+ consumes: "consumes";
496
+ transforms_into: "transforms_into";
497
+ selects: "selects";
498
+ requires: "requires";
499
+ disables: "disables";
500
+ }> & {
501
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
502
+ };
503
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
504
+ is(value: unknown): value is string | string[];
505
+ }>;
506
+ }, z.core.$loose> & {
507
+ is(value: unknown): value is {
508
+ [x: string]: unknown;
509
+ from: string;
510
+ to: string;
511
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
512
+ description?: string | string[] | undefined;
513
+ };
514
+ }>>;
515
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
516
+ role: z.ZodEnum<{
517
+ output: "output";
518
+ input: "input";
519
+ context: "context";
520
+ evidence: "evidence";
521
+ source: "source";
522
+ standard: "standard";
523
+ prior_art: "prior_art";
524
+ }> & {
525
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
526
+ };
527
+ identifier: z.ZodString;
528
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
529
+ is(value: unknown): value is string | string[];
530
+ }>;
531
+ node_id: z.ZodOptional<z.ZodString>;
532
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
533
+ is(value: unknown): value is string | string[];
534
+ }>;
535
+ }, z.core.$strip> & {
536
+ is(value: unknown): value is {
537
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
538
+ identifier: string;
539
+ description?: string | string[] | undefined;
540
+ node_id?: string | undefined;
541
+ internalised?: string | string[] | undefined;
542
+ };
543
+ }>>;
544
+ }, z.core.$strip>>;
545
+ }, z.core.$loose> & {
546
+ is(value: unknown): value is {
547
+ [x: string]: unknown;
548
+ id: string;
549
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
550
+ name: string;
551
+ description?: string | string[] | undefined;
552
+ status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
553
+ lifecycle?: Record<string, string | boolean> | undefined;
554
+ context?: string | string[] | undefined;
555
+ options?: {
556
+ [x: string]: unknown;
557
+ id: string;
558
+ description: string | string[];
559
+ }[] | undefined;
560
+ selected?: string | undefined;
561
+ rationale?: string | string[] | undefined;
562
+ scope?: string[] | undefined;
563
+ operations?: {
564
+ [x: string]: unknown;
565
+ type: "link" | "add" | "update" | "remove";
566
+ target?: string | undefined;
567
+ description?: string | string[] | undefined;
568
+ }[] | undefined;
569
+ plan?: {
570
+ [x: string]: unknown;
571
+ description: string | string[];
572
+ done?: boolean | undefined;
573
+ }[] | undefined;
574
+ propagation?: Record<string, boolean> | undefined;
575
+ includes?: string[] | undefined;
576
+ input?: string | undefined;
577
+ output?: string | undefined;
578
+ external_references?: {
579
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
580
+ identifier: string;
581
+ description?: string | string[] | undefined;
582
+ node_id?: string | undefined;
583
+ internalised?: string | string[] | undefined;
584
+ }[] | undefined;
585
+ subsystem?: {
586
+ nodes: /*elided*/ any[];
587
+ $schema?: string | undefined;
588
+ metadata?: {
589
+ [x: string]: unknown;
590
+ title?: string | undefined;
591
+ doc_type?: string | undefined;
592
+ scope?: string | undefined;
593
+ status?: string | undefined;
594
+ version?: string | number | undefined;
595
+ } | undefined;
596
+ relationships?: {
597
+ [x: string]: unknown;
598
+ from: string;
599
+ to: string;
600
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
601
+ description?: string | string[] | undefined;
602
+ }[] | undefined;
603
+ external_references?: {
604
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
605
+ identifier: string;
606
+ description?: string | string[] | undefined;
607
+ node_id?: string | undefined;
608
+ internalised?: string | string[] | undefined;
609
+ }[] | undefined;
610
+ } | undefined;
611
+ };
612
+ }>;
613
+ impactType: z.ZodEnum<{
614
+ direct: "direct";
615
+ transitive: "transitive";
616
+ potential: "potential";
617
+ }>;
618
+ distance: z.ZodNumber;
619
+ }, z.core.$strip>>;
620
+ summary: z.ZodObject<{
621
+ direct: z.ZodNumber;
622
+ transitive: z.ZodNumber;
623
+ potential: z.ZodNumber;
624
+ total: z.ZodNumber;
625
+ }, z.core.$strip>;
626
+ }, z.core.$strip>;
627
+ /** Output of impact inference operation. */
628
+ export type ImpactOutput = z.infer<typeof ImpactOutput>;
629
+ /**
630
+ * Infer impact from a starting node through the graph.
631
+ *
632
+ * Traces impact propagation through affect, dependency, and modification
633
+ * relationships, categorising nodes as directly impacted, transitively
634
+ * impacted, or potentially impacted.
635
+ */
636
+ export declare const inferImpactOp: import("./define-operation.js").DefinedOperation<z.ZodObject<{
637
+ doc: z.ZodObject<{
638
+ $schema: z.ZodOptional<z.ZodString>;
639
+ metadata: z.ZodOptional<z.ZodObject<{
640
+ title: z.ZodOptional<z.ZodString>;
641
+ doc_type: z.ZodOptional<z.ZodString>;
642
+ scope: z.ZodOptional<z.ZodString>;
643
+ status: z.ZodOptional<z.ZodString>;
644
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodInt]>>;
645
+ }, z.core.$loose> & {
646
+ is(value: unknown): value is {
647
+ [x: string]: unknown;
648
+ title?: string | undefined;
649
+ doc_type?: string | undefined;
650
+ scope?: string | undefined;
651
+ status?: string | undefined;
652
+ version?: string | number | undefined;
653
+ };
654
+ }>;
655
+ nodes: z.ZodArray<z.ZodObject<{
656
+ id: z.ZodString;
657
+ type: z.ZodEnum<{
658
+ intent: "intent";
659
+ concept: "concept";
660
+ capability: "capability";
661
+ element: "element";
662
+ realisation: "realisation";
663
+ invariant: "invariant";
664
+ principle: "principle";
665
+ policy: "policy";
666
+ protocol: "protocol";
667
+ stage: "stage";
668
+ role: "role";
669
+ gate: "gate";
670
+ mode: "mode";
671
+ artefact: "artefact";
672
+ artefact_flow: "artefact_flow";
673
+ decision: "decision";
674
+ change: "change";
675
+ view: "view";
676
+ milestone: "milestone";
677
+ version: "version";
678
+ }> & {
679
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
680
+ };
681
+ name: z.ZodString;
682
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
683
+ is(value: unknown): value is string | string[];
684
+ }>;
685
+ status: z.ZodOptional<z.ZodEnum<{
686
+ deprecated: "deprecated";
687
+ proposed: "proposed";
688
+ accepted: "accepted";
689
+ active: "active";
690
+ implemented: "implemented";
691
+ adopted: "adopted";
692
+ defined: "defined";
693
+ introduced: "introduced";
694
+ in_progress: "in_progress";
695
+ complete: "complete";
696
+ consolidated: "consolidated";
697
+ experimental: "experimental";
698
+ retired: "retired";
699
+ superseded: "superseded";
700
+ abandoned: "abandoned";
701
+ deferred: "deferred";
702
+ }> & {
703
+ is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
704
+ }>;
705
+ lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
706
+ context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
707
+ is(value: unknown): value is string | string[];
708
+ }>;
709
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
710
+ id: z.ZodString;
711
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
712
+ is(value: unknown): value is string | string[];
713
+ };
714
+ }, z.core.$loose> & {
715
+ is(value: unknown): value is {
716
+ [x: string]: unknown;
717
+ id: string;
718
+ description: string | string[];
719
+ };
720
+ }>>;
721
+ selected: z.ZodOptional<z.ZodString>;
722
+ rationale: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
723
+ is(value: unknown): value is string | string[];
724
+ }>;
725
+ scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
726
+ operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
727
+ type: z.ZodEnum<{
728
+ link: "link";
729
+ add: "add";
730
+ update: "update";
731
+ remove: "remove";
732
+ }>;
733
+ target: z.ZodOptional<z.ZodString>;
734
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
735
+ is(value: unknown): value is string | string[];
736
+ }>;
737
+ }, z.core.$loose> & {
738
+ is(value: unknown): value is {
739
+ [x: string]: unknown;
740
+ type: "link" | "add" | "update" | "remove";
741
+ target?: string | undefined;
742
+ description?: string | string[] | undefined;
743
+ };
744
+ }>>;
745
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
746
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
747
+ is(value: unknown): value is string | string[];
748
+ };
749
+ done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
750
+ }, z.core.$loose> & {
751
+ is(value: unknown): value is {
752
+ [x: string]: unknown;
753
+ description: string | string[];
754
+ done?: boolean | undefined;
755
+ };
756
+ }>>;
757
+ propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
758
+ includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
759
+ input: z.ZodOptional<z.ZodString>;
760
+ output: z.ZodOptional<z.ZodString>;
761
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
762
+ role: z.ZodEnum<{
763
+ output: "output";
764
+ input: "input";
765
+ context: "context";
766
+ evidence: "evidence";
767
+ source: "source";
768
+ standard: "standard";
769
+ prior_art: "prior_art";
770
+ }> & {
771
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
772
+ };
773
+ identifier: z.ZodString;
774
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
775
+ is(value: unknown): value is string | string[];
776
+ }>;
777
+ node_id: z.ZodOptional<z.ZodString>;
778
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
779
+ is(value: unknown): value is string | string[];
780
+ }>;
781
+ }, z.core.$strip> & {
782
+ is(value: unknown): value is {
783
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
784
+ identifier: string;
785
+ description?: string | string[] | undefined;
786
+ node_id?: string | undefined;
787
+ internalised?: string | string[] | undefined;
788
+ };
789
+ }>>;
790
+ readonly subsystem: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strip>>;
791
+ }, z.core.$loose>>;
792
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
793
+ from: z.ZodString;
794
+ to: z.ZodString;
795
+ type: z.ZodEnum<{
796
+ refines: "refines";
797
+ realises: "realises";
798
+ implements: "implements";
799
+ depends_on: "depends_on";
800
+ constrained_by: "constrained_by";
801
+ affects: "affects";
802
+ supersedes: "supersedes";
803
+ must_preserve: "must_preserve";
804
+ performs: "performs";
805
+ part_of: "part_of";
806
+ precedes: "precedes";
807
+ must_follow: "must_follow";
808
+ blocks: "blocks";
809
+ routes_to: "routes_to";
810
+ governed_by: "governed_by";
811
+ modifies: "modifies";
812
+ triggered_by: "triggered_by";
813
+ applies_to: "applies_to";
814
+ produces: "produces";
815
+ consumes: "consumes";
816
+ transforms_into: "transforms_into";
817
+ selects: "selects";
818
+ requires: "requires";
819
+ disables: "disables";
820
+ }> & {
821
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
822
+ };
823
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
824
+ is(value: unknown): value is string | string[];
825
+ }>;
826
+ }, z.core.$loose> & {
827
+ is(value: unknown): value is {
828
+ [x: string]: unknown;
829
+ from: string;
830
+ to: string;
831
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
832
+ description?: string | string[] | undefined;
833
+ };
834
+ }>>;
835
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
836
+ role: z.ZodEnum<{
837
+ output: "output";
838
+ input: "input";
839
+ context: "context";
840
+ evidence: "evidence";
841
+ source: "source";
842
+ standard: "standard";
843
+ prior_art: "prior_art";
844
+ }> & {
845
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
846
+ };
847
+ identifier: z.ZodString;
848
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
849
+ is(value: unknown): value is string | string[];
850
+ }>;
851
+ node_id: z.ZodOptional<z.ZodString>;
852
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
853
+ is(value: unknown): value is string | string[];
854
+ }>;
855
+ }, z.core.$strip> & {
856
+ is(value: unknown): value is {
857
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
858
+ identifier: string;
859
+ description?: string | string[] | undefined;
860
+ node_id?: string | undefined;
861
+ internalised?: string | string[] | undefined;
862
+ };
863
+ }>>;
864
+ }, z.core.$strip> & {
865
+ is(value: unknown): value is {
866
+ nodes: {
867
+ [x: string]: unknown;
868
+ id: string;
869
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
870
+ name: string;
871
+ description?: string | string[] | undefined;
872
+ status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
873
+ lifecycle?: Record<string, string | boolean> | undefined;
874
+ context?: string | string[] | undefined;
875
+ options?: {
876
+ [x: string]: unknown;
877
+ id: string;
878
+ description: string | string[];
879
+ }[] | undefined;
880
+ selected?: string | undefined;
881
+ rationale?: string | string[] | undefined;
882
+ scope?: string[] | undefined;
883
+ operations?: {
884
+ [x: string]: unknown;
885
+ type: "link" | "add" | "update" | "remove";
886
+ target?: string | undefined;
887
+ description?: string | string[] | undefined;
888
+ }[] | undefined;
889
+ plan?: {
890
+ [x: string]: unknown;
891
+ description: string | string[];
892
+ done?: boolean | undefined;
893
+ }[] | undefined;
894
+ propagation?: Record<string, boolean> | undefined;
895
+ includes?: string[] | undefined;
896
+ input?: string | undefined;
897
+ output?: string | undefined;
898
+ external_references?: {
899
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
900
+ identifier: string;
901
+ description?: string | string[] | undefined;
902
+ node_id?: string | undefined;
903
+ internalised?: string | string[] | undefined;
904
+ }[] | undefined;
905
+ subsystem?: /*elided*/ any | undefined;
906
+ }[];
907
+ $schema?: string | undefined;
908
+ metadata?: {
909
+ [x: string]: unknown;
910
+ title?: string | undefined;
911
+ doc_type?: string | undefined;
912
+ scope?: string | undefined;
913
+ status?: string | undefined;
914
+ version?: string | number | undefined;
915
+ } | undefined;
916
+ relationships?: {
917
+ [x: string]: unknown;
918
+ from: string;
919
+ to: string;
920
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
921
+ description?: string | string[] | undefined;
922
+ }[] | undefined;
923
+ external_references?: {
924
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
925
+ identifier: string;
926
+ description?: string | string[] | undefined;
927
+ node_id?: string | undefined;
928
+ internalised?: string | string[] | undefined;
929
+ }[] | undefined;
930
+ };
931
+ };
932
+ startId: z.ZodString;
933
+ }, z.core.$strip>, z.ZodObject<{
934
+ sourceId: z.ZodString;
935
+ impactedNodes: z.ZodArray<z.ZodObject<{
936
+ id: z.ZodString;
937
+ node: z.ZodOptional<z.ZodObject<{
938
+ id: z.ZodString;
939
+ type: z.ZodEnum<{
940
+ intent: "intent";
941
+ concept: "concept";
942
+ capability: "capability";
943
+ element: "element";
944
+ realisation: "realisation";
945
+ invariant: "invariant";
946
+ principle: "principle";
947
+ policy: "policy";
948
+ protocol: "protocol";
949
+ stage: "stage";
950
+ role: "role";
951
+ gate: "gate";
952
+ mode: "mode";
953
+ artefact: "artefact";
954
+ artefact_flow: "artefact_flow";
955
+ decision: "decision";
956
+ change: "change";
957
+ view: "view";
958
+ milestone: "milestone";
959
+ version: "version";
960
+ }> & {
961
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
962
+ };
963
+ name: z.ZodString;
964
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
965
+ is(value: unknown): value is string | string[];
966
+ }>;
967
+ status: z.ZodOptional<z.ZodEnum<{
968
+ deprecated: "deprecated";
969
+ proposed: "proposed";
970
+ accepted: "accepted";
971
+ active: "active";
972
+ implemented: "implemented";
973
+ adopted: "adopted";
974
+ defined: "defined";
975
+ introduced: "introduced";
976
+ in_progress: "in_progress";
977
+ complete: "complete";
978
+ consolidated: "consolidated";
979
+ experimental: "experimental";
980
+ retired: "retired";
981
+ superseded: "superseded";
982
+ abandoned: "abandoned";
983
+ deferred: "deferred";
984
+ }> & {
985
+ is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
986
+ }>;
987
+ lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
988
+ context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
989
+ is(value: unknown): value is string | string[];
990
+ }>;
991
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
+ id: z.ZodString;
993
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
994
+ is(value: unknown): value is string | string[];
995
+ };
996
+ }, z.core.$loose> & {
997
+ is(value: unknown): value is {
998
+ [x: string]: unknown;
999
+ id: string;
1000
+ description: string | string[];
1001
+ };
1002
+ }>>;
1003
+ selected: z.ZodOptional<z.ZodString>;
1004
+ rationale: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1005
+ is(value: unknown): value is string | string[];
1006
+ }>;
1007
+ scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
1008
+ operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1009
+ type: z.ZodEnum<{
1010
+ link: "link";
1011
+ add: "add";
1012
+ update: "update";
1013
+ remove: "remove";
1014
+ }>;
1015
+ target: z.ZodOptional<z.ZodString>;
1016
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1017
+ is(value: unknown): value is string | string[];
1018
+ }>;
1019
+ }, z.core.$loose> & {
1020
+ is(value: unknown): value is {
1021
+ [x: string]: unknown;
1022
+ type: "link" | "add" | "update" | "remove";
1023
+ target?: string | undefined;
1024
+ description?: string | string[] | undefined;
1025
+ };
1026
+ }>>;
1027
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
1028
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1029
+ is(value: unknown): value is string | string[];
1030
+ };
1031
+ done: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1032
+ }, z.core.$loose> & {
1033
+ is(value: unknown): value is {
1034
+ [x: string]: unknown;
1035
+ description: string | string[];
1036
+ done?: boolean | undefined;
1037
+ };
1038
+ }>>;
1039
+ propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1040
+ includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1041
+ input: z.ZodOptional<z.ZodString>;
1042
+ output: z.ZodOptional<z.ZodString>;
1043
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1044
+ role: z.ZodEnum<{
1045
+ output: "output";
1046
+ input: "input";
1047
+ context: "context";
1048
+ evidence: "evidence";
1049
+ source: "source";
1050
+ standard: "standard";
1051
+ prior_art: "prior_art";
1052
+ }> & {
1053
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1054
+ };
1055
+ identifier: z.ZodString;
1056
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1057
+ is(value: unknown): value is string | string[];
1058
+ }>;
1059
+ node_id: z.ZodOptional<z.ZodString>;
1060
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1061
+ is(value: unknown): value is string | string[];
1062
+ }>;
1063
+ }, z.core.$strip> & {
1064
+ is(value: unknown): value is {
1065
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1066
+ identifier: string;
1067
+ description?: string | string[] | undefined;
1068
+ node_id?: string | undefined;
1069
+ internalised?: string | string[] | undefined;
1070
+ };
1071
+ }>>;
1072
+ readonly subsystem: z.ZodOptional<z.ZodObject<{
1073
+ $schema: z.ZodOptional<z.ZodString>;
1074
+ metadata: z.ZodOptional<z.ZodObject<{
1075
+ title: z.ZodOptional<z.ZodString>;
1076
+ doc_type: z.ZodOptional<z.ZodString>;
1077
+ scope: z.ZodOptional<z.ZodString>;
1078
+ status: z.ZodOptional<z.ZodString>;
1079
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodInt]>>;
1080
+ }, z.core.$loose> & {
1081
+ is(value: unknown): value is {
1082
+ [x: string]: unknown;
1083
+ title?: string | undefined;
1084
+ doc_type?: string | undefined;
1085
+ scope?: string | undefined;
1086
+ status?: string | undefined;
1087
+ version?: string | number | undefined;
1088
+ };
1089
+ }>;
1090
+ nodes: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$loose>>;
1091
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
1092
+ from: z.ZodString;
1093
+ to: z.ZodString;
1094
+ type: z.ZodEnum<{
1095
+ refines: "refines";
1096
+ realises: "realises";
1097
+ implements: "implements";
1098
+ depends_on: "depends_on";
1099
+ constrained_by: "constrained_by";
1100
+ affects: "affects";
1101
+ supersedes: "supersedes";
1102
+ must_preserve: "must_preserve";
1103
+ performs: "performs";
1104
+ part_of: "part_of";
1105
+ precedes: "precedes";
1106
+ must_follow: "must_follow";
1107
+ blocks: "blocks";
1108
+ routes_to: "routes_to";
1109
+ governed_by: "governed_by";
1110
+ modifies: "modifies";
1111
+ triggered_by: "triggered_by";
1112
+ applies_to: "applies_to";
1113
+ produces: "produces";
1114
+ consumes: "consumes";
1115
+ transforms_into: "transforms_into";
1116
+ selects: "selects";
1117
+ requires: "requires";
1118
+ disables: "disables";
1119
+ }> & {
1120
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
1121
+ };
1122
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1123
+ is(value: unknown): value is string | string[];
1124
+ }>;
1125
+ }, z.core.$loose> & {
1126
+ is(value: unknown): value is {
1127
+ [x: string]: unknown;
1128
+ from: string;
1129
+ to: string;
1130
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
1131
+ description?: string | string[] | undefined;
1132
+ };
1133
+ }>>;
1134
+ external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1135
+ role: z.ZodEnum<{
1136
+ output: "output";
1137
+ input: "input";
1138
+ context: "context";
1139
+ evidence: "evidence";
1140
+ source: "source";
1141
+ standard: "standard";
1142
+ prior_art: "prior_art";
1143
+ }> & {
1144
+ is(value: unknown): value is "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1145
+ };
1146
+ identifier: z.ZodString;
1147
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1148
+ is(value: unknown): value is string | string[];
1149
+ }>;
1150
+ node_id: z.ZodOptional<z.ZodString>;
1151
+ internalised: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
1152
+ is(value: unknown): value is string | string[];
1153
+ }>;
1154
+ }, z.core.$strip> & {
1155
+ is(value: unknown): value is {
1156
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1157
+ identifier: string;
1158
+ description?: string | string[] | undefined;
1159
+ node_id?: string | undefined;
1160
+ internalised?: string | string[] | undefined;
1161
+ };
1162
+ }>>;
1163
+ }, z.core.$strip>>;
1164
+ }, z.core.$loose> & {
1165
+ is(value: unknown): value is {
1166
+ [x: string]: unknown;
1167
+ id: string;
1168
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
1169
+ name: string;
1170
+ description?: string | string[] | undefined;
1171
+ status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
1172
+ lifecycle?: Record<string, string | boolean> | undefined;
1173
+ context?: string | string[] | undefined;
1174
+ options?: {
1175
+ [x: string]: unknown;
1176
+ id: string;
1177
+ description: string | string[];
1178
+ }[] | undefined;
1179
+ selected?: string | undefined;
1180
+ rationale?: string | string[] | undefined;
1181
+ scope?: string[] | undefined;
1182
+ operations?: {
1183
+ [x: string]: unknown;
1184
+ type: "link" | "add" | "update" | "remove";
1185
+ target?: string | undefined;
1186
+ description?: string | string[] | undefined;
1187
+ }[] | undefined;
1188
+ plan?: {
1189
+ [x: string]: unknown;
1190
+ description: string | string[];
1191
+ done?: boolean | undefined;
1192
+ }[] | undefined;
1193
+ propagation?: Record<string, boolean> | undefined;
1194
+ includes?: string[] | undefined;
1195
+ input?: string | undefined;
1196
+ output?: string | undefined;
1197
+ external_references?: {
1198
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1199
+ identifier: string;
1200
+ description?: string | string[] | undefined;
1201
+ node_id?: string | undefined;
1202
+ internalised?: string | string[] | undefined;
1203
+ }[] | undefined;
1204
+ subsystem?: {
1205
+ nodes: /*elided*/ any[];
1206
+ $schema?: string | undefined;
1207
+ metadata?: {
1208
+ [x: string]: unknown;
1209
+ title?: string | undefined;
1210
+ doc_type?: string | undefined;
1211
+ scope?: string | undefined;
1212
+ status?: string | undefined;
1213
+ version?: string | number | undefined;
1214
+ } | undefined;
1215
+ relationships?: {
1216
+ [x: string]: unknown;
1217
+ from: string;
1218
+ to: string;
1219
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "performs" | "part_of" | "precedes" | "must_follow" | "blocks" | "routes_to" | "governed_by" | "modifies" | "triggered_by" | "applies_to" | "produces" | "consumes" | "transforms_into" | "selects" | "requires" | "disables";
1220
+ description?: string | string[] | undefined;
1221
+ }[] | undefined;
1222
+ external_references?: {
1223
+ role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
1224
+ identifier: string;
1225
+ description?: string | string[] | undefined;
1226
+ node_id?: string | undefined;
1227
+ internalised?: string | string[] | undefined;
1228
+ }[] | undefined;
1229
+ } | undefined;
1230
+ };
1231
+ }>;
1232
+ impactType: z.ZodEnum<{
1233
+ direct: "direct";
1234
+ transitive: "transitive";
1235
+ potential: "potential";
1236
+ }>;
1237
+ distance: z.ZodNumber;
1238
+ }, z.core.$strip>>;
1239
+ summary: z.ZodObject<{
1240
+ direct: z.ZodNumber;
1241
+ transitive: z.ZodNumber;
1242
+ potential: z.ZodNumber;
1243
+ total: z.ZodNumber;
1244
+ }, z.core.$strip>;
1245
+ }, z.core.$strip>>;
1246
+ export {};