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
@@ -39,39 +39,18 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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 markTaskDoneOp: import("./define-operation.js").DefinedOper
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;
@@ -351,39 +314,18 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
351
314
  gate: "gate";
352
315
  mode: "mode";
353
316
  artefact: "artefact";
354
- artefact_flow: "artefact_flow";
355
317
  decision: "decision";
356
318
  change: "change";
357
319
  view: "view";
358
320
  milestone: "milestone";
359
- version: "version";
360
321
  }> & {
361
- 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";
322
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
362
323
  };
363
324
  name: z.ZodString;
364
325
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
365
326
  is(value: unknown): value is string | string[];
366
327
  }>;
367
- status: z.ZodOptional<z.ZodEnum<{
368
- deprecated: "deprecated";
369
- proposed: "proposed";
370
- accepted: "accepted";
371
- active: "active";
372
- implemented: "implemented";
373
- adopted: "adopted";
374
- defined: "defined";
375
- introduced: "introduced";
376
- in_progress: "in_progress";
377
- complete: "complete";
378
- consolidated: "consolidated";
379
- experimental: "experimental";
380
- retired: "retired";
381
- superseded: "superseded";
382
- abandoned: "abandoned";
383
- deferred: "deferred";
384
- }> & {
385
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
386
- }>;
328
+ status: z.ZodOptional<z.ZodNever>;
387
329
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
388
330
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
389
331
  is(value: unknown): value is string | string[];
@@ -438,8 +380,6 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
438
380
  }>>;
439
381
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
440
382
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
441
- input: z.ZodOptional<z.ZodString>;
442
- output: z.ZodOptional<z.ZodString>;
443
383
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
384
  role: z.ZodEnum<{
445
385
  output: "output";
@@ -483,26 +423,14 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
483
423
  affects: "affects";
484
424
  supersedes: "supersedes";
485
425
  must_preserve: "must_preserve";
486
- performs: "performs";
487
426
  part_of: "part_of";
488
427
  precedes: "precedes";
489
428
  must_follow: "must_follow";
490
- blocks: "blocks";
491
- routes_to: "routes_to";
492
429
  governed_by: "governed_by";
493
430
  modifies: "modifies";
494
- triggered_by: "triggered_by";
495
- applies_to: "applies_to";
496
431
  produces: "produces";
497
- consumes: "consumes";
498
- transforms_into: "transforms_into";
499
- selects: "selects";
500
- requires: "requires";
501
- disables: "disables";
502
- influence: "influence";
503
- justifies: "justifies";
504
432
  }> & {
505
- 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";
433
+ 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";
506
434
  };
507
435
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
508
436
  is(value: unknown): value is string | string[];
@@ -521,7 +449,7 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
521
449
  [x: string]: unknown;
522
450
  from: string;
523
451
  to: string;
524
- 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";
452
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
525
453
  description?: string | string[] | undefined;
526
454
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
527
455
  strength?: number | undefined;
@@ -561,10 +489,10 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
561
489
  nodes: {
562
490
  [x: string]: unknown;
563
491
  id: string;
564
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
492
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
565
493
  name: string;
566
494
  description?: string | string[] | undefined;
567
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
495
+ status?: undefined;
568
496
  lifecycle?: Record<string, string | boolean> | undefined;
569
497
  context?: string | string[] | undefined;
570
498
  options?: {
@@ -588,8 +516,6 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
588
516
  }[] | undefined;
589
517
  propagation?: Record<string, boolean> | undefined;
590
518
  includes?: string[] | undefined;
591
- input?: string | undefined;
592
- output?: string | undefined;
593
519
  external_references?: {
594
520
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
595
521
  identifier: string;
@@ -612,7 +538,7 @@ export declare const markTaskDoneOp: import("./define-operation.js").DefinedOper
612
538
  [x: string]: unknown;
613
539
  from: string;
614
540
  to: string;
615
- 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";
541
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
616
542
  description?: string | string[] | undefined;
617
543
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
618
544
  strength?: number | undefined;
@@ -39,39 +39,18 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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 markTaskUndoneOp: import("./define-operation.js").DefinedOp
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;
@@ -351,39 +314,18 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
351
314
  gate: "gate";
352
315
  mode: "mode";
353
316
  artefact: "artefact";
354
- artefact_flow: "artefact_flow";
355
317
  decision: "decision";
356
318
  change: "change";
357
319
  view: "view";
358
320
  milestone: "milestone";
359
- version: "version";
360
321
  }> & {
361
- 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";
322
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
362
323
  };
363
324
  name: z.ZodString;
364
325
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
365
326
  is(value: unknown): value is string | string[];
366
327
  }>;
367
- status: z.ZodOptional<z.ZodEnum<{
368
- deprecated: "deprecated";
369
- proposed: "proposed";
370
- accepted: "accepted";
371
- active: "active";
372
- implemented: "implemented";
373
- adopted: "adopted";
374
- defined: "defined";
375
- introduced: "introduced";
376
- in_progress: "in_progress";
377
- complete: "complete";
378
- consolidated: "consolidated";
379
- experimental: "experimental";
380
- retired: "retired";
381
- superseded: "superseded";
382
- abandoned: "abandoned";
383
- deferred: "deferred";
384
- }> & {
385
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
386
- }>;
328
+ status: z.ZodOptional<z.ZodNever>;
387
329
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
388
330
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
389
331
  is(value: unknown): value is string | string[];
@@ -438,8 +380,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
438
380
  }>>;
439
381
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
440
382
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
441
- input: z.ZodOptional<z.ZodString>;
442
- output: z.ZodOptional<z.ZodString>;
443
383
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
384
  role: z.ZodEnum<{
445
385
  output: "output";
@@ -483,26 +423,14 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
483
423
  affects: "affects";
484
424
  supersedes: "supersedes";
485
425
  must_preserve: "must_preserve";
486
- performs: "performs";
487
426
  part_of: "part_of";
488
427
  precedes: "precedes";
489
428
  must_follow: "must_follow";
490
- blocks: "blocks";
491
- routes_to: "routes_to";
492
429
  governed_by: "governed_by";
493
430
  modifies: "modifies";
494
- triggered_by: "triggered_by";
495
- applies_to: "applies_to";
496
431
  produces: "produces";
497
- consumes: "consumes";
498
- transforms_into: "transforms_into";
499
- selects: "selects";
500
- requires: "requires";
501
- disables: "disables";
502
- influence: "influence";
503
- justifies: "justifies";
504
432
  }> & {
505
- 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";
433
+ 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";
506
434
  };
507
435
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
508
436
  is(value: unknown): value is string | string[];
@@ -521,7 +449,7 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
521
449
  [x: string]: unknown;
522
450
  from: string;
523
451
  to: string;
524
- 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";
452
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
525
453
  description?: string | string[] | undefined;
526
454
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
527
455
  strength?: number | undefined;
@@ -561,10 +489,10 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
561
489
  nodes: {
562
490
  [x: string]: unknown;
563
491
  id: string;
564
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
492
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
565
493
  name: string;
566
494
  description?: string | string[] | undefined;
567
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
495
+ status?: undefined;
568
496
  lifecycle?: Record<string, string | boolean> | undefined;
569
497
  context?: string | string[] | undefined;
570
498
  options?: {
@@ -588,8 +516,6 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
588
516
  }[] | undefined;
589
517
  propagation?: Record<string, boolean> | undefined;
590
518
  includes?: string[] | undefined;
591
- input?: string | undefined;
592
- output?: string | undefined;
593
519
  external_references?: {
594
520
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
595
521
  identifier: string;
@@ -612,7 +538,7 @@ export declare const markTaskUndoneOp: import("./define-operation.js").DefinedOp
612
538
  [x: string]: unknown;
613
539
  from: string;
614
540
  to: string;
615
- 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";
541
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
616
542
  description?: string | string[] | undefined;
617
543
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
618
544
  strength?: number | undefined;
@@ -37,39 +37,18 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
37
37
  gate: "gate";
38
38
  mode: "mode";
39
39
  artefact: "artefact";
40
- artefact_flow: "artefact_flow";
41
40
  decision: "decision";
42
41
  change: "change";
43
42
  view: "view";
44
43
  milestone: "milestone";
45
- version: "version";
46
44
  }> & {
47
- 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";
45
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
48
46
  };
49
47
  name: z.ZodString;
50
48
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
51
49
  is(value: unknown): value is string | string[];
52
50
  }>;
53
- status: z.ZodOptional<z.ZodEnum<{
54
- deprecated: "deprecated";
55
- proposed: "proposed";
56
- accepted: "accepted";
57
- active: "active";
58
- implemented: "implemented";
59
- adopted: "adopted";
60
- defined: "defined";
61
- introduced: "introduced";
62
- in_progress: "in_progress";
63
- complete: "complete";
64
- consolidated: "consolidated";
65
- experimental: "experimental";
66
- retired: "retired";
67
- superseded: "superseded";
68
- abandoned: "abandoned";
69
- deferred: "deferred";
70
- }> & {
71
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
72
- }>;
51
+ status: z.ZodOptional<z.ZodNever>;
73
52
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
74
53
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
75
54
  is(value: unknown): value is string | string[];
@@ -124,8 +103,6 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
124
103
  }>>;
125
104
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
126
105
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
- input: z.ZodOptional<z.ZodString>;
128
- output: z.ZodOptional<z.ZodString>;
129
106
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
130
107
  role: z.ZodEnum<{
131
108
  output: "output";
@@ -169,26 +146,14 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
169
146
  affects: "affects";
170
147
  supersedes: "supersedes";
171
148
  must_preserve: "must_preserve";
172
- performs: "performs";
173
149
  part_of: "part_of";
174
150
  precedes: "precedes";
175
151
  must_follow: "must_follow";
176
- blocks: "blocks";
177
- routes_to: "routes_to";
178
152
  governed_by: "governed_by";
179
153
  modifies: "modifies";
180
- triggered_by: "triggered_by";
181
- applies_to: "applies_to";
182
154
  produces: "produces";
183
- consumes: "consumes";
184
- transforms_into: "transforms_into";
185
- selects: "selects";
186
- requires: "requires";
187
- disables: "disables";
188
- influence: "influence";
189
- justifies: "justifies";
190
155
  }> & {
191
- 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";
156
+ 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";
192
157
  };
193
158
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
194
159
  is(value: unknown): value is string | string[];
@@ -207,7 +172,7 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
207
172
  [x: string]: unknown;
208
173
  from: string;
209
174
  to: string;
210
- 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";
175
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
211
176
  description?: string | string[] | undefined;
212
177
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
213
178
  strength?: number | undefined;
@@ -247,10 +212,10 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
247
212
  nodes: {
248
213
  [x: string]: unknown;
249
214
  id: string;
250
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
215
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
251
216
  name: string;
252
217
  description?: string | string[] | undefined;
253
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
218
+ status?: undefined;
254
219
  lifecycle?: Record<string, string | boolean> | undefined;
255
220
  context?: string | string[] | undefined;
256
221
  options?: {
@@ -274,8 +239,6 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
274
239
  }[] | undefined;
275
240
  propagation?: Record<string, boolean> | undefined;
276
241
  includes?: string[] | undefined;
277
- input?: string | undefined;
278
- output?: string | undefined;
279
242
  external_references?: {
280
243
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
281
244
  identifier: string;
@@ -298,7 +261,7 @@ export declare const markdownToJsonOp: import("./define-operation.js").DefinedOp
298
261
  [x: string]: unknown;
299
262
  from: string;
300
263
  to: string;
301
- 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";
264
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
302
265
  description?: string | string[] | undefined;
303
266
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
304
267
  strength?: number | undefined;