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

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-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';
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"];
@@ -24,12 +24,9 @@ declare const ruleDescriptionSchema: z.ZodObject<{
24
24
  tech_stack: z.ZodArray<z.ZodString, "many">;
25
25
  impact: z.ZodArray<z.ZodString, "many">;
26
26
  must_read_if: z.ZodString;
27
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
27
  id: z.ZodOptional<z.ZodString>;
29
28
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
30
29
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
31
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
32
- layer_reason: z.ZodOptional<z.ZodString>;
33
30
  created_at: z.ZodOptional<z.ZodString>;
34
31
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
35
32
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -45,11 +42,8 @@ declare const ruleDescriptionSchema: z.ZodObject<{
45
42
  must_read_if: string;
46
43
  created_at?: string | undefined;
47
44
  id?: string | undefined;
48
- entities?: string[] | undefined;
49
45
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
50
46
  maturity?: "draft" | "verified" | "proven" | undefined;
51
- knowledge_layer?: "personal" | "team" | undefined;
52
- layer_reason?: string | undefined;
53
47
  tags?: string[] | undefined;
54
48
  related?: string[] | undefined;
55
49
  }, {
@@ -62,11 +56,8 @@ declare const ruleDescriptionSchema: z.ZodObject<{
62
56
  id?: string | undefined;
63
57
  relevance_scope?: "narrow" | "broad" | undefined;
64
58
  relevance_paths?: string[] | undefined;
65
- entities?: string[] | undefined;
66
59
  knowledge_type?: unknown;
67
60
  maturity?: "draft" | "verified" | "proven" | undefined;
68
- knowledge_layer?: "personal" | "team" | undefined;
69
- layer_reason?: string | undefined;
70
61
  tags?: string[] | undefined;
71
62
  related?: string[] | undefined;
72
63
  }>;
@@ -78,12 +69,9 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
78
69
  tech_stack: z.ZodArray<z.ZodString, "many">;
79
70
  impact: z.ZodArray<z.ZodString, "many">;
80
71
  must_read_if: z.ZodString;
81
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
82
72
  id: z.ZodOptional<z.ZodString>;
83
73
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
84
74
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
85
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
86
- layer_reason: z.ZodOptional<z.ZodString>;
87
75
  created_at: z.ZodOptional<z.ZodString>;
88
76
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
89
77
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -99,11 +87,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
99
87
  must_read_if: string;
100
88
  created_at?: string | undefined;
101
89
  id?: string | undefined;
102
- entities?: string[] | undefined;
103
90
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
104
91
  maturity?: "draft" | "verified" | "proven" | undefined;
105
- knowledge_layer?: "personal" | "team" | undefined;
106
- layer_reason?: string | undefined;
107
92
  tags?: string[] | undefined;
108
93
  related?: string[] | undefined;
109
94
  }, {
@@ -116,11 +101,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
116
101
  id?: string | undefined;
117
102
  relevance_scope?: "narrow" | "broad" | undefined;
118
103
  relevance_paths?: string[] | undefined;
119
- entities?: string[] | undefined;
120
104
  knowledge_type?: unknown;
121
105
  maturity?: "draft" | "verified" | "proven" | undefined;
122
- knowledge_layer?: "personal" | "team" | undefined;
123
- layer_reason?: string | undefined;
124
106
  tags?: string[] | undefined;
125
107
  related?: string[] | undefined;
126
108
  }>;
@@ -135,11 +117,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
135
117
  must_read_if: string;
136
118
  created_at?: string | undefined;
137
119
  id?: string | undefined;
138
- entities?: string[] | undefined;
139
120
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
140
121
  maturity?: "draft" | "verified" | "proven" | undefined;
141
- knowledge_layer?: "personal" | "team" | undefined;
142
- layer_reason?: string | undefined;
143
122
  tags?: string[] | undefined;
144
123
  related?: string[] | undefined;
145
124
  };
@@ -155,11 +134,8 @@ declare const ruleDescriptionIndexItemSchema: z.ZodObject<{
155
134
  id?: string | undefined;
156
135
  relevance_scope?: "narrow" | "broad" | undefined;
157
136
  relevance_paths?: string[] | undefined;
158
- entities?: string[] | undefined;
159
137
  knowledge_type?: unknown;
160
138
  maturity?: "draft" | "verified" | "proven" | undefined;
161
- knowledge_layer?: "personal" | "team" | undefined;
162
- layer_reason?: string | undefined;
163
139
  tags?: string[] | undefined;
164
140
  related?: string[] | undefined;
165
141
  };
@@ -178,12 +154,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
178
154
  tech_stack: z.ZodArray<z.ZodString, "many">;
179
155
  impact: z.ZodArray<z.ZodString, "many">;
180
156
  must_read_if: z.ZodString;
181
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
157
  id: z.ZodOptional<z.ZodString>;
183
158
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
184
159
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
185
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
186
- layer_reason: z.ZodOptional<z.ZodString>;
187
160
  created_at: z.ZodOptional<z.ZodString>;
188
161
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
189
162
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -199,11 +172,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
199
172
  must_read_if: string;
200
173
  created_at?: string | undefined;
201
174
  id?: string | undefined;
202
- entities?: string[] | undefined;
203
175
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
204
176
  maturity?: "draft" | "verified" | "proven" | undefined;
205
- knowledge_layer?: "personal" | "team" | undefined;
206
- layer_reason?: string | undefined;
207
177
  tags?: string[] | undefined;
208
178
  related?: string[] | undefined;
209
179
  }, {
@@ -216,11 +186,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
216
186
  id?: string | undefined;
217
187
  relevance_scope?: "narrow" | "broad" | undefined;
218
188
  relevance_paths?: string[] | undefined;
219
- entities?: string[] | undefined;
220
189
  knowledge_type?: unknown;
221
190
  maturity?: "draft" | "verified" | "proven" | undefined;
222
- knowledge_layer?: "personal" | "team" | undefined;
223
- layer_reason?: string | undefined;
224
191
  tags?: string[] | undefined;
225
192
  related?: string[] | undefined;
226
193
  }>>;
@@ -238,12 +205,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
238
205
  tech_stack: z.ZodArray<z.ZodString, "many">;
239
206
  impact: z.ZodArray<z.ZodString, "many">;
240
207
  must_read_if: z.ZodString;
241
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
208
  id: z.ZodOptional<z.ZodString>;
243
209
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
244
210
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
245
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
246
- layer_reason: z.ZodOptional<z.ZodString>;
247
211
  created_at: z.ZodOptional<z.ZodString>;
248
212
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
249
213
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -259,11 +223,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
259
223
  must_read_if: string;
260
224
  created_at?: string | undefined;
261
225
  id?: string | undefined;
262
- entities?: string[] | undefined;
263
226
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
264
227
  maturity?: "draft" | "verified" | "proven" | undefined;
265
- knowledge_layer?: "personal" | "team" | undefined;
266
- layer_reason?: string | undefined;
267
228
  tags?: string[] | undefined;
268
229
  related?: string[] | undefined;
269
230
  }, {
@@ -276,11 +237,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
276
237
  id?: string | undefined;
277
238
  relevance_scope?: "narrow" | "broad" | undefined;
278
239
  relevance_paths?: string[] | undefined;
279
- entities?: string[] | undefined;
280
240
  knowledge_type?: unknown;
281
241
  maturity?: "draft" | "verified" | "proven" | undefined;
282
- knowledge_layer?: "personal" | "team" | undefined;
283
- layer_reason?: string | undefined;
284
242
  tags?: string[] | undefined;
285
243
  related?: string[] | undefined;
286
244
  }>>;
@@ -298,12 +256,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
298
256
  tech_stack: z.ZodArray<z.ZodString, "many">;
299
257
  impact: z.ZodArray<z.ZodString, "many">;
300
258
  must_read_if: z.ZodString;
301
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
302
259
  id: z.ZodOptional<z.ZodString>;
303
260
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
304
261
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
305
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
306
- layer_reason: z.ZodOptional<z.ZodString>;
307
262
  created_at: z.ZodOptional<z.ZodString>;
308
263
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
309
264
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -319,11 +274,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
319
274
  must_read_if: string;
320
275
  created_at?: string | undefined;
321
276
  id?: string | undefined;
322
- entities?: string[] | undefined;
323
277
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
324
278
  maturity?: "draft" | "verified" | "proven" | undefined;
325
- knowledge_layer?: "personal" | "team" | undefined;
326
- layer_reason?: string | undefined;
327
279
  tags?: string[] | undefined;
328
280
  related?: string[] | undefined;
329
281
  }, {
@@ -336,11 +288,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
336
288
  id?: string | undefined;
337
289
  relevance_scope?: "narrow" | "broad" | undefined;
338
290
  relevance_paths?: string[] | undefined;
339
- entities?: string[] | undefined;
340
291
  knowledge_type?: unknown;
341
292
  maturity?: "draft" | "verified" | "proven" | undefined;
342
- knowledge_layer?: "personal" | "team" | undefined;
343
- layer_reason?: string | undefined;
344
293
  tags?: string[] | undefined;
345
294
  related?: string[] | undefined;
346
295
  }>>;
@@ -358,12 +307,9 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
358
307
  tech_stack: z.ZodArray<z.ZodString, "many">;
359
308
  impact: z.ZodArray<z.ZodString, "many">;
360
309
  must_read_if: z.ZodString;
361
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
310
  id: z.ZodOptional<z.ZodString>;
363
311
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
364
312
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
365
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
366
- layer_reason: z.ZodOptional<z.ZodString>;
367
313
  created_at: z.ZodOptional<z.ZodString>;
368
314
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
369
315
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -379,11 +325,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
379
325
  must_read_if: string;
380
326
  created_at?: string | undefined;
381
327
  id?: string | undefined;
382
- entities?: string[] | undefined;
383
328
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
384
329
  maturity?: "draft" | "verified" | "proven" | undefined;
385
- knowledge_layer?: "personal" | "team" | undefined;
386
- layer_reason?: string | undefined;
387
330
  tags?: string[] | undefined;
388
331
  related?: string[] | undefined;
389
332
  }, {
@@ -396,11 +339,8 @@ declare const agentsMetaNodeSchema: z.ZodEffects<z.ZodObject<{
396
339
  id?: string | undefined;
397
340
  relevance_scope?: "narrow" | "broad" | undefined;
398
341
  relevance_paths?: string[] | undefined;
399
- entities?: string[] | undefined;
400
342
  knowledge_type?: unknown;
401
343
  maturity?: "draft" | "verified" | "proven" | undefined;
402
- knowledge_layer?: "personal" | "team" | undefined;
403
- layer_reason?: string | undefined;
404
344
  tags?: string[] | undefined;
405
345
  related?: string[] | undefined;
406
346
  }>>;
@@ -492,12 +432,9 @@ declare const agentsMetaSchema: z.ZodObject<{
492
432
  tech_stack: z.ZodArray<z.ZodString, "many">;
493
433
  impact: z.ZodArray<z.ZodString, "many">;
494
434
  must_read_if: z.ZodString;
495
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
496
435
  id: z.ZodOptional<z.ZodString>;
497
436
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
498
437
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
499
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
500
- layer_reason: z.ZodOptional<z.ZodString>;
501
438
  created_at: z.ZodOptional<z.ZodString>;
502
439
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
503
440
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -513,11 +450,8 @@ declare const agentsMetaSchema: z.ZodObject<{
513
450
  must_read_if: string;
514
451
  created_at?: string | undefined;
515
452
  id?: string | undefined;
516
- entities?: string[] | undefined;
517
453
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
518
454
  maturity?: "draft" | "verified" | "proven" | undefined;
519
- knowledge_layer?: "personal" | "team" | undefined;
520
- layer_reason?: string | undefined;
521
455
  tags?: string[] | undefined;
522
456
  related?: string[] | undefined;
523
457
  }, {
@@ -530,11 +464,8 @@ declare const agentsMetaSchema: z.ZodObject<{
530
464
  id?: string | undefined;
531
465
  relevance_scope?: "narrow" | "broad" | undefined;
532
466
  relevance_paths?: string[] | undefined;
533
- entities?: string[] | undefined;
534
467
  knowledge_type?: unknown;
535
468
  maturity?: "draft" | "verified" | "proven" | undefined;
536
- knowledge_layer?: "personal" | "team" | undefined;
537
- layer_reason?: string | undefined;
538
469
  tags?: string[] | undefined;
539
470
  related?: string[] | undefined;
540
471
  }>>;
@@ -552,12 +483,9 @@ declare const agentsMetaSchema: z.ZodObject<{
552
483
  tech_stack: z.ZodArray<z.ZodString, "many">;
553
484
  impact: z.ZodArray<z.ZodString, "many">;
554
485
  must_read_if: z.ZodString;
555
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
486
  id: z.ZodOptional<z.ZodString>;
557
487
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
558
488
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
559
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
560
- layer_reason: z.ZodOptional<z.ZodString>;
561
489
  created_at: z.ZodOptional<z.ZodString>;
562
490
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
563
491
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -573,11 +501,8 @@ declare const agentsMetaSchema: z.ZodObject<{
573
501
  must_read_if: string;
574
502
  created_at?: string | undefined;
575
503
  id?: string | undefined;
576
- entities?: string[] | undefined;
577
504
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
578
505
  maturity?: "draft" | "verified" | "proven" | undefined;
579
- knowledge_layer?: "personal" | "team" | undefined;
580
- layer_reason?: string | undefined;
581
506
  tags?: string[] | undefined;
582
507
  related?: string[] | undefined;
583
508
  }, {
@@ -590,11 +515,8 @@ declare const agentsMetaSchema: z.ZodObject<{
590
515
  id?: string | undefined;
591
516
  relevance_scope?: "narrow" | "broad" | undefined;
592
517
  relevance_paths?: string[] | undefined;
593
- entities?: string[] | undefined;
594
518
  knowledge_type?: unknown;
595
519
  maturity?: "draft" | "verified" | "proven" | undefined;
596
- knowledge_layer?: "personal" | "team" | undefined;
597
- layer_reason?: string | undefined;
598
520
  tags?: string[] | undefined;
599
521
  related?: string[] | undefined;
600
522
  }>>;
@@ -612,12 +534,9 @@ declare const agentsMetaSchema: z.ZodObject<{
612
534
  tech_stack: z.ZodArray<z.ZodString, "many">;
613
535
  impact: z.ZodArray<z.ZodString, "many">;
614
536
  must_read_if: z.ZodString;
615
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
616
537
  id: z.ZodOptional<z.ZodString>;
617
538
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
618
539
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
619
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
620
- layer_reason: z.ZodOptional<z.ZodString>;
621
540
  created_at: z.ZodOptional<z.ZodString>;
622
541
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
623
542
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -633,11 +552,8 @@ declare const agentsMetaSchema: z.ZodObject<{
633
552
  must_read_if: string;
634
553
  created_at?: string | undefined;
635
554
  id?: string | undefined;
636
- entities?: string[] | undefined;
637
555
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
638
556
  maturity?: "draft" | "verified" | "proven" | undefined;
639
- knowledge_layer?: "personal" | "team" | undefined;
640
- layer_reason?: string | undefined;
641
557
  tags?: string[] | undefined;
642
558
  related?: string[] | undefined;
643
559
  }, {
@@ -650,11 +566,8 @@ declare const agentsMetaSchema: z.ZodObject<{
650
566
  id?: string | undefined;
651
567
  relevance_scope?: "narrow" | "broad" | undefined;
652
568
  relevance_paths?: string[] | undefined;
653
- entities?: string[] | undefined;
654
569
  knowledge_type?: unknown;
655
570
  maturity?: "draft" | "verified" | "proven" | undefined;
656
- knowledge_layer?: "personal" | "team" | undefined;
657
- layer_reason?: string | undefined;
658
571
  tags?: string[] | undefined;
659
572
  related?: string[] | undefined;
660
573
  }>>;
@@ -672,12 +585,9 @@ declare const agentsMetaSchema: z.ZodObject<{
672
585
  tech_stack: z.ZodArray<z.ZodString, "many">;
673
586
  impact: z.ZodArray<z.ZodString, "many">;
674
587
  must_read_if: z.ZodString;
675
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
676
588
  id: z.ZodOptional<z.ZodString>;
677
589
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
678
590
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
679
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
680
- layer_reason: z.ZodOptional<z.ZodString>;
681
591
  created_at: z.ZodOptional<z.ZodString>;
682
592
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
683
593
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -693,11 +603,8 @@ declare const agentsMetaSchema: z.ZodObject<{
693
603
  must_read_if: string;
694
604
  created_at?: string | undefined;
695
605
  id?: string | undefined;
696
- entities?: string[] | undefined;
697
606
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
698
607
  maturity?: "draft" | "verified" | "proven" | undefined;
699
- knowledge_layer?: "personal" | "team" | undefined;
700
- layer_reason?: string | undefined;
701
608
  tags?: string[] | undefined;
702
609
  related?: string[] | undefined;
703
610
  }, {
@@ -710,11 +617,8 @@ declare const agentsMetaSchema: z.ZodObject<{
710
617
  id?: string | undefined;
711
618
  relevance_scope?: "narrow" | "broad" | undefined;
712
619
  relevance_paths?: string[] | undefined;
713
- entities?: string[] | undefined;
714
620
  knowledge_type?: unknown;
715
621
  maturity?: "draft" | "verified" | "proven" | undefined;
716
- knowledge_layer?: "personal" | "team" | undefined;
717
- layer_reason?: string | undefined;
718
622
  tags?: string[] | undefined;
719
623
  related?: string[] | undefined;
720
624
  }>>;
@@ -805,12 +709,9 @@ declare const agentsMetaSchema: z.ZodObject<{
805
709
  tech_stack: z.ZodArray<z.ZodString, "many">;
806
710
  impact: z.ZodArray<z.ZodString, "many">;
807
711
  must_read_if: z.ZodString;
808
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
809
712
  id: z.ZodOptional<z.ZodString>;
810
713
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
811
714
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
812
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
813
- layer_reason: z.ZodOptional<z.ZodString>;
814
715
  created_at: z.ZodOptional<z.ZodString>;
815
716
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
717
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -826,11 +727,8 @@ declare const agentsMetaSchema: z.ZodObject<{
826
727
  must_read_if: string;
827
728
  created_at?: string | undefined;
828
729
  id?: string | undefined;
829
- entities?: string[] | undefined;
830
730
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
831
731
  maturity?: "draft" | "verified" | "proven" | undefined;
832
- knowledge_layer?: "personal" | "team" | undefined;
833
- layer_reason?: string | undefined;
834
732
  tags?: string[] | undefined;
835
733
  related?: string[] | undefined;
836
734
  }, {
@@ -843,11 +741,8 @@ declare const agentsMetaSchema: z.ZodObject<{
843
741
  id?: string | undefined;
844
742
  relevance_scope?: "narrow" | "broad" | undefined;
845
743
  relevance_paths?: string[] | undefined;
846
- entities?: string[] | undefined;
847
744
  knowledge_type?: unknown;
848
745
  maturity?: "draft" | "verified" | "proven" | undefined;
849
- knowledge_layer?: "personal" | "team" | undefined;
850
- layer_reason?: string | undefined;
851
746
  tags?: string[] | undefined;
852
747
  related?: string[] | undefined;
853
748
  }>>;
@@ -1290,238 +1185,10 @@ declare function getPanelFields(): readonly PanelFieldMeta[];
1290
1185
  */
1291
1186
  declare function getPanelFieldByKey(key: string): PanelFieldMeta | undefined;
1292
1187
 
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
1188
  declare const PERSONAL_SCOPE: "personal";
1523
1189
  declare const KNOWN_SCOPE_PREFIXES: readonly ["personal", "team", "project", "org"];
1524
1190
  declare const SCOPE_COORDINATE_PATTERN: RegExp;
1191
+ 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
1192
  declare const scopeCoordinateSchema: z.ZodString;
1526
1193
  type ScopeCoordinate = z.infer<typeof scopeCoordinateSchema>;
1527
1194
  declare function scopeRoot(coordinate: string): string;
@@ -2017,8 +1684,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
2017
1684
  writable: z.ZodDefault<z.ZodBoolean>;
2018
1685
  personal: z.ZodDefault<z.ZodBoolean>;
2019
1686
  }, "strict", z.ZodTypeAny, {
2020
- personal: boolean;
2021
1687
  store_uuid: string;
1688
+ personal: boolean;
2022
1689
  alias: string;
2023
1690
  writable: boolean;
2024
1691
  mount_name?: string | undefined;
@@ -2042,6 +1709,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2042
1709
  suggested_remote?: string | undefined;
2043
1710
  }>, "many">;
2044
1711
  activeWriteAlias: z.ZodOptional<z.ZodString>;
1712
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2045
1713
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2046
1714
  scope: z.ZodString;
2047
1715
  store: z.ZodString;
@@ -2056,8 +1724,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
2056
1724
  }, "strict", z.ZodTypeAny, {
2057
1725
  uid: string;
2058
1726
  mountedStores: {
2059
- personal: boolean;
2060
1727
  store_uuid: string;
1728
+ personal: boolean;
2061
1729
  alias: string;
2062
1730
  writable: boolean;
2063
1731
  mount_name?: string | undefined;
@@ -2072,6 +1740,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2072
1740
  store: string;
2073
1741
  }[];
2074
1742
  activeWriteAlias?: string | undefined;
1743
+ activePersonalAlias?: string | undefined;
2075
1744
  defaultWriteAlias?: string | undefined;
2076
1745
  }, {
2077
1746
  uid: string;
@@ -2088,6 +1757,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2088
1757
  suggested_remote?: string | undefined;
2089
1758
  }[];
2090
1759
  activeWriteAlias?: string | undefined;
1760
+ activePersonalAlias?: string | undefined;
2091
1761
  writeRoutes?: {
2092
1762
  scope: string;
2093
1763
  store: string;
@@ -2288,8 +1958,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2288
1958
  writable: z.ZodDefault<z.ZodBoolean>;
2289
1959
  personal: z.ZodDefault<z.ZodBoolean>;
2290
1960
  }, "strict", z.ZodTypeAny, {
2291
- personal: boolean;
2292
1961
  store_uuid: string;
1962
+ personal: boolean;
2293
1963
  alias: string;
2294
1964
  writable: boolean;
2295
1965
  mount_name?: string | undefined;
@@ -2313,6 +1983,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2313
1983
  suggested_remote?: string | undefined;
2314
1984
  }>, "many">;
2315
1985
  activeWriteAlias: z.ZodOptional<z.ZodString>;
1986
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2316
1987
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2317
1988
  scope: z.ZodString;
2318
1989
  store: z.ZodString;
@@ -2327,8 +1998,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2327
1998
  }, "strict", z.ZodTypeAny, {
2328
1999
  uid: string;
2329
2000
  mountedStores: {
2330
- personal: boolean;
2331
2001
  store_uuid: string;
2002
+ personal: boolean;
2332
2003
  alias: string;
2333
2004
  writable: boolean;
2334
2005
  mount_name?: string | undefined;
@@ -2343,6 +2014,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2343
2014
  store: string;
2344
2015
  }[];
2345
2016
  activeWriteAlias?: string | undefined;
2017
+ activePersonalAlias?: string | undefined;
2346
2018
  defaultWriteAlias?: string | undefined;
2347
2019
  }, {
2348
2020
  uid: string;
@@ -2359,6 +2031,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2359
2031
  suggested_remote?: string | undefined;
2360
2032
  }[];
2361
2033
  activeWriteAlias?: string | undefined;
2034
+ activePersonalAlias?: string | undefined;
2362
2035
  writeRoutes?: {
2363
2036
  scope: string;
2364
2037
  store: string;
@@ -2521,8 +2194,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2521
2194
  input: {
2522
2195
  uid: string;
2523
2196
  mountedStores: {
2524
- personal: boolean;
2525
2197
  store_uuid: string;
2198
+ personal: boolean;
2526
2199
  alias: string;
2527
2200
  writable: boolean;
2528
2201
  mount_name?: string | undefined;
@@ -2537,6 +2210,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2537
2210
  store: string;
2538
2211
  }[];
2539
2212
  activeWriteAlias?: string | undefined;
2213
+ activePersonalAlias?: string | undefined;
2540
2214
  defaultWriteAlias?: string | undefined;
2541
2215
  };
2542
2216
  writeScope: string;
@@ -2582,6 +2256,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2582
2256
  suggested_remote?: string | undefined;
2583
2257
  }[];
2584
2258
  activeWriteAlias?: string | undefined;
2259
+ activePersonalAlias?: string | undefined;
2585
2260
  writeRoutes?: {
2586
2261
  scope: string;
2587
2262
  store: string;
@@ -2607,8 +2282,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2607
2282
  writable: z.ZodDefault<z.ZodBoolean>;
2608
2283
  personal: z.ZodDefault<z.ZodBoolean>;
2609
2284
  }, "strict", z.ZodTypeAny, {
2610
- personal: boolean;
2611
2285
  store_uuid: string;
2286
+ personal: boolean;
2612
2287
  alias: string;
2613
2288
  writable: boolean;
2614
2289
  mount_name?: string | undefined;
@@ -2632,6 +2307,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2632
2307
  suggested_remote?: string | undefined;
2633
2308
  }>, "many">;
2634
2309
  activeWriteAlias: z.ZodOptional<z.ZodString>;
2310
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2635
2311
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2636
2312
  scope: z.ZodString;
2637
2313
  store: z.ZodString;
@@ -2646,8 +2322,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2646
2322
  }, "strict", z.ZodTypeAny, {
2647
2323
  uid: string;
2648
2324
  mountedStores: {
2649
- personal: boolean;
2650
2325
  store_uuid: string;
2326
+ personal: boolean;
2651
2327
  alias: string;
2652
2328
  writable: boolean;
2653
2329
  mount_name?: string | undefined;
@@ -2662,6 +2338,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2662
2338
  store: string;
2663
2339
  }[];
2664
2340
  activeWriteAlias?: string | undefined;
2341
+ activePersonalAlias?: string | undefined;
2665
2342
  defaultWriteAlias?: string | undefined;
2666
2343
  }, {
2667
2344
  uid: string;
@@ -2678,6 +2355,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2678
2355
  suggested_remote?: string | undefined;
2679
2356
  }[];
2680
2357
  activeWriteAlias?: string | undefined;
2358
+ activePersonalAlias?: string | undefined;
2681
2359
  writeRoutes?: {
2682
2360
  scope: string;
2683
2361
  store: string;
@@ -2840,8 +2518,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2840
2518
  input: {
2841
2519
  uid: string;
2842
2520
  mountedStores: {
2843
- personal: boolean;
2844
2521
  store_uuid: string;
2522
+ personal: boolean;
2845
2523
  alias: string;
2846
2524
  writable: boolean;
2847
2525
  mount_name?: string | undefined;
@@ -2856,6 +2534,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2856
2534
  store: string;
2857
2535
  }[];
2858
2536
  activeWriteAlias?: string | undefined;
2537
+ activePersonalAlias?: string | undefined;
2859
2538
  defaultWriteAlias?: string | undefined;
2860
2539
  };
2861
2540
  writeScope: string;
@@ -2901,6 +2580,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2901
2580
  suggested_remote?: string | undefined;
2902
2581
  }[];
2903
2582
  activeWriteAlias?: string | undefined;
2583
+ activePersonalAlias?: string | undefined;
2904
2584
  writeRoutes?: {
2905
2585
  scope: string;
2906
2586
  store: string;
@@ -2941,8 +2621,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2941
2621
  input: {
2942
2622
  uid: string;
2943
2623
  mountedStores: {
2944
- personal: boolean;
2945
2624
  store_uuid: string;
2625
+ personal: boolean;
2946
2626
  alias: string;
2947
2627
  writable: boolean;
2948
2628
  mount_name?: string | undefined;
@@ -2957,6 +2637,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2957
2637
  store: string;
2958
2638
  }[];
2959
2639
  activeWriteAlias?: string | undefined;
2640
+ activePersonalAlias?: string | undefined;
2960
2641
  defaultWriteAlias?: string | undefined;
2961
2642
  };
2962
2643
  writeScope: string;
@@ -3005,6 +2686,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
3005
2686
  suggested_remote?: string | undefined;
3006
2687
  }[];
3007
2688
  activeWriteAlias?: string | undefined;
2689
+ activePersonalAlias?: string | undefined;
3008
2690
  writeRoutes?: {
3009
2691
  scope: string;
3010
2692
  store: string;
@@ -3078,6 +2760,7 @@ interface StoreKnowledgeRef {
3078
2760
  alias: string;
3079
2761
  type: string;
3080
2762
  file: string;
2763
+ project?: string;
3081
2764
  }
3082
2765
  interface MountedStoreDir {
3083
2766
  store_uuid: string;
@@ -3213,7 +2896,7 @@ declare const knowledgeProvenanceSchema: z.ZodObject<{
3213
2896
  }>;
3214
2897
  type KnowledgeProvenance = z.infer<typeof knowledgeProvenanceSchema>;
3215
2898
 
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"];
2899
+ declare const MCP_STORE_AWARE_TOOLS: readonly ["fab_recall", "fab_plan_context", "fab_get_knowledge_sections", "fab_archive_scan", "fab_propose", "fab_review"];
3217
2900
  type McpStoreAwareTool = (typeof MCP_STORE_AWARE_TOOLS)[number];
3218
2901
  declare const storeAwareEntrySchema: z.ZodObject<{
3219
2902
  stable_id: z.ZodString;
@@ -3564,13 +3247,13 @@ declare const forensicAssertionCoverageSchema: z.ZodObject<{
3564
3247
  matched: z.ZodNumber;
3565
3248
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3566
3249
  }, "strip", z.ZodTypeAny, {
3567
- ratio: number;
3568
3250
  total: number;
3251
+ ratio: number;
3569
3252
  matched: number;
3570
3253
  co_occurring_patterns: string[];
3571
3254
  }, {
3572
- ratio: number;
3573
3255
  total: number;
3256
+ ratio: number;
3574
3257
  matched: number;
3575
3258
  co_occurring_patterns: string[];
3576
3259
  }>;
@@ -3597,13 +3280,13 @@ declare const forensicAssertionSchema: z.ZodObject<{
3597
3280
  matched: z.ZodNumber;
3598
3281
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3599
3282
  }, "strip", z.ZodTypeAny, {
3600
- ratio: number;
3601
3283
  total: number;
3284
+ ratio: number;
3602
3285
  matched: number;
3603
3286
  co_occurring_patterns: string[];
3604
3287
  }, {
3605
- ratio: number;
3606
3288
  total: number;
3289
+ ratio: number;
3607
3290
  matched: number;
3608
3291
  co_occurring_patterns: string[];
3609
3292
  }>;
@@ -3619,8 +3302,8 @@ declare const forensicAssertionSchema: z.ZodObject<{
3619
3302
  snippet: string;
3620
3303
  }[];
3621
3304
  coverage: {
3622
- ratio: number;
3623
3305
  total: number;
3306
+ ratio: number;
3624
3307
  matched: number;
3625
3308
  co_occurring_patterns: string[];
3626
3309
  };
@@ -3636,8 +3319,8 @@ declare const forensicAssertionSchema: z.ZodObject<{
3636
3319
  snippet: string;
3637
3320
  }[];
3638
3321
  coverage: {
3639
- ratio: number;
3640
3322
  total: number;
3323
+ ratio: number;
3641
3324
  matched: number;
3642
3325
  co_occurring_patterns: string[];
3643
3326
  };
@@ -3815,13 +3498,13 @@ declare const forensicReportSchema: z.ZodObject<{
3815
3498
  matched: z.ZodNumber;
3816
3499
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3817
3500
  }, "strip", z.ZodTypeAny, {
3818
- ratio: number;
3819
3501
  total: number;
3502
+ ratio: number;
3820
3503
  matched: number;
3821
3504
  co_occurring_patterns: string[];
3822
3505
  }, {
3823
- ratio: number;
3824
3506
  total: number;
3507
+ ratio: number;
3825
3508
  matched: number;
3826
3509
  co_occurring_patterns: string[];
3827
3510
  }>;
@@ -3837,8 +3520,8 @@ declare const forensicReportSchema: z.ZodObject<{
3837
3520
  snippet: string;
3838
3521
  }[];
3839
3522
  coverage: {
3840
- ratio: number;
3841
3523
  total: number;
3524
+ ratio: number;
3842
3525
  matched: number;
3843
3526
  co_occurring_patterns: string[];
3844
3527
  };
@@ -3854,8 +3537,8 @@ declare const forensicReportSchema: z.ZodObject<{
3854
3537
  snippet: string;
3855
3538
  }[];
3856
3539
  coverage: {
3857
- ratio: number;
3858
3540
  total: number;
3541
+ ratio: number;
3859
3542
  matched: number;
3860
3543
  co_occurring_patterns: string[];
3861
3544
  };
@@ -3938,8 +3621,8 @@ declare const forensicReportSchema: z.ZodObject<{
3938
3621
  snippet: string;
3939
3622
  }[];
3940
3623
  coverage: {
3941
- ratio: number;
3942
3624
  total: number;
3625
+ ratio: number;
3943
3626
  matched: number;
3944
3627
  co_occurring_patterns: string[];
3945
3628
  };
@@ -4000,8 +3683,8 @@ declare const forensicReportSchema: z.ZodObject<{
4000
3683
  snippet: string;
4001
3684
  }[];
4002
3685
  coverage: {
4003
- ratio: number;
4004
3686
  total: number;
3687
+ ratio: number;
4005
3688
  matched: number;
4006
3689
  co_occurring_patterns: string[];
4007
3690
  };
@@ -4406,12 +4089,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4406
4089
  tech_stack: z.ZodArray<z.ZodString, "many">;
4407
4090
  impact: z.ZodArray<z.ZodString, "many">;
4408
4091
  must_read_if: z.ZodString;
4409
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4410
4092
  id: z.ZodOptional<z.ZodString>;
4411
4093
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4412
4094
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4413
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4414
- layer_reason: z.ZodOptional<z.ZodString>;
4415
4095
  created_at: z.ZodOptional<z.ZodString>;
4416
4096
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4417
4097
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4427,11 +4107,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4427
4107
  must_read_if: string;
4428
4108
  created_at?: string | undefined;
4429
4109
  id?: string | undefined;
4430
- entities?: string[] | undefined;
4431
4110
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4432
4111
  maturity?: "draft" | "verified" | "proven" | undefined;
4433
- knowledge_layer?: "personal" | "team" | undefined;
4434
- layer_reason?: string | undefined;
4435
4112
  tags?: string[] | undefined;
4436
4113
  related?: string[] | undefined;
4437
4114
  }, {
@@ -4444,11 +4121,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4444
4121
  id?: string | undefined;
4445
4122
  relevance_scope?: "narrow" | "broad" | undefined;
4446
4123
  relevance_paths?: string[] | undefined;
4447
- entities?: string[] | undefined;
4448
4124
  knowledge_type?: unknown;
4449
4125
  maturity?: "draft" | "verified" | "proven" | undefined;
4450
- knowledge_layer?: "personal" | "team" | undefined;
4451
- layer_reason?: string | undefined;
4452
4126
  tags?: string[] | undefined;
4453
4127
  related?: string[] | undefined;
4454
4128
  }>>;
@@ -4466,12 +4140,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4466
4140
  tech_stack: z.ZodArray<z.ZodString, "many">;
4467
4141
  impact: z.ZodArray<z.ZodString, "many">;
4468
4142
  must_read_if: z.ZodString;
4469
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4470
4143
  id: z.ZodOptional<z.ZodString>;
4471
4144
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4472
4145
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4473
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4474
- layer_reason: z.ZodOptional<z.ZodString>;
4475
4146
  created_at: z.ZodOptional<z.ZodString>;
4476
4147
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4477
4148
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4487,11 +4158,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4487
4158
  must_read_if: string;
4488
4159
  created_at?: string | undefined;
4489
4160
  id?: string | undefined;
4490
- entities?: string[] | undefined;
4491
4161
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4492
4162
  maturity?: "draft" | "verified" | "proven" | undefined;
4493
- knowledge_layer?: "personal" | "team" | undefined;
4494
- layer_reason?: string | undefined;
4495
4163
  tags?: string[] | undefined;
4496
4164
  related?: string[] | undefined;
4497
4165
  }, {
@@ -4504,11 +4172,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4504
4172
  id?: string | undefined;
4505
4173
  relevance_scope?: "narrow" | "broad" | undefined;
4506
4174
  relevance_paths?: string[] | undefined;
4507
- entities?: string[] | undefined;
4508
4175
  knowledge_type?: unknown;
4509
4176
  maturity?: "draft" | "verified" | "proven" | undefined;
4510
- knowledge_layer?: "personal" | "team" | undefined;
4511
- layer_reason?: string | undefined;
4512
4177
  tags?: string[] | undefined;
4513
4178
  related?: string[] | undefined;
4514
4179
  }>>;
@@ -4526,12 +4191,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4526
4191
  tech_stack: z.ZodArray<z.ZodString, "many">;
4527
4192
  impact: z.ZodArray<z.ZodString, "many">;
4528
4193
  must_read_if: z.ZodString;
4529
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4530
4194
  id: z.ZodOptional<z.ZodString>;
4531
4195
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4532
4196
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4533
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4534
- layer_reason: z.ZodOptional<z.ZodString>;
4535
4197
  created_at: z.ZodOptional<z.ZodString>;
4536
4198
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4537
4199
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4547,11 +4209,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4547
4209
  must_read_if: string;
4548
4210
  created_at?: string | undefined;
4549
4211
  id?: string | undefined;
4550
- entities?: string[] | undefined;
4551
4212
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4552
4213
  maturity?: "draft" | "verified" | "proven" | undefined;
4553
- knowledge_layer?: "personal" | "team" | undefined;
4554
- layer_reason?: string | undefined;
4555
4214
  tags?: string[] | undefined;
4556
4215
  related?: string[] | undefined;
4557
4216
  }, {
@@ -4564,11 +4223,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4564
4223
  id?: string | undefined;
4565
4224
  relevance_scope?: "narrow" | "broad" | undefined;
4566
4225
  relevance_paths?: string[] | undefined;
4567
- entities?: string[] | undefined;
4568
4226
  knowledge_type?: unknown;
4569
4227
  maturity?: "draft" | "verified" | "proven" | undefined;
4570
- knowledge_layer?: "personal" | "team" | undefined;
4571
- layer_reason?: string | undefined;
4572
4228
  tags?: string[] | undefined;
4573
4229
  related?: string[] | undefined;
4574
4230
  }>>;
@@ -4586,12 +4242,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4586
4242
  tech_stack: z.ZodArray<z.ZodString, "many">;
4587
4243
  impact: z.ZodArray<z.ZodString, "many">;
4588
4244
  must_read_if: z.ZodString;
4589
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4590
4245
  id: z.ZodOptional<z.ZodString>;
4591
4246
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4592
4247
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4593
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4594
- layer_reason: z.ZodOptional<z.ZodString>;
4595
4248
  created_at: z.ZodOptional<z.ZodString>;
4596
4249
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4597
4250
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4607,11 +4260,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4607
4260
  must_read_if: string;
4608
4261
  created_at?: string | undefined;
4609
4262
  id?: string | undefined;
4610
- entities?: string[] | undefined;
4611
4263
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4612
4264
  maturity?: "draft" | "verified" | "proven" | undefined;
4613
- knowledge_layer?: "personal" | "team" | undefined;
4614
- layer_reason?: string | undefined;
4615
4265
  tags?: string[] | undefined;
4616
4266
  related?: string[] | undefined;
4617
4267
  }, {
@@ -4624,11 +4274,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4624
4274
  id?: string | undefined;
4625
4275
  relevance_scope?: "narrow" | "broad" | undefined;
4626
4276
  relevance_paths?: string[] | undefined;
4627
- entities?: string[] | undefined;
4628
4277
  knowledge_type?: unknown;
4629
4278
  maturity?: "draft" | "verified" | "proven" | undefined;
4630
- knowledge_layer?: "personal" | "team" | undefined;
4631
- layer_reason?: string | undefined;
4632
4279
  tags?: string[] | undefined;
4633
4280
  related?: string[] | undefined;
4634
4281
  }>>;
@@ -4719,12 +4366,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4719
4366
  tech_stack: z.ZodArray<z.ZodString, "many">;
4720
4367
  impact: z.ZodArray<z.ZodString, "many">;
4721
4368
  must_read_if: z.ZodString;
4722
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4723
4369
  id: z.ZodOptional<z.ZodString>;
4724
4370
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4725
4371
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4726
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4727
- layer_reason: z.ZodOptional<z.ZodString>;
4728
4372
  created_at: z.ZodOptional<z.ZodString>;
4729
4373
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4730
4374
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4740,11 +4384,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4740
4384
  must_read_if: string;
4741
4385
  created_at?: string | undefined;
4742
4386
  id?: string | undefined;
4743
- entities?: string[] | undefined;
4744
4387
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4745
4388
  maturity?: "draft" | "verified" | "proven" | undefined;
4746
- knowledge_layer?: "personal" | "team" | undefined;
4747
- layer_reason?: string | undefined;
4748
4389
  tags?: string[] | undefined;
4749
4390
  related?: string[] | undefined;
4750
4391
  }, {
@@ -4757,11 +4398,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4757
4398
  id?: string | undefined;
4758
4399
  relevance_scope?: "narrow" | "broad" | undefined;
4759
4400
  relevance_paths?: string[] | undefined;
4760
- entities?: string[] | undefined;
4761
4401
  knowledge_type?: unknown;
4762
4402
  maturity?: "draft" | "verified" | "proven" | undefined;
4763
- knowledge_layer?: "personal" | "team" | undefined;
4764
- layer_reason?: string | undefined;
4765
4403
  tags?: string[] | undefined;
4766
4404
  related?: string[] | undefined;
4767
4405
  }>>;
@@ -4820,12 +4458,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4820
4458
  tech_stack: z.ZodArray<z.ZodString, "many">;
4821
4459
  impact: z.ZodArray<z.ZodString, "many">;
4822
4460
  must_read_if: z.ZodString;
4823
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4824
4461
  id: z.ZodOptional<z.ZodString>;
4825
4462
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4826
4463
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4827
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4828
- layer_reason: z.ZodOptional<z.ZodString>;
4829
4464
  created_at: z.ZodOptional<z.ZodString>;
4830
4465
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4831
4466
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4841,11 +4476,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4841
4476
  must_read_if: string;
4842
4477
  created_at?: string | undefined;
4843
4478
  id?: string | undefined;
4844
- entities?: string[] | undefined;
4845
4479
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4846
4480
  maturity?: "draft" | "verified" | "proven" | undefined;
4847
- knowledge_layer?: "personal" | "team" | undefined;
4848
- layer_reason?: string | undefined;
4849
4481
  tags?: string[] | undefined;
4850
4482
  related?: string[] | undefined;
4851
4483
  }, {
@@ -4858,11 +4490,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4858
4490
  id?: string | undefined;
4859
4491
  relevance_scope?: "narrow" | "broad" | undefined;
4860
4492
  relevance_paths?: string[] | undefined;
4861
- entities?: string[] | undefined;
4862
4493
  knowledge_type?: unknown;
4863
4494
  maturity?: "draft" | "verified" | "proven" | undefined;
4864
- knowledge_layer?: "personal" | "team" | undefined;
4865
- layer_reason?: string | undefined;
4866
4495
  tags?: string[] | undefined;
4867
4496
  related?: string[] | undefined;
4868
4497
  }>>;
@@ -5285,13 +4914,13 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5285
4914
  matched: z.ZodNumber;
5286
4915
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
5287
4916
  }, "strip", z.ZodTypeAny, {
5288
- ratio: number;
5289
4917
  total: number;
4918
+ ratio: number;
5290
4919
  matched: number;
5291
4920
  co_occurring_patterns: string[];
5292
4921
  }, {
5293
- ratio: number;
5294
4922
  total: number;
4923
+ ratio: number;
5295
4924
  matched: number;
5296
4925
  co_occurring_patterns: string[];
5297
4926
  }>;
@@ -5307,8 +4936,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5307
4936
  snippet: string;
5308
4937
  }[];
5309
4938
  coverage: {
5310
- ratio: number;
5311
4939
  total: number;
4940
+ ratio: number;
5312
4941
  matched: number;
5313
4942
  co_occurring_patterns: string[];
5314
4943
  };
@@ -5324,8 +4953,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5324
4953
  snippet: string;
5325
4954
  }[];
5326
4955
  coverage: {
5327
- ratio: number;
5328
4956
  total: number;
4957
+ ratio: number;
5329
4958
  matched: number;
5330
4959
  co_occurring_patterns: string[];
5331
4960
  };
@@ -5408,8 +5037,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5408
5037
  snippet: string;
5409
5038
  }[];
5410
5039
  coverage: {
5411
- ratio: number;
5412
5040
  total: number;
5041
+ ratio: number;
5413
5042
  matched: number;
5414
5043
  co_occurring_patterns: string[];
5415
5044
  };
@@ -5470,8 +5099,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5470
5099
  snippet: string;
5471
5100
  }[];
5472
5101
  coverage: {
5473
- ratio: number;
5474
5102
  total: number;
5103
+ ratio: number;
5475
5104
  matched: number;
5476
5105
  co_occurring_patterns: string[];
5477
5106
  };
@@ -5535,8 +5164,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5535
5164
  snippet: string;
5536
5165
  }[];
5537
5166
  coverage: {
5538
- ratio: number;
5539
5167
  total: number;
5168
+ ratio: number;
5540
5169
  matched: number;
5541
5170
  co_occurring_patterns: string[];
5542
5171
  };
@@ -5600,8 +5229,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5600
5229
  snippet: string;
5601
5230
  }[];
5602
5231
  coverage: {
5603
- ratio: number;
5604
5232
  total: number;
5233
+ ratio: number;
5605
5234
  matched: number;
5606
5235
  co_occurring_patterns: string[];
5607
5236
  };
@@ -5642,12 +5271,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5642
5271
  tech_stack: z.ZodArray<z.ZodString, "many">;
5643
5272
  impact: z.ZodArray<z.ZodString, "many">;
5644
5273
  must_read_if: z.ZodString;
5645
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5646
5274
  id: z.ZodOptional<z.ZodString>;
5647
5275
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5648
5276
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5649
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5650
- layer_reason: z.ZodOptional<z.ZodString>;
5651
5277
  created_at: z.ZodOptional<z.ZodString>;
5652
5278
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5653
5279
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5663,11 +5289,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5663
5289
  must_read_if: string;
5664
5290
  created_at?: string | undefined;
5665
5291
  id?: string | undefined;
5666
- entities?: string[] | undefined;
5667
5292
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5668
5293
  maturity?: "draft" | "verified" | "proven" | undefined;
5669
- knowledge_layer?: "personal" | "team" | undefined;
5670
- layer_reason?: string | undefined;
5671
5294
  tags?: string[] | undefined;
5672
5295
  related?: string[] | undefined;
5673
5296
  }, {
@@ -5680,11 +5303,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5680
5303
  id?: string | undefined;
5681
5304
  relevance_scope?: "narrow" | "broad" | undefined;
5682
5305
  relevance_paths?: string[] | undefined;
5683
- entities?: string[] | undefined;
5684
5306
  knowledge_type?: unknown;
5685
5307
  maturity?: "draft" | "verified" | "proven" | undefined;
5686
- knowledge_layer?: "personal" | "team" | undefined;
5687
- layer_reason?: string | undefined;
5688
5308
  tags?: string[] | undefined;
5689
5309
  related?: string[] | undefined;
5690
5310
  }>>;
@@ -5702,12 +5322,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5702
5322
  tech_stack: z.ZodArray<z.ZodString, "many">;
5703
5323
  impact: z.ZodArray<z.ZodString, "many">;
5704
5324
  must_read_if: z.ZodString;
5705
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5706
5325
  id: z.ZodOptional<z.ZodString>;
5707
5326
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5708
5327
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5709
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5710
- layer_reason: z.ZodOptional<z.ZodString>;
5711
5328
  created_at: z.ZodOptional<z.ZodString>;
5712
5329
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5713
5330
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5723,11 +5340,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5723
5340
  must_read_if: string;
5724
5341
  created_at?: string | undefined;
5725
5342
  id?: string | undefined;
5726
- entities?: string[] | undefined;
5727
5343
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5728
5344
  maturity?: "draft" | "verified" | "proven" | undefined;
5729
- knowledge_layer?: "personal" | "team" | undefined;
5730
- layer_reason?: string | undefined;
5731
5345
  tags?: string[] | undefined;
5732
5346
  related?: string[] | undefined;
5733
5347
  }, {
@@ -5740,11 +5354,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5740
5354
  id?: string | undefined;
5741
5355
  relevance_scope?: "narrow" | "broad" | undefined;
5742
5356
  relevance_paths?: string[] | undefined;
5743
- entities?: string[] | undefined;
5744
5357
  knowledge_type?: unknown;
5745
5358
  maturity?: "draft" | "verified" | "proven" | undefined;
5746
- knowledge_layer?: "personal" | "team" | undefined;
5747
- layer_reason?: string | undefined;
5748
5359
  tags?: string[] | undefined;
5749
5360
  related?: string[] | undefined;
5750
5361
  }>>;
@@ -5762,12 +5373,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5762
5373
  tech_stack: z.ZodArray<z.ZodString, "many">;
5763
5374
  impact: z.ZodArray<z.ZodString, "many">;
5764
5375
  must_read_if: z.ZodString;
5765
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5766
5376
  id: z.ZodOptional<z.ZodString>;
5767
5377
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5768
5378
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5769
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5770
- layer_reason: z.ZodOptional<z.ZodString>;
5771
5379
  created_at: z.ZodOptional<z.ZodString>;
5772
5380
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5773
5381
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5783,11 +5391,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5783
5391
  must_read_if: string;
5784
5392
  created_at?: string | undefined;
5785
5393
  id?: string | undefined;
5786
- entities?: string[] | undefined;
5787
5394
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5788
5395
  maturity?: "draft" | "verified" | "proven" | undefined;
5789
- knowledge_layer?: "personal" | "team" | undefined;
5790
- layer_reason?: string | undefined;
5791
5396
  tags?: string[] | undefined;
5792
5397
  related?: string[] | undefined;
5793
5398
  }, {
@@ -5800,11 +5405,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5800
5405
  id?: string | undefined;
5801
5406
  relevance_scope?: "narrow" | "broad" | undefined;
5802
5407
  relevance_paths?: string[] | undefined;
5803
- entities?: string[] | undefined;
5804
5408
  knowledge_type?: unknown;
5805
5409
  maturity?: "draft" | "verified" | "proven" | undefined;
5806
- knowledge_layer?: "personal" | "team" | undefined;
5807
- layer_reason?: string | undefined;
5808
5410
  tags?: string[] | undefined;
5809
5411
  related?: string[] | undefined;
5810
5412
  }>>;
@@ -5822,12 +5424,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5822
5424
  tech_stack: z.ZodArray<z.ZodString, "many">;
5823
5425
  impact: z.ZodArray<z.ZodString, "many">;
5824
5426
  must_read_if: z.ZodString;
5825
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5826
5427
  id: z.ZodOptional<z.ZodString>;
5827
5428
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5828
5429
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5829
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5830
- layer_reason: z.ZodOptional<z.ZodString>;
5831
5430
  created_at: z.ZodOptional<z.ZodString>;
5832
5431
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5833
5432
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5843,11 +5442,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5843
5442
  must_read_if: string;
5844
5443
  created_at?: string | undefined;
5845
5444
  id?: string | undefined;
5846
- entities?: string[] | undefined;
5847
5445
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5848
5446
  maturity?: "draft" | "verified" | "proven" | undefined;
5849
- knowledge_layer?: "personal" | "team" | undefined;
5850
- layer_reason?: string | undefined;
5851
5447
  tags?: string[] | undefined;
5852
5448
  related?: string[] | undefined;
5853
5449
  }, {
@@ -5860,11 +5456,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5860
5456
  id?: string | undefined;
5861
5457
  relevance_scope?: "narrow" | "broad" | undefined;
5862
5458
  relevance_paths?: string[] | undefined;
5863
- entities?: string[] | undefined;
5864
5459
  knowledge_type?: unknown;
5865
5460
  maturity?: "draft" | "verified" | "proven" | undefined;
5866
- knowledge_layer?: "personal" | "team" | undefined;
5867
- layer_reason?: string | undefined;
5868
5461
  tags?: string[] | undefined;
5869
5462
  related?: string[] | undefined;
5870
5463
  }>>;
@@ -5955,12 +5548,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5955
5548
  tech_stack: z.ZodArray<z.ZodString, "many">;
5956
5549
  impact: z.ZodArray<z.ZodString, "many">;
5957
5550
  must_read_if: z.ZodString;
5958
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5959
5551
  id: z.ZodOptional<z.ZodString>;
5960
5552
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5961
5553
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5962
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5963
- layer_reason: z.ZodOptional<z.ZodString>;
5964
5554
  created_at: z.ZodOptional<z.ZodString>;
5965
5555
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5966
5556
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5976,11 +5566,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5976
5566
  must_read_if: string;
5977
5567
  created_at?: string | undefined;
5978
5568
  id?: string | undefined;
5979
- entities?: string[] | undefined;
5980
5569
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5981
5570
  maturity?: "draft" | "verified" | "proven" | undefined;
5982
- knowledge_layer?: "personal" | "team" | undefined;
5983
- layer_reason?: string | undefined;
5984
5571
  tags?: string[] | undefined;
5985
5572
  related?: string[] | undefined;
5986
5573
  }, {
@@ -5993,11 +5580,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5993
5580
  id?: string | undefined;
5994
5581
  relevance_scope?: "narrow" | "broad" | undefined;
5995
5582
  relevance_paths?: string[] | undefined;
5996
- entities?: string[] | undefined;
5997
5583
  knowledge_type?: unknown;
5998
5584
  maturity?: "draft" | "verified" | "proven" | undefined;
5999
- knowledge_layer?: "personal" | "team" | undefined;
6000
- layer_reason?: string | undefined;
6001
5585
  tags?: string[] | undefined;
6002
5586
  related?: string[] | undefined;
6003
5587
  }>>;
@@ -6056,12 +5640,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6056
5640
  tech_stack: z.ZodArray<z.ZodString, "many">;
6057
5641
  impact: z.ZodArray<z.ZodString, "many">;
6058
5642
  must_read_if: z.ZodString;
6059
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6060
5643
  id: z.ZodOptional<z.ZodString>;
6061
5644
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
6062
5645
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
6063
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
6064
- layer_reason: z.ZodOptional<z.ZodString>;
6065
5646
  created_at: z.ZodOptional<z.ZodString>;
6066
5647
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
6067
5648
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -6077,11 +5658,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6077
5658
  must_read_if: string;
6078
5659
  created_at?: string | undefined;
6079
5660
  id?: string | undefined;
6080
- entities?: string[] | undefined;
6081
5661
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
6082
5662
  maturity?: "draft" | "verified" | "proven" | undefined;
6083
- knowledge_layer?: "personal" | "team" | undefined;
6084
- layer_reason?: string | undefined;
6085
5663
  tags?: string[] | undefined;
6086
5664
  related?: string[] | undefined;
6087
5665
  }, {
@@ -6094,11 +5672,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6094
5672
  id?: string | undefined;
6095
5673
  relevance_scope?: "narrow" | "broad" | undefined;
6096
5674
  relevance_paths?: string[] | undefined;
6097
- entities?: string[] | undefined;
6098
5675
  knowledge_type?: unknown;
6099
5676
  maturity?: "draft" | "verified" | "proven" | undefined;
6100
- knowledge_layer?: "personal" | "team" | undefined;
6101
- layer_reason?: string | undefined;
6102
5677
  tags?: string[] | undefined;
6103
5678
  related?: string[] | undefined;
6104
5679
  }>>;
@@ -6517,13 +6092,13 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6517
6092
  matched: z.ZodNumber;
6518
6093
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
6519
6094
  }, "strip", z.ZodTypeAny, {
6520
- ratio: number;
6521
6095
  total: number;
6096
+ ratio: number;
6522
6097
  matched: number;
6523
6098
  co_occurring_patterns: string[];
6524
6099
  }, {
6525
- ratio: number;
6526
6100
  total: number;
6101
+ ratio: number;
6527
6102
  matched: number;
6528
6103
  co_occurring_patterns: string[];
6529
6104
  }>;
@@ -6539,8 +6114,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6539
6114
  snippet: string;
6540
6115
  }[];
6541
6116
  coverage: {
6542
- ratio: number;
6543
6117
  total: number;
6118
+ ratio: number;
6544
6119
  matched: number;
6545
6120
  co_occurring_patterns: string[];
6546
6121
  };
@@ -6556,8 +6131,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6556
6131
  snippet: string;
6557
6132
  }[];
6558
6133
  coverage: {
6559
- ratio: number;
6560
6134
  total: number;
6135
+ ratio: number;
6561
6136
  matched: number;
6562
6137
  co_occurring_patterns: string[];
6563
6138
  };
@@ -6640,8 +6215,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6640
6215
  snippet: string;
6641
6216
  }[];
6642
6217
  coverage: {
6643
- ratio: number;
6644
6218
  total: number;
6219
+ ratio: number;
6645
6220
  matched: number;
6646
6221
  co_occurring_patterns: string[];
6647
6222
  };
@@ -6702,8 +6277,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6702
6277
  snippet: string;
6703
6278
  }[];
6704
6279
  coverage: {
6705
- ratio: number;
6706
6280
  total: number;
6281
+ ratio: number;
6707
6282
  matched: number;
6708
6283
  co_occurring_patterns: string[];
6709
6284
  };
@@ -6767,8 +6342,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6767
6342
  snippet: string;
6768
6343
  }[];
6769
6344
  coverage: {
6770
- ratio: number;
6771
6345
  total: number;
6346
+ ratio: number;
6772
6347
  matched: number;
6773
6348
  co_occurring_patterns: string[];
6774
6349
  };
@@ -6832,8 +6407,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6832
6407
  snippet: string;
6833
6408
  }[];
6834
6409
  coverage: {
6835
- ratio: number;
6836
6410
  total: number;
6411
+ ratio: number;
6837
6412
  matched: number;
6838
6413
  co_occurring_patterns: string[];
6839
6414
  };
@@ -8856,6 +8431,7 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8856
8431
  }, "strip", z.ZodTypeAny, {
8857
8432
  id: string;
8858
8433
  version: string;
8434
+ score: number;
8859
8435
  ts: number;
8860
8436
  model: string;
8861
8437
  schema_version: 1;
@@ -8864,12 +8440,12 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8864
8440
  event_type: "llm_judge_run";
8865
8441
  prompt: string;
8866
8442
  input_trace_id: string;
8867
- score: number;
8868
8443
  correlation_id?: string | undefined;
8869
8444
  session_id?: string | undefined;
8870
8445
  }, {
8871
8446
  id: string;
8872
8447
  version: string;
8448
+ score: number;
8873
8449
  ts: number;
8874
8450
  model: string;
8875
8451
  schema_version: 1;
@@ -8878,7 +8454,6 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8878
8454
  event_type: "llm_judge_run";
8879
8455
  prompt: string;
8880
8456
  input_trace_id: string;
8881
- score: number;
8882
8457
  correlation_id?: string | undefined;
8883
8458
  session_id?: string | undefined;
8884
8459
  }>;
@@ -11024,6 +10599,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11024
10599
  }, "strip", z.ZodTypeAny, {
11025
10600
  id: string;
11026
10601
  version: string;
10602
+ score: number;
11027
10603
  ts: number;
11028
10604
  model: string;
11029
10605
  schema_version: 1;
@@ -11032,12 +10608,12 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11032
10608
  event_type: "llm_judge_run";
11033
10609
  prompt: string;
11034
10610
  input_trace_id: string;
11035
- score: number;
11036
10611
  correlation_id?: string | undefined;
11037
10612
  session_id?: string | undefined;
11038
10613
  }, {
11039
10614
  id: string;
11040
10615
  version: string;
10616
+ score: number;
11041
10617
  ts: number;
11042
10618
  model: string;
11043
10619
  schema_version: 1;
@@ -11046,7 +10622,6 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11046
10622
  event_type: "llm_judge_run";
11047
10623
  prompt: string;
11048
10624
  input_trace_id: string;
11049
- score: number;
11050
10625
  correlation_id?: string | undefined;
11051
10626
  session_id?: string | undefined;
11052
10627
  }>, z.ZodObject<{
@@ -11340,13 +10915,24 @@ declare function normalizeCiteTag(rawTag: string): CiteTag;
11340
10915
  declare function parseCiteLine(raw: string): ParseCiteLineResult;
11341
10916
 
11342
10917
  /**
11343
- * Tokenize bilingual text into BM25 terms.
10918
+ * Returns true iff `sessionId` carries a high-value archive signal past
10919
+ * `watermarkTs`. See module JSDoc for semantic contract.
10920
+ *
10921
+ * @param events Ledger events (any-shape objects with ts/event_type/session_id).
10922
+ * @param sessionId REQUIRED session scope. undefined/empty → returns false.
10923
+ * @param watermarkTs Number (strict >) or null (treated as 0 = never archived).
10924
+ */
10925
+ declare function isHighValueArchiveCandidate(events: unknown, sessionId: string | undefined, watermarkTs: number | null | undefined): boolean;
10926
+
10927
+ /**
10928
+ * Tokenize bilingual text into BM25F terms.
11344
10929
  *
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.
10930
+ * Latin/digit runs become lower-cased word tokens (single-character tokens and
10931
+ * English stop words dropped); CJK runs become overlapping character bi- and
10932
+ * tri-grams (singleton for length-1 runs, bigram-only for length-2). Returns
10933
+ * terms in document order, including duplicates — callers that need term
10934
+ * frequencies count them, callers that need a vocabulary dedupe.
11349
10935
  */
11350
10936
  declare function tokenize(text: string): string[];
11351
10937
 
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 };
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 };