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

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
@@ -2808,6 +2808,12 @@ declare function reconcileStoreCounters(storeDir: string): AgentsMetaCounters;
2808
2808
  declare function resolveGlobalRoot(): string;
2809
2809
  declare function globalConfigPath(globalRoot?: string): string;
2810
2810
  declare function loadGlobalConfig(globalRoot?: string): GlobalConfig | null;
2811
+ /** Locked + atomic save — use from production CLI/server mutation paths. */
2812
+ declare function saveGlobalConfigAsync(config: GlobalConfig, globalRoot?: string): Promise<void>;
2813
+ /**
2814
+ * Sync save for tests/fixtures. Atomic (tmp+rename) but no wait-lock.
2815
+ * Production writers should use {@link saveGlobalConfigAsync}.
2816
+ */
2811
2817
  declare function saveGlobalConfig(config: GlobalConfig, globalRoot?: string): void;
2812
2818
 
2813
2819
  declare function projectConfigPath(projectRoot: string): string;
@@ -2896,7 +2902,7 @@ declare const knowledgeProvenanceSchema: z.ZodObject<{
2896
2902
  }>;
2897
2903
  type KnowledgeProvenance = z.infer<typeof knowledgeProvenanceSchema>;
2898
2904
 
2899
- declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_propose", "fab_review"];
2905
+ 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
2906
  type McpStoreAwareTool = (typeof MCP_STORE_AWARE_TOOLS)[number];
2901
2907
  declare const storeAwareEntrySchema: z.ZodObject<{
2902
2908
  stable_id: z.ZodString;
@@ -8556,6 +8562,222 @@ declare const fileMutatedEventSchema: z.ZodObject<{
8556
8562
  source_event_id?: string | undefined;
8557
8563
  store_id?: string | undefined;
8558
8564
  }>;
8565
+ declare const storeMountedEventSchema: z.ZodObject<{
8566
+ event_type: z.ZodLiteral<"store_mounted">;
8567
+ alias: z.ZodString;
8568
+ store_uuid: z.ZodString;
8569
+ personal: z.ZodOptional<z.ZodBoolean>;
8570
+ source: z.ZodOptional<z.ZodString>;
8571
+ kind: z.ZodLiteral<"fabric-event">;
8572
+ id: z.ZodString;
8573
+ ts: z.ZodNumber;
8574
+ schema_version: z.ZodLiteral<1>;
8575
+ correlation_id: z.ZodOptional<z.ZodString>;
8576
+ session_id: z.ZodOptional<z.ZodString>;
8577
+ }, "strip", z.ZodTypeAny, {
8578
+ store_uuid: string;
8579
+ id: string;
8580
+ alias: string;
8581
+ ts: number;
8582
+ schema_version: 1;
8583
+ kind: "fabric-event";
8584
+ event_type: "store_mounted";
8585
+ personal?: boolean | undefined;
8586
+ correlation_id?: string | undefined;
8587
+ session_id?: string | undefined;
8588
+ source?: string | undefined;
8589
+ }, {
8590
+ store_uuid: string;
8591
+ id: string;
8592
+ alias: string;
8593
+ ts: number;
8594
+ schema_version: 1;
8595
+ kind: "fabric-event";
8596
+ event_type: "store_mounted";
8597
+ personal?: boolean | undefined;
8598
+ correlation_id?: string | undefined;
8599
+ session_id?: string | undefined;
8600
+ source?: string | undefined;
8601
+ }>;
8602
+ declare const storeDetachedEventSchema: z.ZodObject<{
8603
+ event_type: z.ZodLiteral<"store_detached">;
8604
+ alias: z.ZodString;
8605
+ store_uuid: z.ZodOptional<z.ZodString>;
8606
+ source: z.ZodOptional<z.ZodString>;
8607
+ kind: z.ZodLiteral<"fabric-event">;
8608
+ id: z.ZodString;
8609
+ ts: z.ZodNumber;
8610
+ schema_version: z.ZodLiteral<1>;
8611
+ correlation_id: z.ZodOptional<z.ZodString>;
8612
+ session_id: z.ZodOptional<z.ZodString>;
8613
+ }, "strip", z.ZodTypeAny, {
8614
+ id: string;
8615
+ alias: string;
8616
+ ts: number;
8617
+ schema_version: 1;
8618
+ kind: "fabric-event";
8619
+ event_type: "store_detached";
8620
+ store_uuid?: string | undefined;
8621
+ correlation_id?: string | undefined;
8622
+ session_id?: string | undefined;
8623
+ source?: string | undefined;
8624
+ }, {
8625
+ id: string;
8626
+ alias: string;
8627
+ ts: number;
8628
+ schema_version: 1;
8629
+ kind: "fabric-event";
8630
+ event_type: "store_detached";
8631
+ store_uuid?: string | undefined;
8632
+ correlation_id?: string | undefined;
8633
+ session_id?: string | undefined;
8634
+ source?: string | undefined;
8635
+ }>;
8636
+ declare const storeBoundEventSchema: z.ZodObject<{
8637
+ event_type: z.ZodLiteral<"store_bound">;
8638
+ alias: z.ZodString;
8639
+ store_uuid: z.ZodOptional<z.ZodString>;
8640
+ project: z.ZodOptional<z.ZodString>;
8641
+ source: z.ZodOptional<z.ZodString>;
8642
+ kind: z.ZodLiteral<"fabric-event">;
8643
+ id: z.ZodString;
8644
+ ts: z.ZodNumber;
8645
+ schema_version: z.ZodLiteral<1>;
8646
+ correlation_id: z.ZodOptional<z.ZodString>;
8647
+ session_id: z.ZodOptional<z.ZodString>;
8648
+ }, "strip", z.ZodTypeAny, {
8649
+ id: string;
8650
+ alias: string;
8651
+ ts: number;
8652
+ schema_version: 1;
8653
+ kind: "fabric-event";
8654
+ event_type: "store_bound";
8655
+ store_uuid?: string | undefined;
8656
+ project?: string | undefined;
8657
+ correlation_id?: string | undefined;
8658
+ session_id?: string | undefined;
8659
+ source?: string | undefined;
8660
+ }, {
8661
+ id: string;
8662
+ alias: string;
8663
+ ts: number;
8664
+ schema_version: 1;
8665
+ kind: "fabric-event";
8666
+ event_type: "store_bound";
8667
+ store_uuid?: string | undefined;
8668
+ project?: string | undefined;
8669
+ correlation_id?: string | undefined;
8670
+ session_id?: string | undefined;
8671
+ source?: string | undefined;
8672
+ }>;
8673
+ declare const writeStoreSwitchedEventSchema: z.ZodObject<{
8674
+ event_type: z.ZodLiteral<"write_store_switched">;
8675
+ alias: z.ZodString;
8676
+ previous_alias: z.ZodOptional<z.ZodString>;
8677
+ switch_kind: z.ZodOptional<z.ZodEnum<["project_write", "personal"]>>;
8678
+ source: z.ZodOptional<z.ZodString>;
8679
+ kind: z.ZodLiteral<"fabric-event">;
8680
+ id: z.ZodString;
8681
+ ts: z.ZodNumber;
8682
+ schema_version: z.ZodLiteral<1>;
8683
+ correlation_id: z.ZodOptional<z.ZodString>;
8684
+ session_id: z.ZodOptional<z.ZodString>;
8685
+ }, "strip", z.ZodTypeAny, {
8686
+ id: string;
8687
+ alias: string;
8688
+ ts: number;
8689
+ schema_version: 1;
8690
+ kind: "fabric-event";
8691
+ event_type: "write_store_switched";
8692
+ correlation_id?: string | undefined;
8693
+ session_id?: string | undefined;
8694
+ source?: string | undefined;
8695
+ previous_alias?: string | undefined;
8696
+ switch_kind?: "personal" | "project_write" | undefined;
8697
+ }, {
8698
+ id: string;
8699
+ alias: string;
8700
+ ts: number;
8701
+ schema_version: 1;
8702
+ kind: "fabric-event";
8703
+ event_type: "write_store_switched";
8704
+ correlation_id?: string | undefined;
8705
+ session_id?: string | undefined;
8706
+ source?: string | undefined;
8707
+ previous_alias?: string | undefined;
8708
+ switch_kind?: "personal" | "project_write" | undefined;
8709
+ }>;
8710
+ declare const writeRouteChangedEventSchema: z.ZodObject<{
8711
+ event_type: z.ZodLiteral<"write_route_changed">;
8712
+ scope: z.ZodString;
8713
+ alias: z.ZodString;
8714
+ previous_alias: z.ZodOptional<z.ZodString>;
8715
+ source: z.ZodOptional<z.ZodString>;
8716
+ kind: z.ZodLiteral<"fabric-event">;
8717
+ id: z.ZodString;
8718
+ ts: z.ZodNumber;
8719
+ schema_version: z.ZodLiteral<1>;
8720
+ correlation_id: z.ZodOptional<z.ZodString>;
8721
+ session_id: z.ZodOptional<z.ZodString>;
8722
+ }, "strip", z.ZodTypeAny, {
8723
+ id: string;
8724
+ alias: string;
8725
+ scope: string;
8726
+ ts: number;
8727
+ schema_version: 1;
8728
+ kind: "fabric-event";
8729
+ event_type: "write_route_changed";
8730
+ correlation_id?: string | undefined;
8731
+ session_id?: string | undefined;
8732
+ source?: string | undefined;
8733
+ previous_alias?: string | undefined;
8734
+ }, {
8735
+ id: string;
8736
+ alias: string;
8737
+ scope: string;
8738
+ ts: number;
8739
+ schema_version: 1;
8740
+ kind: "fabric-event";
8741
+ event_type: "write_route_changed";
8742
+ correlation_id?: string | undefined;
8743
+ session_id?: string | undefined;
8744
+ source?: string | undefined;
8745
+ previous_alias?: string | undefined;
8746
+ }>;
8747
+ declare const narrowHintFailedEventSchema: z.ZodObject<{
8748
+ event_type: z.ZodLiteral<"narrow_hint_failed">;
8749
+ hook_name: z.ZodString;
8750
+ reason: z.ZodString;
8751
+ bin: z.ZodOptional<z.ZodString>;
8752
+ kind: z.ZodLiteral<"fabric-event">;
8753
+ id: z.ZodString;
8754
+ ts: z.ZodNumber;
8755
+ schema_version: z.ZodLiteral<1>;
8756
+ correlation_id: z.ZodOptional<z.ZodString>;
8757
+ session_id: z.ZodOptional<z.ZodString>;
8758
+ }, "strip", z.ZodTypeAny, {
8759
+ id: string;
8760
+ reason: string;
8761
+ ts: number;
8762
+ schema_version: 1;
8763
+ kind: "fabric-event";
8764
+ event_type: "narrow_hint_failed";
8765
+ hook_name: string;
8766
+ correlation_id?: string | undefined;
8767
+ session_id?: string | undefined;
8768
+ bin?: string | undefined;
8769
+ }, {
8770
+ id: string;
8771
+ reason: string;
8772
+ ts: number;
8773
+ schema_version: 1;
8774
+ kind: "fabric-event";
8775
+ event_type: "narrow_hint_failed";
8776
+ hook_name: string;
8777
+ correlation_id?: string | undefined;
8778
+ session_id?: string | undefined;
8779
+ bin?: string | undefined;
8780
+ }>;
8559
8781
  declare const knowledgeBodyReadEventSchema: z.ZodObject<{
8560
8782
  event_type: z.ZodLiteral<"knowledge_body_read">;
8561
8783
  stable_id: z.ZodString;
@@ -10720,6 +10942,216 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
10720
10942
  tool_name?: string | undefined;
10721
10943
  source_event_id?: string | undefined;
10722
10944
  store_id?: string | undefined;
10945
+ }>, z.ZodObject<{
10946
+ event_type: z.ZodLiteral<"store_mounted">;
10947
+ alias: z.ZodString;
10948
+ store_uuid: z.ZodString;
10949
+ personal: z.ZodOptional<z.ZodBoolean>;
10950
+ source: z.ZodOptional<z.ZodString>;
10951
+ kind: z.ZodLiteral<"fabric-event">;
10952
+ id: z.ZodString;
10953
+ ts: z.ZodNumber;
10954
+ schema_version: z.ZodLiteral<1>;
10955
+ correlation_id: z.ZodOptional<z.ZodString>;
10956
+ session_id: z.ZodOptional<z.ZodString>;
10957
+ }, "strip", z.ZodTypeAny, {
10958
+ store_uuid: string;
10959
+ id: string;
10960
+ alias: string;
10961
+ ts: number;
10962
+ schema_version: 1;
10963
+ kind: "fabric-event";
10964
+ event_type: "store_mounted";
10965
+ personal?: boolean | undefined;
10966
+ correlation_id?: string | undefined;
10967
+ session_id?: string | undefined;
10968
+ source?: string | undefined;
10969
+ }, {
10970
+ store_uuid: string;
10971
+ id: string;
10972
+ alias: string;
10973
+ ts: number;
10974
+ schema_version: 1;
10975
+ kind: "fabric-event";
10976
+ event_type: "store_mounted";
10977
+ personal?: boolean | undefined;
10978
+ correlation_id?: string | undefined;
10979
+ session_id?: string | undefined;
10980
+ source?: string | undefined;
10981
+ }>, z.ZodObject<{
10982
+ event_type: z.ZodLiteral<"store_detached">;
10983
+ alias: z.ZodString;
10984
+ store_uuid: z.ZodOptional<z.ZodString>;
10985
+ source: z.ZodOptional<z.ZodString>;
10986
+ kind: z.ZodLiteral<"fabric-event">;
10987
+ id: z.ZodString;
10988
+ ts: z.ZodNumber;
10989
+ schema_version: z.ZodLiteral<1>;
10990
+ correlation_id: z.ZodOptional<z.ZodString>;
10991
+ session_id: z.ZodOptional<z.ZodString>;
10992
+ }, "strip", z.ZodTypeAny, {
10993
+ id: string;
10994
+ alias: string;
10995
+ ts: number;
10996
+ schema_version: 1;
10997
+ kind: "fabric-event";
10998
+ event_type: "store_detached";
10999
+ store_uuid?: string | undefined;
11000
+ correlation_id?: string | undefined;
11001
+ session_id?: string | undefined;
11002
+ source?: string | undefined;
11003
+ }, {
11004
+ id: string;
11005
+ alias: string;
11006
+ ts: number;
11007
+ schema_version: 1;
11008
+ kind: "fabric-event";
11009
+ event_type: "store_detached";
11010
+ store_uuid?: string | undefined;
11011
+ correlation_id?: string | undefined;
11012
+ session_id?: string | undefined;
11013
+ source?: string | undefined;
11014
+ }>, z.ZodObject<{
11015
+ event_type: z.ZodLiteral<"store_bound">;
11016
+ alias: z.ZodString;
11017
+ store_uuid: z.ZodOptional<z.ZodString>;
11018
+ project: z.ZodOptional<z.ZodString>;
11019
+ source: z.ZodOptional<z.ZodString>;
11020
+ kind: z.ZodLiteral<"fabric-event">;
11021
+ id: z.ZodString;
11022
+ ts: z.ZodNumber;
11023
+ schema_version: z.ZodLiteral<1>;
11024
+ correlation_id: z.ZodOptional<z.ZodString>;
11025
+ session_id: z.ZodOptional<z.ZodString>;
11026
+ }, "strip", z.ZodTypeAny, {
11027
+ id: string;
11028
+ alias: string;
11029
+ ts: number;
11030
+ schema_version: 1;
11031
+ kind: "fabric-event";
11032
+ event_type: "store_bound";
11033
+ store_uuid?: string | undefined;
11034
+ project?: string | undefined;
11035
+ correlation_id?: string | undefined;
11036
+ session_id?: string | undefined;
11037
+ source?: string | undefined;
11038
+ }, {
11039
+ id: string;
11040
+ alias: string;
11041
+ ts: number;
11042
+ schema_version: 1;
11043
+ kind: "fabric-event";
11044
+ event_type: "store_bound";
11045
+ store_uuid?: string | undefined;
11046
+ project?: string | undefined;
11047
+ correlation_id?: string | undefined;
11048
+ session_id?: string | undefined;
11049
+ source?: string | undefined;
11050
+ }>, z.ZodObject<{
11051
+ event_type: z.ZodLiteral<"write_store_switched">;
11052
+ alias: z.ZodString;
11053
+ previous_alias: z.ZodOptional<z.ZodString>;
11054
+ switch_kind: z.ZodOptional<z.ZodEnum<["project_write", "personal"]>>;
11055
+ source: z.ZodOptional<z.ZodString>;
11056
+ kind: z.ZodLiteral<"fabric-event">;
11057
+ id: z.ZodString;
11058
+ ts: z.ZodNumber;
11059
+ schema_version: z.ZodLiteral<1>;
11060
+ correlation_id: z.ZodOptional<z.ZodString>;
11061
+ session_id: z.ZodOptional<z.ZodString>;
11062
+ }, "strip", z.ZodTypeAny, {
11063
+ id: string;
11064
+ alias: string;
11065
+ ts: number;
11066
+ schema_version: 1;
11067
+ kind: "fabric-event";
11068
+ event_type: "write_store_switched";
11069
+ correlation_id?: string | undefined;
11070
+ session_id?: string | undefined;
11071
+ source?: string | undefined;
11072
+ previous_alias?: string | undefined;
11073
+ switch_kind?: "personal" | "project_write" | undefined;
11074
+ }, {
11075
+ id: string;
11076
+ alias: string;
11077
+ ts: number;
11078
+ schema_version: 1;
11079
+ kind: "fabric-event";
11080
+ event_type: "write_store_switched";
11081
+ correlation_id?: string | undefined;
11082
+ session_id?: string | undefined;
11083
+ source?: string | undefined;
11084
+ previous_alias?: string | undefined;
11085
+ switch_kind?: "personal" | "project_write" | undefined;
11086
+ }>, z.ZodObject<{
11087
+ event_type: z.ZodLiteral<"write_route_changed">;
11088
+ scope: z.ZodString;
11089
+ alias: z.ZodString;
11090
+ previous_alias: z.ZodOptional<z.ZodString>;
11091
+ source: z.ZodOptional<z.ZodString>;
11092
+ kind: z.ZodLiteral<"fabric-event">;
11093
+ id: z.ZodString;
11094
+ ts: z.ZodNumber;
11095
+ schema_version: z.ZodLiteral<1>;
11096
+ correlation_id: z.ZodOptional<z.ZodString>;
11097
+ session_id: z.ZodOptional<z.ZodString>;
11098
+ }, "strip", z.ZodTypeAny, {
11099
+ id: string;
11100
+ alias: string;
11101
+ scope: string;
11102
+ ts: number;
11103
+ schema_version: 1;
11104
+ kind: "fabric-event";
11105
+ event_type: "write_route_changed";
11106
+ correlation_id?: string | undefined;
11107
+ session_id?: string | undefined;
11108
+ source?: string | undefined;
11109
+ previous_alias?: string | undefined;
11110
+ }, {
11111
+ id: string;
11112
+ alias: string;
11113
+ scope: string;
11114
+ ts: number;
11115
+ schema_version: 1;
11116
+ kind: "fabric-event";
11117
+ event_type: "write_route_changed";
11118
+ correlation_id?: string | undefined;
11119
+ session_id?: string | undefined;
11120
+ source?: string | undefined;
11121
+ previous_alias?: string | undefined;
11122
+ }>, z.ZodObject<{
11123
+ event_type: z.ZodLiteral<"narrow_hint_failed">;
11124
+ hook_name: z.ZodString;
11125
+ reason: z.ZodString;
11126
+ bin: z.ZodOptional<z.ZodString>;
11127
+ kind: z.ZodLiteral<"fabric-event">;
11128
+ id: z.ZodString;
11129
+ ts: z.ZodNumber;
11130
+ schema_version: z.ZodLiteral<1>;
11131
+ correlation_id: z.ZodOptional<z.ZodString>;
11132
+ session_id: z.ZodOptional<z.ZodString>;
11133
+ }, "strip", z.ZodTypeAny, {
11134
+ id: string;
11135
+ reason: string;
11136
+ ts: number;
11137
+ schema_version: 1;
11138
+ kind: "fabric-event";
11139
+ event_type: "narrow_hint_failed";
11140
+ hook_name: string;
11141
+ correlation_id?: string | undefined;
11142
+ session_id?: string | undefined;
11143
+ bin?: string | undefined;
11144
+ }, {
11145
+ id: string;
11146
+ reason: string;
11147
+ ts: number;
11148
+ schema_version: 1;
11149
+ kind: "fabric-event";
11150
+ event_type: "narrow_hint_failed";
11151
+ hook_name: string;
11152
+ correlation_id?: string | undefined;
11153
+ session_id?: string | undefined;
11154
+ bin?: string | undefined;
10723
11155
  }>, z.ZodObject<{
10724
11156
  event_type: z.ZodLiteral<"knowledge_body_read">;
10725
11157
  stable_id: z.ZodString;
@@ -10869,10 +11301,16 @@ type LlmJudgeRunEvent = z.infer<typeof llmJudgeRunEventSchema>;
10869
11301
  type ClientCapabilitySnapshotEvent = z.infer<typeof clientCapabilitySnapshotEventSchema>;
10870
11302
  type SessionEndedEvent = z.infer<typeof sessionEndedEventSchema>;
10871
11303
  type FileMutatedEvent = z.infer<typeof fileMutatedEventSchema>;
11304
+ type StoreMountedEvent = z.infer<typeof storeMountedEventSchema>;
11305
+ type StoreDetachedEvent = z.infer<typeof storeDetachedEventSchema>;
11306
+ type StoreBoundEvent = z.infer<typeof storeBoundEventSchema>;
11307
+ type WriteStoreSwitchedEvent = z.infer<typeof writeStoreSwitchedEventSchema>;
11308
+ type WriteRouteChangedEvent = z.infer<typeof writeRouteChangedEventSchema>;
11309
+ type NarrowHintFailedEvent = z.infer<typeof narrowHintFailedEventSchema>;
10872
11310
  type KnowledgeBodyReadEvent = z.infer<typeof knowledgeBodyReadEventSchema>;
10873
11311
  type PrecompactObservedEvent = z.infer<typeof precompactObservedEventSchema>;
10874
11312
  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;
11313
+ 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
11314
  type EventLedgerEventType = EventLedgerEvent["event_type"];
10877
11315
  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
11316
  type EventLedgerEventInput = EventLedgerEventInputFor<EventLedgerEvent>;
@@ -10935,4 +11373,4 @@ declare function isHighValueArchiveCandidate(events: unknown, sessionId: string
10935
11373
  */
10936
11374
  declare function tokenize(text: string): string[];
10937
11375
 
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 };
11376
+ 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, 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, 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 };