@wairon/cli 5.1.1-dev.106 → 5.1.1-dev.107

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.
package/dist/index.d.ts CHANGED
@@ -3713,6 +3713,10 @@ interface ExportProblem {
3713
3713
  targets?: string[];
3714
3714
  /** What is wrong, in words a finding can quote. */
3715
3715
  detail: string;
3716
+ /** On an invalid named re-export: the public name the source's rename trace carries the item to. */
3717
+ renamedTo?: string;
3718
+ /** On an invalid named re-export: the `from` it names, as written. */
3719
+ source?: string;
3716
3720
  }
3717
3721
  /** Whose export table: one subsystem's L1 table, or a project's L0 table. */
3718
3722
  type ExportTableLevel = 'subsystem' | 'project';
@@ -3798,9 +3802,9 @@ interface StateId {
3798
3802
  digest: string;
3799
3803
  /**
3800
3804
  * On a gate identity only: the same gate identity computed under the
3801
- * algorithm the bound project's lock record was taken with, when that is the
3802
- * previous (full-content, format-2) algorithm this release can still
3803
- * recompute. Present only while the record on disk carries it, so such a
3805
+ * algorithm the bound project's lock record was taken with, when that is an
3806
+ * earlier algorithm this release can still recompute (the full-content
3807
+ * format-2 one, or the earlier design reading that still carried status). Present only while the record on disk carries it, so such a
3804
3808
  * lock is judged exactly as it was taken. Never recorded: a lock writes
3805
3809
  * algorithm and digest alone.
3806
3810
  */
@@ -3824,15 +3828,26 @@ declare function computeOwnStateId(): StateId;
3824
3828
  /**
3825
3829
  * state_hash.ownDesign — the DESIGN identity of the bound project's own specs:
3826
3830
  * exactly ownTree's selection, storage-independence and ordering, but each
3827
- * spec digested in its design view — an implementation, a type and a
3828
- * component through their type's designView (code linkage and timestamps
3829
- * out), every other kind with its timestamps out (canonicalize drops them).
3830
- * A part's implementation needs no re-expression from the part's root: the
3831
- * paths are linkage, and the view leaves them out. Algorithm marker
3832
- * `sha256-design`, so it never compares equal to a content identity. The
3833
- * content half of the gate identity from lock format 3 on.
3831
+ * spec digested in its design view — an implementation, a type, a component,
3832
+ * a subsystem and a contract through their type's designView (code linkage,
3833
+ * readiness and timestamps out), every other kind with its timestamps out
3834
+ * (canonicalize drops them). A part's implementation needs no re-expression
3835
+ * from the part's root: the paths are linkage, and the view leaves them out.
3836
+ * Algorithm marker `sha256-design-2`, so it never compares equal to a content
3837
+ * identity or to the earlier design reading. The content half of the gate
3838
+ * identity from lock format 3 on.
3834
3839
  */
3835
3840
  declare function computeOwnDesignStateId(): StateId;
3841
+ /**
3842
+ * state_hash.ownDesignAsRecorded — the own design identity in the EARLIER
3843
+ * reading (`sha256-design`), whose view still carried each spec's status: the
3844
+ * design view as ownDesign takes it with the status put back — the one
3845
+ * approvedStatus names for `<kind>:<id>` (the status the approval recorded),
3846
+ * else the status the spec has now. So a lock taken in that reading is
3847
+ * recomputed exactly as it was taken, and a tree in which nothing but a status
3848
+ * moved still matches it.
3849
+ */
3850
+ declare function computeOwnDesignStateIdAsRecorded(approvedStatus: ReadonlyMap<string, SpecStatus>): StateId;
3836
3851
 
3837
3852
  /** primitive | named | list | set | map | optional | union | async | applied | result. */
3838
3853
  type TypeForm = 'primitive' | 'named' | 'list' | 'set' | 'map' | 'optional' | 'union' | 'async' | 'applied' | 'result';
@@ -4012,8 +4027,12 @@ declare function typeProblemEnumProposal(problem: TypeExpressionProblem): TypeEn
4012
4027
  /** No facts at all: what a scan starts from. */
4013
4028
  declare function emptyTypeSpellingFacts(): TypeSpellingFacts;
4014
4029
 
4015
- /** Which reading of a signatureFrom resolved: a contract method, or a signature type. */
4016
- type SignatureSourceForm = 'method' | 'signature';
4030
+ /**
4031
+ * Which reading of a signatureFrom resolved: a contract method, a signature
4032
+ * type, or a contract method of another project's export entry
4033
+ * (`alias::name.method`, its types spelled as the referrer spells them).
4034
+ */
4035
+ type SignatureSourceForm = 'method' | 'signature' | 'export';
4017
4036
  /** What resolving one signatureFrom found. */
4018
4037
  type SignatureSourceOutcome = 'resolved' | 'unresolved' | 'ambiguous' | 'chained' | 'restated';
4019
4038
  /** signature_source_fact — what resolving one contract method's signatureFrom found. */
@@ -5645,8 +5664,8 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5645
5664
  componentType?: string[] | undefined;
5646
5665
  };
5647
5666
  reason: string;
5648
- severity: "error" | "warning";
5649
5667
  relation: ("owns" | "dependsOn")[];
5668
+ severity: "error" | "warning";
5650
5669
  to: {
5651
5670
  id?: string | undefined;
5652
5671
  profile?: string[] | undefined;
@@ -5666,8 +5685,8 @@ declare const PackAssertionSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<
5666
5685
  profile?: string[] | undefined;
5667
5686
  componentType?: string[] | undefined;
5668
5687
  };
5669
- severity?: "error" | "warning" | undefined;
5670
5688
  relation?: ("owns" | "dependsOn")[] | undefined;
5689
+ severity?: "error" | "warning" | undefined;
5671
5690
  }>, z.ZodObject<{
5672
5691
  on: z.ZodObject<{
5673
5692
  componentType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6411,8 +6430,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6411
6430
  componentType?: string[] | undefined;
6412
6431
  };
6413
6432
  reason: string;
6414
- severity: "error" | "warning";
6415
6433
  relation: ("owns" | "dependsOn")[];
6434
+ severity: "error" | "warning";
6416
6435
  to: {
6417
6436
  id?: string | undefined;
6418
6437
  profile?: string[] | undefined;
@@ -6432,8 +6451,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6432
6451
  profile?: string[] | undefined;
6433
6452
  componentType?: string[] | undefined;
6434
6453
  };
6435
- severity?: "error" | "warning" | undefined;
6436
6454
  relation?: ("owns" | "dependsOn")[] | undefined;
6455
+ severity?: "error" | "warning" | undefined;
6437
6456
  }>, z.ZodObject<{
6438
6457
  on: z.ZodObject<{
6439
6458
  componentType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -6664,8 +6683,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6664
6683
  componentType?: string[] | undefined;
6665
6684
  };
6666
6685
  reason: string;
6667
- severity: "error" | "warning";
6668
6686
  relation: ("owns" | "dependsOn")[];
6687
+ severity: "error" | "warning";
6669
6688
  to: {
6670
6689
  id?: string | undefined;
6671
6690
  profile?: string[] | undefined;
@@ -6813,8 +6832,8 @@ declare const DeclarativePackSchema: z.ZodObject<{
6813
6832
  profile?: string[] | undefined;
6814
6833
  componentType?: string[] | undefined;
6815
6834
  };
6816
- severity?: "error" | "warning" | undefined;
6817
6835
  relation?: ("owns" | "dependsOn")[] | undefined;
6836
+ severity?: "error" | "warning" | undefined;
6818
6837
  } | {
6819
6838
  code: string;
6820
6839
  kind: "require-field";
@@ -7204,7 +7223,7 @@ interface ModelledCall {
7204
7223
  fromProject: string;
7205
7224
  /** The calling component's key (the bridging Adapter, or any component for a library call). */
7206
7225
  fromComponent: string;
7207
- /** The calling component's subsystem key, qualified like the component in a family-scoped model; absent when the reference that records a cross-project call does not say. */
7226
+ /** The calling component's subsystem key, qualified like the component in a family-scoped model; for a cross-project call, read from the consumer's placements. */
7208
7227
  fromSubsystem?: string;
7209
7228
  /** The innermost declared network the caller sits inside; absent when none encloses it. */
7210
7229
  fromNetwork?: string;
@@ -7229,6 +7248,49 @@ interface ReachModel {
7229
7248
  verbs: VerbReach[];
7230
7249
  /** Every modelled call into a Portal verb that crosses a subsystem or project boundary. */
7231
7250
  calls: ModelledCall[];
7251
+ /** Every component in scope, with its project and subsystem: how a party is known, and how a caller is named by its workload. */
7252
+ placements: ComponentPlacement[];
7253
+ /** Every end of the pub/sub graph in scope, which the family run pairs across projects. */
7254
+ topics: TopicEnd[];
7255
+ /** The model's network findings, judged and lint-allow filtered, when it was read for the derived networking outputs. */
7256
+ findings?: ReachFinding[];
7257
+ }
7258
+ /**
7259
+ * component_placement — where one component of a reach model sits: its
7260
+ * project, its subsystem (the unit a deployment usually runs as one workload)
7261
+ * and its block.
7262
+ */
7263
+ interface ComponentPlacement {
7264
+ /** The key of the project holding it ('' for the bound root). */
7265
+ project: string;
7266
+ /** Its component key, qualified like the verbs in a family-scoped model. */
7267
+ component: string;
7268
+ /** Its subsystem key, qualified like the component. */
7269
+ subsystem?: string;
7270
+ /** Its building block or pattern. */
7271
+ componentType: string;
7272
+ }
7273
+ /** topic_end — one end of the pub/sub graph: a component emitting or subscribing to one topic. */
7274
+ interface TopicEnd {
7275
+ /** The component key, as the model names its components. */
7276
+ component: string;
7277
+ /** The topic, exactly as used on the bus. */
7278
+ topic: string;
7279
+ /** True on the publishing end, false on the subscribing end. */
7280
+ emits: boolean;
7281
+ }
7282
+ /**
7283
+ * reach_finding — one network finding of a judged reach model: an error
7284
+ * refuses the flows it sits on, a warning or notice marks them.
7285
+ */
7286
+ interface ReachFinding {
7287
+ severity: 'error' | 'warning' | 'notice';
7288
+ code: string;
7289
+ message: string;
7290
+ /** The spec it sits on: the verb's Portal, or the call's calling component (family keys). */
7291
+ specId?: string;
7292
+ /** The site inside that spec: the verb, or the call's evidence. */
7293
+ at?: string;
7232
7294
  }
7233
7295
  /**
7234
7296
  * reach_model.callersOf — the modelled calls that land on one Portal verb: the
@@ -8608,6 +8670,12 @@ declare function removePackSelection(packName: string): boolean;
8608
8670
  declare function setProjectType(projectType: string): void;
8609
8671
  /** Set the project's human-readable `name` and, when given, its `description`. */
8610
8672
  declare function describeProject(name: string, description?: string): void;
8673
+ /**
8674
+ * core_orchestrator.setNetwork — declare (or, with null, remove) the bound
8675
+ * project's network, through the project config Repository. Returns whether
8676
+ * it wrote.
8677
+ */
8678
+ declare function setNetwork(network: NetworkDeclaration | null): boolean;
8611
8679
  /** Record the profile selection hosted policy applied. */
8612
8680
  declare function recordProfileSelection(selection: ProjectProfileSelection): void;
8613
8681
  /** Set `execution.tier`. */
@@ -8914,6 +8982,34 @@ interface ExternalBinding {
8914
8982
  /** Whether the climb reached the whole family. */
8915
8983
  reachable: boolean;
8916
8984
  }
8985
+ /**
8986
+ * external_consumer — one family project that consumes the bound project, as
8987
+ * `wairon externals consumers` lists it from the producer's root.
8988
+ */
8989
+ interface ExternalConsumer {
8990
+ /** The consumer's effective project id, else its key in the family. */
8991
+ project: string;
8992
+ /** The consumer's key in the family graph read ('' for the family's top root). */
8993
+ key: string;
8994
+ /** The consumer's root on disk. */
8995
+ directory: string;
8996
+ /** The alias the consumer reaches the producer by. */
8997
+ alias: string;
8998
+ /** Where the consumer declares it: externals, or members (a project containing the producer). */
8999
+ section: 'externals' | 'members';
9000
+ /** The producer's public names the consumer's specs use, sorted. */
9001
+ names: string[];
9002
+ }
9003
+ /**
9004
+ * project_family.bindExternal — one external declaration bound to its
9005
+ * producer the way the graph binds every declared external: its own problem,
9006
+ * else a hosted record id or a git source (resolved later), a source.path
9007
+ * landing on a family project (which must answer to the declared id) or on a
9008
+ * directory outside the family (audience instance), else the one family
9009
+ * project answering to the declared id (audience project). Pure, so a
9010
+ * declaration not yet written binds exactly as the written one will.
9011
+ */
9012
+ declare function bindDeclaredExternal(declared: DeclaredExternal, consumer: ProjectNode, nodes: readonly ProjectNode[]): ResolvedExternal;
8917
9013
  /** A project as reference reading sees it: its key, its parent, its alias table and its own subsystem ids. */
8918
9014
  interface ReadableProject {
8919
9015
  namespace: string;
@@ -10260,10 +10356,13 @@ declare const ComponentSpecSchema: z.ZodObject<{
10260
10356
  /** Other L2 component ids this component collaborates with (facades / standalone blocks). */
10261
10357
  dependsOn: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
10262
10358
  /**
10263
- * Portal-only, and expected on every Portal: how callers reach its verbs (see
10264
- * TransportSchema). Replaces the retired portalType, which the loader reads
10265
- * compatibly for one release (HTTP_API as HTTP). Which process serves which
10266
- * Portal is implementation: there are no listener mounts.
10359
+ * On a Portal (and expected on every Portal): how callers reach its verbs
10360
+ * (see TransportSchema). Replaces the retired portalType, which the loader
10361
+ * reads compatibly for one release (HTTP_API as HTTP). Which process serves
10362
+ * which Portal is implementation: there are no listener mounts. On an
10363
+ * Adapter, optional: the transport it calls its target Portal over —
10364
+ * inferred from the target when absent, and ADAPTER_TRANSPORT_MISMATCH when
10365
+ * stated and different from the target's. On no other block.
10267
10366
  */
10268
10367
  transport: z.ZodOptional<z.ZodEnum<["HTTP", "gRPC", "GraphQL", "MessageBus", "CLI", "NamedPipe", "IPC", "JSONRPC", "InProcess", "Custom"]>>;
10269
10368
  /**
@@ -14688,12 +14787,19 @@ declare const TypeFieldSchema: z.ZodObject<{
14688
14787
  * and optionally field (e.g. "billing.Invoice.id").
14689
14788
  */
14690
14789
  references: z.ZodOptional<z.ZodString>;
14790
+ /**
14791
+ * The field's rename trace: every name it held before, oldest first.
14792
+ * Written only by the rename-field tool, never rewritten; the design export
14793
+ * shows it as `formerly`, so a consumer holding the old name can follow it.
14794
+ */
14795
+ previousNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14691
14796
  }, "strip", z.ZodTypeAny, {
14692
14797
  type: string;
14693
14798
  name: string;
14694
14799
  optional: boolean;
14695
14800
  description?: string | undefined;
14696
14801
  key?: "primary" | "unique" | "foreign" | undefined;
14802
+ previousNames?: string[] | undefined;
14697
14803
  references?: string | undefined;
14698
14804
  }, {
14699
14805
  type: string;
@@ -14701,6 +14807,7 @@ declare const TypeFieldSchema: z.ZodObject<{
14701
14807
  description?: string | undefined;
14702
14808
  key?: "primary" | "unique" | "foreign" | undefined;
14703
14809
  optional?: boolean | undefined;
14810
+ previousNames?: string[] | undefined;
14704
14811
  references?: string | undefined;
14705
14812
  }>;
14706
14813
  type TypeField = z.infer<typeof TypeFieldSchema>;
@@ -15002,12 +15109,19 @@ declare const TypeSpecSchema: z.ZodObject<{
15002
15109
  * and optionally field (e.g. "billing.Invoice.id").
15003
15110
  */
15004
15111
  references: z.ZodOptional<z.ZodString>;
15112
+ /**
15113
+ * The field's rename trace: every name it held before, oldest first.
15114
+ * Written only by the rename-field tool, never rewritten; the design export
15115
+ * shows it as `formerly`, so a consumer holding the old name can follow it.
15116
+ */
15117
+ previousNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15005
15118
  }, "strip", z.ZodTypeAny, {
15006
15119
  type: string;
15007
15120
  name: string;
15008
15121
  optional: boolean;
15009
15122
  description?: string | undefined;
15010
15123
  key?: "primary" | "unique" | "foreign" | undefined;
15124
+ previousNames?: string[] | undefined;
15011
15125
  references?: string | undefined;
15012
15126
  }, {
15013
15127
  type: string;
@@ -15015,6 +15129,7 @@ declare const TypeSpecSchema: z.ZodObject<{
15015
15129
  description?: string | undefined;
15016
15130
  key?: "primary" | "unique" | "foreign" | undefined;
15017
15131
  optional?: boolean | undefined;
15132
+ previousNames?: string[] | undefined;
15018
15133
  references?: string | undefined;
15019
15134
  }>, "many">>;
15020
15135
  /** Pure intrinsic behaviour only — anything needing a collaborator belongs on a component. */
@@ -15306,6 +15421,7 @@ declare const TypeSpecSchema: z.ZodObject<{
15306
15421
  optional: boolean;
15307
15422
  description?: string | undefined;
15308
15423
  key?: "primary" | "unique" | "foreign" | undefined;
15424
+ previousNames?: string[] | undefined;
15309
15425
  references?: string | undefined;
15310
15426
  }[];
15311
15427
  kind: "signature" | "entity" | "value-object" | "enum";
@@ -15385,6 +15501,7 @@ declare const TypeSpecSchema: z.ZodObject<{
15385
15501
  description?: string | undefined;
15386
15502
  key?: "primary" | "unique" | "foreign" | undefined;
15387
15503
  optional?: boolean | undefined;
15504
+ previousNames?: string[] | undefined;
15388
15505
  references?: string | undefined;
15389
15506
  }[] | undefined;
15390
15507
  sourcePath?: string | undefined;
@@ -15437,12 +15554,19 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
15437
15554
  * and optionally field (e.g. "billing.Invoice.id").
15438
15555
  */
15439
15556
  references: z.ZodOptional<z.ZodString>;
15557
+ /**
15558
+ * The field's rename trace: every name it held before, oldest first.
15559
+ * Written only by the rename-field tool, never rewritten; the design export
15560
+ * shows it as `formerly`, so a consumer holding the old name can follow it.
15561
+ */
15562
+ previousNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15440
15563
  }, "strip", z.ZodTypeAny, {
15441
15564
  type: string;
15442
15565
  name: string;
15443
15566
  optional: boolean;
15444
15567
  description?: string | undefined;
15445
15568
  key?: "primary" | "unique" | "foreign" | undefined;
15569
+ previousNames?: string[] | undefined;
15446
15570
  references?: string | undefined;
15447
15571
  }, {
15448
15572
  type: string;
@@ -15450,6 +15574,7 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
15450
15574
  description?: string | undefined;
15451
15575
  key?: "primary" | "unique" | "foreign" | undefined;
15452
15576
  optional?: boolean | undefined;
15577
+ previousNames?: string[] | undefined;
15453
15578
  references?: string | undefined;
15454
15579
  }>, "many">>;
15455
15580
  componentClass: z.ZodOptional<z.ZodString>;
@@ -15648,6 +15773,7 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
15648
15773
  optional: boolean;
15649
15774
  description?: string | undefined;
15650
15775
  key?: "primary" | "unique" | "foreign" | undefined;
15776
+ previousNames?: string[] | undefined;
15651
15777
  references?: string | undefined;
15652
15778
  }[];
15653
15779
  kind: "signature" | "entity" | "value-object" | "enum";
@@ -15727,6 +15853,7 @@ declare const ResolvedTypeSpecSchema: z.ZodObject<{
15727
15853
  description?: string | undefined;
15728
15854
  key?: "primary" | "unique" | "foreign" | undefined;
15729
15855
  optional?: boolean | undefined;
15856
+ previousNames?: string[] | undefined;
15730
15857
  references?: string | undefined;
15731
15858
  }[] | undefined;
15732
15859
  sourcePath?: string | undefined;
@@ -15768,27 +15895,42 @@ declare function storedTypeMethod<M extends StoredTypeMethod>(method: M): Stored
15768
15895
  declare function typeSourceFiles(type: Pick<TypeSpec, 'sourcePath'> & {
15769
15896
  methods?: ReadonlyArray<Pick<TypeMethod, 'sourcePath'>>;
15770
15897
  }): string[];
15771
- /** Each schema's fields, split into the design (approved) and the code linkage (not approved). */
15898
+ /** Each schema's fields, split into the design (approved), the code linkage and the readiness (neither approved). */
15772
15899
  declare const DESIGN_VIEW_FIELDS: {
15773
15900
  readonly implementation: {
15774
15901
  readonly linkage: readonly ["sourcePath", "simPath", "router", "injectedParams", "conformance", "createdAt", "updatedAt"];
15775
- readonly design: readonly ["id", "name", "description", "contract", "technologies", "methods", "detail", "previousIds", "lint", "ext", "status"];
15902
+ readonly readiness: readonly ["status"];
15903
+ readonly design: readonly ["id", "name", "description", "contract", "technologies", "methods", "detail", "previousIds", "lint", "ext"];
15776
15904
  };
15777
15905
  readonly implementationMethod: {
15778
15906
  readonly linkage: readonly ["sourcePath", "symbol", "exportedVia", "conformance"];
15907
+ readonly readiness: readonly [];
15779
15908
  readonly design: readonly ["name", "narrative", "detail", "intent", "calls", "ext"];
15780
15909
  };
15781
15910
  readonly type: {
15782
15911
  readonly linkage: readonly ["sourcePath", "symbol", "createdAt", "updatedAt"];
15912
+ readonly readiness: readonly [];
15783
15913
  readonly design: readonly ["kind", "id", "name", "description", "subsystem", "group", "fields", "methods", "componentClass", "invariants", "database", "table", "linkedEntity", "previousIds", "lint", "ext", "params", "returns", "values", "holds"];
15784
15914
  };
15785
15915
  readonly typeMethod: {
15786
15916
  readonly linkage: readonly ["sourcePath", "symbol"];
15917
+ readonly readiness: readonly [];
15787
15918
  readonly design: readonly ["name", "signature", "params", "returns", "description"];
15788
15919
  };
15789
15920
  readonly component: {
15790
15921
  readonly linkage: readonly ["externalLinks", "createdAt", "updatedAt"];
15791
- readonly design: readonly ["id", "name", "description", "subsystem", "componentType", "owns", "dependsOn", "transport", "abi", "invokedBy", "basePath", "auth", "dispatch", "durability", "dependencyClass", "emits", "subscribesTo", "patterns", "variant", "previousIds", "lint", "ext", "status"];
15922
+ readonly readiness: readonly ["status"];
15923
+ readonly design: readonly ["id", "name", "description", "subsystem", "componentType", "owns", "dependsOn", "transport", "abi", "invokedBy", "basePath", "auth", "dispatch", "durability", "dependencyClass", "emits", "subscribesTo", "patterns", "variant", "previousIds", "lint", "ext"];
15924
+ };
15925
+ readonly subsystem: {
15926
+ readonly linkage: readonly ["createdAt", "updatedAt"];
15927
+ readonly readiness: readonly ["status"];
15928
+ readonly design: readonly ["id", "name", "description", "parentSystem", "publicInterfaces", "lifecycle", "profile", "projectPath", "targetLanguage", "trustedLinks", "designDepth", "lint", "ext"];
15929
+ };
15930
+ readonly interface: {
15931
+ readonly linkage: readonly ["createdAt", "updatedAt"];
15932
+ readonly readiness: readonly ["status"];
15933
+ readonly design: readonly ["id", "name", "description", "component", "methods", "previousIds", "lint", "ext", "implements"];
15792
15934
  };
15793
15935
  /**
15794
15936
  * A retired listener mount as a stored file may still hold it until doctor
@@ -15797,6 +15939,7 @@ declare const DESIGN_VIEW_FIELDS: {
15797
15939
  */
15798
15940
  readonly retiredMount: {
15799
15941
  readonly linkage: readonly ["via"];
15942
+ readonly readiness: readonly [];
15800
15943
  readonly design: readonly ["portal", "prefixes"];
15801
15944
  };
15802
15945
  };
@@ -15804,10 +15947,11 @@ declare const DESIGN_VIEW_FIELDS: {
15804
15947
  * implementation_spec.designView — this implementation as the approval sees it:
15805
15948
  * its own sourcePath, simPath, injectedParams and conformance tier, each
15806
15949
  * method's sourcePath, symbol, exportedVia and conformance tier, and the
15807
- * timestamps left out. Everything else — the contract, technologies, the
15808
- * detail dial, each method's narrative, intent and calls, the rename trace,
15809
- * lint, ext, status — stays. Pure: a sourcePath added, moved or removed never
15810
- * changes it. Reads a stored (raw) spec as readily as a loaded one.
15950
+ * readiness (status) and the timestamps left out. Everything else — the
15951
+ * contract, technologies, the detail dial, each method's narrative, intent and
15952
+ * calls, the rename trace, lint, ext — stays. Pure: a sourcePath added, moved
15953
+ * or removed, or a status promoted, never changes it. Reads a stored (raw)
15954
+ * spec as readily as a loaded one.
15811
15955
  */
15812
15956
  declare function implementationDesignView<T extends object>(impl: T): T;
15813
15957
  /**
@@ -15819,13 +15963,27 @@ declare function implementationDesignView<T extends object>(impl: T): T;
15819
15963
  declare function typeDesignView<T extends object>(type: T): T;
15820
15964
  /**
15821
15965
  * component_spec.designView — this component as the approval sees it: its
15822
- * externalLinks and the timestamps left out; every other field stays,
15966
+ * externalLinks, its readiness (status) and the timestamps left out; every
15967
+ * other field stays,
15823
15968
  * including transport, abi and invokedBy. Pure. It reads a stored (raw) file
15824
15969
  * as readily as a loaded spec, so a file still holding a retired listener
15825
15970
  * mount (until doctor --fix migrates it) keeps that mount's `via` out, as the
15826
15971
  * approval always did: an unmigrated file digests as it did when it was locked.
15827
15972
  */
15828
15973
  declare function componentDesignView<T extends object>(component: T): T;
15974
+ /**
15975
+ * subsystem_spec.designView — this subsystem as the approval sees it: its
15976
+ * readiness (status) and the timestamps left out; every other field stays.
15977
+ * Pure, and reads a stored (raw) spec as readily as a loaded one.
15978
+ */
15979
+ declare function subsystemDesignView<T extends object>(subsystem: T): T;
15980
+ /**
15981
+ * interface_spec.designView — this contract as the approval sees it: its
15982
+ * readiness (status) and the timestamps left out; every other field stays,
15983
+ * the methods, endpoints and findings included. Pure, and reads a stored
15984
+ * (raw) spec as readily as a loaded one.
15985
+ */
15986
+ declare function interfaceDesignView<T extends object>(contract: T): T;
15829
15987
  /**
15830
15988
  * component_spec.entryFor — the entry a verb of this Portal has: the verb's
15831
15989
  * own invokedBy when it declares one, else the component's, with the verb's
@@ -16681,6 +16839,28 @@ declare const SurfaceContractEntrySchema: z.ZodObject<{
16681
16839
  formerly?: string[] | undefined;
16682
16840
  }>;
16683
16841
  type SurfaceContractEntry = z.infer<typeof SurfaceContractEntrySchema>;
16842
+ /**
16843
+ * surface_unresolved_export — a public name the producer's L0 still declares
16844
+ * but no longer resolves, carried so a consumer that used it is told why it is
16845
+ * gone and where the source's rename trace leads. Provenance, never contract.
16846
+ */
16847
+ declare const SurfaceUnresolvedExportSchema: z.ZodObject<{
16848
+ /** The public name the entry declares. */
16849
+ id: z.ZodString;
16850
+ /** Where it re-exports from: the `from` the entry names. */
16851
+ source: z.ZodString;
16852
+ /** The name the source's rename trace carries the item to, when it records one. */
16853
+ renamedTo: z.ZodOptional<z.ZodString>;
16854
+ }, "strip", z.ZodTypeAny, {
16855
+ id: string;
16856
+ source: string;
16857
+ renamedTo?: string | undefined;
16858
+ }, {
16859
+ id: string;
16860
+ source: string;
16861
+ renamedTo?: string | undefined;
16862
+ }>;
16863
+ type SurfaceUnresolvedExport = z.infer<typeof SurfaceUnresolvedExportSchema>;
16684
16864
  declare const SurfaceSnapshotSchema: z.ZodObject<{
16685
16865
  /** Producing project/system name — the snapshot's resolution identity. */
16686
16866
  projectName: z.ZodString;
@@ -17446,6 +17626,28 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
17446
17626
  * producer declares none, or on snapshots written before it was carried.
17447
17627
  */
17448
17628
  targetLanguage: z.ZodOptional<z.ZodString>;
17629
+ /**
17630
+ * The public names the producer's L0 declares that no longer resolve (a
17631
+ * named re-export whose source dropped or renamed the item), with the
17632
+ * source's rename trace when it has one. Provenance, outside every digest;
17633
+ * absent when every entry resolves.
17634
+ */
17635
+ unresolvedExports: z.ZodOptional<z.ZodArray<z.ZodObject<{
17636
+ /** The public name the entry declares. */
17637
+ id: z.ZodString;
17638
+ /** Where it re-exports from: the `from` the entry names. */
17639
+ source: z.ZodString;
17640
+ /** The name the source's rename trace carries the item to, when it records one. */
17641
+ renamedTo: z.ZodOptional<z.ZodString>;
17642
+ }, "strip", z.ZodTypeAny, {
17643
+ id: string;
17644
+ source: string;
17645
+ renamedTo?: string | undefined;
17646
+ }, {
17647
+ id: string;
17648
+ source: string;
17649
+ renamedTo?: string | undefined;
17650
+ }>, "many">>;
17449
17651
  }, "strip", z.ZodTypeAny, {
17450
17652
  interfaces: {
17451
17653
  id: string;
@@ -17586,6 +17788,11 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
17586
17788
  type: string;
17587
17789
  audience: string;
17588
17790
  }[] | undefined;
17791
+ unresolvedExports?: {
17792
+ id: string;
17793
+ source: string;
17794
+ renamedTo?: string | undefined;
17795
+ }[] | undefined;
17589
17796
  }, {
17590
17797
  projectName: string;
17591
17798
  origin: "generated" | "exchanged" | "authored";
@@ -17726,6 +17933,11 @@ declare const SurfaceSnapshotSchema: z.ZodObject<{
17726
17933
  type: string;
17727
17934
  audience?: string | undefined;
17728
17935
  }[] | undefined;
17936
+ unresolvedExports?: {
17937
+ id: string;
17938
+ source: string;
17939
+ renamedTo?: string | undefined;
17940
+ }[] | undefined;
17729
17941
  }>;
17730
17942
  type SurfaceSnapshot = z.infer<typeof SurfaceSnapshotSchema>;
17731
17943
  /**
@@ -17982,6 +18194,50 @@ interface ExternalAddition {
17982
18194
  /** Set when the declaration was written but its producer could not be read: why, and that nothing was pinned. */
17983
18195
  unreachable?: string;
17984
18196
  }
18197
+ /**
18198
+ * external_removal — the answer to removing one external: whether its
18199
+ * declaration and its pin (lock entry and snapshot) went, or why nothing was
18200
+ * removed, in one sentence.
18201
+ */
18202
+ interface ExternalRemoval {
18203
+ alias: string;
18204
+ /** Whether this call took the declaration out of `.wai/project.yaml` (false on a refusal, a dry run, and an orphaned pin). */
18205
+ removed: boolean;
18206
+ /** Whether the alias's lock entry and pinned snapshot were removed (or would be, on a dry run). */
18207
+ unpinned: boolean;
18208
+ /** Why nothing was removed: the alias is neither declared nor pinned. */
18209
+ refusal?: string;
18210
+ }
18211
+ /**
18212
+ * external_use_request — what `wairon externals use` and sdd_update_external
18213
+ * ask for: names to add to and remove from one declared external's `use`.
18214
+ */
18215
+ interface ExternalUseRequest {
18216
+ alias: string;
18217
+ /** Public names to import bare (`*` for all). */
18218
+ add?: string[];
18219
+ /** Names to stop importing. */
18220
+ remove?: string[];
18221
+ /** Answer what the `use` would become, writing nothing. */
18222
+ dryRun?: boolean;
18223
+ }
18224
+ /**
18225
+ * external_use_change — the answer to changing one external's `use`: the
18226
+ * list after the change, what was added and removed, or the refusal.
18227
+ */
18228
+ interface ExternalUseChange {
18229
+ alias: string;
18230
+ /** Whether `.wai/project.yaml` now carries the changed `use` (false on a refusal, a dry run and when nothing changed). */
18231
+ written: boolean;
18232
+ /** The `use` list after the change, in order. */
18233
+ use: string[];
18234
+ /** The names this change imports that were not imported before. */
18235
+ added: string[];
18236
+ /** The names this change stops importing. */
18237
+ removed: string[];
18238
+ /** Why nothing was written, in one sentence. */
18239
+ refusal?: string;
18240
+ }
17985
18241
  /** The verdict on one used member of a pinned external. */
17986
18242
  type ExternalUseState = 'unchanged' | 'changed' | 'removed' | 'unlocked' | 'unavailable' | 'renamed';
17987
18243
  /** external_use_status — the verdict on one used member of one pinned external. */
@@ -18020,6 +18276,13 @@ interface ExternalStatus {
18020
18276
  pinnedDigest?: string;
18021
18277
  /** The producer's commit as the lock recorded it (another repository only); provenance only. */
18022
18278
  pinnedCommit?: string;
18279
+ /**
18280
+ * The carried facts the pinned snapshot no longer matches in the live
18281
+ * producer (an abi, a transport, a role, the targetLanguage, a rename
18282
+ * trace): the snapshot is stale and a re-pin refreshes it. Absent when the
18283
+ * producer was not read or nothing carried moved.
18284
+ */
18285
+ staleFacts?: string[];
18023
18286
  }
18024
18287
  /** ok | drifted | incompatible | unavailable — a relation's health in one word. */
18025
18288
  type RelationHealth = 'ok' | 'drifted' | 'incompatible' | 'unavailable';
@@ -18191,6 +18454,14 @@ interface TypeDialect {
18191
18454
  }
18192
18455
  /** type_dialect.forLanguage — the dialect shipped for a language, or null when none reads it yet. */
18193
18456
  declare function typeDialectFor(language: string): TypeDialect | null;
18457
+ /**
18458
+ * type_dialect.mappingFor — the write table an implementer brief carries for
18459
+ * a language: a shipped dialect's mappingLines, else a MAPPING-ONLY table for
18460
+ * a language no analyzer reads yet (Rust, Python), whose last line says that
18461
+ * code conformance does not compare its types. Null for a language with
18462
+ * neither.
18463
+ */
18464
+ declare function typeMappingFor(language: string): string[] | null;
18194
18465
 
18195
18466
  /**
18196
18467
  * The step graph of one narrative (step_graph): the SINGLE source of truth for
@@ -19032,6 +19303,18 @@ declare function canonicalTypeRef(snapshot: SurfaceSnapshot, typeExpr: string):
19032
19303
  * moves it. The lock's `digest`, and what EXTERNAL_DRIFTED compares.
19033
19304
  */
19034
19305
  declare function contentDigest(snapshot: SurfaceSnapshot): string;
19306
+ /**
19307
+ * surface_snapshot.carriedFactChanges — the carried facts a pinned snapshot
19308
+ * holds differently from the live one, each named where it sits: per public
19309
+ * entry its export kind, transport, abi, role, stereotype, basePath, auth
19310
+ * scheme and rename trace, per contract method its effect and rename trace,
19311
+ * per type its rename trace, the producer's id and targetLanguage, and the
19312
+ * names it declares but no longer resolves. Facts no digest reads, which the
19313
+ * rules judge from a pin (LANGUAGE_BRIDGE_MISSING reads the abi), so a pin
19314
+ * whose content digest is unchanged can still be stale. Prose and provenance
19315
+ * are never a fact. Empty when the snapshot says what the producer says now.
19316
+ */
19317
+ declare function carriedFactChanges(pinned: SurfaceSnapshot, live: SurfaceSnapshot): string[];
19035
19318
  /**
19036
19319
  * surface_snapshot.memberDigest — sha256 over one used member of one public
19037
19320
  * name, canonicalized so only what a caller depends on moves it: a contract
@@ -19163,6 +19446,8 @@ declare const DesignFieldSchema: z.ZodObject<{
19163
19446
  description: z.ZodOptional<z.ZodString>;
19164
19447
  key: z.ZodOptional<z.ZodString>;
19165
19448
  references: z.ZodOptional<z.ZodString>;
19449
+ /** The field's rename trace, oldest first — present only when it was renamed. */
19450
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19166
19451
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
19167
19452
  name: z.ZodString;
19168
19453
  type: z.ZodObject<{
@@ -19179,6 +19464,8 @@ declare const DesignFieldSchema: z.ZodObject<{
19179
19464
  description: z.ZodOptional<z.ZodString>;
19180
19465
  key: z.ZodOptional<z.ZodString>;
19181
19466
  references: z.ZodOptional<z.ZodString>;
19467
+ /** The field's rename trace, oldest first — present only when it was renamed. */
19468
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19182
19469
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
19183
19470
  name: z.ZodString;
19184
19471
  type: z.ZodObject<{
@@ -19195,6 +19482,8 @@ declare const DesignFieldSchema: z.ZodObject<{
19195
19482
  description: z.ZodOptional<z.ZodString>;
19196
19483
  key: z.ZodOptional<z.ZodString>;
19197
19484
  references: z.ZodOptional<z.ZodString>;
19485
+ /** The field's rename trace, oldest first — present only when it was renamed. */
19486
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19198
19487
  }, z.ZodTypeAny, "passthrough">>;
19199
19488
  type DesignField = z.infer<typeof DesignFieldSchema>;
19200
19489
  /** design_method — a contract method, or a type's pure method, with its signature resolved. */
@@ -23441,6 +23730,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23441
23730
  description: z.ZodOptional<z.ZodString>;
23442
23731
  key: z.ZodOptional<z.ZodString>;
23443
23732
  references: z.ZodOptional<z.ZodString>;
23733
+ /** The field's rename trace, oldest first — present only when it was renamed. */
23734
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23444
23735
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23445
23736
  name: z.ZodString;
23446
23737
  type: z.ZodObject<{
@@ -23457,6 +23748,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23457
23748
  description: z.ZodOptional<z.ZodString>;
23458
23749
  key: z.ZodOptional<z.ZodString>;
23459
23750
  references: z.ZodOptional<z.ZodString>;
23751
+ /** The field's rename trace, oldest first — present only when it was renamed. */
23752
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23460
23753
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23461
23754
  name: z.ZodString;
23462
23755
  type: z.ZodObject<{
@@ -23473,6 +23766,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23473
23766
  description: z.ZodOptional<z.ZodString>;
23474
23767
  key: z.ZodOptional<z.ZodString>;
23475
23768
  references: z.ZodOptional<z.ZodString>;
23769
+ /** The field's rename trace, oldest first — present only when it was renamed. */
23770
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23476
23771
  }, z.ZodTypeAny, "passthrough">>, "many">;
23477
23772
  methods: z.ZodArray<z.ZodObject<{
23478
23773
  key: z.ZodString;
@@ -23808,6 +24103,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23808
24103
  description: z.ZodOptional<z.ZodString>;
23809
24104
  key: z.ZodOptional<z.ZodString>;
23810
24105
  references: z.ZodOptional<z.ZodString>;
24106
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24107
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23811
24108
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
23812
24109
  name: z.ZodString;
23813
24110
  type: z.ZodObject<{
@@ -23824,6 +24121,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23824
24121
  description: z.ZodOptional<z.ZodString>;
23825
24122
  key: z.ZodOptional<z.ZodString>;
23826
24123
  references: z.ZodOptional<z.ZodString>;
24124
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24125
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23827
24126
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
23828
24127
  name: z.ZodString;
23829
24128
  type: z.ZodObject<{
@@ -23840,6 +24139,8 @@ declare const DesignTypeSchema: z.ZodObject<{
23840
24139
  description: z.ZodOptional<z.ZodString>;
23841
24140
  key: z.ZodOptional<z.ZodString>;
23842
24141
  references: z.ZodOptional<z.ZodString>;
24142
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24143
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23843
24144
  }, z.ZodTypeAny, "passthrough">>, "many">;
23844
24145
  methods: z.ZodArray<z.ZodObject<{
23845
24146
  key: z.ZodString;
@@ -24175,6 +24476,8 @@ declare const DesignTypeSchema: z.ZodObject<{
24175
24476
  description: z.ZodOptional<z.ZodString>;
24176
24477
  key: z.ZodOptional<z.ZodString>;
24177
24478
  references: z.ZodOptional<z.ZodString>;
24479
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24480
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24178
24481
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
24179
24482
  name: z.ZodString;
24180
24483
  type: z.ZodObject<{
@@ -24191,6 +24494,8 @@ declare const DesignTypeSchema: z.ZodObject<{
24191
24494
  description: z.ZodOptional<z.ZodString>;
24192
24495
  key: z.ZodOptional<z.ZodString>;
24193
24496
  references: z.ZodOptional<z.ZodString>;
24497
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24498
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24194
24499
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24195
24500
  name: z.ZodString;
24196
24501
  type: z.ZodObject<{
@@ -24207,6 +24512,8 @@ declare const DesignTypeSchema: z.ZodObject<{
24207
24512
  description: z.ZodOptional<z.ZodString>;
24208
24513
  key: z.ZodOptional<z.ZodString>;
24209
24514
  references: z.ZodOptional<z.ZodString>;
24515
+ /** The field's rename trace, oldest first — present only when it was renamed. */
24516
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24210
24517
  }, z.ZodTypeAny, "passthrough">>, "many">;
24211
24518
  methods: z.ZodArray<z.ZodObject<{
24212
24519
  key: z.ZodString;
@@ -27898,6 +28205,8 @@ declare const DesignExportSchema: z.ZodObject<{
27898
28205
  description: z.ZodOptional<z.ZodString>;
27899
28206
  key: z.ZodOptional<z.ZodString>;
27900
28207
  references: z.ZodOptional<z.ZodString>;
28208
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28209
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27901
28210
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
27902
28211
  name: z.ZodString;
27903
28212
  type: z.ZodObject<{
@@ -27914,6 +28223,8 @@ declare const DesignExportSchema: z.ZodObject<{
27914
28223
  description: z.ZodOptional<z.ZodString>;
27915
28224
  key: z.ZodOptional<z.ZodString>;
27916
28225
  references: z.ZodOptional<z.ZodString>;
28226
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28227
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27917
28228
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
27918
28229
  name: z.ZodString;
27919
28230
  type: z.ZodObject<{
@@ -27930,6 +28241,8 @@ declare const DesignExportSchema: z.ZodObject<{
27930
28241
  description: z.ZodOptional<z.ZodString>;
27931
28242
  key: z.ZodOptional<z.ZodString>;
27932
28243
  references: z.ZodOptional<z.ZodString>;
28244
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28245
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27933
28246
  }, z.ZodTypeAny, "passthrough">>, "many">;
27934
28247
  methods: z.ZodArray<z.ZodObject<{
27935
28248
  key: z.ZodString;
@@ -28265,6 +28578,8 @@ declare const DesignExportSchema: z.ZodObject<{
28265
28578
  description: z.ZodOptional<z.ZodString>;
28266
28579
  key: z.ZodOptional<z.ZodString>;
28267
28580
  references: z.ZodOptional<z.ZodString>;
28581
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28582
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28268
28583
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28269
28584
  name: z.ZodString;
28270
28585
  type: z.ZodObject<{
@@ -28281,6 +28596,8 @@ declare const DesignExportSchema: z.ZodObject<{
28281
28596
  description: z.ZodOptional<z.ZodString>;
28282
28597
  key: z.ZodOptional<z.ZodString>;
28283
28598
  references: z.ZodOptional<z.ZodString>;
28599
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28600
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28284
28601
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28285
28602
  name: z.ZodString;
28286
28603
  type: z.ZodObject<{
@@ -28297,6 +28614,8 @@ declare const DesignExportSchema: z.ZodObject<{
28297
28614
  description: z.ZodOptional<z.ZodString>;
28298
28615
  key: z.ZodOptional<z.ZodString>;
28299
28616
  references: z.ZodOptional<z.ZodString>;
28617
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28618
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28300
28619
  }, z.ZodTypeAny, "passthrough">>, "many">;
28301
28620
  methods: z.ZodArray<z.ZodObject<{
28302
28621
  key: z.ZodString;
@@ -28632,6 +28951,8 @@ declare const DesignExportSchema: z.ZodObject<{
28632
28951
  description: z.ZodOptional<z.ZodString>;
28633
28952
  key: z.ZodOptional<z.ZodString>;
28634
28953
  references: z.ZodOptional<z.ZodString>;
28954
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28955
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28635
28956
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28636
28957
  name: z.ZodString;
28637
28958
  type: z.ZodObject<{
@@ -28648,6 +28969,8 @@ declare const DesignExportSchema: z.ZodObject<{
28648
28969
  description: z.ZodOptional<z.ZodString>;
28649
28970
  key: z.ZodOptional<z.ZodString>;
28650
28971
  references: z.ZodOptional<z.ZodString>;
28972
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28973
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28651
28974
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28652
28975
  name: z.ZodString;
28653
28976
  type: z.ZodObject<{
@@ -28664,6 +28987,8 @@ declare const DesignExportSchema: z.ZodObject<{
28664
28987
  description: z.ZodOptional<z.ZodString>;
28665
28988
  key: z.ZodOptional<z.ZodString>;
28666
28989
  references: z.ZodOptional<z.ZodString>;
28990
+ /** The field's rename trace, oldest first — present only when it was renamed. */
28991
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28667
28992
  }, z.ZodTypeAny, "passthrough">>, "many">;
28668
28993
  methods: z.ZodArray<z.ZodObject<{
28669
28994
  key: z.ZodString;
@@ -32353,6 +32678,8 @@ declare const DesignExportSchema: z.ZodObject<{
32353
32678
  description: z.ZodOptional<z.ZodString>;
32354
32679
  key: z.ZodOptional<z.ZodString>;
32355
32680
  references: z.ZodOptional<z.ZodString>;
32681
+ /** The field's rename trace, oldest first — present only when it was renamed. */
32682
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32356
32683
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32357
32684
  name: z.ZodString;
32358
32685
  type: z.ZodObject<{
@@ -32369,6 +32696,8 @@ declare const DesignExportSchema: z.ZodObject<{
32369
32696
  description: z.ZodOptional<z.ZodString>;
32370
32697
  key: z.ZodOptional<z.ZodString>;
32371
32698
  references: z.ZodOptional<z.ZodString>;
32699
+ /** The field's rename trace, oldest first — present only when it was renamed. */
32700
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32372
32701
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32373
32702
  name: z.ZodString;
32374
32703
  type: z.ZodObject<{
@@ -32385,6 +32714,8 @@ declare const DesignExportSchema: z.ZodObject<{
32385
32714
  description: z.ZodOptional<z.ZodString>;
32386
32715
  key: z.ZodOptional<z.ZodString>;
32387
32716
  references: z.ZodOptional<z.ZodString>;
32717
+ /** The field's rename trace, oldest first — present only when it was renamed. */
32718
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32388
32719
  }, z.ZodTypeAny, "passthrough">>, "many">;
32389
32720
  methods: z.ZodArray<z.ZodObject<{
32390
32721
  key: z.ZodString;
@@ -32720,6 +33051,8 @@ declare const DesignExportSchema: z.ZodObject<{
32720
33051
  description: z.ZodOptional<z.ZodString>;
32721
33052
  key: z.ZodOptional<z.ZodString>;
32722
33053
  references: z.ZodOptional<z.ZodString>;
33054
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33055
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32723
33056
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32724
33057
  name: z.ZodString;
32725
33058
  type: z.ZodObject<{
@@ -32736,6 +33069,8 @@ declare const DesignExportSchema: z.ZodObject<{
32736
33069
  description: z.ZodOptional<z.ZodString>;
32737
33070
  key: z.ZodOptional<z.ZodString>;
32738
33071
  references: z.ZodOptional<z.ZodString>;
33072
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33073
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32739
33074
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
32740
33075
  name: z.ZodString;
32741
33076
  type: z.ZodObject<{
@@ -32752,6 +33087,8 @@ declare const DesignExportSchema: z.ZodObject<{
32752
33087
  description: z.ZodOptional<z.ZodString>;
32753
33088
  key: z.ZodOptional<z.ZodString>;
32754
33089
  references: z.ZodOptional<z.ZodString>;
33090
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33091
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32755
33092
  }, z.ZodTypeAny, "passthrough">>, "many">;
32756
33093
  methods: z.ZodArray<z.ZodObject<{
32757
33094
  key: z.ZodString;
@@ -33087,6 +33424,8 @@ declare const DesignExportSchema: z.ZodObject<{
33087
33424
  description: z.ZodOptional<z.ZodString>;
33088
33425
  key: z.ZodOptional<z.ZodString>;
33089
33426
  references: z.ZodOptional<z.ZodString>;
33427
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33428
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33090
33429
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
33091
33430
  name: z.ZodString;
33092
33431
  type: z.ZodObject<{
@@ -33103,6 +33442,8 @@ declare const DesignExportSchema: z.ZodObject<{
33103
33442
  description: z.ZodOptional<z.ZodString>;
33104
33443
  key: z.ZodOptional<z.ZodString>;
33105
33444
  references: z.ZodOptional<z.ZodString>;
33445
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33446
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33106
33447
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
33107
33448
  name: z.ZodString;
33108
33449
  type: z.ZodObject<{
@@ -33119,6 +33460,8 @@ declare const DesignExportSchema: z.ZodObject<{
33119
33460
  description: z.ZodOptional<z.ZodString>;
33120
33461
  key: z.ZodOptional<z.ZodString>;
33121
33462
  references: z.ZodOptional<z.ZodString>;
33463
+ /** The field's rename trace, oldest first — present only when it was renamed. */
33464
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33122
33465
  }, z.ZodTypeAny, "passthrough">>, "many">;
33123
33466
  methods: z.ZodArray<z.ZodObject<{
33124
33467
  key: z.ZodString;
@@ -36808,6 +37151,8 @@ declare const DesignExportSchema: z.ZodObject<{
36808
37151
  description: z.ZodOptional<z.ZodString>;
36809
37152
  key: z.ZodOptional<z.ZodString>;
36810
37153
  references: z.ZodOptional<z.ZodString>;
37154
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37155
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36811
37156
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
36812
37157
  name: z.ZodString;
36813
37158
  type: z.ZodObject<{
@@ -36824,6 +37169,8 @@ declare const DesignExportSchema: z.ZodObject<{
36824
37169
  description: z.ZodOptional<z.ZodString>;
36825
37170
  key: z.ZodOptional<z.ZodString>;
36826
37171
  references: z.ZodOptional<z.ZodString>;
37172
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37173
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36827
37174
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
36828
37175
  name: z.ZodString;
36829
37176
  type: z.ZodObject<{
@@ -36840,6 +37187,8 @@ declare const DesignExportSchema: z.ZodObject<{
36840
37187
  description: z.ZodOptional<z.ZodString>;
36841
37188
  key: z.ZodOptional<z.ZodString>;
36842
37189
  references: z.ZodOptional<z.ZodString>;
37190
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37191
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36843
37192
  }, z.ZodTypeAny, "passthrough">>, "many">;
36844
37193
  methods: z.ZodArray<z.ZodObject<{
36845
37194
  key: z.ZodString;
@@ -37175,6 +37524,8 @@ declare const DesignExportSchema: z.ZodObject<{
37175
37524
  description: z.ZodOptional<z.ZodString>;
37176
37525
  key: z.ZodOptional<z.ZodString>;
37177
37526
  references: z.ZodOptional<z.ZodString>;
37527
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37528
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37178
37529
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
37179
37530
  name: z.ZodString;
37180
37531
  type: z.ZodObject<{
@@ -37191,6 +37542,8 @@ declare const DesignExportSchema: z.ZodObject<{
37191
37542
  description: z.ZodOptional<z.ZodString>;
37192
37543
  key: z.ZodOptional<z.ZodString>;
37193
37544
  references: z.ZodOptional<z.ZodString>;
37545
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37546
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37194
37547
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
37195
37548
  name: z.ZodString;
37196
37549
  type: z.ZodObject<{
@@ -37207,6 +37560,8 @@ declare const DesignExportSchema: z.ZodObject<{
37207
37560
  description: z.ZodOptional<z.ZodString>;
37208
37561
  key: z.ZodOptional<z.ZodString>;
37209
37562
  references: z.ZodOptional<z.ZodString>;
37563
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37564
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37210
37565
  }, z.ZodTypeAny, "passthrough">>, "many">;
37211
37566
  methods: z.ZodArray<z.ZodObject<{
37212
37567
  key: z.ZodString;
@@ -37542,6 +37897,8 @@ declare const DesignExportSchema: z.ZodObject<{
37542
37897
  description: z.ZodOptional<z.ZodString>;
37543
37898
  key: z.ZodOptional<z.ZodString>;
37544
37899
  references: z.ZodOptional<z.ZodString>;
37900
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37901
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37545
37902
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
37546
37903
  name: z.ZodString;
37547
37904
  type: z.ZodObject<{
@@ -37558,6 +37915,8 @@ declare const DesignExportSchema: z.ZodObject<{
37558
37915
  description: z.ZodOptional<z.ZodString>;
37559
37916
  key: z.ZodOptional<z.ZodString>;
37560
37917
  references: z.ZodOptional<z.ZodString>;
37918
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37919
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37561
37920
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
37562
37921
  name: z.ZodString;
37563
37922
  type: z.ZodObject<{
@@ -37574,6 +37933,8 @@ declare const DesignExportSchema: z.ZodObject<{
37574
37933
  description: z.ZodOptional<z.ZodString>;
37575
37934
  key: z.ZodOptional<z.ZodString>;
37576
37935
  references: z.ZodOptional<z.ZodString>;
37936
+ /** The field's rename trace, oldest first — present only when it was renamed. */
37937
+ formerly: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37577
37938
  }, z.ZodTypeAny, "passthrough">>, "many">;
37578
37939
  methods: z.ZodArray<z.ZodObject<{
37579
37940
  key: z.ZodString;
@@ -37893,7 +38254,7 @@ type DesignExport = z.infer<typeof DesignExportSchema>;
37893
38254
 
37894
38255
  declare const DEFAULT_TARGET_DIRS: Record<string, string>;
37895
38256
  declare function defaultTargetConfig(type: 'claude' | 'gemini' | 'agy' | 'cursor' | 'copilot' | 'codex'): BuiltinTargetConfig;
37896
- declare const WAIRON_VERSION = "5.1.1-dev.106";
38257
+ declare const WAIRON_VERSION = "5.1.1-dev.107";
37897
38258
  declare const GITHUB_REPO = "SYW-Apps/Waffle-AIron";
37898
38259
  declare const ARCHITECT_AGENT_ID = "agent-architect";
37899
38260
  declare const ARCHITECT_TEMPLATE_ID = "architect";
@@ -37921,6 +38282,25 @@ declare function saveTopologyConfig(config: TopologyConfig): void;
37921
38282
  * reason that `wairon externals status` fetches it.
37922
38283
  */
37923
38284
  declare function resolveDeclared(offline?: boolean): ExternalBinding[];
38285
+ /**
38286
+ * iexternal_producers.resolveCandidate — one external declaration the bound
38287
+ * project does NOT hold yet, bound to its producer exactly as the written one
38288
+ * will be: the graph read at the highest root in reach, the declaration read
38289
+ * through the configuration's own reading and bound with
38290
+ * project_family.bindExternal, then git through the fetch cache and hosted
38291
+ * through the record lookup. No usage: nothing references the alias yet.
38292
+ * Read-only; the caller's binding is restored.
38293
+ */
38294
+ declare function resolveCandidate(alias: string, declaration: ExternalDeclaration): ExternalBinding;
38295
+ /**
38296
+ * iexternal_producers.listConsumers — the family projects that consume the
38297
+ * bound project, from its own root: the graph read at the highest root the
38298
+ * reach-gated climb reaches, and for every other project in it that declares
38299
+ * the bound project — as an external bound to it, or as a member — its id,
38300
+ * key, root, alias, section and the public names its specs use. Read-only and
38301
+ * within reach: a consumer outside the family read is never listed.
38302
+ */
38303
+ declare function listConsumers(): ExternalConsumer[];
37924
38304
 
37925
38305
  /**
37926
38306
  * ipart_context.excerpt — with a part's root bound: the ParentExcerpt it can
@@ -38079,6 +38459,10 @@ interface PromoteResult {
38079
38459
  imported: string[];
38080
38460
  /** One line per consumers entry dropped because it named a subsystem across the boundary. */
38081
38461
  consumersDropped: string[];
38462
+ /** One line per entry declared on a verb of the new project that callers left in the parent call. */
38463
+ entriesDeclared: string[];
38464
+ /** One line per topic the new boundary separates from its pair (the family run pairs it). */
38465
+ topicsCrossing: string[];
38082
38466
  }
38083
38467
  /**
38084
38468
  * internalize_result — what internalizing a member did with each thing the
@@ -38244,6 +38628,30 @@ interface TypeRename {
38244
38628
  carried: CarriedRekey[];
38245
38629
  }
38246
38630
  declare function renameType(typeId: string, newId: string): TypeRename;
38631
+ /** What renaming a field of a type changed (field_rename). */
38632
+ interface FieldRename {
38633
+ /** The type whose field moved, qualified by its owning subsystem when it has one. */
38634
+ type: string;
38635
+ /** The field's name before the rename. */
38636
+ from: string;
38637
+ /** The field's name after the rename. */
38638
+ to: string;
38639
+ /** Ids of the other specs whose references to the field were respelled. */
38640
+ rewritten: string[];
38641
+ }
38642
+ /**
38643
+ * Rename a field of a type and every reference to it in the bound tree
38644
+ * (core_orchestrator.renameField). The field keeps its place, type and
38645
+ * description under the new name, its old name appended to its rename trace
38646
+ * (previousNames — `formerly` in the design export); every foreign key
38647
+ * `references: <type>.<field>` naming it is respelled. Traces and prose are
38648
+ * never rewritten. Refuses before any write: a type that does not exist
38649
+ * (type-missing), one in another project (chained-type), a field it does not
38650
+ * declare (field-missing), a new name that is not an identifier
38651
+ * (invalid-name), and a name another field holds or retired (name-taken,
38652
+ * name-retired).
38653
+ */
38654
+ declare function renameField(typeId: string, field: string, newName: string): FieldRename;
38247
38655
  /**
38248
38656
  * core_orchestrator.moveMountToMembers — move one legacy L1 mount of the bound
38249
38657
  * project into its `members`: its projectPath as the member's path and its
@@ -38725,17 +39133,31 @@ declare function approvalRecord(root?: string): LockRecord | null;
38725
39133
  */
38726
39134
  declare function settledSpecPaths(root?: string): Set<string> | null;
38727
39135
  /**
38728
- * approval_comparison.reexpress — the record on file carried into the design
38729
- * reading WITHOUT a new approval, when that is provably sound: a record that
38730
- * names no design reading (format 2) whose stateId equals gate.asRecorded —
38731
- * the identity it certified, recomputed over the tree as it stands, so nothing
38732
- * it covered moved. Keeps lockedAt, lockedBy, the validation and code results,
38733
- * the members' pins and the provenance exactly; replaces stateId with the gate
38734
- * (asRecorded dropped), specs with the design-reading capture, and adds
38735
- * `reexpressed`. Null when there is nothing to carry or it cannot be proven.
38736
- * Writes nothing: the caller writes the answer.
39136
+ * approval_comparison.reexpress — the record on file carried into the current
39137
+ * reading WITHOUT a new approval, when that is provably sound. (1) The
39138
+ * identity it certified still holds: a format-2 record, or one taken in the
39139
+ * earlier design reading (status still in the view), whose stateId equals
39140
+ * gate.asRecorded — that identity recomputed over the tree as it stands. Keeps
39141
+ * lockedAt, lockedBy, the validation and code results, the members' pins and
39142
+ * the provenance exactly; replaces stateId with the gate (asRecorded dropped),
39143
+ * specs with the current design-reading capture, and adds `reexpressed`. (2) A
39144
+ * format-2 record whose identity no longer holds but whose every own spec file
39145
+ * still matches its raw-content digest: only the gate it was judged under
39146
+ * moved, never the tree, so its reading is carried and its stateId stays the
39147
+ * identity it certified — the lock still reads stale, now for the stated
39148
+ * cause, until one `wairon lock`. Null when there is nothing to carry or it
39149
+ * cannot be proven. Writes nothing: the caller writes the answer.
38737
39150
  */
38738
39151
  declare function reexpress(gate: StateId): LockRecord | null;
39152
+ /**
39153
+ * approval_comparison.approvedStatuses — the status each own spec had when a
39154
+ * design-reading record was approved, keyed `<kind>:<id>`: a spec whose design
39155
+ * view WITH a candidate status digests to the recorded digest was approved
39156
+ * with that status (none reads as complete, as the loader parses it). A spec
39157
+ * matching no candidate moved in its design and is left out, as is every spec
39158
+ * of a record in another reading.
39159
+ */
39160
+ declare function approvedStatuses(record: LockRecord, root?: string): Map<string, SpecStatus>;
38739
39161
  /**
38740
39162
  * What the lock says about the tree as it stands: the sentence to show, and
38741
39163
  * whether it is drift.
@@ -39285,4 +39707,4 @@ declare function schemaFingerprint(): string;
39285
39707
  */
39286
39708
  declare function loadProjectConfig(): ProjectConfig;
39287
39709
 
39288
- export { AI_PATHS, ARCHITECT_AGENT_ID, ARCHITECT_TEMPLATE_ID, type AgentBrief, AgentBriefSchema, type AgentRecord, AgentRecordSchema, type AgentStatus, AgentStatusSchema, type AgentTemplate, AgentTemplateSchema, type AnalysisGrade, type ApiKeyLocation, ApiKeyLocationSchema, type ApprovalDiff, type ApprovalVerdict, type ArchProfile, type AuthoredReference, BACKEND_COMMANDS, BUILTIN_PROFILES, type BoundaryItem, BoundaryItemSchema, type BuildContextOptions, type BuiltinTarget, type BuiltinTargetConfig, BuiltinTargetConfigSchema, BuiltinTargetSchema, BundleNotFoundError, type CallSiteFact, type CarriedDebt, type CarriedDebtKind, CarriedDebtKindSchema, CarriedDebtSchema, type CarriedFinding, type CarriedFindingEntry, CarriedFindingSchema, type CatchClause, CatchClauseSchema, ChainingMigrationRefusedError, ClaudeExporter, type ClaudeExporterOptions, type CodeIndex, type CodeModel, type ComplexityRuleConfig, ComplexityRuleConfigSchema, type ComponentRename, type ComponentSpec, ComponentSpecSchema, type ComponentType, ComponentTypeSchema, type CompositionConfig, CompositionConfigSchema, ConfigValidationError, type ConformanceRuleConfig, ConformanceRuleConfigSchema, type ConformanceTier, ConformanceTierSchema, type CrossProjectReference, CustomExporter, type CustomTarget, type CustomTargetConfig, CustomTargetConfigSchema, CustomTargetSchema, DEFAULT_TARGET_DIRS, DESIGN_APPROVALS, DESIGN_DEPENDENCY_ROLES, DESIGN_FORMAT, DESIGN_FORMAT_VERSION, DESIGN_VIEW_FIELDS, type DatabaseSpec, DatabaseSpecSchema, type DeclarativePack, type DeclaredCall, type DeclaredExternal, type DeclaredInvocation, DeclaredInvocationSchema, type DeclaredMember, type DependencyClass, DependencyClassSchema, type DependencyEdge, type DependencyEdges, type DesignApproval, DesignApprovalSchema, type DesignComponent, DesignComponentSchema, type DesignDependency, type DesignDependencyRole, DesignDependencyRoleSchema, DesignDependencySchema, type DesignDepth, DesignDepthSchema, type DesignExport, type DesignExportEntry, DesignExportEntrySchema, DesignExportSchema, type DesignField, DesignFieldSchema, type DesignImplementation, DesignImplementationSchema, type DesignInterface, DesignInterfaceSchema, type DesignMethod, type DesignMethodBody, DesignMethodBodySchema, DesignMethodSchema, type DesignParam, DesignParamSchema, type DesignProject, DesignProjectSchema, type DesignSource, DesignSourceSchema, type DesignSubsystem, DesignSubsystemSchema, type DesignType, type DesignTypeRef, DesignTypeRefSchema, DesignTypeSchema, type DetectedDomainCandidate, type DiagramConfig, DiagramConfigSchema, type DiagramLineStyle, DiagramLineStyleSchema, type DiagramView, DiagramViewSchema, type DispatchBinding, DispatchBindingSchema, DoctorOptionsError, type DocumentationRuleConfig, DocumentationRuleConfigSchema, type Domain, DomainSchema, type DomainType, DomainTypeSchema, type Durability, DurabilitySchema, EXTERNAL_ALIAS_RE, EXTERNAL_SOURCE_FORMS, type EdgeReach, type Endpoint, EndpointSchema, type EndpointTransport, type EntryScope, EntryScopeSchema, type EnumValue, EnumValueSchema, type EventBinding, EventBindingSchema, type ExportAliasFact, type ExportContext, type ExportKind, type ExportProblem, type ExportProblemKind, type ExportResult, type ExportRole, ExportRoleSchema, type ExportTableLevel, type ExportUsage, type ExportUse, type Exporter, type ExtData, ExtDataSchema, type ExtensionPack, type ExternalAddition, type ExternalBinding, type ExternalDeclaration, ExternalDeclarationSchema, type ExternalLink, ExternalLinkSchema, type ExternalLinkType, ExternalLinkTypeSchema, type ExternalListing, type ExternalLockEntry, ExternalLockEntrySchema, type ExternalPin, type ExternalPinOutcome, type ExternalRelation, type ExternalRequest, type ExternalRole, type ExternalSource, type ExternalSourceKind, ExternalSourceSchema, type ExternalStatus, type ExternalUseState, type ExternalUseStatus, type ExternalsLock, ExternalsLockSchema, FULL_COMMIT_RE, type FamilyProblemKind, type FamilySwitches, type FindingDeclaration, FindingDeclarationSchema, type FindingParts, type ForeignFieldRepair, type ForwardedName, type FunctionBodyFact, GITHUB_REPO, GeminiExporter, type GenerateOptions, type GenerateSummary, type GroupSpec, GroupSpecSchema, type Guarantee, GuaranteeSchema, HOLDABLE_PRIMITIVES, type HostedRecordLookup, type HttpMethod, HttpMethodSchema, type ImplementationSpec, ImplementationSpecSchema, type ImportBindingFact, type ImportGraph, type ImportSection, type InstalledPack, type InterfaceSpec, InterfaceSpecSchema, type InternalizeDestination, type InternalizeResult, type Invariant, InvariantSchema, type InvocationKind, InvocationKindSchema, type IssueSeverity, type LegacySpecFile, type LifecycleEntrypoint, LifecycleEntrypointSchema, type LifecyclePhase, LifecyclePhaseSchema, type LintAllow, LintAllowSchema, type LintConfig, LintConfigSchema, type LoadedExtensions, type LoadedPackSkill, type LockRecord, type LockStatus, type LogLevel, type LoopKind, LoopKindSchema, type MemberAdvance, type MemberCreation, type MemberDeclaration, MemberDeclarationSchema, type MemberKind, type MemberPin, type MemberSource, type MemberStorage, type MethodEffect, MethodEffectSchema, type MethodImplementation, MethodImplementationSchema, type MethodLike, type MethodParam, MethodParamSchema, type MethodRename, type MethodSignature, MethodSignatureSchema, type ModelledCall, type MountForm, type NamedOpenApiSpec, NamedOpenApiSpecSchema, type NamingRuleConfig, NamingRuleConfigSchema, type NarrativeDetail, NarrativeDetailSchema, type NarrativeStep, NarrativeStepSchema, type NarrativeStepType, NarrativeStepTypeSchema, type NetworkBoundary, type NetworkDeclaration, NetworkDeclarationSchema, NetworkOptionsError, type OAuthFlow, OAuthFlowSchema, type OutputTarget, OutputTargetSchema, type OwnershipIndex, PATTERN_TYPES, PRIMITIVE_TYPES, PROJECT_ID_RE, PROJECT_KINDS, PUBLIC_NAME_RE, type PackDiagnosis, type PackEntry, type PackPath, type PackRef, type PackRequirement, PackRequirementSchema, type PackScope, type PackSelection, PackSelectionSchema, type ParallelBranch, ParallelBranchSchema, type ParameterFact, type ParentExcerpt, ParentExcerptSchema, type ParsedMemberSource, type PartOf, PartOfSchema, type PathsConfig, PathsConfigSchema, type PatternRef, PatternRefSchema, type PinnedExternal, type PinnedParent, type PortalAuth, PortalAuthSchema, type PortalAuthScheme, PortalAuthSchemeSchema, PreviousIdsSchema, PreviousNamesSchema, ProfileSelectionSubjectSchema, type ProjectBinding, type ProjectBindingVia, type ProjectConfig, ProjectConfigSchema, type ProjectFamily, type ProjectFamilyProblem, type ProjectIdOrigin, type ProjectIdSource, type ProjectIdentity, type ProjectIdentityProblem, type ProjectImport, type ProjectNode, ProjectNotInitializedError, type ProjectProfileSelection, ProjectProfileSelectionSchema, type ProjectRelations, type PromoteResult, type PublicInterface, PublicInterfaceSchema, type PublicInterfaceType, PublicInterfaceTypeSchema, RETIRED_INVOCATION_KINDS, RETIRED_PORTAL_TYPE_SPELLINGS, RETIRED_STEREOTYPES, type ReachModel, type ReachRewrite, type ReachabilityMigrationPlan, type ReadExternalSource, type ReadableProject, type RealizationIndex, type ReexportBindingFact, type ReferenceBinding, type ReferenceEdit, type ReferenceForm, type ReferenceLanding, type ReferenceResolution, type Registry, RegistrySchema, type RelationHealth, type RenameTraceHolders, type RequirementItem, RequirementItemSchema, type ResolutionOutcome, type ResolvedBody, type ResolvedDetail, type ResolvedExport, type ResolvedExportTable, type ResolvedExternal, ResolvedInterfaceSpecSchema, type ResolvedMethod, ResolvedMethodSignatureSchema, ResolvedTypeMethodSchema, ResolvedTypeSpecSchema, type RetiredMount, type RetiredReachFact, type RetiredReachForm, RetiredReachFormSchema, type RetiredReachHolder, type RouteFact, type RuleCode, type RuleContext, type RuleJudgement, type RuleScope, type RulesConfig, RulesConfigSchema, SCAN_EXCLUDE_DIRS, SDD_RULES, SEMANTIC_GUARANTEES, STEP_COMMON_FIELDS, STEP_LABEL_TWINS, STEP_TYPE_FIELDS, SUPPORTED_ALIASES, SURFACE_AUDIENCES, type ScopeFilterOptions, type SddRule, type Severity, type ShapeMemberFact, type ShapeOrigin, type SignatureFacts, type SignatureResolution, type SignatureSourceFact, type SignatureTextRepair, type SourceFileFacts, type SourceFileStatus, type SpecId, type SpecIdKind, SpecIdSchema, type SpecIndex, type SpecScanOptions, type SpecStatus, SpecStatusSchema, type SpecialistRetirement, type SpecialistRetype, type StaleSignatureText, type StateId, type StatusDecor, type StatusOptions, type StatusReport, type StepConfigCode, type StepConfigProblem, type StepConfigVerdict, type StepGraph, type StoredInterfaceSpec, type StoredMethodSignature, StoredMethodSignatureSchema, type StoredTypeMethod, StoredTypeMethodSchema, type StoredTypeSpec, type SubsystemSpec, SubsystemSpecSchema, type SubsystemWriteRule, type SupportedAlias, type SurfaceAudience, SurfaceAudienceSchema, type SurfaceContractEntry, SurfaceContractEntrySchema, type SurfaceOrigin, SurfaceOriginSchema, type SurfaceRefResolution, type SurfaceSnapshot, SurfaceSnapshotSchema, type SurfaceTypeDef, SurfaceTypeDefSchema, type SurfaceTypeExport, SurfaceTypeExportSchema, type SwitchCase, SwitchCaseSchema, type SyncResult, type SystemPublicInterface, SystemPublicInterfaceSchema, type SystemSpec, SystemSpecSchema, type TargetConfig, TargetConfigSchema, type Technology, TechnologySchema, type Template, TemplateNotFoundError, TemplateSchema, type TopologyConfig, TopologyConfigSchema, type Transport, type TransportKind, TransportKindSchema, TransportSchema, type TreeExportResult, type TreeImportOptions, type TreeImportResult, type TrustedLink, TrustedLinkSchema, type TypeCanonicalization, type TypeDialect, type TypeEnumProposal, type TypeExpression, type TypeExpressionProblem, TypeExpressionSchema, type TypeField, TypeFieldSchema, type TypeForm, type TypeKind, TypeKindSchema, type TypeMethod, TypeMethodSchema, type TypeParse, type TypePosition, type TypeProblemCode, type TypeRename, type TypeRespelling, type TypeShapeFact, type TypeSpec, TypeSpecSchema, type TypeSpellingFacts, type TypeSpellingRepair, type TypedSpecKind, USE_ENTRY_RE, type VerbReach, WAIRON_MANAGED_BANNER, WAIRON_MANAGED_MARKER, WAIRON_VERSION, type WaiPaths, WaironError, type WriteReach, activeTargetTypes, addDomain, admits, advanceMember, aiDir, aiDirAt, aiPathsAt, aliasTargetOf, ambiguityMessage, approvalKeyIn, approvalRecord, approvalVerdict, assertContainedProjectPath, assertProjectInitialized, attachRetiredMounts, backendCommand, backfillChainedSubprojectConfigs, backupBeside, bodySitesOf, buildCanvasDataModel, buildProjectGraph, buildRuleContext, builtinProfileIds, builtinProjectKinds, callSitesOf, callersOf, canonicalTypeRef, canonicalTypeText, captureApprovedSpecs, carryRetiredReachForms, checkDeclarativePack, clearLoaderIssues, cognitiveScore, complexityLevel, componentDesignView, componentEntryFor, composeAgentBrief, composeRuleSequence, computeGateStateId, computeOwnDesignStateId as computeOwnDesignId, computeOwnStateId, computeStateId, computeStateIdAt, conceptNoun, consumedContractInputs, containedPathOf, contentDigest, createAgentRecord, createEmptyRegistry, createEmptyTopologyConfig, createMember, createProjectConfig, currentRootBinding, declareExternal, declareMember, declaredExternals, declaredMembers, declaredPackNames, declaredProfileIds, declares, declaresGlobalPacks, defaultConformanceTier, defaultNarrativeDetail, defaultPackSelections, defaultTargetConfig, deleteSpec, demoteMember, dependencyCycles, deregisterPackRef, deriveExecutionProfile, deriveMethodSignature, deriveTypeSignature, derivedDocPaths, describeProject, detectDomainCandidates, diagnoseProjectPacks, diagramSetIndex, dialectOf, diffAgainstApproval, diffSize, discoverPacks, dryRunSerializeSpecs, effectiveDetail, effectiveProjectId, emptyExtensions, emptyTypeSpellingFacts, enclosing, ensureDir, ensureProjectInitialized, excerpt as excerptParent, exportDesign, exportSpecTree, exportSurface, exportTargetKey, exportUsage, externalizeSubsystem, extractTypeIdentifiers, factsFor, familyApprovals, familyNode, familyRelations, fieldTypeRefs, fieldTypesOf, findChainingParent, findChainingSubprojectsMissingConfig, findLegacySpecFiles, findProjectRoot, findSystemRoot, findTestsReferencing, fromProjectRoot, generateAgent, generateAll, generateComponentDiagram, generateDiagramSet, generateSequenceDiagram, getExporter, getExternalsStatus, getHostedLookup, getLoaderIssues, getProjectRoot, getProjectRootOverride, getRequestParentReach, getRequestProjectRoot, getSnapshot, getStatusReport, getWriteReach, globalGuideFilePath, globalPacksDir, globalPacksEnabled, globalTemplatesDir, hasContext, hasFunctionBody, headNoun, holdsState, implementationDesignView, implementationSourceFiles, importBindingOf, importNames, importSpecTree, importSurface, injectGuide, installPackFromDirectory, interfaceCanonicalTypes, interfaceGenericParameters, internalizeMember, isDraftSubsystem, isInProcessAddress, isLogic, isOutsideRoot, isOwnComponentEntry, isPart, isPattern, isProjectInitialized, isProvidedBy, isRetired, isTypeVocabulary, judgesCode, keyIn, landReference, languageOfSourcePath, lineEndingFor, listDirectChainedSubprojects, listExternals, listFiles, listFilesRecursive, listInstalledPacks, listPinnedExternals, listRules, listSnapshots, loadComponentSpec, loadComponentSpecs, loadExtensionPacks, loadExtensions, loadFor as loadExtensionsFor, loadImplementationSpec, loadImplementationSpecs, loadInterfaceSpec, loadInterfaceSpecs, loadProjectConfig, loadProjectExtensions, loadProjectVariants, loadRegistry, loadSpec, loadSpecGraph, loadSubsystemSpec, loadSubsystemSpecs, loadSystemSpec, loadTopologyConfig, loadTypeSpec, loadTypeSpecs, localApprover, localGuideFilePath, localTypesOf, logger, makeScopeFilter, markSelectionsBundled, matchTypeRef, measurePackDoctrine, measurePackImpact, memberDeclarationOf, memberDigest, memberLocationOf, memberTypesOf, methodCasingFor, methodGenericParameters, methodSourceFile, methodTypeRefs, migrate as migrateReachability, moveMember, moveMethods, moveMountToMembers, nameKey, namesAnInteger, narrativeStepForeignFields, normalizeReferences, ownerOf, packDirEntry, packEntryLabel, packEntryRef, manifestOf as packManifest, packStoreDir, parseDeclarativePack, parseDeclaredCall, parseMemberSource, parseTypeExpression, parseTypePosition, parseYaml, passesIntentFloor, pathExists, pathKey, pinExternals, pinInstalledPacksAsSelections, pinnedParent, producerOf, projectConfigExists, graph as projectFamily, projectIdentity, promoteMember, provisionProject, qualifiedTypeId, rangeProblem, readCodeAnnotation, readExternalSource, readFileOrNull, readJsonFile, readLockRecord, readLockState, readRetiredReachForms, readStampVersion, readYamlFile, recordProfileSelection, reexpress, registerExporter, registerPackRef, reinjectLocalGuides, relationHealth, removeDomain, removeExternal, removeMember, removePackSelection, removeSnapshot, renameAlias, renameComponent, renameProjectId as renameId, renameMethod, renameType, renderDiagram, repairForeignStepFields, repairSignatures, repairTypeSpellings, repointExternal, requiredPolicies, resolveAgentTopology, resolveBudget, resolveChainingParent, resolveDomains, resolveExpectedOutputPaths, resolveDeclared as resolveExternals, resolveImport, resolveInstalledPack, resolveProjectBinding, resolveProjectExports, resolveSignatures, resolveSubprojectForNamespace, resolveSubsystemExports, resolveVariantGuidance, retireSpecialists, retiredInvocationReadAs, retiredMountsOf, retiredReachFacts, returnTypeOf, rewriteReferences, runWithHostedLookup, runWithProjectBinding, runWithProjectRoot, sameContract, saveSpec, saveTopologyConfig, scanAllSpecs, schemaFingerprint, selectsFamily, serializeYaml, setExecutionTier, setProjectId as setId, setLogLevel, setProjectRoot, setProjectType, settledSpecPaths, signatureFacts, signatureTypeRefs, specIndexRetiredBy, specPathsInScope, splitNamespace, stepConfigVerdict, stepFieldsFor, stepGraph, storedMethodSignature, storedTypeMethod, syncContextFiles, technologyName, technologyTokens, toMarkdown, transportExportKind, transportKind, transportRequiresEndpoint, typeBindingOf, typeCanonicalTypes, typeDesignView, typeDialectFor, typeGenericParameters, typeIsMany, typeMatchesRef, typeNamedRefs, typeProblemEnumProposal, typeProblemIntProposal, typeSourceFiles, typeSpellingFacts, uninstallPack, updateMember, updateSpec, upsertPackSelection, validateAsComplete, validateComponentCandidate, validateFamily, validateProject, validateProjectConfig, validateRegistry, withLineEndings, withPack, writeFile, writeFileIfChanged, writeJsonFile, writeLockRecord, writeReachDenials, writeReachPermits, writeRootGuideDelegator, writeYamlFile, writtenTypeRefs };
39710
+ export { AI_PATHS, ARCHITECT_AGENT_ID, ARCHITECT_TEMPLATE_ID, type AgentBrief, AgentBriefSchema, type AgentRecord, AgentRecordSchema, type AgentStatus, AgentStatusSchema, type AgentTemplate, AgentTemplateSchema, type AnalysisGrade, type ApiKeyLocation, ApiKeyLocationSchema, type ApprovalDiff, type ApprovalVerdict, type ArchProfile, type AuthoredReference, BACKEND_COMMANDS, BUILTIN_PROFILES, type BoundaryItem, BoundaryItemSchema, type BuildContextOptions, type BuiltinTarget, type BuiltinTargetConfig, BuiltinTargetConfigSchema, BuiltinTargetSchema, BundleNotFoundError, type CallSiteFact, type CarriedDebt, type CarriedDebtKind, CarriedDebtKindSchema, CarriedDebtSchema, type CarriedFinding, type CarriedFindingEntry, CarriedFindingSchema, type CatchClause, CatchClauseSchema, ChainingMigrationRefusedError, ClaudeExporter, type ClaudeExporterOptions, type CodeIndex, type CodeModel, type ComplexityRuleConfig, ComplexityRuleConfigSchema, type ComponentPlacement, type ComponentRename, type ComponentSpec, ComponentSpecSchema, type ComponentType, ComponentTypeSchema, type CompositionConfig, CompositionConfigSchema, ConfigValidationError, type ConformanceRuleConfig, ConformanceRuleConfigSchema, type ConformanceTier, ConformanceTierSchema, type CrossProjectReference, CustomExporter, type CustomTarget, type CustomTargetConfig, CustomTargetConfigSchema, CustomTargetSchema, DEFAULT_TARGET_DIRS, DESIGN_APPROVALS, DESIGN_DEPENDENCY_ROLES, DESIGN_FORMAT, DESIGN_FORMAT_VERSION, DESIGN_VIEW_FIELDS, type DatabaseSpec, DatabaseSpecSchema, type DeclarativePack, type DeclaredCall, type DeclaredExternal, type DeclaredInvocation, DeclaredInvocationSchema, type DeclaredMember, type DependencyClass, DependencyClassSchema, type DependencyEdge, type DependencyEdges, type DesignApproval, DesignApprovalSchema, type DesignComponent, DesignComponentSchema, type DesignDependency, type DesignDependencyRole, DesignDependencyRoleSchema, DesignDependencySchema, type DesignDepth, DesignDepthSchema, type DesignExport, type DesignExportEntry, DesignExportEntrySchema, DesignExportSchema, type DesignField, DesignFieldSchema, type DesignImplementation, DesignImplementationSchema, type DesignInterface, DesignInterfaceSchema, type DesignMethod, type DesignMethodBody, DesignMethodBodySchema, DesignMethodSchema, type DesignParam, DesignParamSchema, type DesignProject, DesignProjectSchema, type DesignSource, DesignSourceSchema, type DesignSubsystem, DesignSubsystemSchema, type DesignType, type DesignTypeRef, DesignTypeRefSchema, DesignTypeSchema, type DetectedDomainCandidate, type DiagramConfig, DiagramConfigSchema, type DiagramLineStyle, DiagramLineStyleSchema, type DiagramView, DiagramViewSchema, type DispatchBinding, DispatchBindingSchema, DoctorOptionsError, type DocumentationRuleConfig, DocumentationRuleConfigSchema, type Domain, DomainSchema, type DomainType, DomainTypeSchema, type Durability, DurabilitySchema, EXTERNAL_ALIAS_RE, EXTERNAL_SOURCE_FORMS, type EdgeReach, type Endpoint, EndpointSchema, type EndpointTransport, type EntryScope, EntryScopeSchema, type EnumValue, EnumValueSchema, type EventBinding, EventBindingSchema, type ExportAliasFact, type ExportContext, type ExportKind, type ExportProblem, type ExportProblemKind, type ExportResult, type ExportRole, ExportRoleSchema, type ExportTableLevel, type ExportUsage, type ExportUse, type Exporter, type ExtData, ExtDataSchema, type ExtensionPack, type ExternalAddition, type ExternalBinding, type ExternalConsumer, type ExternalDeclaration, ExternalDeclarationSchema, type ExternalLink, ExternalLinkSchema, type ExternalLinkType, ExternalLinkTypeSchema, type ExternalListing, type ExternalLockEntry, ExternalLockEntrySchema, type ExternalPin, type ExternalPinOutcome, type ExternalRelation, type ExternalRemoval, type ExternalRequest, type ExternalRole, type ExternalSource, type ExternalSourceKind, ExternalSourceSchema, type ExternalStatus, type ExternalUseChange, type ExternalUseRequest, type ExternalUseState, type ExternalUseStatus, type ExternalsLock, ExternalsLockSchema, FULL_COMMIT_RE, type FamilyProblemKind, type FamilySwitches, type FieldRename, type FindingDeclaration, FindingDeclarationSchema, type FindingParts, type ForeignFieldRepair, type ForwardedName, type FunctionBodyFact, GITHUB_REPO, GeminiExporter, type GenerateOptions, type GenerateSummary, type GroupSpec, GroupSpecSchema, type Guarantee, GuaranteeSchema, HOLDABLE_PRIMITIVES, type HostedRecordLookup, type HttpMethod, HttpMethodSchema, type ImplementationSpec, ImplementationSpecSchema, type ImportBindingFact, type ImportGraph, type ImportSection, type InstalledPack, type InterfaceSpec, InterfaceSpecSchema, type InternalizeDestination, type InternalizeResult, type Invariant, InvariantSchema, type InvocationKind, InvocationKindSchema, type IssueSeverity, type LegacySpecFile, type LifecycleEntrypoint, LifecycleEntrypointSchema, type LifecyclePhase, LifecyclePhaseSchema, type LintAllow, LintAllowSchema, type LintConfig, LintConfigSchema, type LoadedExtensions, type LoadedPackSkill, type LockRecord, type LockStatus, type LogLevel, type LoopKind, LoopKindSchema, type MemberAdvance, type MemberCreation, type MemberDeclaration, MemberDeclarationSchema, type MemberKind, type MemberPin, type MemberSource, type MemberStorage, type MethodEffect, MethodEffectSchema, type MethodImplementation, MethodImplementationSchema, type MethodLike, type MethodParam, MethodParamSchema, type MethodRename, type MethodSignature, MethodSignatureSchema, type ModelledCall, type MountForm, type NamedOpenApiSpec, NamedOpenApiSpecSchema, type NamingRuleConfig, NamingRuleConfigSchema, type NarrativeDetail, NarrativeDetailSchema, type NarrativeStep, NarrativeStepSchema, type NarrativeStepType, NarrativeStepTypeSchema, type NetworkBoundary, type NetworkDeclaration, NetworkDeclarationSchema, NetworkOptionsError, type OAuthFlow, OAuthFlowSchema, type OutputTarget, OutputTargetSchema, type OwnershipIndex, PATTERN_TYPES, PRIMITIVE_TYPES, PROJECT_ID_RE, PROJECT_KINDS, PUBLIC_NAME_RE, type PackDiagnosis, type PackEntry, type PackPath, type PackRef, type PackRequirement, PackRequirementSchema, type PackScope, type PackSelection, PackSelectionSchema, type ParallelBranch, ParallelBranchSchema, type ParameterFact, type ParentExcerpt, ParentExcerptSchema, type ParsedMemberSource, type PartOf, PartOfSchema, type PathsConfig, PathsConfigSchema, type PatternRef, PatternRefSchema, type PinnedExternal, type PinnedParent, type PortalAuth, PortalAuthSchema, type PortalAuthScheme, PortalAuthSchemeSchema, PreviousIdsSchema, PreviousNamesSchema, ProfileSelectionSubjectSchema, type ProjectBinding, type ProjectBindingVia, type ProjectConfig, ProjectConfigSchema, type ProjectFamily, type ProjectFamilyProblem, type ProjectIdOrigin, type ProjectIdSource, type ProjectIdentity, type ProjectIdentityProblem, type ProjectImport, type ProjectNode, ProjectNotInitializedError, type ProjectProfileSelection, ProjectProfileSelectionSchema, type ProjectRelations, type PromoteResult, type PublicInterface, PublicInterfaceSchema, type PublicInterfaceType, PublicInterfaceTypeSchema, RETIRED_INVOCATION_KINDS, RETIRED_PORTAL_TYPE_SPELLINGS, RETIRED_STEREOTYPES, type ReachFinding, type ReachModel, type ReachRewrite, type ReachabilityMigrationPlan, type ReadExternalSource, type ReadableProject, type RealizationIndex, type ReexportBindingFact, type ReferenceBinding, type ReferenceEdit, type ReferenceForm, type ReferenceLanding, type ReferenceResolution, type Registry, RegistrySchema, type RelationHealth, type RenameTraceHolders, type RequirementItem, RequirementItemSchema, type ResolutionOutcome, type ResolvedBody, type ResolvedDetail, type ResolvedExport, type ResolvedExportTable, type ResolvedExternal, ResolvedInterfaceSpecSchema, type ResolvedMethod, ResolvedMethodSignatureSchema, ResolvedTypeMethodSchema, ResolvedTypeSpecSchema, type RetiredMount, type RetiredReachFact, type RetiredReachForm, RetiredReachFormSchema, type RetiredReachHolder, type RouteFact, type RuleCode, type RuleContext, type RuleJudgement, type RuleScope, type RulesConfig, RulesConfigSchema, SCAN_EXCLUDE_DIRS, SDD_RULES, SEMANTIC_GUARANTEES, STEP_COMMON_FIELDS, STEP_LABEL_TWINS, STEP_TYPE_FIELDS, SUPPORTED_ALIASES, SURFACE_AUDIENCES, type ScopeFilterOptions, type SddRule, type Severity, type ShapeMemberFact, type ShapeOrigin, type SignatureFacts, type SignatureResolution, type SignatureSourceFact, type SignatureTextRepair, type SourceFileFacts, type SourceFileStatus, type SpecId, type SpecIdKind, SpecIdSchema, type SpecIndex, type SpecScanOptions, type SpecStatus, SpecStatusSchema, type SpecialistRetirement, type SpecialistRetype, type StaleSignatureText, type StateId, type StatusDecor, type StatusOptions, type StatusReport, type StepConfigCode, type StepConfigProblem, type StepConfigVerdict, type StepGraph, type StoredInterfaceSpec, type StoredMethodSignature, StoredMethodSignatureSchema, type StoredTypeMethod, StoredTypeMethodSchema, type StoredTypeSpec, type SubsystemSpec, SubsystemSpecSchema, type SubsystemWriteRule, type SupportedAlias, type SurfaceAudience, SurfaceAudienceSchema, type SurfaceContractEntry, SurfaceContractEntrySchema, type SurfaceOrigin, SurfaceOriginSchema, type SurfaceRefResolution, type SurfaceSnapshot, SurfaceSnapshotSchema, type SurfaceTypeDef, SurfaceTypeDefSchema, type SurfaceTypeExport, SurfaceTypeExportSchema, type SurfaceUnresolvedExport, SurfaceUnresolvedExportSchema, type SwitchCase, SwitchCaseSchema, type SyncResult, type SystemPublicInterface, SystemPublicInterfaceSchema, type SystemSpec, SystemSpecSchema, type TargetConfig, TargetConfigSchema, type Technology, TechnologySchema, type Template, TemplateNotFoundError, TemplateSchema, type TopicEnd, type TopologyConfig, TopologyConfigSchema, type Transport, type TransportKind, TransportKindSchema, TransportSchema, type TreeExportResult, type TreeImportOptions, type TreeImportResult, type TrustedLink, TrustedLinkSchema, type TypeCanonicalization, type TypeDialect, type TypeEnumProposal, type TypeExpression, type TypeExpressionProblem, TypeExpressionSchema, type TypeField, TypeFieldSchema, type TypeForm, type TypeKind, TypeKindSchema, type TypeMethod, TypeMethodSchema, type TypeParse, type TypePosition, type TypeProblemCode, type TypeRename, type TypeRespelling, type TypeShapeFact, type TypeSpec, TypeSpecSchema, type TypeSpellingFacts, type TypeSpellingRepair, type TypedSpecKind, USE_ENTRY_RE, type VerbReach, WAIRON_MANAGED_BANNER, WAIRON_MANAGED_MARKER, WAIRON_VERSION, type WaiPaths, WaironError, type WriteReach, activeTargetTypes, addDomain, admits, advanceMember, aiDir, aiDirAt, aiPathsAt, aliasTargetOf, ambiguityMessage, approvalKeyIn, approvalRecord, approvalVerdict, approvedStatuses, assertContainedProjectPath, assertProjectInitialized, attachRetiredMounts, backendCommand, backfillChainedSubprojectConfigs, backupBeside, bindDeclaredExternal, bodySitesOf, buildCanvasDataModel, buildProjectGraph, buildRuleContext, builtinProfileIds, builtinProjectKinds, callSitesOf, callersOf, canonicalTypeRef, canonicalTypeText, captureApprovedSpecs, carriedFactChanges, carryRetiredReachForms, checkDeclarativePack, clearLoaderIssues, cognitiveScore, complexityLevel, componentDesignView, componentEntryFor, composeAgentBrief, composeRuleSequence, computeGateStateId, computeOwnDesignStateId as computeOwnDesignId, computeOwnDesignStateIdAsRecorded as computeOwnDesignIdAsRecorded, computeOwnStateId, computeStateId, computeStateIdAt, conceptNoun, consumedContractInputs, containedPathOf, contentDigest, createAgentRecord, createEmptyRegistry, createEmptyTopologyConfig, createMember, createProjectConfig, currentRootBinding, declareExternal, declareMember, declaredExternals, declaredMembers, declaredPackNames, declaredProfileIds, declares, declaresGlobalPacks, defaultConformanceTier, defaultNarrativeDetail, defaultPackSelections, defaultTargetConfig, deleteSpec, demoteMember, dependencyCycles, deregisterPackRef, deriveExecutionProfile, deriveMethodSignature, deriveTypeSignature, derivedDocPaths, describeProject, detectDomainCandidates, diagnoseProjectPacks, diagramSetIndex, dialectOf, diffAgainstApproval, diffSize, discoverPacks, dryRunSerializeSpecs, effectiveDetail, effectiveProjectId, emptyExtensions, emptyTypeSpellingFacts, enclosing, ensureDir, ensureProjectInitialized, excerpt as excerptParent, exportDesign, exportSpecTree, exportSurface, exportTargetKey, exportUsage, externalizeSubsystem, extractTypeIdentifiers, factsFor, familyApprovals, familyNode, familyRelations, fieldTypeRefs, fieldTypesOf, findChainingParent, findChainingSubprojectsMissingConfig, findLegacySpecFiles, findProjectRoot, findSystemRoot, findTestsReferencing, fromProjectRoot, generateAgent, generateAll, generateComponentDiagram, generateDiagramSet, generateSequenceDiagram, getExporter, getExternalsStatus, getHostedLookup, getLoaderIssues, getProjectRoot, getProjectRootOverride, getRequestParentReach, getRequestProjectRoot, getSnapshot, getStatusReport, getWriteReach, globalGuideFilePath, globalPacksDir, globalPacksEnabled, globalTemplatesDir, hasContext, hasFunctionBody, headNoun, holdsState, implementationDesignView, implementationSourceFiles, importBindingOf, importNames, importSpecTree, importSurface, injectGuide, installPackFromDirectory, interfaceCanonicalTypes, interfaceDesignView, interfaceGenericParameters, internalizeMember, isDraftSubsystem, isInProcessAddress, isLogic, isOutsideRoot, isOwnComponentEntry, isPart, isPattern, isProjectInitialized, isProvidedBy, isRetired, isTypeVocabulary, judgesCode, keyIn, landReference, languageOfSourcePath, lineEndingFor, listDirectChainedSubprojects, listConsumers as listExternalConsumers, listExternals, listFiles, listFilesRecursive, listInstalledPacks, listPinnedExternals, listRules, listSnapshots, loadComponentSpec, loadComponentSpecs, loadExtensionPacks, loadExtensions, loadFor as loadExtensionsFor, loadImplementationSpec, loadImplementationSpecs, loadInterfaceSpec, loadInterfaceSpecs, loadProjectConfig, loadProjectExtensions, loadProjectVariants, loadRegistry, loadSpec, loadSpecGraph, loadSubsystemSpec, loadSubsystemSpecs, loadSystemSpec, loadTopologyConfig, loadTypeSpec, loadTypeSpecs, localApprover, localGuideFilePath, localTypesOf, logger, makeScopeFilter, markSelectionsBundled, matchTypeRef, measurePackDoctrine, measurePackImpact, memberDeclarationOf, memberDigest, memberLocationOf, memberTypesOf, methodCasingFor, methodGenericParameters, methodSourceFile, methodTypeRefs, migrate as migrateReachability, moveMember, moveMethods, moveMountToMembers, nameKey, namesAnInteger, narrativeStepForeignFields, normalizeReferences, ownerOf, packDirEntry, packEntryLabel, packEntryRef, manifestOf as packManifest, packStoreDir, parseDeclarativePack, parseDeclaredCall, parseMemberSource, parseTypeExpression, parseTypePosition, parseYaml, passesIntentFloor, pathExists, pathKey, pinExternals, pinInstalledPacksAsSelections, pinnedParent, producerOf, projectConfigExists, graph as projectFamily, projectIdentity, promoteMember, provisionProject, qualifiedTypeId, rangeProblem, readCodeAnnotation, readExternalSource, readFileOrNull, readJsonFile, readLockRecord, readLockState, readRetiredReachForms, readStampVersion, readYamlFile, recordProfileSelection, reexpress, registerExporter, registerPackRef, reinjectLocalGuides, relationHealth, removeDomain, removeExternal, removeMember, removePackSelection, removeSnapshot, renameAlias, renameComponent, renameField, renameProjectId as renameId, renameMethod, renameType, renderDiagram, repairForeignStepFields, repairSignatures, repairTypeSpellings, repointExternal, requiredPolicies, resolveAgentTopology, resolveBudget, resolveChainingParent, resolveDomains, resolveExpectedOutputPaths, resolveCandidate as resolveExternalCandidate, resolveDeclared as resolveExternals, resolveImport, resolveInstalledPack, resolveProjectBinding, resolveProjectExports, resolveSignatures, resolveSubprojectForNamespace, resolveSubsystemExports, resolveVariantGuidance, retireSpecialists, retiredInvocationReadAs, retiredMountsOf, retiredReachFacts, returnTypeOf, rewriteReferences, runWithHostedLookup, runWithProjectBinding, runWithProjectRoot, sameContract, saveSpec, saveTopologyConfig, scanAllSpecs, schemaFingerprint, selectsFamily, serializeYaml, setExecutionTier, setProjectId as setId, setLogLevel, setNetwork, setProjectRoot, setProjectType, settledSpecPaths, signatureFacts, signatureTypeRefs, specIndexRetiredBy, specPathsInScope, splitNamespace, stepConfigVerdict, stepFieldsFor, stepGraph, storedMethodSignature, storedTypeMethod, subsystemDesignView, syncContextFiles, technologyName, technologyTokens, toMarkdown, transportExportKind, transportKind, transportRequiresEndpoint, typeBindingOf, typeCanonicalTypes, typeDesignView, typeDialectFor, typeGenericParameters, typeIsMany, typeMappingFor, typeMatchesRef, typeNamedRefs, typeProblemEnumProposal, typeProblemIntProposal, typeSourceFiles, typeSpellingFacts, uninstallPack, updateMember, updateSpec, upsertPackSelection, validateAsComplete, validateComponentCandidate, validateFamily, validateProject, validateProjectConfig, validateRegistry, withLineEndings, withPack, writeFile, writeFileIfChanged, writeJsonFile, writeLockRecord, writeReachDenials, writeReachPermits, writeRootGuideDelegator, writeYamlFile, writtenTypeRefs };