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
@@ -52,39 +52,18 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
52
52
  gate: "gate";
53
53
  mode: "mode";
54
54
  artefact: "artefact";
55
- artefact_flow: "artefact_flow";
56
55
  decision: "decision";
57
56
  change: "change";
58
57
  view: "view";
59
58
  milestone: "milestone";
60
- version: "version";
61
59
  }> & {
62
- 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";
60
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
63
61
  };
64
62
  name: z.ZodString;
65
63
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
66
64
  is(value: unknown): value is string | string[];
67
65
  }>;
68
- status: z.ZodOptional<z.ZodEnum<{
69
- deprecated: "deprecated";
70
- proposed: "proposed";
71
- accepted: "accepted";
72
- active: "active";
73
- implemented: "implemented";
74
- adopted: "adopted";
75
- defined: "defined";
76
- introduced: "introduced";
77
- in_progress: "in_progress";
78
- complete: "complete";
79
- consolidated: "consolidated";
80
- experimental: "experimental";
81
- retired: "retired";
82
- superseded: "superseded";
83
- abandoned: "abandoned";
84
- deferred: "deferred";
85
- }> & {
86
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
87
- }>;
66
+ status: z.ZodOptional<z.ZodNever>;
88
67
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
89
68
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
90
69
  is(value: unknown): value is string | string[];
@@ -139,8 +118,6 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
139
118
  }>>;
140
119
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
141
120
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
- input: z.ZodOptional<z.ZodString>;
143
- output: z.ZodOptional<z.ZodString>;
144
121
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
122
  role: z.ZodEnum<{
146
123
  output: "output";
@@ -184,26 +161,14 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
184
161
  affects: "affects";
185
162
  supersedes: "supersedes";
186
163
  must_preserve: "must_preserve";
187
- performs: "performs";
188
164
  part_of: "part_of";
189
165
  precedes: "precedes";
190
166
  must_follow: "must_follow";
191
- blocks: "blocks";
192
- routes_to: "routes_to";
193
167
  governed_by: "governed_by";
194
168
  modifies: "modifies";
195
- triggered_by: "triggered_by";
196
- applies_to: "applies_to";
197
169
  produces: "produces";
198
- consumes: "consumes";
199
- transforms_into: "transforms_into";
200
- selects: "selects";
201
- requires: "requires";
202
- disables: "disables";
203
- influence: "influence";
204
- justifies: "justifies";
205
170
  }> & {
206
- 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";
171
+ 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";
207
172
  };
208
173
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
209
174
  is(value: unknown): value is string | string[];
@@ -222,7 +187,7 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
222
187
  [x: string]: unknown;
223
188
  from: string;
224
189
  to: string;
225
- 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";
190
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
226
191
  description?: string | string[] | undefined;
227
192
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
228
193
  strength?: number | undefined;
@@ -262,10 +227,10 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
262
227
  nodes: {
263
228
  [x: string]: unknown;
264
229
  id: string;
265
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
230
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
266
231
  name: string;
267
232
  description?: string | string[] | undefined;
268
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
233
+ status?: undefined;
269
234
  lifecycle?: Record<string, string | boolean> | undefined;
270
235
  context?: string | string[] | undefined;
271
236
  options?: {
@@ -289,8 +254,6 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
289
254
  }[] | undefined;
290
255
  propagation?: Record<string, boolean> | undefined;
291
256
  includes?: string[] | undefined;
292
- input?: string | undefined;
293
- output?: string | undefined;
294
257
  external_references?: {
295
258
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
296
259
  identifier: string;
@@ -313,7 +276,7 @@ export declare const statsOp: import("./define-operation.js").DefinedOperation<z
313
276
  [x: string]: unknown;
314
277
  from: string;
315
278
  to: string;
316
- 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";
279
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
317
280
  description?: string | string[] | undefined;
318
281
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
319
282
  strength?: number | undefined;
@@ -73,39 +73,18 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
73
73
  gate: "gate";
74
74
  mode: "mode";
75
75
  artefact: "artefact";
76
- artefact_flow: "artefact_flow";
77
76
  decision: "decision";
78
77
  change: "change";
79
78
  view: "view";
80
79
  milestone: "milestone";
81
- version: "version";
82
80
  }> & {
83
- 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";
81
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
84
82
  };
85
83
  name: z.ZodString;
86
84
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
87
85
  is(value: unknown): value is string | string[];
88
86
  }>;
89
- status: z.ZodOptional<z.ZodEnum<{
90
- deprecated: "deprecated";
91
- proposed: "proposed";
92
- accepted: "accepted";
93
- active: "active";
94
- implemented: "implemented";
95
- adopted: "adopted";
96
- defined: "defined";
97
- introduced: "introduced";
98
- in_progress: "in_progress";
99
- complete: "complete";
100
- consolidated: "consolidated";
101
- experimental: "experimental";
102
- retired: "retired";
103
- superseded: "superseded";
104
- abandoned: "abandoned";
105
- deferred: "deferred";
106
- }> & {
107
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
108
- }>;
87
+ status: z.ZodOptional<z.ZodNever>;
109
88
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
110
89
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
111
90
  is(value: unknown): value is string | string[];
@@ -160,8 +139,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
160
139
  }>>;
161
140
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
162
141
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
- input: z.ZodOptional<z.ZodString>;
164
- output: z.ZodOptional<z.ZodString>;
165
142
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
166
143
  role: z.ZodEnum<{
167
144
  output: "output";
@@ -205,26 +182,14 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
205
182
  affects: "affects";
206
183
  supersedes: "supersedes";
207
184
  must_preserve: "must_preserve";
208
- performs: "performs";
209
185
  part_of: "part_of";
210
186
  precedes: "precedes";
211
187
  must_follow: "must_follow";
212
- blocks: "blocks";
213
- routes_to: "routes_to";
214
188
  governed_by: "governed_by";
215
189
  modifies: "modifies";
216
- triggered_by: "triggered_by";
217
- applies_to: "applies_to";
218
190
  produces: "produces";
219
- consumes: "consumes";
220
- transforms_into: "transforms_into";
221
- selects: "selects";
222
- requires: "requires";
223
- disables: "disables";
224
- influence: "influence";
225
- justifies: "justifies";
226
191
  }> & {
227
- 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";
192
+ 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";
228
193
  };
229
194
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
230
195
  is(value: unknown): value is string | string[];
@@ -243,7 +208,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
243
208
  [x: string]: unknown;
244
209
  from: string;
245
210
  to: string;
246
- 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";
211
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
247
212
  description?: string | string[] | undefined;
248
213
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
249
214
  strength?: number | undefined;
@@ -283,10 +248,10 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
283
248
  nodes: {
284
249
  [x: string]: unknown;
285
250
  id: string;
286
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
251
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
287
252
  name: string;
288
253
  description?: string | string[] | undefined;
289
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
254
+ status?: undefined;
290
255
  lifecycle?: Record<string, string | boolean> | undefined;
291
256
  context?: string | string[] | undefined;
292
257
  options?: {
@@ -310,8 +275,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
310
275
  }[] | undefined;
311
276
  propagation?: Record<string, boolean> | undefined;
312
277
  includes?: string[] | undefined;
313
- input?: string | undefined;
314
- output?: string | undefined;
315
278
  external_references?: {
316
279
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
317
280
  identifier: string;
@@ -334,7 +297,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
334
297
  [x: string]: unknown;
335
298
  from: string;
336
299
  to: string;
337
- 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";
300
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
338
301
  description?: string | string[] | undefined;
339
302
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
340
303
  strength?: number | undefined;
@@ -383,39 +346,18 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
383
346
  gate: "gate";
384
347
  mode: "mode";
385
348
  artefact: "artefact";
386
- artefact_flow: "artefact_flow";
387
349
  decision: "decision";
388
350
  change: "change";
389
351
  view: "view";
390
352
  milestone: "milestone";
391
- version: "version";
392
353
  }> & {
393
- 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";
354
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
394
355
  };
395
356
  name: z.ZodString;
396
357
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
397
358
  is(value: unknown): value is string | string[];
398
359
  }>;
399
- status: z.ZodOptional<z.ZodEnum<{
400
- deprecated: "deprecated";
401
- proposed: "proposed";
402
- accepted: "accepted";
403
- active: "active";
404
- implemented: "implemented";
405
- adopted: "adopted";
406
- defined: "defined";
407
- introduced: "introduced";
408
- in_progress: "in_progress";
409
- complete: "complete";
410
- consolidated: "consolidated";
411
- experimental: "experimental";
412
- retired: "retired";
413
- superseded: "superseded";
414
- abandoned: "abandoned";
415
- deferred: "deferred";
416
- }> & {
417
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
418
- }>;
360
+ status: z.ZodOptional<z.ZodNever>;
419
361
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
420
362
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
421
363
  is(value: unknown): value is string | string[];
@@ -470,8 +412,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
470
412
  }>>;
471
413
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
472
414
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
- input: z.ZodOptional<z.ZodString>;
474
- output: z.ZodOptional<z.ZodString>;
475
415
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
476
416
  role: z.ZodEnum<{
477
417
  output: "output";
@@ -515,26 +455,14 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
515
455
  affects: "affects";
516
456
  supersedes: "supersedes";
517
457
  must_preserve: "must_preserve";
518
- performs: "performs";
519
458
  part_of: "part_of";
520
459
  precedes: "precedes";
521
460
  must_follow: "must_follow";
522
- blocks: "blocks";
523
- routes_to: "routes_to";
524
461
  governed_by: "governed_by";
525
462
  modifies: "modifies";
526
- triggered_by: "triggered_by";
527
- applies_to: "applies_to";
528
463
  produces: "produces";
529
- consumes: "consumes";
530
- transforms_into: "transforms_into";
531
- selects: "selects";
532
- requires: "requires";
533
- disables: "disables";
534
- influence: "influence";
535
- justifies: "justifies";
536
464
  }> & {
537
- 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";
465
+ 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";
538
466
  };
539
467
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
540
468
  is(value: unknown): value is string | string[];
@@ -553,7 +481,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
553
481
  [x: string]: unknown;
554
482
  from: string;
555
483
  to: string;
556
- 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";
484
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
557
485
  description?: string | string[] | undefined;
558
486
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
559
487
  strength?: number | undefined;
@@ -593,10 +521,10 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
593
521
  nodes: {
594
522
  [x: string]: unknown;
595
523
  id: string;
596
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
524
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
597
525
  name: string;
598
526
  description?: string | string[] | undefined;
599
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
527
+ status?: undefined;
600
528
  lifecycle?: Record<string, string | boolean> | undefined;
601
529
  context?: string | string[] | undefined;
602
530
  options?: {
@@ -620,8 +548,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
620
548
  }[] | undefined;
621
549
  propagation?: Record<string, boolean> | undefined;
622
550
  includes?: string[] | undefined;
623
- input?: string | undefined;
624
- output?: string | undefined;
625
551
  external_references?: {
626
552
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
627
553
  identifier: string;
@@ -644,7 +570,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
644
570
  [x: string]: unknown;
645
571
  from: string;
646
572
  to: string;
647
- 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";
573
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
648
574
  description?: string | string[] | undefined;
649
575
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
650
576
  strength?: number | undefined;
@@ -702,39 +628,18 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
702
628
  gate: "gate";
703
629
  mode: "mode";
704
630
  artefact: "artefact";
705
- artefact_flow: "artefact_flow";
706
631
  decision: "decision";
707
632
  change: "change";
708
633
  view: "view";
709
634
  milestone: "milestone";
710
- version: "version";
711
635
  }> & {
712
- 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";
636
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
713
637
  };
714
638
  name: z.ZodString;
715
639
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
716
640
  is(value: unknown): value is string | string[];
717
641
  }>;
718
- status: z.ZodOptional<z.ZodEnum<{
719
- deprecated: "deprecated";
720
- proposed: "proposed";
721
- accepted: "accepted";
722
- active: "active";
723
- implemented: "implemented";
724
- adopted: "adopted";
725
- defined: "defined";
726
- introduced: "introduced";
727
- in_progress: "in_progress";
728
- complete: "complete";
729
- consolidated: "consolidated";
730
- experimental: "experimental";
731
- retired: "retired";
732
- superseded: "superseded";
733
- abandoned: "abandoned";
734
- deferred: "deferred";
735
- }> & {
736
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
737
- }>;
642
+ status: z.ZodOptional<z.ZodNever>;
738
643
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
739
644
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
740
645
  is(value: unknown): value is string | string[];
@@ -789,8 +694,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
789
694
  }>>;
790
695
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
791
696
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
792
- input: z.ZodOptional<z.ZodString>;
793
- output: z.ZodOptional<z.ZodString>;
794
697
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
795
698
  role: z.ZodEnum<{
796
699
  output: "output";
@@ -834,26 +737,14 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
834
737
  affects: "affects";
835
738
  supersedes: "supersedes";
836
739
  must_preserve: "must_preserve";
837
- performs: "performs";
838
740
  part_of: "part_of";
839
741
  precedes: "precedes";
840
742
  must_follow: "must_follow";
841
- blocks: "blocks";
842
- routes_to: "routes_to";
843
743
  governed_by: "governed_by";
844
744
  modifies: "modifies";
845
- triggered_by: "triggered_by";
846
- applies_to: "applies_to";
847
745
  produces: "produces";
848
- consumes: "consumes";
849
- transforms_into: "transforms_into";
850
- selects: "selects";
851
- requires: "requires";
852
- disables: "disables";
853
- influence: "influence";
854
- justifies: "justifies";
855
746
  }> & {
856
- 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";
747
+ 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";
857
748
  };
858
749
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
859
750
  is(value: unknown): value is string | string[];
@@ -872,7 +763,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
872
763
  [x: string]: unknown;
873
764
  from: string;
874
765
  to: string;
875
- 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";
766
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
876
767
  description?: string | string[] | undefined;
877
768
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
878
769
  strength?: number | undefined;
@@ -912,10 +803,10 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
912
803
  nodes: {
913
804
  [x: string]: unknown;
914
805
  id: string;
915
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
806
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
916
807
  name: string;
917
808
  description?: string | string[] | undefined;
918
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
809
+ status?: undefined;
919
810
  lifecycle?: Record<string, string | boolean> | undefined;
920
811
  context?: string | string[] | undefined;
921
812
  options?: {
@@ -939,8 +830,6 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
939
830
  }[] | undefined;
940
831
  propagation?: Record<string, boolean> | undefined;
941
832
  includes?: string[] | undefined;
942
- input?: string | undefined;
943
- output?: string | undefined;
944
833
  external_references?: {
945
834
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
946
835
  identifier: string;
@@ -963,7 +852,7 @@ export declare const syncDocumentsOp: import("./define-operation.js").DefinedOpe
963
852
  [x: string]: unknown;
964
853
  from: string;
965
854
  to: string;
966
- 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";
855
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
967
856
  description?: string | string[] | undefined;
968
857
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
969
858
  strength?: number | undefined;
@@ -40,39 +40,18 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
40
40
  gate: "gate";
41
41
  mode: "mode";
42
42
  artefact: "artefact";
43
- artefact_flow: "artefact_flow";
44
43
  decision: "decision";
45
44
  change: "change";
46
45
  view: "view";
47
46
  milestone: "milestone";
48
- version: "version";
49
47
  }> & {
50
- 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";
48
+ is(value: unknown): value is "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
51
49
  };
52
50
  name: z.ZodString;
53
51
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
54
52
  is(value: unknown): value is string | string[];
55
53
  }>;
56
- status: z.ZodOptional<z.ZodEnum<{
57
- deprecated: "deprecated";
58
- proposed: "proposed";
59
- accepted: "accepted";
60
- active: "active";
61
- implemented: "implemented";
62
- adopted: "adopted";
63
- defined: "defined";
64
- introduced: "introduced";
65
- in_progress: "in_progress";
66
- complete: "complete";
67
- consolidated: "consolidated";
68
- experimental: "experimental";
69
- retired: "retired";
70
- superseded: "superseded";
71
- abandoned: "abandoned";
72
- deferred: "deferred";
73
- }> & {
74
- is(value: unknown): value is "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred";
75
- }>;
54
+ status: z.ZodOptional<z.ZodNever>;
76
55
  lifecycle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
77
56
  context: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
78
57
  is(value: unknown): value is string | string[];
@@ -127,8 +106,6 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
127
106
  }>>;
128
107
  propagation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
129
108
  includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
130
- input: z.ZodOptional<z.ZodString>;
131
- output: z.ZodOptional<z.ZodString>;
132
109
  external_references: z.ZodOptional<z.ZodArray<z.ZodObject<{
133
110
  role: z.ZodEnum<{
134
111
  output: "output";
@@ -172,26 +149,14 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
172
149
  affects: "affects";
173
150
  supersedes: "supersedes";
174
151
  must_preserve: "must_preserve";
175
- performs: "performs";
176
152
  part_of: "part_of";
177
153
  precedes: "precedes";
178
154
  must_follow: "must_follow";
179
- blocks: "blocks";
180
- routes_to: "routes_to";
181
155
  governed_by: "governed_by";
182
156
  modifies: "modifies";
183
- triggered_by: "triggered_by";
184
- applies_to: "applies_to";
185
157
  produces: "produces";
186
- consumes: "consumes";
187
- transforms_into: "transforms_into";
188
- selects: "selects";
189
- requires: "requires";
190
- disables: "disables";
191
- influence: "influence";
192
- justifies: "justifies";
193
158
  }> & {
194
- 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";
159
+ 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";
195
160
  };
196
161
  description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]> & {
197
162
  is(value: unknown): value is string | string[];
@@ -210,7 +175,7 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
210
175
  [x: string]: unknown;
211
176
  from: string;
212
177
  to: string;
213
- 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";
178
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
214
179
  description?: string | string[] | undefined;
215
180
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
216
181
  strength?: number | undefined;
@@ -250,10 +215,10 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
250
215
  nodes: {
251
216
  [x: string]: unknown;
252
217
  id: string;
253
- type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "artefact_flow" | "decision" | "change" | "view" | "milestone" | "version";
218
+ type: "intent" | "concept" | "capability" | "element" | "realisation" | "invariant" | "principle" | "policy" | "protocol" | "stage" | "role" | "gate" | "mode" | "artefact" | "decision" | "change" | "view" | "milestone";
254
219
  name: string;
255
220
  description?: string | string[] | undefined;
256
- status?: "deprecated" | "proposed" | "accepted" | "active" | "implemented" | "adopted" | "defined" | "introduced" | "in_progress" | "complete" | "consolidated" | "experimental" | "retired" | "superseded" | "abandoned" | "deferred" | undefined;
221
+ status?: undefined;
257
222
  lifecycle?: Record<string, string | boolean> | undefined;
258
223
  context?: string | string[] | undefined;
259
224
  options?: {
@@ -277,8 +242,6 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
277
242
  }[] | undefined;
278
243
  propagation?: Record<string, boolean> | undefined;
279
244
  includes?: string[] | undefined;
280
- input?: string | undefined;
281
- output?: string | undefined;
282
245
  external_references?: {
283
246
  role: "output" | "input" | "context" | "evidence" | "source" | "standard" | "prior_art";
284
247
  identifier: string;
@@ -301,7 +264,7 @@ export declare const taskListOp: import("./define-operation.js").DefinedOperatio
301
264
  [x: string]: unknown;
302
265
  from: string;
303
266
  to: string;
304
- 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";
267
+ type: "refines" | "realises" | "implements" | "depends_on" | "constrained_by" | "affects" | "supersedes" | "must_preserve" | "part_of" | "precedes" | "must_follow" | "governed_by" | "modifies" | "produces";
305
268
  description?: string | string[] | undefined;
306
269
  polarity?: "positive" | "negative" | "neutral" | "uncertain" | undefined;
307
270
  strength?: number | undefined;