sysprom 1.19.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/README.md +3 -0
  2. package/dist/schema.json +4 -43
  3. package/dist/src/cli/commands/add.js +6 -2
  4. package/dist/src/cli/commands/query.js +5 -3
  5. package/dist/src/cli/commands/speckit.js +2 -2
  6. package/dist/src/cli/commands/update.js +6 -4
  7. package/dist/src/endpoint-types.d.ts +4 -0
  8. package/dist/src/endpoint-types.js +22 -116
  9. package/dist/src/json-to-md.js +2 -16
  10. package/dist/src/lifecycle-state.d.ts +9 -0
  11. package/dist/src/lifecycle-state.js +22 -0
  12. package/dist/src/mcp/server.js +3 -6
  13. package/dist/src/md-to-json.js +1 -19
  14. package/dist/src/operations/add-node.d.ts +21 -132
  15. package/dist/src/operations/add-plan-task.d.ts +14 -88
  16. package/dist/src/operations/add-relationship.d.ts +16 -102
  17. package/dist/src/operations/check.d.ts +7 -44
  18. package/dist/src/operations/graph-decision.d.ts +7 -44
  19. package/dist/src/operations/graph-decision.js +0 -1
  20. package/dist/src/operations/graph-dependency.d.ts +7 -44
  21. package/dist/src/operations/graph-dependency.js +3 -23
  22. package/dist/src/operations/graph-refinement.d.ts +7 -44
  23. package/dist/src/operations/graph-shared.js +1 -3
  24. package/dist/src/operations/graph.d.ts +7 -44
  25. package/dist/src/operations/infer-completeness.d.ts +10 -53
  26. package/dist/src/operations/infer-derived.d.ts +7 -44
  27. package/dist/src/operations/infer-derived.js +28 -4
  28. package/dist/src/operations/infer-impact.d.ts +49 -308
  29. package/dist/src/operations/infer-impact.js +22 -3
  30. package/dist/src/operations/infer-lifecycle.d.ts +8 -105
  31. package/dist/src/operations/infer-lifecycle.js +4 -10
  32. package/dist/src/operations/init-document.d.ts +7 -44
  33. package/dist/src/operations/json-to-markdown.d.ts +7 -44
  34. package/dist/src/operations/mark-task-done.d.ts +14 -88
  35. package/dist/src/operations/mark-task-undone.d.ts +14 -88
  36. package/dist/src/operations/markdown-to-json.d.ts +7 -44
  37. package/dist/src/operations/next-id.d.ts +8 -47
  38. package/dist/src/operations/node-history.d.ts +7 -44
  39. package/dist/src/operations/plan-add-task.d.ts +14 -88
  40. package/dist/src/operations/plan-gate.d.ts +7 -44
  41. package/dist/src/operations/plan-init.d.ts +7 -44
  42. package/dist/src/operations/plan-progress.d.ts +7 -44
  43. package/dist/src/operations/plan-status.d.ts +7 -44
  44. package/dist/src/operations/query-node.d.ts +29 -188
  45. package/dist/src/operations/query-nodes.d.ts +15 -89
  46. package/dist/src/operations/query-nodes.js +6 -4
  47. package/dist/src/operations/query-relationships.d.ts +9 -58
  48. package/dist/src/operations/remove-node.d.ts +21 -132
  49. package/dist/src/operations/remove-node.js +11 -1
  50. package/dist/src/operations/remove-relationship.d.ts +15 -101
  51. package/dist/src/operations/rename.d.ts +14 -88
  52. package/dist/src/operations/search.d.ts +14 -88
  53. package/dist/src/operations/speckit-diff.d.ts +7 -44
  54. package/dist/src/operations/speckit-export.d.ts +7 -44
  55. package/dist/src/operations/speckit-import.d.ts +7 -44
  56. package/dist/src/operations/speckit-sync.d.ts +22 -133
  57. package/dist/src/operations/speckit-sync.js +3 -3
  58. package/dist/src/operations/state-at.d.ts +7 -44
  59. package/dist/src/operations/stats.d.ts +7 -44
  60. package/dist/src/operations/sync.d.ts +21 -132
  61. package/dist/src/operations/task-list.d.ts +7 -44
  62. package/dist/src/operations/timeline.d.ts +7 -44
  63. package/dist/src/operations/trace-from-node.d.ts +21 -132
  64. package/dist/src/operations/update-metadata.d.ts +14 -88
  65. package/dist/src/operations/update-node.d.ts +20 -152
  66. package/dist/src/operations/update-plan-task.d.ts +14 -88
  67. package/dist/src/operations/validate.d.ts +7 -44
  68. package/dist/src/operations/validate.js +8 -6
  69. package/dist/src/schema.d.ts +22 -159
  70. package/dist/src/schema.js +4 -26
  71. package/dist/src/speckit/generate.js +10 -7
  72. package/dist/src/speckit/parse.js +6 -3
  73. package/dist/src/speckit/plan.js +1 -1
  74. package/package.json +12 -1
  75. package/schema.json +4 -43
@@ -36,39 +36,18 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
36
36
  gate: "gate";
37
37
  mode: "mode";
38
38
  artefact: "artefact";
39
- artefact_flow: "artefact_flow";
40
39
  decision: "decision";
41
40
  change: "change";
42
41
  view: "view";
43
42
  milestone: "milestone";
44
- version: "version";
45
43
  }> & {
46
- 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";
44
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
47
45
  };
48
46
  name: z.ZodString;
49
47
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
50
48
  is(value: unknown): value is string | string[];
51
49
  }>;
52
- status: z.ZodOptional<z.ZodEnum<{
53
- deprecated: "deprecated";
54
- proposed: "proposed";
55
- accepted: "accepted";
56
- active: "active";
57
- implemented: "implemented";
58
- adopted: "adopted";
59
- defined: "defined";
60
- introduced: "introduced";
61
- in_progress: "in_progress";
62
- complete: "complete";
63
- consolidated: "consolidated";
64
- experimental: "experimental";
65
- retired: "retired";
66
- superseded: "superseded";
67
- abandoned: "abandoned";
68
- deferred: "deferred";
69
- }> & {
70
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
71
- }>;
50
+ status: z.ZodOptional<z.ZodNever>;
72
51
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
73
52
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
74
53
  is(value: unknown): value is string | string[];
@@ -123,8 +102,6 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
123
102
  }>>;
124
103
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
125
104
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
- input: z.ZodOptional<z.ZodString>;
127
- output: z.ZodOptional<z.ZodString>;
128
105
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
129
106
  role: z.ZodEnum<{
130
107
  output: "output";
@@ -168,26 +145,14 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
168
145
  affects: "affects";
169
146
  supersedes: "supersedes";
170
147
  must_preserve: "must_preserve";
171
- performs: "performs";
172
148
  part_of: "part_of";
173
149
  precedes: "precedes";
174
150
  must_follow: "must_follow";
175
- blocks: "blocks";
176
- routes_to: "routes_to";
177
151
  governed_by: "governed_by";
178
152
  modifies: "modifies";
179
- triggered_by: "triggered_by";
180
- applies_to: "applies_to";
181
153
  produces: "produces";
182
- consumes: "consumes";
183
- transforms_into: "transforms_into";
184
- selects: "selects";
185
- requires: "requires";
186
- disables: "disables";
187
- influence: "influence";
188
- justifies: "justifies";
189
154
  }> & {
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" | "influence" | "justifies";
155
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
191
156
  };
192
157
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
193
158
  is(value: unknown): value is string | string[];
@@ -206,7 +171,7 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
206
171
  [x: string]: unknown;
207
172
  from: string;
208
173
  to: string;
209
- 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" | "influence" | "justifies";
174
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
210
175
  description?: string | string[] | undefined;
211
176
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
212
177
  strength?: number | undefined;
@@ -246,10 +211,10 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
246
211
  nodes: {
247
212
  [x: string]: unknown;
248
213
  id: string;
249
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
214
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
250
215
  name: string;
251
216
  description?: string | string[] | undefined;
252
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
217
+ status?: undefined;
253
218
  lifecycle?: Record<string, string | boolean> | undefined;
254
219
  context?: string | string[] | undefined;
255
220
  options?: {
@@ -273,8 +238,6 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
273
238
  }[] | undefined;
274
239
  propagation?: Record<string, boolean> | undefined;
275
240
  includes?: string[] | undefined;
276
- input?: string | undefined;
277
- output?: string | undefined;
278
241
  external_references?: {
279
242
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
280
243
  identifier: string;
@@ -297,7 +260,7 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
297
260
  [x: string]: unknown;
298
261
  from: string;
299
262
  to: string;
300
- 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" | "influence" | "justifies";
263
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
301
264
  description?: string | string[] | undefined;
302
265
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
303
266
  strength?: number | undefined;
@@ -347,39 +310,18 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
347
310
  gate: "gate";
348
311
  mode: "mode";
349
312
  artefact: "artefact";
350
- artefact_flow: "artefact_flow";
351
313
  decision: "decision";
352
314
  change: "change";
353
315
  view: "view";
354
316
  milestone: "milestone";
355
- version: "version";
356
317
  }> & {
357
- 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";
318
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
358
319
  };
359
320
  name: z.ZodString;
360
321
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
361
322
  is(value: unknown): value is string | string[];
362
323
  }>;
363
- status: z.ZodOptional<z.ZodEnum<{
364
- deprecated: "deprecated";
365
- proposed: "proposed";
366
- accepted: "accepted";
367
- active: "active";
368
- implemented: "implemented";
369
- adopted: "adopted";
370
- defined: "defined";
371
- introduced: "introduced";
372
- in_progress: "in_progress";
373
- complete: "complete";
374
- consolidated: "consolidated";
375
- experimental: "experimental";
376
- retired: "retired";
377
- superseded: "superseded";
378
- abandoned: "abandoned";
379
- deferred: "deferred";
380
- }> & {
381
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
382
- }>;
324
+ status: z.ZodOptional<z.ZodNever>;
383
325
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
384
326
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
385
327
  is(value: unknown): value is string | string[];
@@ -434,8 +376,6 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
434
376
  }>>;
435
377
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
436
378
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
437
- input: z.ZodOptional<z.ZodString>;
438
- output: z.ZodOptional<z.ZodString>;
439
379
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
440
380
  role: z.ZodEnum<{
441
381
  output: "output";
@@ -479,26 +419,14 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
479
419
  affects: "affects";
480
420
  supersedes: "supersedes";
481
421
  must_preserve: "must_preserve";
482
- performs: "performs";
483
422
  part_of: "part_of";
484
423
  precedes: "precedes";
485
424
  must_follow: "must_follow";
486
- blocks: "blocks";
487
- routes_to: "routes_to";
488
425
  governed_by: "governed_by";
489
426
  modifies: "modifies";
490
- triggered_by: "triggered_by";
491
- applies_to: "applies_to";
492
427
  produces: "produces";
493
- consumes: "consumes";
494
- transforms_into: "transforms_into";
495
- selects: "selects";
496
- requires: "requires";
497
- disables: "disables";
498
- influence: "influence";
499
- justifies: "justifies";
500
428
  }> & {
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" | "influence" | "justifies";
429
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
502
430
  };
503
431
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
504
432
  is(value: unknown): value is string | string[];
@@ -517,7 +445,7 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
517
445
  [x: string]: unknown;
518
446
  from: string;
519
447
  to: string;
520
- 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" | "influence" | "justifies";
448
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
521
449
  description?: string | string[] | undefined;
522
450
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
523
451
  strength?: number | undefined;
@@ -557,10 +485,10 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
557
485
  nodes: {
558
486
  [x: string]: unknown;
559
487
  id: string;
560
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
488
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
561
489
  name: string;
562
490
  description?: string | string[] | undefined;
563
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
491
+ status?: undefined;
564
492
  lifecycle?: Record<string, string | boolean> | undefined;
565
493
  context?: string | string[] | undefined;
566
494
  options?: {
@@ -584,8 +512,6 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
584
512
  }[] | undefined;
585
513
  propagation?: Record<string, boolean> | undefined;
586
514
  includes?: string[] | undefined;
587
- input?: string | undefined;
588
- output?: string | undefined;
589
515
  external_references?: {
590
516
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
591
517
  identifier: string;
@@ -608,7 +534,7 @@ export declare const updateMetadataOp: import("./define-operation.js").DefinedOp
608
534
  [x: string]: unknown;
609
535
  from: string;
610
536
  to: string;
611
- 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" | "influence" | "justifies";
537
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
612
538
  description?: string | string[] | undefined;
613
539
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
614
540
  strength?: number | undefined;
@@ -39,39 +39,18 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
39
39
  gate: "gate";
40
40
  mode: "mode";
41
41
  artefact: "artefact";
42
- artefact_flow: "artefact_flow";
43
42
  decision: "decision";
44
43
  change: "change";
45
44
  view: "view";
46
45
  milestone: "milestone";
47
- version: "version";
48
46
  }> & {
49
- 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";
47
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
50
48
  };
51
49
  name: z.ZodString;
52
50
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
53
51
  is(value: unknown): value is string | string[];
54
52
  }>;
55
- status: z.ZodOptional<z.ZodEnum<{
56
- deprecated: "deprecated";
57
- proposed: "proposed";
58
- accepted: "accepted";
59
- active: "active";
60
- implemented: "implemented";
61
- adopted: "adopted";
62
- defined: "defined";
63
- introduced: "introduced";
64
- in_progress: "in_progress";
65
- complete: "complete";
66
- consolidated: "consolidated";
67
- experimental: "experimental";
68
- retired: "retired";
69
- superseded: "superseded";
70
- abandoned: "abandoned";
71
- deferred: "deferred";
72
- }> & {
73
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
74
- }>;
53
+ status: z.ZodOptional<z.ZodNever>;
75
54
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
76
55
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
77
56
  is(value: unknown): value is string | string[];
@@ -126,8 +105,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
126
105
  }>>;
127
106
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
128
107
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
- input: z.ZodOptional<z.ZodString>;
130
- output: z.ZodOptional<z.ZodString>;
131
108
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
109
  role: z.ZodEnum<{
133
110
  output: "output";
@@ -171,26 +148,14 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
171
148
  affects: "affects";
172
149
  supersedes: "supersedes";
173
150
  must_preserve: "must_preserve";
174
- performs: "performs";
175
151
  part_of: "part_of";
176
152
  precedes: "precedes";
177
153
  must_follow: "must_follow";
178
- blocks: "blocks";
179
- routes_to: "routes_to";
180
154
  governed_by: "governed_by";
181
155
  modifies: "modifies";
182
- triggered_by: "triggered_by";
183
- applies_to: "applies_to";
184
156
  produces: "produces";
185
- consumes: "consumes";
186
- transforms_into: "transforms_into";
187
- selects: "selects";
188
- requires: "requires";
189
- disables: "disables";
190
- influence: "influence";
191
- justifies: "justifies";
192
157
  }> & {
193
- 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" | "influence" | "justifies";
158
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
194
159
  };
195
160
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
196
161
  is(value: unknown): value is string | string[];
@@ -209,7 +174,7 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
209
174
  [x: string]: unknown;
210
175
  from: string;
211
176
  to: string;
212
- 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" | "influence" | "justifies";
177
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
213
178
  description?: string | string[] | undefined;
214
179
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
215
180
  strength?: number | undefined;
@@ -249,10 +214,10 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
249
214
  nodes: {
250
215
  [x: string]: unknown;
251
216
  id: string;
252
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
217
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
253
218
  name: string;
254
219
  description?: string | string[] | undefined;
255
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
220
+ status?: undefined;
256
221
  lifecycle?: Record<string, string | boolean> | undefined;
257
222
  context?: string | string[] | undefined;
258
223
  options?: {
@@ -276,8 +241,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
276
241
  }[] | undefined;
277
242
  propagation?: Record<string, boolean> | undefined;
278
243
  includes?: string[] | undefined;
279
- input?: string | undefined;
280
- output?: string | undefined;
281
244
  external_references?: {
282
245
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
283
246
  identifier: string;
@@ -300,7 +263,7 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
300
263
  [x: string]: unknown;
301
264
  from: string;
302
265
  to: string;
303
- 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" | "influence" | "justifies";
266
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
304
267
  description?: string | string[] | undefined;
305
268
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
306
269
  strength?: number | undefined;
@@ -332,39 +295,18 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
332
295
  gate: "gate";
333
296
  mode: "mode";
334
297
  artefact: "artefact";
335
- artefact_flow: "artefact_flow";
336
298
  decision: "decision";
337
299
  change: "change";
338
300
  view: "view";
339
301
  milestone: "milestone";
340
- version: "version";
341
302
  }> & {
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";
303
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
343
304
  }>;
344
305
  name: z.ZodOptional<z.ZodString>;
345
306
  description: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
346
307
  is(value: unknown): value is string | string[];
347
308
  }>>;
348
- status: z.ZodOptional<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
- }>>;
309
+ status: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
368
310
  lifecycle: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>>;
369
311
  context: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
370
312
  is(value: unknown): value is string | string[];
@@ -419,8 +361,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
419
361
  }>>>;
420
362
  propagation: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>>;
421
363
  includes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
422
- input: z.ZodOptional<z.ZodOptional<z.ZodString>>;
423
- output: z.ZodOptional<z.ZodOptional<z.ZodString>>;
424
364
  external_references: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
425
365
  role: z.ZodEnum<{
426
366
  output: "output";
@@ -485,39 +425,18 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
485
425
  gate: "gate";
486
426
  mode: "mode";
487
427
  artefact: "artefact";
488
- artefact_flow: "artefact_flow";
489
428
  decision: "decision";
490
429
  change: "change";
491
430
  view: "view";
492
431
  milestone: "milestone";
493
- version: "version";
494
432
  }> & {
495
- 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";
433
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
496
434
  };
497
435
  name: z.ZodString;
498
436
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
499
437
  is(value: unknown): value is string | string[];
500
438
  }>;
501
- status: z.ZodOptional<z.ZodEnum<{
502
- deprecated: "deprecated";
503
- proposed: "proposed";
504
- accepted: "accepted";
505
- active: "active";
506
- implemented: "implemented";
507
- adopted: "adopted";
508
- defined: "defined";
509
- introduced: "introduced";
510
- in_progress: "in_progress";
511
- complete: "complete";
512
- consolidated: "consolidated";
513
- experimental: "experimental";
514
- retired: "retired";
515
- superseded: "superseded";
516
- abandoned: "abandoned";
517
- deferred: "deferred";
518
- }> & {
519
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
520
- }>;
439
+ status: z.ZodOptional<z.ZodNever>;
521
440
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
522
441
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
523
442
  is(value: unknown): value is string | string[];
@@ -572,8 +491,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
572
491
  }>>;
573
492
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
574
493
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
- input: z.ZodOptional<z.ZodString>;
576
- output: z.ZodOptional<z.ZodString>;
577
494
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
578
495
  role: z.ZodEnum<{
579
496
  output: "output";
@@ -617,26 +534,14 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
617
534
  affects: "affects";
618
535
  supersedes: "supersedes";
619
536
  must_preserve: "must_preserve";
620
- performs: "performs";
621
537
  part_of: "part_of";
622
538
  precedes: "precedes";
623
539
  must_follow: "must_follow";
624
- blocks: "blocks";
625
- routes_to: "routes_to";
626
540
  governed_by: "governed_by";
627
541
  modifies: "modifies";
628
- triggered_by: "triggered_by";
629
- applies_to: "applies_to";
630
542
  produces: "produces";
631
- consumes: "consumes";
632
- transforms_into: "transforms_into";
633
- selects: "selects";
634
- requires: "requires";
635
- disables: "disables";
636
- influence: "influence";
637
- justifies: "justifies";
638
543
  }> & {
639
- 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" | "influence" | "justifies";
544
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
640
545
  };
641
546
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
642
547
  is(value: unknown): value is string | string[];
@@ -655,7 +560,7 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
655
560
  [x: string]: unknown;
656
561
  from: string;
657
562
  to: string;
658
- 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" | "influence" | "justifies";
563
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
659
564
  description?: string | string[] | undefined;
660
565
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
661
566
  strength?: number | undefined;
@@ -727,39 +632,18 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
727
632
  gate: "gate";
728
633
  mode: "mode";
729
634
  artefact: "artefact";
730
- artefact_flow: "artefact_flow";
731
635
  decision: "decision";
732
636
  change: "change";
733
637
  view: "view";
734
638
  milestone: "milestone";
735
- version: "version";
736
639
  }> & {
737
- 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";
640
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
738
641
  };
739
642
  name: z.ZodString;
740
643
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
741
644
  is(value: unknown): value is string | string[];
742
645
  }>;
743
- status: z.ZodOptional<z.ZodEnum<{
744
- deprecated: "deprecated";
745
- proposed: "proposed";
746
- accepted: "accepted";
747
- active: "active";
748
- implemented: "implemented";
749
- adopted: "adopted";
750
- defined: "defined";
751
- introduced: "introduced";
752
- in_progress: "in_progress";
753
- complete: "complete";
754
- consolidated: "consolidated";
755
- experimental: "experimental";
756
- retired: "retired";
757
- superseded: "superseded";
758
- abandoned: "abandoned";
759
- deferred: "deferred";
760
- }> & {
761
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
762
- }>;
646
+ status: z.ZodOptional<z.ZodNever>;
763
647
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
764
648
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
765
649
  is(value: unknown): value is string | string[];
@@ -814,8 +698,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
814
698
  }>>;
815
699
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
816
700
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
817
- input: z.ZodOptional<z.ZodString>;
818
- output: z.ZodOptional<z.ZodString>;
819
701
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
820
702
  role: z.ZodEnum<{
821
703
  output: "output";
@@ -859,26 +741,14 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
859
741
  affects: "affects";
860
742
  supersedes: "supersedes";
861
743
  must_preserve: "must_preserve";
862
- performs: "performs";
863
744
  part_of: "part_of";
864
745
  precedes: "precedes";
865
746
  must_follow: "must_follow";
866
- blocks: "blocks";
867
- routes_to: "routes_to";
868
747
  governed_by: "governed_by";
869
748
  modifies: "modifies";
870
- triggered_by: "triggered_by";
871
- applies_to: "applies_to";
872
749
  produces: "produces";
873
- consumes: "consumes";
874
- transforms_into: "transforms_into";
875
- selects: "selects";
876
- requires: "requires";
877
- disables: "disables";
878
- influence: "influence";
879
- justifies: "justifies";
880
750
  }> & {
881
- 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" | "influence" | "justifies";
751
+ is(value: unknown): value is "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
882
752
  };
883
753
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
884
754
  is(value: unknown): value is string | string[];
@@ -897,7 +767,7 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
897
767
  [x: string]: unknown;
898
768
  from: string;
899
769
  to: string;
900
- 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" | "influence" | "justifies";
770
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
901
771
  description?: string | string[] | undefined;
902
772
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
903
773
  strength?: number | undefined;
@@ -937,10 +807,10 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
937
807
  nodes: {
938
808
  [x: string]: unknown;
939
809
  id: string;
940
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
810
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
941
811
  name: string;
942
812
  description?: string | string[] | undefined;
943
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
813
+ status?: undefined;
944
814
  lifecycle?: Record<string, string | boolean> | undefined;
945
815
  context?: string | string[] | undefined;
946
816
  options?: {
@@ -964,8 +834,6 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
964
834
  }[] | undefined;
965
835
  propagation?: Record<string, boolean> | undefined;
966
836
  includes?: string[] | undefined;
967
- input?: string | undefined;
968
- output?: string | undefined;
969
837
  external_references?: {
970
838
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
971
839
  identifier: string;
@@ -988,7 +856,7 @@ export declare const updateNodeOp: import("./define-operation.js").DefinedOperat
988
856
  [x: string]: unknown;
989
857
  from: string;
990
858
  to: string;
991
- 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" | "influence" | "justifies";
859
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
992
860
  description?: string | string[] | undefined;
993
861
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
994
862
  strength?: number | undefined;