@fenglimg/fabric-shared 2.2.0 → 2.3.0-rc.2

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,11 +1,11 @@
1
- import { A as AgentsMetaNode, a as AgentsIdentitySource, b as AgentsTopologyType, H as HumanLockEntry, f as fabricConfigSchema, F as FabricConfig, c as AgentsMeta, L as LedgerEntry } from './index-D_gT1CEA.js';
2
- export { d as AgentsMetaCountersEnvelope, e as AgentsMetaKnowledgeTypeCounters, g as AiLedgerEntry, h as AuditMode, C as ClientPaths, D as DefaultLayerFilter, i as FabricLanguage, j as HumanLedgerEntry, M as McpPayloadLimits, R as RuleDescription, k as RuleDescriptionIndexItem, l as auditModeSchema, m as clientPathsSchema, n as defaultLayerFilterSchema, o as fabricLanguageSchema, p as mcpPayloadLimitsSchema, q as nudgeModeSchema, r as observeConfigSchema, s as planContextTopKSchema, t as selectionTokenTtlMsSchema, w as writeRouteSchema } from './index-D_gT1CEA.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-BO7itJ8e.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-BO7itJ8e.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';
6
6
  import { z } from 'zod';
7
7
  import { Layer, KnowledgeType, StableId } from './schemas/api-contracts.js';
8
- export { ArchiveScanInput, ArchiveScanOutput, CiteContractMetrics, CiteCoverageReport, CiteLayerTypeBreakdown, FabExtractKnowledgeInput, FabExtractKnowledgeInputSchema, FabExtractKnowledgeInputShape, FabExtractKnowledgeOutput, FabExtractKnowledgeOutputSchema, FabReviewInput, FabReviewInputSchema, FabReviewInputShape, FabReviewOutput, FabReviewOutputSchema, FabReviewOutputShape, KNOWLEDGE_TYPE_CODES, KnowledgeEntryFrontmatter, KnowledgeEntryFrontmatterSchema, KnowledgeTypeCode, KnowledgeTypeSchema, LayerSchema, Maturity, MaturitySchema, PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE, ProposedReason, ProposedReasonSchema, StableIdSchema, annotateIntentRequestSchema, archiveScanAnnotations, archiveScanInputSchema, archiveScanOutputSchema, citeContractMetricsSchema, citeCoverageReportSchema, citeLayerTypeBreakdownSchema, fabExtractKnowledgeAnnotations, fabReviewAnnotations, formatKnowledgeId, historyStateQuerySchema, humanLockApproveRequestSchema, humanLockFileParamsSchema, knowledgeSectionsAnnotations, knowledgeSectionsInputSchema, knowledgeSectionsOutputSchema, ledgerQuerySchema, ledgerSourceSchema, parseKnowledgeId, planContextAnnotations, planContextHintNarrowEntrySchema, planContextHintOutputSchema, planContextInputSchema, planContextOutputSchema, recallAnnotations, recallInputSchema, recallOutputSchema, structuredWarningSchema } from './schemas/api-contracts.js';
8
+ export { ArchiveScanInput, ArchiveScanOutput, CiteContractMetrics, CiteCoverageReport, CiteLayerTypeBreakdown, FabExtractKnowledgeInput, FabExtractKnowledgeInputSchema, FabExtractKnowledgeInputShape, FabExtractKnowledgeOutput, FabExtractKnowledgeOutputSchema, FabPendingInput, FabPendingInputSchema, FabPendingInputShape, FabPendingOutput, FabPendingOutputSchema, FabPendingOutputShape, FabReviewInput, FabReviewInputSchema, FabReviewInputShape, FabReviewOutput, FabReviewOutputSchema, FabReviewOutputShape, KNOWLEDGE_TYPE_CODES, KnowledgeEntryFrontmatter, KnowledgeEntryFrontmatterSchema, KnowledgeTypeCode, KnowledgeTypeSchema, LayerSchema, Maturity, MaturitySchema, PROPOSED_REASON_DESCRIPTIONS_BY_LOCALE, ProposedReason, ProposedReasonSchema, StableIdSchema, annotateIntentRequestSchema, archiveScanAnnotations, archiveScanInputSchema, archiveScanOutputSchema, citeContractMetricsSchema, citeCoverageReportSchema, citeLayerTypeBreakdownSchema, fabExtractKnowledgeAnnotations, fabPendingAnnotations, fabReviewAnnotations, formatKnowledgeId, historyStateQuerySchema, humanLockApproveRequestSchema, humanLockFileParamsSchema, knowledgeSectionsAnnotations, knowledgeSectionsInputSchema, knowledgeSectionsOutputSchema, ledgerQuerySchema, ledgerSourceSchema, parseKnowledgeId, planContextAnnotations, planContextHintNarrowEntrySchema, planContextHintOutputSchema, planContextInputSchema, planContextOutputSchema, recallAnnotations, recallInputSchema, recallOutputSchema, structuredWarningSchema } from './schemas/api-contracts.js';
9
9
  export { BOOTSTRAP_CANONICAL_BY_LOCALE, BOOTSTRAP_CANONICAL_EN, BOOTSTRAP_CANONICAL_ZH, BOOTSTRAP_MARKER_BEGIN, BOOTSTRAP_MARKER_END, BOOTSTRAP_REGEX, matchBootstrapCanonicalLocale, resolveBootstrapCanonical } from './templates/bootstrap-canonical.js';
10
10
 
11
11
  declare const ONBOARD_SLOT_NAMES: readonly ["tech-stack-decision", "architecture-pattern", "code-style-tone", "build-system-idiom", "domain-vocabulary"];
@@ -1290,238 +1290,10 @@ declare function getPanelFields(): readonly PanelFieldMeta[];
1290
1290
  */
1291
1291
  declare function getPanelFieldByKey(key: string): PanelFieldMeta | undefined;
1292
1292
 
1293
- declare const STORE_UUID_PATTERN: RegExp;
1294
- declare const storeUuidSchema: z.ZodString;
1295
- declare const STORE_ALIAS_PATTERN: RegExp;
1296
- declare const storeAliasSchema: z.ZodString;
1297
- declare const PERSONAL_STORE_SENTINEL: "$personal";
1298
- declare const storeIdentitySchema: z.ZodObject<{
1299
- store_uuid: z.ZodString;
1300
- created_at: z.ZodString;
1301
- canonical_alias: z.ZodOptional<z.ZodString>;
1302
- description: z.ZodOptional<z.ZodString>;
1303
- allowed_scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1304
- }, "strict", z.ZodTypeAny, {
1305
- store_uuid: string;
1306
- created_at: string;
1307
- canonical_alias?: string | undefined;
1308
- description?: string | undefined;
1309
- allowed_scopes?: string[] | undefined;
1310
- }, {
1311
- store_uuid: string;
1312
- created_at: string;
1313
- canonical_alias?: string | undefined;
1314
- description?: string | undefined;
1315
- allowed_scopes?: string[] | undefined;
1316
- }>;
1317
- type StoreIdentity = z.infer<typeof storeIdentitySchema>;
1318
- declare const STORE_PROJECT_ID_PATTERN: RegExp;
1319
- declare const STORE_MOUNT_NAME_PATTERN: RegExp;
1320
- declare const storeMountNameSchema: z.ZodEffects<z.ZodString, string, string>;
1321
- declare const storeProjectSchema: z.ZodObject<{
1322
- id: z.ZodString;
1323
- name: z.ZodOptional<z.ZodString>;
1324
- created_at: z.ZodString;
1325
- }, "strict", z.ZodTypeAny, {
1326
- created_at: string;
1327
- id: string;
1328
- name?: string | undefined;
1329
- }, {
1330
- created_at: string;
1331
- id: string;
1332
- name?: string | undefined;
1333
- }>;
1334
- type StoreProject = z.infer<typeof storeProjectSchema>;
1335
- declare const storeProjectsFileSchema: z.ZodObject<{
1336
- projects: z.ZodDefault<z.ZodArray<z.ZodObject<{
1337
- id: z.ZodString;
1338
- name: z.ZodOptional<z.ZodString>;
1339
- created_at: z.ZodString;
1340
- }, "strict", z.ZodTypeAny, {
1341
- created_at: string;
1342
- id: string;
1343
- name?: string | undefined;
1344
- }, {
1345
- created_at: string;
1346
- id: string;
1347
- name?: string | undefined;
1348
- }>, "many">>;
1349
- }, "strict", z.ZodTypeAny, {
1350
- projects: {
1351
- created_at: string;
1352
- id: string;
1353
- name?: string | undefined;
1354
- }[];
1355
- }, {
1356
- projects?: {
1357
- created_at: string;
1358
- id: string;
1359
- name?: string | undefined;
1360
- }[] | undefined;
1361
- }>;
1362
- type StoreProjectsFile = z.infer<typeof storeProjectsFileSchema>;
1363
- declare const requiredStoreEntrySchema: z.ZodObject<{
1364
- id: z.ZodString;
1365
- suggested_remote: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"$personal">]>>;
1366
- }, "strict", z.ZodTypeAny, {
1367
- id: string;
1368
- suggested_remote?: string | undefined;
1369
- }, {
1370
- id: string;
1371
- suggested_remote?: string | undefined;
1372
- }>;
1373
- type RequiredStoreEntry = z.infer<typeof requiredStoreEntrySchema>;
1374
- declare const STORE_KNOWLEDGE_TYPE_DIRS: readonly ["models", "decisions", "guidelines", "pitfalls", "processes"];
1375
- declare const STORE_LAYOUT: {
1376
- readonly identityFile: "store.json";
1377
- readonly projectsFile: "projects.json";
1378
- readonly countersFile: "counters.json";
1379
- readonly knowledgeDir: "knowledge";
1380
- readonly bindingsDir: "bindings";
1381
- readonly stateDir: "state";
1382
- };
1383
- type StoreLayout = typeof STORE_LAYOUT;
1384
- declare const STORES_ROOT_DIR = "stores";
1385
- declare const GLOBAL_STATE_DIR = "state";
1386
- declare const GLOBAL_BINDINGS_DIR = "bindings";
1387
- declare function storeKnowledgeTypeDir(type: (typeof STORE_KNOWLEDGE_TYPE_DIRS)[number]): string;
1388
- declare function storeRelativePath(storeUuid: string): string;
1389
- declare const STORE_MOUNT_GROUPS: readonly ["personal", "team"];
1390
- type StoreMountGroup = (typeof STORE_MOUNT_GROUPS)[number];
1391
- declare function storeMountGroup(store: {
1392
- personal?: boolean;
1393
- }): StoreMountGroup;
1394
- declare function storeMountSubPath(store: {
1395
- store_uuid: string;
1396
- mount_name?: string;
1397
- personal?: boolean;
1398
- }): string;
1399
- declare function storeRelativePathForMount(store: {
1400
- store_uuid: string;
1401
- mount_name?: string;
1402
- personal?: boolean;
1403
- }): string;
1404
- declare function deriveMountLabel(input: {
1405
- remote?: string;
1406
- alias?: string;
1407
- store_uuid: string;
1408
- }): string;
1409
- declare const mountedStoreSchema: z.ZodObject<{
1410
- store_uuid: z.ZodString;
1411
- mount_name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1412
- alias: z.ZodString;
1413
- display_name: z.ZodOptional<z.ZodString>;
1414
- remote: z.ZodOptional<z.ZodString>;
1415
- personal: z.ZodOptional<z.ZodBoolean>;
1416
- writable: z.ZodOptional<z.ZodBoolean>;
1417
- }, "strict", z.ZodTypeAny, {
1418
- store_uuid: string;
1419
- alias: string;
1420
- personal?: boolean | undefined;
1421
- mount_name?: string | undefined;
1422
- display_name?: string | undefined;
1423
- remote?: string | undefined;
1424
- writable?: boolean | undefined;
1425
- }, {
1426
- store_uuid: string;
1427
- alias: string;
1428
- personal?: boolean | undefined;
1429
- mount_name?: string | undefined;
1430
- display_name?: string | undefined;
1431
- remote?: string | undefined;
1432
- writable?: boolean | undefined;
1433
- }>;
1434
- type MountedStore = z.infer<typeof mountedStoreSchema>;
1435
- declare const globalConfigSchema: z.ZodObject<{
1436
- uid: z.ZodString;
1437
- language: z.ZodOptional<z.ZodEnum<["zh-CN", "en"]>>;
1438
- stores: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1439
- store_uuid: z.ZodString;
1440
- mount_name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1441
- alias: z.ZodString;
1442
- display_name: z.ZodOptional<z.ZodString>;
1443
- remote: z.ZodOptional<z.ZodString>;
1444
- personal: z.ZodOptional<z.ZodBoolean>;
1445
- writable: z.ZodOptional<z.ZodBoolean>;
1446
- }, "strict", z.ZodTypeAny, {
1447
- store_uuid: string;
1448
- alias: string;
1449
- personal?: boolean | undefined;
1450
- mount_name?: string | undefined;
1451
- display_name?: string | undefined;
1452
- remote?: string | undefined;
1453
- writable?: boolean | undefined;
1454
- }, {
1455
- store_uuid: string;
1456
- alias: string;
1457
- personal?: boolean | undefined;
1458
- mount_name?: string | undefined;
1459
- display_name?: string | undefined;
1460
- remote?: string | undefined;
1461
- writable?: boolean | undefined;
1462
- }>, "many">>>;
1463
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1464
- uid: z.ZodString;
1465
- language: z.ZodOptional<z.ZodEnum<["zh-CN", "en"]>>;
1466
- stores: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1467
- store_uuid: z.ZodString;
1468
- mount_name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1469
- alias: z.ZodString;
1470
- display_name: z.ZodOptional<z.ZodString>;
1471
- remote: z.ZodOptional<z.ZodString>;
1472
- personal: z.ZodOptional<z.ZodBoolean>;
1473
- writable: z.ZodOptional<z.ZodBoolean>;
1474
- }, "strict", z.ZodTypeAny, {
1475
- store_uuid: string;
1476
- alias: string;
1477
- personal?: boolean | undefined;
1478
- mount_name?: string | undefined;
1479
- display_name?: string | undefined;
1480
- remote?: string | undefined;
1481
- writable?: boolean | undefined;
1482
- }, {
1483
- store_uuid: string;
1484
- alias: string;
1485
- personal?: boolean | undefined;
1486
- mount_name?: string | undefined;
1487
- display_name?: string | undefined;
1488
- remote?: string | undefined;
1489
- writable?: boolean | undefined;
1490
- }>, "many">>>;
1491
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1492
- uid: z.ZodString;
1493
- language: z.ZodOptional<z.ZodEnum<["zh-CN", "en"]>>;
1494
- stores: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1495
- store_uuid: z.ZodString;
1496
- mount_name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1497
- alias: z.ZodString;
1498
- display_name: z.ZodOptional<z.ZodString>;
1499
- remote: z.ZodOptional<z.ZodString>;
1500
- personal: z.ZodOptional<z.ZodBoolean>;
1501
- writable: z.ZodOptional<z.ZodBoolean>;
1502
- }, "strict", z.ZodTypeAny, {
1503
- store_uuid: string;
1504
- alias: string;
1505
- personal?: boolean | undefined;
1506
- mount_name?: string | undefined;
1507
- display_name?: string | undefined;
1508
- remote?: string | undefined;
1509
- writable?: boolean | undefined;
1510
- }, {
1511
- store_uuid: string;
1512
- alias: string;
1513
- personal?: boolean | undefined;
1514
- mount_name?: string | undefined;
1515
- display_name?: string | undefined;
1516
- remote?: string | undefined;
1517
- writable?: boolean | undefined;
1518
- }>, "many">>>;
1519
- }, z.ZodTypeAny, "passthrough">>;
1520
- type GlobalConfig = z.infer<typeof globalConfigSchema>;
1521
-
1522
1293
  declare const PERSONAL_SCOPE: "personal";
1523
1294
  declare const KNOWN_SCOPE_PREFIXES: readonly ["personal", "team", "project", "org"];
1524
1295
  declare const SCOPE_COORDINATE_PATTERN: RegExp;
1296
+ declare const SCOPE_COORDINATE_HINT = "scope coordinate must look like \"project:fabric-v2\", \"team\", or \"personal\" \u2014 lowercase [a-z0-9_-] segments joined by \":\"";
1525
1297
  declare const scopeCoordinateSchema: z.ZodString;
1526
1298
  type ScopeCoordinate = z.infer<typeof scopeCoordinateSchema>;
1527
1299
  declare function scopeRoot(coordinate: string): string;
@@ -2042,6 +1814,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2042
1814
  suggested_remote?: string | undefined;
2043
1815
  }>, "many">;
2044
1816
  activeWriteAlias: z.ZodOptional<z.ZodString>;
1817
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2045
1818
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2046
1819
  scope: z.ZodString;
2047
1820
  store: z.ZodString;
@@ -2072,6 +1845,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2072
1845
  store: string;
2073
1846
  }[];
2074
1847
  activeWriteAlias?: string | undefined;
1848
+ activePersonalAlias?: string | undefined;
2075
1849
  defaultWriteAlias?: string | undefined;
2076
1850
  }, {
2077
1851
  uid: string;
@@ -2088,6 +1862,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2088
1862
  suggested_remote?: string | undefined;
2089
1863
  }[];
2090
1864
  activeWriteAlias?: string | undefined;
1865
+ activePersonalAlias?: string | undefined;
2091
1866
  writeRoutes?: {
2092
1867
  scope: string;
2093
1868
  store: string;
@@ -2313,6 +2088,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2313
2088
  suggested_remote?: string | undefined;
2314
2089
  }>, "many">;
2315
2090
  activeWriteAlias: z.ZodOptional<z.ZodString>;
2091
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2316
2092
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2317
2093
  scope: z.ZodString;
2318
2094
  store: z.ZodString;
@@ -2343,6 +2119,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2343
2119
  store: string;
2344
2120
  }[];
2345
2121
  activeWriteAlias?: string | undefined;
2122
+ activePersonalAlias?: string | undefined;
2346
2123
  defaultWriteAlias?: string | undefined;
2347
2124
  }, {
2348
2125
  uid: string;
@@ -2359,6 +2136,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2359
2136
  suggested_remote?: string | undefined;
2360
2137
  }[];
2361
2138
  activeWriteAlias?: string | undefined;
2139
+ activePersonalAlias?: string | undefined;
2362
2140
  writeRoutes?: {
2363
2141
  scope: string;
2364
2142
  store: string;
@@ -2537,6 +2315,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2537
2315
  store: string;
2538
2316
  }[];
2539
2317
  activeWriteAlias?: string | undefined;
2318
+ activePersonalAlias?: string | undefined;
2540
2319
  defaultWriteAlias?: string | undefined;
2541
2320
  };
2542
2321
  writeScope: string;
@@ -2582,6 +2361,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2582
2361
  suggested_remote?: string | undefined;
2583
2362
  }[];
2584
2363
  activeWriteAlias?: string | undefined;
2364
+ activePersonalAlias?: string | undefined;
2585
2365
  writeRoutes?: {
2586
2366
  scope: string;
2587
2367
  store: string;
@@ -2632,6 +2412,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2632
2412
  suggested_remote?: string | undefined;
2633
2413
  }>, "many">;
2634
2414
  activeWriteAlias: z.ZodOptional<z.ZodString>;
2415
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2635
2416
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2636
2417
  scope: z.ZodString;
2637
2418
  store: z.ZodString;
@@ -2662,6 +2443,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2662
2443
  store: string;
2663
2444
  }[];
2664
2445
  activeWriteAlias?: string | undefined;
2446
+ activePersonalAlias?: string | undefined;
2665
2447
  defaultWriteAlias?: string | undefined;
2666
2448
  }, {
2667
2449
  uid: string;
@@ -2678,6 +2460,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2678
2460
  suggested_remote?: string | undefined;
2679
2461
  }[];
2680
2462
  activeWriteAlias?: string | undefined;
2463
+ activePersonalAlias?: string | undefined;
2681
2464
  writeRoutes?: {
2682
2465
  scope: string;
2683
2466
  store: string;
@@ -2856,6 +2639,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2856
2639
  store: string;
2857
2640
  }[];
2858
2641
  activeWriteAlias?: string | undefined;
2642
+ activePersonalAlias?: string | undefined;
2859
2643
  defaultWriteAlias?: string | undefined;
2860
2644
  };
2861
2645
  writeScope: string;
@@ -2901,6 +2685,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2901
2685
  suggested_remote?: string | undefined;
2902
2686
  }[];
2903
2687
  activeWriteAlias?: string | undefined;
2688
+ activePersonalAlias?: string | undefined;
2904
2689
  writeRoutes?: {
2905
2690
  scope: string;
2906
2691
  store: string;
@@ -2957,6 +2742,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2957
2742
  store: string;
2958
2743
  }[];
2959
2744
  activeWriteAlias?: string | undefined;
2745
+ activePersonalAlias?: string | undefined;
2960
2746
  defaultWriteAlias?: string | undefined;
2961
2747
  };
2962
2748
  writeScope: string;
@@ -3005,6 +2791,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
3005
2791
  suggested_remote?: string | undefined;
3006
2792
  }[];
3007
2793
  activeWriteAlias?: string | undefined;
2794
+ activePersonalAlias?: string | undefined;
3008
2795
  writeRoutes?: {
3009
2796
  scope: string;
3010
2797
  store: string;
@@ -3213,7 +3000,7 @@ declare const knowledgeProvenanceSchema: z.ZodObject<{
3213
3000
  }>;
3214
3001
  type KnowledgeProvenance = z.infer<typeof knowledgeProvenanceSchema>;
3215
3002
 
3216
- declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_extract_knowledge", "fab_review"];
3003
+ declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_propose", "fab_review"];
3217
3004
  type McpStoreAwareTool = (typeof MCP_STORE_AWARE_TOOLS)[number];
3218
3005
  declare const storeAwareEntrySchema: z.ZodObject<{
3219
3006
  stable_id: z.ZodString;
@@ -8856,6 +8643,7 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8856
8643
  }, "strip", z.ZodTypeAny, {
8857
8644
  id: string;
8858
8645
  version: string;
8646
+ score: number;
8859
8647
  ts: number;
8860
8648
  model: string;
8861
8649
  schema_version: 1;
@@ -8864,12 +8652,12 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8864
8652
  event_type: "llm_judge_run";
8865
8653
  prompt: string;
8866
8654
  input_trace_id: string;
8867
- score: number;
8868
8655
  correlation_id?: string | undefined;
8869
8656
  session_id?: string | undefined;
8870
8657
  }, {
8871
8658
  id: string;
8872
8659
  version: string;
8660
+ score: number;
8873
8661
  ts: number;
8874
8662
  model: string;
8875
8663
  schema_version: 1;
@@ -8878,7 +8666,6 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8878
8666
  event_type: "llm_judge_run";
8879
8667
  prompt: string;
8880
8668
  input_trace_id: string;
8881
- score: number;
8882
8669
  correlation_id?: string | undefined;
8883
8670
  session_id?: string | undefined;
8884
8671
  }>;
@@ -11024,6 +10811,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11024
10811
  }, "strip", z.ZodTypeAny, {
11025
10812
  id: string;
11026
10813
  version: string;
10814
+ score: number;
11027
10815
  ts: number;
11028
10816
  model: string;
11029
10817
  schema_version: 1;
@@ -11032,12 +10820,12 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11032
10820
  event_type: "llm_judge_run";
11033
10821
  prompt: string;
11034
10822
  input_trace_id: string;
11035
- score: number;
11036
10823
  correlation_id?: string | undefined;
11037
10824
  session_id?: string | undefined;
11038
10825
  }, {
11039
10826
  id: string;
11040
10827
  version: string;
10828
+ score: number;
11041
10829
  ts: number;
11042
10830
  model: string;
11043
10831
  schema_version: 1;
@@ -11046,7 +10834,6 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11046
10834
  event_type: "llm_judge_run";
11047
10835
  prompt: string;
11048
10836
  input_trace_id: string;
11049
- score: number;
11050
10837
  correlation_id?: string | undefined;
11051
10838
  session_id?: string | undefined;
11052
10839
  }>, z.ZodObject<{
@@ -11340,13 +11127,14 @@ declare function normalizeCiteTag(rawTag: string): CiteTag;
11340
11127
  declare function parseCiteLine(raw: string): ParseCiteLineResult;
11341
11128
 
11342
11129
  /**
11343
- * Tokenize bilingual text into BM25 terms.
11130
+ * Tokenize bilingual text into BM25F terms.
11344
11131
  *
11345
- * Latin/digit runs become lower-cased word tokens; CJK runs become overlapping
11346
- * character bigrams (singleton for length-1 runs). Returns terms in document
11347
- * order, including duplicates callers that need term frequencies count them,
11348
- * callers that need a vocabulary dedupe.
11132
+ * Latin/digit runs become lower-cased word tokens (single-character tokens and
11133
+ * English stop words dropped); CJK runs become overlapping character bi- and
11134
+ * tri-grams (singleton for length-1 runs, bigram-only for length-2). Returns
11135
+ * terms in document order, including duplicates — callers that need term
11136
+ * frequencies count them, callers that need a vocabulary dedupe.
11349
11137
  */
11350
11138
  declare function tokenize(text: string): string[];
11351
11139
 
11352
- 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_BINDINGS_DIR, GLOBAL_REF_PATTERN, GLOBAL_STATE_DIR, type 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, type MountedStore, type MountedStoreDir, ONBOARD_SLOT_NAMES, ONBOARD_SLOT_TOTAL, type OnboardSlot, PARITY_CLIENTS, PARITY_SURFACES, PERSONAL_SCOPE, PERSONAL_STORE_SENTINEL, 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, type RequiredStoreEntry, type ResolutionCandidate, type ResolutionResult, type ResolutionWarning, type ResolveOptions, type ResolvedBindingsSnapshot, type ResolvedEntry, SCOPE_COORDINATE_PATTERN, STORES_ROOT_DIR, STORE_ALIAS_PATTERN, STORE_GITIGNORE, STORE_KNOWLEDGE_TYPE_DIRS, STORE_LAYOUT, STORE_MOUNT_GROUPS, STORE_MOUNT_NAME_PATTERN, STORE_PENDING_DIR, STORE_PROJECT_ID_PATTERN, STORE_RESOLVER_WARNING_CODES, STORE_UUID_PATTERN, 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, type StoreIdentity, type StoreKnowledgeRef, type StoreLayout, type StoreMountGroup, type StoreProject, type StoreProjectsFile, 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, deriveMountLabel, 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, globalConfigSchema, globalRefSchema, graphEdgeCandidateRequestedEventSchema, hasSecrets, hookSignalEmittedEventSchema, hookSurfaceEmittedEventSchema, humanLedgerEntrySchema, humanLockEntrySchema, humanLockFileSchema, initContextDomainGroupSchema, initContextFrameworkSchema, initContextInterviewTrailEntrySchema, initContextInvariantConfidenceSnapshotSchema, initContextInvariantSchema, initContextSchema, initContextSourceEvidenceSchema, initScanCompletedEventSchema, initStore, installDiffAppliedEventSchema, 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, mountedStoreSchema, 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, requiredStoreEntrySchema, resolveCandidates, resolveGlobalRoot, resolveStoreQualifiedId, resolveWorkspaceBindingId, resolvedBindingsSnapshotSchema, ruleDescriptionIndexItemSchema, ruleDescriptionSchema, saveGlobalConfig, saveProjectConfig, scanForSecrets, scopeCoordinateSchema, scopeRoot, scrubRemoteUrl, serveLockClearedEventSchema, sessionArchiveAttemptedEventSchema, sessionEndedEventSchema, skillInvocationCompletedEventSchema, skillInvocationStartedEventSchema, skillPhaseTransitionEventSchema, skillTriggerCandidateEventSchema, storeAliasSchema, storeAwareEntrySchema, storeCountersPath, storeCountersSchema, storeHasProject, storeIdentitySchema, storeKnowledgeTypeDir, storeMountGroup, storeMountNameSchema, storeMountSubPath, storeProjectSchema, storeProjectsFileSchema, storeReadSetSchema, storeRelativePath, storeRelativePathForMount, storeResolveInputSchema, storeResolverWarningCodeSchema, storeResolverWarningSchema, storeUuidSchema, tokenize, uidSchema, withDerivedAgentsMetaNodeDefaults, writeBindingsSnapshot, writeTargetSchema, writtenToStoreSchema };
11140
+ 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, 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 };