@fenglimg/fabric-shared 2.3.0-rc.12 → 2.3.0-rc.16

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
@@ -1,5 +1,5 @@
1
- import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, S as StoreIdentity, c as StoreProject, G as GlobalConfig, F as FabricConfig, M as MountedStore, R as RequiredStoreEntry, d as AgentsMeta, L as LedgerEntry } from './index-B2e0wKJi.js';
2
- export { e as AgentsMetaCountersEnvelope, g as AgentsMetaKnowledgeTypeCounters, h as AiLedgerEntry, i as AuditMode, C as ClientPaths, D as DefaultLayerFilter, j as FabricLanguage, k as GLOBAL_BINDINGS_DIR, l as GLOBAL_STATE_DIR, m as HumanLedgerEntry, n as McpPayloadLimits, P as PERSONAL_STORE_SENTINEL, o as RecallScore, p as RecallScoreBreakdown, q as RuleDescription, r as RuleDescriptionIndexItem, s as STORES_ROOT_DIR, t as STORE_ALIAS_PATTERN, u as STORE_KNOWLEDGE_TYPE_DIRS, v as STORE_LAYOUT, w as STORE_MOUNT_GROUPS, x as STORE_MOUNT_NAME_PATTERN, y as STORE_PROJECT_ID_PATTERN, z as STORE_UUID_PATTERN, B as StoreLayout, E as StoreMountGroup, I as StoreProjectsFile, J as auditModeSchema, K as clientPathsSchema, N as defaultLayerFilterSchema, O as deriveMountLabel, Q as fabricConfigLoadSchema, T as fabricLanguageSchema, U as globalConfigSchema, V as isNonPersonalRequiredStore, W as mcpPayloadLimitsSchema, X as migrateRequiredStores, Y as mountedStoreSchema, Z as nudgeModeSchema, _ as observeConfigSchema, $ as planContextTopKSchema, a0 as requiredStoreEntrySchema, a1 as selectionTokenTtlMsSchema, a2 as storeAliasSchema, a3 as storeIdentitySchema, a4 as storeKnowledgeTypeDir, a5 as storeMountGroup, a6 as storeMountNameSchema, a7 as storeMountSubPath, a8 as storeProjectSchema, a9 as storeProjectsFileSchema, aa as storeRelativePath, ab as storeRelativePathForMount, ac as storeUuidSchema, ad as writeRouteSchema } from './index-B2e0wKJi.js';
1
+ import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, S as StoreIdentity, c as StoreProject, G as GlobalConfig, F as FabricConfig, M as MountedStore, R as RequiredStoreEntry, d as AgentsMeta, L as LedgerEntry } from './index-KvxqMZV1.js';
2
+ export { e as AgentsMetaCountersEnvelope, g as AgentsMetaKnowledgeTypeCounters, h as AiLedgerEntry, i as AuditMode, C as ClientPaths, D as DefaultLayerFilter, j as FabricLanguage, k as GLOBAL_BINDINGS_DIR, l as GLOBAL_STATE_DIR, m as HumanLedgerEntry, n as McpPayloadLimits, P as PERSONAL_STORE_SENTINEL, o as RecallScore, p as RecallScoreBreakdown, q as RuleDescription, r as RuleDescriptionIndexItem, s as STORES_ROOT_DIR, t as STORE_ALIAS_PATTERN, u as STORE_KNOWLEDGE_TYPE_DIRS, v as STORE_LAYOUT, w as STORE_MOUNT_GROUPS, x as STORE_MOUNT_NAME_PATTERN, y as STORE_PROJECT_ID_PATTERN, z as STORE_UUID_PATTERN, B as StoreLayout, E as StoreMountGroup, I as StoreProjectsFile, J as auditModeSchema, K as clientPathsSchema, N as defaultLayerFilterSchema, O as deriveMountLabel, Q as fabricConfigLoadSchema, T as fabricLanguageSchema, U as globalConfigSchema, V as isNonPersonalRequiredStore, W as mcpPayloadLimitsSchema, X as migrateRequiredStores, Y as mountedStoreSchema, Z as nudgeModeSchema, _ as observeConfigSchema, $ as planContextTopKSchema, a0 as requiredStoreEntrySchema, a1 as selectionTokenTtlMsSchema, a2 as storeAliasSchema, a3 as storeIdentitySchema, a4 as storeKnowledgeTypeDir, a5 as storeMountGroup, a6 as storeMountNameSchema, a7 as storeMountSubPath, a8 as storeProjectSchema, a9 as storeProjectsFileSchema, aa as storeRelativePath, ab as storeRelativePathForMount, ac as storeUuidSchema, ad as writeRouteSchema } from './index-KvxqMZV1.js';
3
3
  import { T as Translator } from './types-qg4xXVuT.js';
4
4
  export { L as Locale, M as Messages, a as TranslationKey } from './types-qg4xXVuT.js';
5
5
  export { PROTECTED_TOKENS, ProtectedToken, createTranslator, defaultMessages, detectNodeLocale, enMessages, normalizeLocale, resolveFabricLocale, resolveGlobalLocale, zhCNMessages } from './i18n/index.js';
@@ -1159,6 +1159,12 @@ interface PanelFieldMeta {
1159
1159
  readonly key: PanelFieldKey;
1160
1160
  /** Logical grouping for panel section headers. */
1161
1161
  readonly group: PanelFieldGroup;
1162
+ /**
1163
+ * JSON value type of the stored config value. Drives non-interactive
1164
+ * `fabric config --get/--set/--list` coercion + display; orthogonal to
1165
+ * `widget` (UI presentation) and `enum_values` (allowed set).
1166
+ */
1167
+ readonly type: "boolean" | "number" | "string";
1162
1168
  /** Clack widget hint — `select` for enums, `text` for free-form numbers. */
1163
1169
  readonly widget: "select" | "text";
1164
1170
  /** i18n key for the field label; strings landed in TASK-006. */
@@ -2787,27 +2793,17 @@ declare function readStoreCounters(storeDir: string): AgentsMetaCounters;
2787
2793
  * KnowledgeIdAllocator held over agents.meta).
2788
2794
  */
2789
2795
  declare function allocateStoreKnowledgeId(layer: Layer, type: KnowledgeType, storeDir: string): Promise<StableId>;
2790
- /**
2791
- * Floor a store's `counters.json` at the highest stable_id actually present on
2792
- * disk, persisting and returning the reconciled envelope.
2793
- *
2794
- * This is the producer↔consumer bridge (W4 F1): a BULK import
2795
- * writes entries whose ids were minted elsewhere (collision-remapped from
2796
- * disk-max) WITHOUT advancing this store's counters.json. Without reconciliation
2797
- * the next `allocateStoreKnowledgeId` would start from a stale zero and re-mint
2798
- * an already-present id. Flooring is also the self-heal `doctor` runs to repair a
2799
- * drifted ledger.
2800
- *
2801
- * Floor — never lower — preserves the monotonic invariant (KT-DEC-0004): a slot
2802
- * already advanced past disk-max (because the highest entry was deleted) keeps
2803
- * its higher value. Sync write (no lock) because the only callers run in
2804
- * exclusive one-shot contexts (post-migrate CLI step, `doctor --fix`).
2805
- */
2806
2796
  declare function reconcileStoreCounters(storeDir: string): AgentsMetaCounters;
2807
2797
 
2808
2798
  declare function resolveGlobalRoot(): string;
2809
2799
  declare function globalConfigPath(globalRoot?: string): string;
2810
2800
  declare function loadGlobalConfig(globalRoot?: string): GlobalConfig | null;
2801
+ /** Locked + atomic save — use from production CLI/server mutation paths. */
2802
+ declare function saveGlobalConfigAsync(config: GlobalConfig, globalRoot?: string): Promise<void>;
2803
+ /**
2804
+ * Sync save for tests/fixtures. Atomic (tmp+rename) but no wait-lock.
2805
+ * Production writers should use {@link saveGlobalConfigAsync}.
2806
+ */
2811
2807
  declare function saveGlobalConfig(config: GlobalConfig, globalRoot?: string): void;
2812
2808
 
2813
2809
  declare function projectConfigPath(projectRoot: string): string;
@@ -2827,6 +2823,17 @@ declare function redactSecrets(content: string): string;
2827
2823
  declare function redactPii(content: string): string;
2828
2824
  declare function scrubRemoteUrl(remote: string): string;
2829
2825
 
2826
+ /**
2827
+ * ISS-20260713-005: protocol allowlist for git remotes used by
2828
+ * `fabric install --global <url>` / store create --remote / git remote add.
2829
+ *
2830
+ * `git clone -- <url>` only blocks option injection; `ext::`, `file://`, and
2831
+ * other helpers remain executable as a repository argument. Reject anything
2832
+ * outside https / http / ssh / scp-like git@host:path / git:// before spawn.
2833
+ */
2834
+ declare function isAllowedGitRemote(remote: string): boolean;
2835
+ declare function assertAllowedGitRemote(remote: string): string;
2836
+
2830
2837
  type ScanRecommendationInput = {
2831
2838
  frameworkKind: string;
2832
2839
  hasMeta?: boolean;
@@ -2896,7 +2903,7 @@ declare const knowledgeProvenanceSchema: z.ZodObject<{
2896
2903
  }>;
2897
2904
  type KnowledgeProvenance = z.infer<typeof knowledgeProvenanceSchema>;
2898
2905
 
2899
- declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_propose", "fab_review"];
2906
+ declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_propose", "fab_review", "fab_pending"];
2900
2907
  type McpStoreAwareTool = (typeof MCP_STORE_AWARE_TOOLS)[number];
2901
2908
  declare const storeAwareEntrySchema: z.ZodObject<{
2902
2909
  stable_id: z.ZodString;
@@ -8556,6 +8563,222 @@ declare const fileMutatedEventSchema: z.ZodObject<{
8556
8563
  source_event_id?: string | undefined;
8557
8564
  store_id?: string | undefined;
8558
8565
  }>;
8566
+ declare const storeMountedEventSchema: z.ZodObject<{
8567
+ event_type: z.ZodLiteral<"store_mounted">;
8568
+ alias: z.ZodString;
8569
+ store_uuid: z.ZodString;
8570
+ personal: z.ZodOptional<z.ZodBoolean>;
8571
+ source: z.ZodOptional<z.ZodString>;
8572
+ kind: z.ZodLiteral<"fabric-event">;
8573
+ id: z.ZodString;
8574
+ ts: z.ZodNumber;
8575
+ schema_version: z.ZodLiteral<1>;
8576
+ correlation_id: z.ZodOptional<z.ZodString>;
8577
+ session_id: z.ZodOptional<z.ZodString>;
8578
+ }, "strip", z.ZodTypeAny, {
8579
+ store_uuid: string;
8580
+ id: string;
8581
+ alias: string;
8582
+ ts: number;
8583
+ schema_version: 1;
8584
+ kind: "fabric-event";
8585
+ event_type: "store_mounted";
8586
+ personal?: boolean | undefined;
8587
+ correlation_id?: string | undefined;
8588
+ session_id?: string | undefined;
8589
+ source?: string | undefined;
8590
+ }, {
8591
+ store_uuid: string;
8592
+ id: string;
8593
+ alias: string;
8594
+ ts: number;
8595
+ schema_version: 1;
8596
+ kind: "fabric-event";
8597
+ event_type: "store_mounted";
8598
+ personal?: boolean | undefined;
8599
+ correlation_id?: string | undefined;
8600
+ session_id?: string | undefined;
8601
+ source?: string | undefined;
8602
+ }>;
8603
+ declare const storeDetachedEventSchema: z.ZodObject<{
8604
+ event_type: z.ZodLiteral<"store_detached">;
8605
+ alias: z.ZodString;
8606
+ store_uuid: z.ZodOptional<z.ZodString>;
8607
+ source: z.ZodOptional<z.ZodString>;
8608
+ kind: z.ZodLiteral<"fabric-event">;
8609
+ id: z.ZodString;
8610
+ ts: z.ZodNumber;
8611
+ schema_version: z.ZodLiteral<1>;
8612
+ correlation_id: z.ZodOptional<z.ZodString>;
8613
+ session_id: z.ZodOptional<z.ZodString>;
8614
+ }, "strip", z.ZodTypeAny, {
8615
+ id: string;
8616
+ alias: string;
8617
+ ts: number;
8618
+ schema_version: 1;
8619
+ kind: "fabric-event";
8620
+ event_type: "store_detached";
8621
+ store_uuid?: string | undefined;
8622
+ correlation_id?: string | undefined;
8623
+ session_id?: string | undefined;
8624
+ source?: string | undefined;
8625
+ }, {
8626
+ id: string;
8627
+ alias: string;
8628
+ ts: number;
8629
+ schema_version: 1;
8630
+ kind: "fabric-event";
8631
+ event_type: "store_detached";
8632
+ store_uuid?: string | undefined;
8633
+ correlation_id?: string | undefined;
8634
+ session_id?: string | undefined;
8635
+ source?: string | undefined;
8636
+ }>;
8637
+ declare const storeBoundEventSchema: z.ZodObject<{
8638
+ event_type: z.ZodLiteral<"store_bound">;
8639
+ alias: z.ZodString;
8640
+ store_uuid: z.ZodOptional<z.ZodString>;
8641
+ project: z.ZodOptional<z.ZodString>;
8642
+ source: z.ZodOptional<z.ZodString>;
8643
+ kind: z.ZodLiteral<"fabric-event">;
8644
+ id: z.ZodString;
8645
+ ts: z.ZodNumber;
8646
+ schema_version: z.ZodLiteral<1>;
8647
+ correlation_id: z.ZodOptional<z.ZodString>;
8648
+ session_id: z.ZodOptional<z.ZodString>;
8649
+ }, "strip", z.ZodTypeAny, {
8650
+ id: string;
8651
+ alias: string;
8652
+ ts: number;
8653
+ schema_version: 1;
8654
+ kind: "fabric-event";
8655
+ event_type: "store_bound";
8656
+ store_uuid?: string | undefined;
8657
+ project?: string | undefined;
8658
+ correlation_id?: string | undefined;
8659
+ session_id?: string | undefined;
8660
+ source?: string | undefined;
8661
+ }, {
8662
+ id: string;
8663
+ alias: string;
8664
+ ts: number;
8665
+ schema_version: 1;
8666
+ kind: "fabric-event";
8667
+ event_type: "store_bound";
8668
+ store_uuid?: string | undefined;
8669
+ project?: string | undefined;
8670
+ correlation_id?: string | undefined;
8671
+ session_id?: string | undefined;
8672
+ source?: string | undefined;
8673
+ }>;
8674
+ declare const writeStoreSwitchedEventSchema: z.ZodObject<{
8675
+ event_type: z.ZodLiteral<"write_store_switched">;
8676
+ alias: z.ZodString;
8677
+ previous_alias: z.ZodOptional<z.ZodString>;
8678
+ switch_kind: z.ZodOptional<z.ZodEnum<["project_write", "personal"]>>;
8679
+ source: z.ZodOptional<z.ZodString>;
8680
+ kind: z.ZodLiteral<"fabric-event">;
8681
+ id: z.ZodString;
8682
+ ts: z.ZodNumber;
8683
+ schema_version: z.ZodLiteral<1>;
8684
+ correlation_id: z.ZodOptional<z.ZodString>;
8685
+ session_id: z.ZodOptional<z.ZodString>;
8686
+ }, "strip", z.ZodTypeAny, {
8687
+ id: string;
8688
+ alias: string;
8689
+ ts: number;
8690
+ schema_version: 1;
8691
+ kind: "fabric-event";
8692
+ event_type: "write_store_switched";
8693
+ correlation_id?: string | undefined;
8694
+ session_id?: string | undefined;
8695
+ source?: string | undefined;
8696
+ previous_alias?: string | undefined;
8697
+ switch_kind?: "personal" | "project_write" | undefined;
8698
+ }, {
8699
+ id: string;
8700
+ alias: string;
8701
+ ts: number;
8702
+ schema_version: 1;
8703
+ kind: "fabric-event";
8704
+ event_type: "write_store_switched";
8705
+ correlation_id?: string | undefined;
8706
+ session_id?: string | undefined;
8707
+ source?: string | undefined;
8708
+ previous_alias?: string | undefined;
8709
+ switch_kind?: "personal" | "project_write" | undefined;
8710
+ }>;
8711
+ declare const writeRouteChangedEventSchema: z.ZodObject<{
8712
+ event_type: z.ZodLiteral<"write_route_changed">;
8713
+ scope: z.ZodString;
8714
+ alias: z.ZodString;
8715
+ previous_alias: z.ZodOptional<z.ZodString>;
8716
+ source: z.ZodOptional<z.ZodString>;
8717
+ kind: z.ZodLiteral<"fabric-event">;
8718
+ id: z.ZodString;
8719
+ ts: z.ZodNumber;
8720
+ schema_version: z.ZodLiteral<1>;
8721
+ correlation_id: z.ZodOptional<z.ZodString>;
8722
+ session_id: z.ZodOptional<z.ZodString>;
8723
+ }, "strip", z.ZodTypeAny, {
8724
+ id: string;
8725
+ alias: string;
8726
+ scope: string;
8727
+ ts: number;
8728
+ schema_version: 1;
8729
+ kind: "fabric-event";
8730
+ event_type: "write_route_changed";
8731
+ correlation_id?: string | undefined;
8732
+ session_id?: string | undefined;
8733
+ source?: string | undefined;
8734
+ previous_alias?: string | undefined;
8735
+ }, {
8736
+ id: string;
8737
+ alias: string;
8738
+ scope: string;
8739
+ ts: number;
8740
+ schema_version: 1;
8741
+ kind: "fabric-event";
8742
+ event_type: "write_route_changed";
8743
+ correlation_id?: string | undefined;
8744
+ session_id?: string | undefined;
8745
+ source?: string | undefined;
8746
+ previous_alias?: string | undefined;
8747
+ }>;
8748
+ declare const narrowHintFailedEventSchema: z.ZodObject<{
8749
+ event_type: z.ZodLiteral<"narrow_hint_failed">;
8750
+ hook_name: z.ZodString;
8751
+ reason: z.ZodString;
8752
+ bin: z.ZodOptional<z.ZodString>;
8753
+ kind: z.ZodLiteral<"fabric-event">;
8754
+ id: z.ZodString;
8755
+ ts: z.ZodNumber;
8756
+ schema_version: z.ZodLiteral<1>;
8757
+ correlation_id: z.ZodOptional<z.ZodString>;
8758
+ session_id: z.ZodOptional<z.ZodString>;
8759
+ }, "strip", z.ZodTypeAny, {
8760
+ id: string;
8761
+ reason: string;
8762
+ ts: number;
8763
+ schema_version: 1;
8764
+ kind: "fabric-event";
8765
+ event_type: "narrow_hint_failed";
8766
+ hook_name: string;
8767
+ correlation_id?: string | undefined;
8768
+ session_id?: string | undefined;
8769
+ bin?: string | undefined;
8770
+ }, {
8771
+ id: string;
8772
+ reason: string;
8773
+ ts: number;
8774
+ schema_version: 1;
8775
+ kind: "fabric-event";
8776
+ event_type: "narrow_hint_failed";
8777
+ hook_name: string;
8778
+ correlation_id?: string | undefined;
8779
+ session_id?: string | undefined;
8780
+ bin?: string | undefined;
8781
+ }>;
8559
8782
  declare const knowledgeBodyReadEventSchema: z.ZodObject<{
8560
8783
  event_type: z.ZodLiteral<"knowledge_body_read">;
8561
8784
  stable_id: z.ZodString;
@@ -10720,6 +10943,216 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10720
10943
  tool_name?: string | undefined;
10721
10944
  source_event_id?: string | undefined;
10722
10945
  store_id?: string | undefined;
10946
+ }>, z.ZodObject<{
10947
+ event_type: z.ZodLiteral<"store_mounted">;
10948
+ alias: z.ZodString;
10949
+ store_uuid: z.ZodString;
10950
+ personal: z.ZodOptional<z.ZodBoolean>;
10951
+ source: z.ZodOptional<z.ZodString>;
10952
+ kind: z.ZodLiteral<"fabric-event">;
10953
+ id: z.ZodString;
10954
+ ts: z.ZodNumber;
10955
+ schema_version: z.ZodLiteral<1>;
10956
+ correlation_id: z.ZodOptional<z.ZodString>;
10957
+ session_id: z.ZodOptional<z.ZodString>;
10958
+ }, "strip", z.ZodTypeAny, {
10959
+ store_uuid: string;
10960
+ id: string;
10961
+ alias: string;
10962
+ ts: number;
10963
+ schema_version: 1;
10964
+ kind: "fabric-event";
10965
+ event_type: "store_mounted";
10966
+ personal?: boolean | undefined;
10967
+ correlation_id?: string | undefined;
10968
+ session_id?: string | undefined;
10969
+ source?: string | undefined;
10970
+ }, {
10971
+ store_uuid: string;
10972
+ id: string;
10973
+ alias: string;
10974
+ ts: number;
10975
+ schema_version: 1;
10976
+ kind: "fabric-event";
10977
+ event_type: "store_mounted";
10978
+ personal?: boolean | undefined;
10979
+ correlation_id?: string | undefined;
10980
+ session_id?: string | undefined;
10981
+ source?: string | undefined;
10982
+ }>, z.ZodObject<{
10983
+ event_type: z.ZodLiteral<"store_detached">;
10984
+ alias: z.ZodString;
10985
+ store_uuid: z.ZodOptional<z.ZodString>;
10986
+ source: z.ZodOptional<z.ZodString>;
10987
+ kind: z.ZodLiteral<"fabric-event">;
10988
+ id: z.ZodString;
10989
+ ts: z.ZodNumber;
10990
+ schema_version: z.ZodLiteral<1>;
10991
+ correlation_id: z.ZodOptional<z.ZodString>;
10992
+ session_id: z.ZodOptional<z.ZodString>;
10993
+ }, "strip", z.ZodTypeAny, {
10994
+ id: string;
10995
+ alias: string;
10996
+ ts: number;
10997
+ schema_version: 1;
10998
+ kind: "fabric-event";
10999
+ event_type: "store_detached";
11000
+ store_uuid?: string | undefined;
11001
+ correlation_id?: string | undefined;
11002
+ session_id?: string | undefined;
11003
+ source?: string | undefined;
11004
+ }, {
11005
+ id: string;
11006
+ alias: string;
11007
+ ts: number;
11008
+ schema_version: 1;
11009
+ kind: "fabric-event";
11010
+ event_type: "store_detached";
11011
+ store_uuid?: string | undefined;
11012
+ correlation_id?: string | undefined;
11013
+ session_id?: string | undefined;
11014
+ source?: string | undefined;
11015
+ }>, z.ZodObject<{
11016
+ event_type: z.ZodLiteral<"store_bound">;
11017
+ alias: z.ZodString;
11018
+ store_uuid: z.ZodOptional<z.ZodString>;
11019
+ project: z.ZodOptional<z.ZodString>;
11020
+ source: z.ZodOptional<z.ZodString>;
11021
+ kind: z.ZodLiteral<"fabric-event">;
11022
+ id: z.ZodString;
11023
+ ts: z.ZodNumber;
11024
+ schema_version: z.ZodLiteral<1>;
11025
+ correlation_id: z.ZodOptional<z.ZodString>;
11026
+ session_id: z.ZodOptional<z.ZodString>;
11027
+ }, "strip", z.ZodTypeAny, {
11028
+ id: string;
11029
+ alias: string;
11030
+ ts: number;
11031
+ schema_version: 1;
11032
+ kind: "fabric-event";
11033
+ event_type: "store_bound";
11034
+ store_uuid?: string | undefined;
11035
+ project?: string | undefined;
11036
+ correlation_id?: string | undefined;
11037
+ session_id?: string | undefined;
11038
+ source?: string | undefined;
11039
+ }, {
11040
+ id: string;
11041
+ alias: string;
11042
+ ts: number;
11043
+ schema_version: 1;
11044
+ kind: "fabric-event";
11045
+ event_type: "store_bound";
11046
+ store_uuid?: string | undefined;
11047
+ project?: string | undefined;
11048
+ correlation_id?: string | undefined;
11049
+ session_id?: string | undefined;
11050
+ source?: string | undefined;
11051
+ }>, z.ZodObject<{
11052
+ event_type: z.ZodLiteral<"write_store_switched">;
11053
+ alias: z.ZodString;
11054
+ previous_alias: z.ZodOptional<z.ZodString>;
11055
+ switch_kind: z.ZodOptional<z.ZodEnum<["project_write", "personal"]>>;
11056
+ source: z.ZodOptional<z.ZodString>;
11057
+ kind: z.ZodLiteral<"fabric-event">;
11058
+ id: z.ZodString;
11059
+ ts: z.ZodNumber;
11060
+ schema_version: z.ZodLiteral<1>;
11061
+ correlation_id: z.ZodOptional<z.ZodString>;
11062
+ session_id: z.ZodOptional<z.ZodString>;
11063
+ }, "strip", z.ZodTypeAny, {
11064
+ id: string;
11065
+ alias: string;
11066
+ ts: number;
11067
+ schema_version: 1;
11068
+ kind: "fabric-event";
11069
+ event_type: "write_store_switched";
11070
+ correlation_id?: string | undefined;
11071
+ session_id?: string | undefined;
11072
+ source?: string | undefined;
11073
+ previous_alias?: string | undefined;
11074
+ switch_kind?: "personal" | "project_write" | undefined;
11075
+ }, {
11076
+ id: string;
11077
+ alias: string;
11078
+ ts: number;
11079
+ schema_version: 1;
11080
+ kind: "fabric-event";
11081
+ event_type: "write_store_switched";
11082
+ correlation_id?: string | undefined;
11083
+ session_id?: string | undefined;
11084
+ source?: string | undefined;
11085
+ previous_alias?: string | undefined;
11086
+ switch_kind?: "personal" | "project_write" | undefined;
11087
+ }>, z.ZodObject<{
11088
+ event_type: z.ZodLiteral<"write_route_changed">;
11089
+ scope: z.ZodString;
11090
+ alias: z.ZodString;
11091
+ previous_alias: z.ZodOptional<z.ZodString>;
11092
+ source: z.ZodOptional<z.ZodString>;
11093
+ kind: z.ZodLiteral<"fabric-event">;
11094
+ id: z.ZodString;
11095
+ ts: z.ZodNumber;
11096
+ schema_version: z.ZodLiteral<1>;
11097
+ correlation_id: z.ZodOptional<z.ZodString>;
11098
+ session_id: z.ZodOptional<z.ZodString>;
11099
+ }, "strip", z.ZodTypeAny, {
11100
+ id: string;
11101
+ alias: string;
11102
+ scope: string;
11103
+ ts: number;
11104
+ schema_version: 1;
11105
+ kind: "fabric-event";
11106
+ event_type: "write_route_changed";
11107
+ correlation_id?: string | undefined;
11108
+ session_id?: string | undefined;
11109
+ source?: string | undefined;
11110
+ previous_alias?: string | undefined;
11111
+ }, {
11112
+ id: string;
11113
+ alias: string;
11114
+ scope: string;
11115
+ ts: number;
11116
+ schema_version: 1;
11117
+ kind: "fabric-event";
11118
+ event_type: "write_route_changed";
11119
+ correlation_id?: string | undefined;
11120
+ session_id?: string | undefined;
11121
+ source?: string | undefined;
11122
+ previous_alias?: string | undefined;
11123
+ }>, z.ZodObject<{
11124
+ event_type: z.ZodLiteral<"narrow_hint_failed">;
11125
+ hook_name: z.ZodString;
11126
+ reason: z.ZodString;
11127
+ bin: z.ZodOptional<z.ZodString>;
11128
+ kind: z.ZodLiteral<"fabric-event">;
11129
+ id: z.ZodString;
11130
+ ts: z.ZodNumber;
11131
+ schema_version: z.ZodLiteral<1>;
11132
+ correlation_id: z.ZodOptional<z.ZodString>;
11133
+ session_id: z.ZodOptional<z.ZodString>;
11134
+ }, "strip", z.ZodTypeAny, {
11135
+ id: string;
11136
+ reason: string;
11137
+ ts: number;
11138
+ schema_version: 1;
11139
+ kind: "fabric-event";
11140
+ event_type: "narrow_hint_failed";
11141
+ hook_name: string;
11142
+ correlation_id?: string | undefined;
11143
+ session_id?: string | undefined;
11144
+ bin?: string | undefined;
11145
+ }, {
11146
+ id: string;
11147
+ reason: string;
11148
+ ts: number;
11149
+ schema_version: 1;
11150
+ kind: "fabric-event";
11151
+ event_type: "narrow_hint_failed";
11152
+ hook_name: string;
11153
+ correlation_id?: string | undefined;
11154
+ session_id?: string | undefined;
11155
+ bin?: string | undefined;
10723
11156
  }>, z.ZodObject<{
10724
11157
  event_type: z.ZodLiteral<"knowledge_body_read">;
10725
11158
  stable_id: z.ZodString;
@@ -10869,10 +11302,16 @@ type LlmJudgeRunEvent = z.infer<typeof llmJudgeRunEventSchema>;
10869
11302
  type ClientCapabilitySnapshotEvent = z.infer<typeof clientCapabilitySnapshotEventSchema>;
10870
11303
  type SessionEndedEvent = z.infer<typeof sessionEndedEventSchema>;
10871
11304
  type FileMutatedEvent = z.infer<typeof fileMutatedEventSchema>;
11305
+ type StoreMountedEvent = z.infer<typeof storeMountedEventSchema>;
11306
+ type StoreDetachedEvent = z.infer<typeof storeDetachedEventSchema>;
11307
+ type StoreBoundEvent = z.infer<typeof storeBoundEventSchema>;
11308
+ type WriteStoreSwitchedEvent = z.infer<typeof writeStoreSwitchedEventSchema>;
11309
+ type WriteRouteChangedEvent = z.infer<typeof writeRouteChangedEventSchema>;
11310
+ type NarrowHintFailedEvent = z.infer<typeof narrowHintFailedEventSchema>;
10872
11311
  type KnowledgeBodyReadEvent = z.infer<typeof knowledgeBodyReadEventSchema>;
10873
11312
  type PrecompactObservedEvent = z.infer<typeof precompactObservedEventSchema>;
10874
11313
  type GraphEdgeCandidateRequestedEvent = z.infer<typeof graphEdgeCandidateRequestedEventSchema>;
10875
- type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeModifiedEvent | KnowledgeLayerChangedEvent | KnowledgeIdRedirectEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeUnarchivedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent | HookSurfaceEmittedEvent | HookSignalEmittedEvent | McpStdioTraceEvent | PayloadGuardObservedEvent | SkillInvocationStartedEvent | SkillInvocationCompletedEvent | SkillPhaseTransitionEvent | SkillTriggerCandidateEvent | LlmJudgeRunEvent | ClientCapabilitySnapshotEvent | SessionEndedEvent | FileMutatedEvent | KnowledgeBodyReadEvent | PrecompactObservedEvent | GraphEdgeCandidateRequestedEvent;
11314
+ type EventLedgerEvent = KnowledgeContextPlannedEvent | KnowledgeSelectionEvent | KnowledgeSectionsFetchedEvent | EditIntentCheckedEvent | KnowledgeDriftDetectedEvent | McpEventLedgerEvent | ReapplyCompletedEvent | InstallDiffAppliedEvent | EventLedgerTruncatedEvent | MetaReconciledOnStartupEvent | MetaReconciledEvent | ClaudeSkillPathMigratedEvent | ClaudeHookPathMigratedEvent | CodexSkillPathMigratedEvent | InitScanCompletedEvent | KnowledgeProposedEvent | KnowledgePromoteStartedEvent | KnowledgePromotedEvent | KnowledgePromoteFailedEvent | KnowledgeModifiedEvent | KnowledgeLayerChangedEvent | KnowledgeIdRedirectEvent | KnowledgeSlugRenamedEvent | KnowledgeDemotedEvent | KnowledgeArchivedEvent | KnowledgeArchiveAttemptedEvent | KnowledgeUnarchivedEvent | KnowledgeDeferredEvent | KnowledgeRejectedEvent | KnowledgeConsumedEvent | KnowledgeScopeDegradedEvent | PendingAutoArchivedEvent | KnowledgePathDangledEvent | DoctorRunEvent | RelevanceMigrationRunEvent | AssistantTurnObservedEvent | CitePolicyActivatedEvent | CiteContractPolicyActivatedEvent | KnowledgeMetaAutoHealedEvent | EventsRotatedEvent | ServeLockClearedEvent | KnowledgeEnrichedEvent | SessionArchiveAttemptedEvent | HookSurfaceEmittedEvent | HookSignalEmittedEvent | McpStdioTraceEvent | PayloadGuardObservedEvent | SkillInvocationStartedEvent | SkillInvocationCompletedEvent | SkillPhaseTransitionEvent | SkillTriggerCandidateEvent | LlmJudgeRunEvent | ClientCapabilitySnapshotEvent | SessionEndedEvent | FileMutatedEvent | StoreMountedEvent | StoreDetachedEvent | StoreBoundEvent | WriteStoreSwitchedEvent | WriteRouteChangedEvent | NarrowHintFailedEvent | KnowledgeBodyReadEvent | PrecompactObservedEvent | GraphEdgeCandidateRequestedEvent;
10876
11315
  type EventLedgerEventType = EventLedgerEvent["event_type"];
10877
11316
  type EventLedgerEventInputFor<T extends EventLedgerEvent> = T extends EventLedgerEvent ? Omit<T, "kind" | "id" | "ts" | "schema_version" | "correlation_id" | "session_id"> & Partial<Pick<T, "id" | "ts" | "correlation_id" | "session_id">> : never;
10878
11317
  type EventLedgerEventInput = EventLedgerEventInputFor<EventLedgerEvent>;
@@ -10935,4 +11374,4 @@ declare function isHighValueArchiveCandidate(events: unknown, sessionId: string
10935
11374
  */
10936
11375
  declare function tokenize(text: string): string[];
10937
11376
 
10938
- export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type ClientCapabilitySnapshotEvent, type CodexSkillPathMigratedEvent, type CrossStoreLintInput, type CrossStoreRefViolation, type DebugBundle, type DebugBundleInput, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EntryLayer, type EntryScopeMetadata, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, FabricConfig, type FabricConfigSchemaShape, type FabricEvent, type FailureStage, type FailureTrace, type FileMutatedEvent, type FindStoreExecutableViolationsOptions, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, GLOBAL_REF_PATTERN, GlobalConfig, type GlobalRef, type GraphEdgeCandidateRequestedEvent, type HookSignalEmittedEvent, type HookSurfaceEmittedEvent, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InitStoreOptions, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, KNOWN_SCOPE_PREFIXES, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeBodyReadEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeIdRedirectEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgeModifiedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeProvenance, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, type KnowledgeUnarchivedEvent, Layer, type LedgerAppendedEvent, LedgerEntry, type LlmJudgeRunEvent, type LocalKnowledgeId, type LockApprovedEvent, type LockDriftEvent, MCP_STORE_AWARE_CONTRACTS, MCP_STORE_AWARE_TOOLS, type McpEventLedgerEvent, type McpStdioTraceEvent, type McpStoreAwareContract, type McpStoreAwareTool, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, MountedStore, type MountedStoreDir, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, PARITY_CLIENTS, PARITY_SURFACES, PERSONAL_SCOPE, PROJECT_ROOT_SIGNALS, type PanelFieldGroup, type PanelFieldKey, type PanelFieldMeta, type ParityCapability, type ParityClient, type ParityClientExpectation, type ParityMatrix, type ParitySurface, type ParseCiteLineResult, type ParsedGlobalRef, type PayloadGuardObservedEvent, type PendingAutoArchivedEvent, type PrecompactObservedEvent, type ProjectRootGoldenCase, type ProjectRootResolution, type ProjectRootResolver, type ProjectRootSignal, type ProjectRootSignals, type QualifiedCandidate, type QualifiedIdResolution, REDACTION_PLACEHOLDER_PREFIX, type ReadSetEntry, type ReadSetGoldenCase, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, RequiredStoreEntry, type ResolutionCandidate, type ResolutionResult, type ResolutionWarning, type ResolveOptions, type ResolvedBindingsSnapshot, type ResolvedEntry, SCOPE_COORDINATE_HINT, SCOPE_COORDINATE_PATTERN, STORE_GITIGNORE, STORE_PENDING_DIR, STORE_RESOLVER_WARNING_CODES, type ScanRecommendationInput, type ScopeCoordinate, type SecretFinding, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, type SessionEndedEvent, type SkillInvocationCompletedEvent, type SkillInvocationStartedEvent, type SkillPhaseTransitionEvent, type SkillTriggerCandidateEvent, StableId, type StoreAwareEntry, type StoreCounters, type StoreExplain, StoreIdentity, type StoreKnowledgeRef, StoreProject, type StoreReadSet, type StoreResolveInput, type StoreResolver, type StoreResolverWarning, type StoreResolverWarningCode, type StoreVisibility, Translator, UID_SEGMENT_PATTERN, type Uid, type ValidateResult, type WriteBindingsSnapshotOptions, type WriteTarget, type WrittenToStore, addMountedStore, addStoreProject, agentsIdentitySourceSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aggregatePendingAcrossStores, aiLedgerEntrySchema, allocateKnowledgeId, allocateStoreKnowledgeId, assistantTurnObservedEventSchema, bindRequiredStore, bindingsSnapshotPath, buildDebugBundle, buildFailureTrace, buildScanRecommendations, buildStoreResolveInput, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, clientCapabilitySnapshotEventSchema, codexSkillPathMigratedEventSchema, createProjectRootResolver, createStoreResolver, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, detachMountedStore, disambiguateAlias, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, entryScopeMetadataSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, explainStore, fabricConfigSchema, fabricEventSchema, fileMutatedEventSchema, findMountedStore, findStoreExecutableViolations, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, formatGlobalRef, getPanelFieldByKey, getPanelFields, globalConfigPath, globalRefSchema, graphEdgeCandidateRequestedEventSchema, hasSecrets, hookSignalEmittedEventSchema, hookSurfaceEmittedEventSchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, initStore, installDiffAppliedEventSchema, isHighValueArchiveCandidate, isKnowledgeStableId, isPersonalLeakIntoSharedStore, isPersonalScope, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeBodyReadEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeIdRedirectEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgeModifiedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeProvenanceSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, knowledgeUnarchivedEventSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lintCrossStoreReferences, listStoreKnowledge, llmJudgeRunEventSchema, loadGlobalConfig, loadProjectConfig, localKnowledgeIdSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpEventLedgerEventSchema, mcpStdioTraceEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, normalizeCiteTag, onboardSlotSchema, parityCapabilitySchema, parityClientExpectationSchema, parityClientSchema, parityMatrixSchema, paritySurfaceSchema, parseCiteLine, parseGlobalRef, payloadGuardObservedEventSchema, pendingAutoArchivedEventSchema, precompactObservedEventSchema, projectConfigPath, projectRootGoldenCaseSchema, projectRootGoldenFileSchema, projectRootResolutionSchema, projectRootSignalSchema, projectRootSignalsSchema, readBindingsSnapshot, readKnowledgeAcrossStores, readSetEntrySchema, readSetGoldenCaseSchema, readSetGoldenFileSchema, readStoreCounters, readStoreIdentity, readStoreIdentityAsync, readStoreProjects, reapplyCompletedEventSchema, recognizeStoreDir, reconcileStoreCounters, redactPii, redactSecrets, relevanceMigrationRunEventSchema, resolveCandidates, resolveGlobalRoot, resolveStoreQualifiedId, resolveWorkspaceBindingId, resolvedBindingsSnapshotSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, saveGlobalConfig, saveProjectConfig, scanForSecrets, scopeCoordinateSchema, scopeRoot, scrubRemoteUrl, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, sessionEndedEventSchema, skillInvocationCompletedEventSchema, skillInvocationStartedEventSchema, skillPhaseTransitionEventSchema, skillTriggerCandidateEventSchema, storeAwareEntrySchema, storeCountersPath, storeCountersSchema, storeHasProject, storeReadSetSchema, storeResolveInputSchema, storeResolverWarningCodeSchema, storeResolverWarningSchema, tokenize, uidSchema, withDerivedAgentsMetaNodeDefaults, writeBindingsSnapshot, writeTargetSchema, writtenToStoreSchema };
11377
+ export { AGENTS_META_IDENTITY_SOURCES, AGENTS_META_TOPOLOGY_TYPES, AgentsIdentitySource, AgentsMeta, type AgentsMetaCounters, AgentsMetaCountersSchema, AgentsMetaNode, AgentsTopologyType, type AssistantTurnObservedEvent, type CandidateFileEntry, type CandidateFileFamily, type CiteCommitment, type CiteCommitmentOperator, type CiteCommitmentOperatorKind, type CiteContractPolicyActivatedEvent, type CitePolicyActivatedEvent, type CiteTag, type ClaudeHookPathMigratedEvent, type ClaudeSkillPathMigratedEvent, type ClientCapabilitySnapshotEvent, type CodexSkillPathMigratedEvent, type CrossStoreLintInput, type CrossStoreRefViolation, type DebugBundle, type DebugBundleInput, type DoctorRunEvent, type DriftDetectedEvent, type EditIntentCheckedEvent, type EntryLayer, type EntryScopeMetadata, type EventLedgerEvent, type EventLedgerEventInput, type EventLedgerEventType, type EventLedgerTruncatedEvent, type EventsRotatedEvent, FabricConfig, type FabricConfigSchemaShape, type FabricEvent, type FailureStage, type FailureTrace, type FileMutatedEvent, type FindStoreExecutableViolationsOptions, type ForensicAssertion, type ForensicAssertionConfidence, type ForensicAssertionCoverage, type ForensicAssertionType, type ForensicCodeSample, type ForensicEntryPoint, type ForensicEvidenceAnchor, type ForensicFramework, type ForensicReadme, type ForensicReport, type ForensicSamplingBudget, type ForensicTopology, GLOBAL_REF_PATTERN, GlobalConfig, type GlobalRef, type GraphEdgeCandidateRequestedEvent, type HookSignalEmittedEvent, type HookSurfaceEmittedEvent, HumanLockEntry, type HumanLockFile, type InitContext, type InitContextDomainGroup, type InitContextFramework, type InitContextInterviewTrailEntry, type InitContextInvariant, type InitContextInvariantConfidenceSnapshot, type InitContextSourceEvidence, type InitScanCompletedEvent, type InitStoreOptions, type InstallDiffAppliedEvent, KNOWLEDGE_TEST_INDEX_SCHEMA_VERSION, KNOWN_SCOPE_PREFIXES, type KnowledgeArchiveAttemptedEvent, type KnowledgeArchivedEvent, type KnowledgeBodyReadEvent, type KnowledgeConsumedEvent, type KnowledgeContextPlannedEvent, type KnowledgeDeferredEvent, type KnowledgeDemotedEvent, type KnowledgeDriftDetectedEvent, type KnowledgeEnrichedEvent, type KnowledgeIdRedirectEvent, type KnowledgeLayerChangedEvent, type KnowledgeMetaAutoHealedEvent, type KnowledgeModifiedEvent, type KnowledgePathDangledEvent, type KnowledgePromoteFailedEvent, type KnowledgePromoteStartedEvent, type KnowledgePromotedEvent, type KnowledgeProposedEvent, type KnowledgeProvenance, type KnowledgeRejectedEvent, type KnowledgeScopeDegradedEvent, type KnowledgeSectionsFetchedEvent, type KnowledgeSelectionEvent, type KnowledgeSlugRenamedEvent, type KnowledgeTestIndex, type KnowledgeTestLink, type KnowledgeTestOrphanAnnotation, KnowledgeType, type KnowledgeUnarchivedEvent, Layer, type LedgerAppendedEvent, LedgerEntry, type LlmJudgeRunEvent, type LocalKnowledgeId, type LockApprovedEvent, type LockDriftEvent, MCP_STORE_AWARE_CONTRACTS, MCP_STORE_AWARE_TOOLS, type McpEventLedgerEvent, type McpStdioTraceEvent, type McpStoreAwareContract, type McpStoreAwareTool, type MetaReconciledEvent, type MetaReconciledOnStartupEvent, type MetaUpdatedEvent, MountedStore, type MountedStoreDir, type NarrowHintFailedEvent, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, PARITY_CLIENTS, PARITY_SURFACES, PERSONAL_SCOPE, PROJECT_ROOT_SIGNALS, type PanelFieldGroup, type PanelFieldKey, type PanelFieldMeta, type ParityCapability, type ParityClient, type ParityClientExpectation, type ParityMatrix, type ParitySurface, type ParseCiteLineResult, type ParsedGlobalRef, type PayloadGuardObservedEvent, type PendingAutoArchivedEvent, type PrecompactObservedEvent, type ProjectRootGoldenCase, type ProjectRootResolution, type ProjectRootResolver, type ProjectRootSignal, type ProjectRootSignals, type QualifiedCandidate, type QualifiedIdResolution, REDACTION_PLACEHOLDER_PREFIX, type ReadSetEntry, type ReadSetGoldenCase, type ReapplyCompletedEvent, type RelevanceMigrationRunEvent, RequiredStoreEntry, type ResolutionCandidate, type ResolutionResult, type ResolutionWarning, type ResolveOptions, type ResolvedBindingsSnapshot, type ResolvedEntry, SCOPE_COORDINATE_HINT, SCOPE_COORDINATE_PATTERN, STORE_GITIGNORE, STORE_PENDING_DIR, STORE_RESOLVER_WARNING_CODES, type ScanRecommendationInput, type ScopeCoordinate, type SecretFinding, type ServeLockClearedEvent, type SessionArchiveAttemptedEvent, type SessionEndedEvent, type SkillInvocationCompletedEvent, type SkillInvocationStartedEvent, type SkillPhaseTransitionEvent, type SkillTriggerCandidateEvent, StableId, type StoreAwareEntry, type StoreBoundEvent, type StoreCounters, type StoreDetachedEvent, type StoreExplain, StoreIdentity, type StoreKnowledgeRef, type StoreMountedEvent, StoreProject, type StoreReadSet, type StoreResolveInput, type StoreResolver, type StoreResolverWarning, type StoreResolverWarningCode, type StoreVisibility, Translator, UID_SEGMENT_PATTERN, type Uid, type ValidateResult, type WriteBindingsSnapshotOptions, type WriteRouteChangedEvent, type WriteStoreSwitchedEvent, type WriteTarget, type WrittenToStore, addMountedStore, addStoreProject, agentsIdentitySourceSchema, agentsMetaNodeSchema, agentsMetaSchema, agentsTopologyTypeSchema, aggregatePendingAcrossStores, aiLedgerEntrySchema, allocateKnowledgeId, allocateStoreKnowledgeId, assertAllowedGitRemote, assistantTurnObservedEventSchema, bindRequiredStore, bindingsSnapshotPath, buildDebugBundle, buildFailureTrace, buildScanRecommendations, buildStoreResolveInput, candidateFileEntrySchema, citeContractPolicyActivatedEventSchema, citePolicyActivatedEventSchema, claudeHookPathMigratedEventSchema, claudeSkillPathMigratedEventSchema, clientCapabilitySnapshotEventSchema, codexSkillPathMigratedEventSchema, createProjectRootResolver, createStoreResolver, defaultAgentsMetaCounters, deriveAgentsMetaIdentitySource, deriveAgentsMetaStableId, deriveAgentsMetaTopologyType, detachMountedStore, disambiguateAlias, doctorRunEventSchema, driftDetectedEventSchema, editIntentCheckedEventSchema, entryScopeMetadataSchema, eventLedgerEventSchema, eventLedgerTruncatedEventSchema, eventsRotatedEventSchema, explainStore, fabricConfigSchema, fabricEventSchema, fileMutatedEventSchema, findMountedStore, findStoreExecutableViolations, forensicAssertionCoverageSchema, forensicAssertionSchema, forensicCodeSampleSchema, forensicEntryPointSchema, forensicEvidenceAnchorSchema, forensicFrameworkSchema, forensicReadmeSchema, forensicReportSchema, forensicSamplingBudgetSchema, forensicTopologySchema, formatGlobalRef, getPanelFieldByKey, getPanelFields, globalConfigPath, globalRefSchema, graphEdgeCandidateRequestedEventSchema, hasSecrets, hookSignalEmittedEventSchema, hookSurfaceEmittedEventSchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, initStore, installDiffAppliedEventSchema, isAllowedGitRemote, isHighValueArchiveCandidate, isKnowledgeStableId, isPersonalLeakIntoSharedStore, isPersonalScope, knowledgeArchiveAttemptedEventSchema, knowledgeArchivedEventSchema, knowledgeBodyReadEventSchema, knowledgeConsumedEventSchema, knowledgeContextPlannedEventSchema, knowledgeDeferredEventSchema, knowledgeDemotedEventSchema, knowledgeDriftDetectedEventSchema, knowledgeEnrichedEventSchema, knowledgeIdRedirectEventSchema, knowledgeLayerChangedEventSchema, knowledgeMetaAutoHealedEventSchema, knowledgeModifiedEventSchema, knowledgePathDangledEventSchema, knowledgePromoteFailedEventSchema, knowledgePromoteStartedEventSchema, knowledgePromotedEventSchema, knowledgeProposedEventSchema, knowledgeProvenanceSchema, knowledgeRejectedEventSchema, knowledgeScopeDegradedEventSchema, knowledgeSectionsFetchedEventSchema, knowledgeSelectionEventSchema, knowledgeSlugRenamedEventSchema, knowledgeTestIndexSchema, knowledgeTestLinkSchema, knowledgeTestOrphanAnnotationSchema, knowledgeUnarchivedEventSchema, ledgerAppendedEventSchema, ledgerEntrySchema, lintCrossStoreReferences, listStoreKnowledge, llmJudgeRunEventSchema, loadGlobalConfig, loadProjectConfig, localKnowledgeIdSchema, lockApprovedEventSchema, lockDriftEventSchema, mcpEventLedgerEventSchema, mcpStdioTraceEventSchema, metaReconciledEventSchema, metaReconciledOnStartupEventSchema, metaUpdatedEventSchema, narrowHintFailedEventSchema, normalizeCiteTag, onboardSlotSchema, parityCapabilitySchema, parityClientExpectationSchema, parityClientSchema, parityMatrixSchema, paritySurfaceSchema, parseCiteLine, parseGlobalRef, payloadGuardObservedEventSchema, pendingAutoArchivedEventSchema, precompactObservedEventSchema, projectConfigPath, projectRootGoldenCaseSchema, projectRootGoldenFileSchema, projectRootResolutionSchema, projectRootSignalSchema, projectRootSignalsSchema, readBindingsSnapshot, readKnowledgeAcrossStores, readSetEntrySchema, readSetGoldenCaseSchema, readSetGoldenFileSchema, readStoreCounters, readStoreIdentity, readStoreIdentityAsync, readStoreProjects, reapplyCompletedEventSchema, recognizeStoreDir, reconcileStoreCounters, redactPii, redactSecrets, relevanceMigrationRunEventSchema, resolveCandidates, resolveGlobalRoot, resolveStoreQualifiedId, resolveWorkspaceBindingId, resolvedBindingsSnapshotSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, saveGlobalConfig, saveGlobalConfigAsync, saveProjectConfig, scanForSecrets, scopeCoordinateSchema, scopeRoot, scrubRemoteUrl, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, sessionEndedEventSchema, skillInvocationCompletedEventSchema, skillInvocationStartedEventSchema, skillPhaseTransitionEventSchema, skillTriggerCandidateEventSchema, storeAwareEntrySchema, storeBoundEventSchema, storeCountersPath, storeCountersSchema, storeDetachedEventSchema, storeHasProject, storeMountedEventSchema, storeReadSetSchema, storeResolveInputSchema, storeResolverWarningCodeSchema, storeResolverWarningSchema, tokenize, uidSchema, withDerivedAgentsMetaNodeDefaults, writeBindingsSnapshot, writeRouteChangedEventSchema, writeStoreSwitchedEventSchema, writeTargetSchema, writtenToStoreSchema };