@fenglimg/fabric-shared 2.3.0-rc.1 → 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,5 +1,5 @@
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-BqsM1bzx.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-BqsM1bzx.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';
@@ -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,235 +1185,6 @@ 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;
@@ -2018,8 +1684,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
2018
1684
  writable: z.ZodDefault<z.ZodBoolean>;
2019
1685
  personal: z.ZodDefault<z.ZodBoolean>;
2020
1686
  }, "strict", z.ZodTypeAny, {
2021
- personal: boolean;
2022
1687
  store_uuid: string;
1688
+ personal: boolean;
2023
1689
  alias: string;
2024
1690
  writable: boolean;
2025
1691
  mount_name?: string | undefined;
@@ -2043,6 +1709,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2043
1709
  suggested_remote?: string | undefined;
2044
1710
  }>, "many">;
2045
1711
  activeWriteAlias: z.ZodOptional<z.ZodString>;
1712
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2046
1713
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2047
1714
  scope: z.ZodString;
2048
1715
  store: z.ZodString;
@@ -2057,8 +1724,8 @@ declare const storeResolveInputSchema: z.ZodObject<{
2057
1724
  }, "strict", z.ZodTypeAny, {
2058
1725
  uid: string;
2059
1726
  mountedStores: {
2060
- personal: boolean;
2061
1727
  store_uuid: string;
1728
+ personal: boolean;
2062
1729
  alias: string;
2063
1730
  writable: boolean;
2064
1731
  mount_name?: string | undefined;
@@ -2073,6 +1740,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2073
1740
  store: string;
2074
1741
  }[];
2075
1742
  activeWriteAlias?: string | undefined;
1743
+ activePersonalAlias?: string | undefined;
2076
1744
  defaultWriteAlias?: string | undefined;
2077
1745
  }, {
2078
1746
  uid: string;
@@ -2089,6 +1757,7 @@ declare const storeResolveInputSchema: z.ZodObject<{
2089
1757
  suggested_remote?: string | undefined;
2090
1758
  }[];
2091
1759
  activeWriteAlias?: string | undefined;
1760
+ activePersonalAlias?: string | undefined;
2092
1761
  writeRoutes?: {
2093
1762
  scope: string;
2094
1763
  store: string;
@@ -2289,8 +1958,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2289
1958
  writable: z.ZodDefault<z.ZodBoolean>;
2290
1959
  personal: z.ZodDefault<z.ZodBoolean>;
2291
1960
  }, "strict", z.ZodTypeAny, {
2292
- personal: boolean;
2293
1961
  store_uuid: string;
1962
+ personal: boolean;
2294
1963
  alias: string;
2295
1964
  writable: boolean;
2296
1965
  mount_name?: string | undefined;
@@ -2314,6 +1983,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2314
1983
  suggested_remote?: string | undefined;
2315
1984
  }>, "many">;
2316
1985
  activeWriteAlias: z.ZodOptional<z.ZodString>;
1986
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2317
1987
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2318
1988
  scope: z.ZodString;
2319
1989
  store: z.ZodString;
@@ -2328,8 +1998,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2328
1998
  }, "strict", z.ZodTypeAny, {
2329
1999
  uid: string;
2330
2000
  mountedStores: {
2331
- personal: boolean;
2332
2001
  store_uuid: string;
2002
+ personal: boolean;
2333
2003
  alias: string;
2334
2004
  writable: boolean;
2335
2005
  mount_name?: string | undefined;
@@ -2344,6 +2014,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2344
2014
  store: string;
2345
2015
  }[];
2346
2016
  activeWriteAlias?: string | undefined;
2017
+ activePersonalAlias?: string | undefined;
2347
2018
  defaultWriteAlias?: string | undefined;
2348
2019
  }, {
2349
2020
  uid: string;
@@ -2360,6 +2031,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2360
2031
  suggested_remote?: string | undefined;
2361
2032
  }[];
2362
2033
  activeWriteAlias?: string | undefined;
2034
+ activePersonalAlias?: string | undefined;
2363
2035
  writeRoutes?: {
2364
2036
  scope: string;
2365
2037
  store: string;
@@ -2522,8 +2194,8 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2522
2194
  input: {
2523
2195
  uid: string;
2524
2196
  mountedStores: {
2525
- personal: boolean;
2526
2197
  store_uuid: string;
2198
+ personal: boolean;
2527
2199
  alias: string;
2528
2200
  writable: boolean;
2529
2201
  mount_name?: string | undefined;
@@ -2538,6 +2210,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2538
2210
  store: string;
2539
2211
  }[];
2540
2212
  activeWriteAlias?: string | undefined;
2213
+ activePersonalAlias?: string | undefined;
2541
2214
  defaultWriteAlias?: string | undefined;
2542
2215
  };
2543
2216
  writeScope: string;
@@ -2583,6 +2256,7 @@ declare const readSetGoldenCaseSchema: z.ZodObject<{
2583
2256
  suggested_remote?: string | undefined;
2584
2257
  }[];
2585
2258
  activeWriteAlias?: string | undefined;
2259
+ activePersonalAlias?: string | undefined;
2586
2260
  writeRoutes?: {
2587
2261
  scope: string;
2588
2262
  store: string;
@@ -2608,8 +2282,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2608
2282
  writable: z.ZodDefault<z.ZodBoolean>;
2609
2283
  personal: z.ZodDefault<z.ZodBoolean>;
2610
2284
  }, "strict", z.ZodTypeAny, {
2611
- personal: boolean;
2612
2285
  store_uuid: string;
2286
+ personal: boolean;
2613
2287
  alias: string;
2614
2288
  writable: boolean;
2615
2289
  mount_name?: string | undefined;
@@ -2633,6 +2307,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2633
2307
  suggested_remote?: string | undefined;
2634
2308
  }>, "many">;
2635
2309
  activeWriteAlias: z.ZodOptional<z.ZodString>;
2310
+ activePersonalAlias: z.ZodOptional<z.ZodString>;
2636
2311
  writeRoutes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2637
2312
  scope: z.ZodString;
2638
2313
  store: z.ZodString;
@@ -2647,8 +2322,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2647
2322
  }, "strict", z.ZodTypeAny, {
2648
2323
  uid: string;
2649
2324
  mountedStores: {
2650
- personal: boolean;
2651
2325
  store_uuid: string;
2326
+ personal: boolean;
2652
2327
  alias: string;
2653
2328
  writable: boolean;
2654
2329
  mount_name?: string | undefined;
@@ -2663,6 +2338,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2663
2338
  store: string;
2664
2339
  }[];
2665
2340
  activeWriteAlias?: string | undefined;
2341
+ activePersonalAlias?: string | undefined;
2666
2342
  defaultWriteAlias?: string | undefined;
2667
2343
  }, {
2668
2344
  uid: string;
@@ -2679,6 +2355,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2679
2355
  suggested_remote?: string | undefined;
2680
2356
  }[];
2681
2357
  activeWriteAlias?: string | undefined;
2358
+ activePersonalAlias?: string | undefined;
2682
2359
  writeRoutes?: {
2683
2360
  scope: string;
2684
2361
  store: string;
@@ -2841,8 +2518,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2841
2518
  input: {
2842
2519
  uid: string;
2843
2520
  mountedStores: {
2844
- personal: boolean;
2845
2521
  store_uuid: string;
2522
+ personal: boolean;
2846
2523
  alias: string;
2847
2524
  writable: boolean;
2848
2525
  mount_name?: string | undefined;
@@ -2857,6 +2534,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2857
2534
  store: string;
2858
2535
  }[];
2859
2536
  activeWriteAlias?: string | undefined;
2537
+ activePersonalAlias?: string | undefined;
2860
2538
  defaultWriteAlias?: string | undefined;
2861
2539
  };
2862
2540
  writeScope: string;
@@ -2902,6 +2580,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2902
2580
  suggested_remote?: string | undefined;
2903
2581
  }[];
2904
2582
  activeWriteAlias?: string | undefined;
2583
+ activePersonalAlias?: string | undefined;
2905
2584
  writeRoutes?: {
2906
2585
  scope: string;
2907
2586
  store: string;
@@ -2942,8 +2621,8 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2942
2621
  input: {
2943
2622
  uid: string;
2944
2623
  mountedStores: {
2945
- personal: boolean;
2946
2624
  store_uuid: string;
2625
+ personal: boolean;
2947
2626
  alias: string;
2948
2627
  writable: boolean;
2949
2628
  mount_name?: string | undefined;
@@ -2958,6 +2637,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
2958
2637
  store: string;
2959
2638
  }[];
2960
2639
  activeWriteAlias?: string | undefined;
2640
+ activePersonalAlias?: string | undefined;
2961
2641
  defaultWriteAlias?: string | undefined;
2962
2642
  };
2963
2643
  writeScope: string;
@@ -3006,6 +2686,7 @@ declare const readSetGoldenFileSchema: z.ZodObject<{
3006
2686
  suggested_remote?: string | undefined;
3007
2687
  }[];
3008
2688
  activeWriteAlias?: string | undefined;
2689
+ activePersonalAlias?: string | undefined;
3009
2690
  writeRoutes?: {
3010
2691
  scope: string;
3011
2692
  store: string;
@@ -3079,6 +2760,7 @@ interface StoreKnowledgeRef {
3079
2760
  alias: string;
3080
2761
  type: string;
3081
2762
  file: string;
2763
+ project?: string;
3082
2764
  }
3083
2765
  interface MountedStoreDir {
3084
2766
  store_uuid: string;
@@ -3565,13 +3247,13 @@ declare const forensicAssertionCoverageSchema: z.ZodObject<{
3565
3247
  matched: z.ZodNumber;
3566
3248
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3567
3249
  }, "strip", z.ZodTypeAny, {
3568
- ratio: number;
3569
3250
  total: number;
3251
+ ratio: number;
3570
3252
  matched: number;
3571
3253
  co_occurring_patterns: string[];
3572
3254
  }, {
3573
- ratio: number;
3574
3255
  total: number;
3256
+ ratio: number;
3575
3257
  matched: number;
3576
3258
  co_occurring_patterns: string[];
3577
3259
  }>;
@@ -3598,13 +3280,13 @@ declare const forensicAssertionSchema: z.ZodObject<{
3598
3280
  matched: z.ZodNumber;
3599
3281
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3600
3282
  }, "strip", z.ZodTypeAny, {
3601
- ratio: number;
3602
3283
  total: number;
3284
+ ratio: number;
3603
3285
  matched: number;
3604
3286
  co_occurring_patterns: string[];
3605
3287
  }, {
3606
- ratio: number;
3607
3288
  total: number;
3289
+ ratio: number;
3608
3290
  matched: number;
3609
3291
  co_occurring_patterns: string[];
3610
3292
  }>;
@@ -3620,8 +3302,8 @@ declare const forensicAssertionSchema: z.ZodObject<{
3620
3302
  snippet: string;
3621
3303
  }[];
3622
3304
  coverage: {
3623
- ratio: number;
3624
3305
  total: number;
3306
+ ratio: number;
3625
3307
  matched: number;
3626
3308
  co_occurring_patterns: string[];
3627
3309
  };
@@ -3637,8 +3319,8 @@ declare const forensicAssertionSchema: z.ZodObject<{
3637
3319
  snippet: string;
3638
3320
  }[];
3639
3321
  coverage: {
3640
- ratio: number;
3641
3322
  total: number;
3323
+ ratio: number;
3642
3324
  matched: number;
3643
3325
  co_occurring_patterns: string[];
3644
3326
  };
@@ -3816,13 +3498,13 @@ declare const forensicReportSchema: z.ZodObject<{
3816
3498
  matched: z.ZodNumber;
3817
3499
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
3818
3500
  }, "strip", z.ZodTypeAny, {
3819
- ratio: number;
3820
3501
  total: number;
3502
+ ratio: number;
3821
3503
  matched: number;
3822
3504
  co_occurring_patterns: string[];
3823
3505
  }, {
3824
- ratio: number;
3825
3506
  total: number;
3507
+ ratio: number;
3826
3508
  matched: number;
3827
3509
  co_occurring_patterns: string[];
3828
3510
  }>;
@@ -3838,8 +3520,8 @@ declare const forensicReportSchema: z.ZodObject<{
3838
3520
  snippet: string;
3839
3521
  }[];
3840
3522
  coverage: {
3841
- ratio: number;
3842
3523
  total: number;
3524
+ ratio: number;
3843
3525
  matched: number;
3844
3526
  co_occurring_patterns: string[];
3845
3527
  };
@@ -3855,8 +3537,8 @@ declare const forensicReportSchema: z.ZodObject<{
3855
3537
  snippet: string;
3856
3538
  }[];
3857
3539
  coverage: {
3858
- ratio: number;
3859
3540
  total: number;
3541
+ ratio: number;
3860
3542
  matched: number;
3861
3543
  co_occurring_patterns: string[];
3862
3544
  };
@@ -3939,8 +3621,8 @@ declare const forensicReportSchema: z.ZodObject<{
3939
3621
  snippet: string;
3940
3622
  }[];
3941
3623
  coverage: {
3942
- ratio: number;
3943
3624
  total: number;
3625
+ ratio: number;
3944
3626
  matched: number;
3945
3627
  co_occurring_patterns: string[];
3946
3628
  };
@@ -4001,8 +3683,8 @@ declare const forensicReportSchema: z.ZodObject<{
4001
3683
  snippet: string;
4002
3684
  }[];
4003
3685
  coverage: {
4004
- ratio: number;
4005
3686
  total: number;
3687
+ ratio: number;
4006
3688
  matched: number;
4007
3689
  co_occurring_patterns: string[];
4008
3690
  };
@@ -4407,12 +4089,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4407
4089
  tech_stack: z.ZodArray<z.ZodString, "many">;
4408
4090
  impact: z.ZodArray<z.ZodString, "many">;
4409
4091
  must_read_if: z.ZodString;
4410
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4411
4092
  id: z.ZodOptional<z.ZodString>;
4412
4093
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4413
4094
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4414
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4415
- layer_reason: z.ZodOptional<z.ZodString>;
4416
4095
  created_at: z.ZodOptional<z.ZodString>;
4417
4096
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4418
4097
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4428,11 +4107,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4428
4107
  must_read_if: string;
4429
4108
  created_at?: string | undefined;
4430
4109
  id?: string | undefined;
4431
- entities?: string[] | undefined;
4432
4110
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4433
4111
  maturity?: "draft" | "verified" | "proven" | undefined;
4434
- knowledge_layer?: "personal" | "team" | undefined;
4435
- layer_reason?: string | undefined;
4436
4112
  tags?: string[] | undefined;
4437
4113
  related?: string[] | undefined;
4438
4114
  }, {
@@ -4445,11 +4121,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4445
4121
  id?: string | undefined;
4446
4122
  relevance_scope?: "narrow" | "broad" | undefined;
4447
4123
  relevance_paths?: string[] | undefined;
4448
- entities?: string[] | undefined;
4449
4124
  knowledge_type?: unknown;
4450
4125
  maturity?: "draft" | "verified" | "proven" | undefined;
4451
- knowledge_layer?: "personal" | "team" | undefined;
4452
- layer_reason?: string | undefined;
4453
4126
  tags?: string[] | undefined;
4454
4127
  related?: string[] | undefined;
4455
4128
  }>>;
@@ -4467,12 +4140,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4467
4140
  tech_stack: z.ZodArray<z.ZodString, "many">;
4468
4141
  impact: z.ZodArray<z.ZodString, "many">;
4469
4142
  must_read_if: z.ZodString;
4470
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4471
4143
  id: z.ZodOptional<z.ZodString>;
4472
4144
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4473
4145
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4474
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4475
- layer_reason: z.ZodOptional<z.ZodString>;
4476
4146
  created_at: z.ZodOptional<z.ZodString>;
4477
4147
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4478
4148
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4488,11 +4158,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4488
4158
  must_read_if: string;
4489
4159
  created_at?: string | undefined;
4490
4160
  id?: string | undefined;
4491
- entities?: string[] | undefined;
4492
4161
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4493
4162
  maturity?: "draft" | "verified" | "proven" | undefined;
4494
- knowledge_layer?: "personal" | "team" | undefined;
4495
- layer_reason?: string | undefined;
4496
4163
  tags?: string[] | undefined;
4497
4164
  related?: string[] | undefined;
4498
4165
  }, {
@@ -4505,11 +4172,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4505
4172
  id?: string | undefined;
4506
4173
  relevance_scope?: "narrow" | "broad" | undefined;
4507
4174
  relevance_paths?: string[] | undefined;
4508
- entities?: string[] | undefined;
4509
4175
  knowledge_type?: unknown;
4510
4176
  maturity?: "draft" | "verified" | "proven" | undefined;
4511
- knowledge_layer?: "personal" | "team" | undefined;
4512
- layer_reason?: string | undefined;
4513
4177
  tags?: string[] | undefined;
4514
4178
  related?: string[] | undefined;
4515
4179
  }>>;
@@ -4527,12 +4191,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4527
4191
  tech_stack: z.ZodArray<z.ZodString, "many">;
4528
4192
  impact: z.ZodArray<z.ZodString, "many">;
4529
4193
  must_read_if: z.ZodString;
4530
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4531
4194
  id: z.ZodOptional<z.ZodString>;
4532
4195
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4533
4196
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4534
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4535
- layer_reason: z.ZodOptional<z.ZodString>;
4536
4197
  created_at: z.ZodOptional<z.ZodString>;
4537
4198
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4538
4199
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4548,11 +4209,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4548
4209
  must_read_if: string;
4549
4210
  created_at?: string | undefined;
4550
4211
  id?: string | undefined;
4551
- entities?: string[] | undefined;
4552
4212
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4553
4213
  maturity?: "draft" | "verified" | "proven" | undefined;
4554
- knowledge_layer?: "personal" | "team" | undefined;
4555
- layer_reason?: string | undefined;
4556
4214
  tags?: string[] | undefined;
4557
4215
  related?: string[] | undefined;
4558
4216
  }, {
@@ -4565,11 +4223,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4565
4223
  id?: string | undefined;
4566
4224
  relevance_scope?: "narrow" | "broad" | undefined;
4567
4225
  relevance_paths?: string[] | undefined;
4568
- entities?: string[] | undefined;
4569
4226
  knowledge_type?: unknown;
4570
4227
  maturity?: "draft" | "verified" | "proven" | undefined;
4571
- knowledge_layer?: "personal" | "team" | undefined;
4572
- layer_reason?: string | undefined;
4573
4228
  tags?: string[] | undefined;
4574
4229
  related?: string[] | undefined;
4575
4230
  }>>;
@@ -4587,12 +4242,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4587
4242
  tech_stack: z.ZodArray<z.ZodString, "many">;
4588
4243
  impact: z.ZodArray<z.ZodString, "many">;
4589
4244
  must_read_if: z.ZodString;
4590
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4591
4245
  id: z.ZodOptional<z.ZodString>;
4592
4246
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4593
4247
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4594
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4595
- layer_reason: z.ZodOptional<z.ZodString>;
4596
4248
  created_at: z.ZodOptional<z.ZodString>;
4597
4249
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4598
4250
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4608,11 +4260,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4608
4260
  must_read_if: string;
4609
4261
  created_at?: string | undefined;
4610
4262
  id?: string | undefined;
4611
- entities?: string[] | undefined;
4612
4263
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4613
4264
  maturity?: "draft" | "verified" | "proven" | undefined;
4614
- knowledge_layer?: "personal" | "team" | undefined;
4615
- layer_reason?: string | undefined;
4616
4265
  tags?: string[] | undefined;
4617
4266
  related?: string[] | undefined;
4618
4267
  }, {
@@ -4625,11 +4274,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4625
4274
  id?: string | undefined;
4626
4275
  relevance_scope?: "narrow" | "broad" | undefined;
4627
4276
  relevance_paths?: string[] | undefined;
4628
- entities?: string[] | undefined;
4629
4277
  knowledge_type?: unknown;
4630
4278
  maturity?: "draft" | "verified" | "proven" | undefined;
4631
- knowledge_layer?: "personal" | "team" | undefined;
4632
- layer_reason?: string | undefined;
4633
4279
  tags?: string[] | undefined;
4634
4280
  related?: string[] | undefined;
4635
4281
  }>>;
@@ -4720,12 +4366,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4720
4366
  tech_stack: z.ZodArray<z.ZodString, "many">;
4721
4367
  impact: z.ZodArray<z.ZodString, "many">;
4722
4368
  must_read_if: z.ZodString;
4723
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4724
4369
  id: z.ZodOptional<z.ZodString>;
4725
4370
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4726
4371
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4727
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4728
- layer_reason: z.ZodOptional<z.ZodString>;
4729
4372
  created_at: z.ZodOptional<z.ZodString>;
4730
4373
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4731
4374
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4741,11 +4384,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4741
4384
  must_read_if: string;
4742
4385
  created_at?: string | undefined;
4743
4386
  id?: string | undefined;
4744
- entities?: string[] | undefined;
4745
4387
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4746
4388
  maturity?: "draft" | "verified" | "proven" | undefined;
4747
- knowledge_layer?: "personal" | "team" | undefined;
4748
- layer_reason?: string | undefined;
4749
4389
  tags?: string[] | undefined;
4750
4390
  related?: string[] | undefined;
4751
4391
  }, {
@@ -4758,11 +4398,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4758
4398
  id?: string | undefined;
4759
4399
  relevance_scope?: "narrow" | "broad" | undefined;
4760
4400
  relevance_paths?: string[] | undefined;
4761
- entities?: string[] | undefined;
4762
4401
  knowledge_type?: unknown;
4763
4402
  maturity?: "draft" | "verified" | "proven" | undefined;
4764
- knowledge_layer?: "personal" | "team" | undefined;
4765
- layer_reason?: string | undefined;
4766
4403
  tags?: string[] | undefined;
4767
4404
  related?: string[] | undefined;
4768
4405
  }>>;
@@ -4821,12 +4458,9 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4821
4458
  tech_stack: z.ZodArray<z.ZodString, "many">;
4822
4459
  impact: z.ZodArray<z.ZodString, "many">;
4823
4460
  must_read_if: z.ZodString;
4824
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4825
4461
  id: z.ZodOptional<z.ZodString>;
4826
4462
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
4827
4463
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
4828
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
4829
- layer_reason: z.ZodOptional<z.ZodString>;
4830
4464
  created_at: z.ZodOptional<z.ZodString>;
4831
4465
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4832
4466
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -4842,11 +4476,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4842
4476
  must_read_if: string;
4843
4477
  created_at?: string | undefined;
4844
4478
  id?: string | undefined;
4845
- entities?: string[] | undefined;
4846
4479
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
4847
4480
  maturity?: "draft" | "verified" | "proven" | undefined;
4848
- knowledge_layer?: "personal" | "team" | undefined;
4849
- layer_reason?: string | undefined;
4850
4481
  tags?: string[] | undefined;
4851
4482
  related?: string[] | undefined;
4852
4483
  }, {
@@ -4859,11 +4490,8 @@ declare const metaUpdatedEventSchema: z.ZodObject<{
4859
4490
  id?: string | undefined;
4860
4491
  relevance_scope?: "narrow" | "broad" | undefined;
4861
4492
  relevance_paths?: string[] | undefined;
4862
- entities?: string[] | undefined;
4863
4493
  knowledge_type?: unknown;
4864
4494
  maturity?: "draft" | "verified" | "proven" | undefined;
4865
- knowledge_layer?: "personal" | "team" | undefined;
4866
- layer_reason?: string | undefined;
4867
4495
  tags?: string[] | undefined;
4868
4496
  related?: string[] | undefined;
4869
4497
  }>>;
@@ -5286,13 +4914,13 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5286
4914
  matched: z.ZodNumber;
5287
4915
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
5288
4916
  }, "strip", z.ZodTypeAny, {
5289
- ratio: number;
5290
4917
  total: number;
4918
+ ratio: number;
5291
4919
  matched: number;
5292
4920
  co_occurring_patterns: string[];
5293
4921
  }, {
5294
- ratio: number;
5295
4922
  total: number;
4923
+ ratio: number;
5296
4924
  matched: number;
5297
4925
  co_occurring_patterns: string[];
5298
4926
  }>;
@@ -5308,8 +4936,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5308
4936
  snippet: string;
5309
4937
  }[];
5310
4938
  coverage: {
5311
- ratio: number;
5312
4939
  total: number;
4940
+ ratio: number;
5313
4941
  matched: number;
5314
4942
  co_occurring_patterns: string[];
5315
4943
  };
@@ -5325,8 +4953,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5325
4953
  snippet: string;
5326
4954
  }[];
5327
4955
  coverage: {
5328
- ratio: number;
5329
4956
  total: number;
4957
+ ratio: number;
5330
4958
  matched: number;
5331
4959
  co_occurring_patterns: string[];
5332
4960
  };
@@ -5409,8 +5037,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5409
5037
  snippet: string;
5410
5038
  }[];
5411
5039
  coverage: {
5412
- ratio: number;
5413
5040
  total: number;
5041
+ ratio: number;
5414
5042
  matched: number;
5415
5043
  co_occurring_patterns: string[];
5416
5044
  };
@@ -5471,8 +5099,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5471
5099
  snippet: string;
5472
5100
  }[];
5473
5101
  coverage: {
5474
- ratio: number;
5475
5102
  total: number;
5103
+ ratio: number;
5476
5104
  matched: number;
5477
5105
  co_occurring_patterns: string[];
5478
5106
  };
@@ -5536,8 +5164,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5536
5164
  snippet: string;
5537
5165
  }[];
5538
5166
  coverage: {
5539
- ratio: number;
5540
5167
  total: number;
5168
+ ratio: number;
5541
5169
  matched: number;
5542
5170
  co_occurring_patterns: string[];
5543
5171
  };
@@ -5601,8 +5229,8 @@ declare const driftDetectedEventSchema: z.ZodObject<{
5601
5229
  snippet: string;
5602
5230
  }[];
5603
5231
  coverage: {
5604
- ratio: number;
5605
5232
  total: number;
5233
+ ratio: number;
5606
5234
  matched: number;
5607
5235
  co_occurring_patterns: string[];
5608
5236
  };
@@ -5643,12 +5271,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5643
5271
  tech_stack: z.ZodArray<z.ZodString, "many">;
5644
5272
  impact: z.ZodArray<z.ZodString, "many">;
5645
5273
  must_read_if: z.ZodString;
5646
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5647
5274
  id: z.ZodOptional<z.ZodString>;
5648
5275
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5649
5276
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5650
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5651
- layer_reason: z.ZodOptional<z.ZodString>;
5652
5277
  created_at: z.ZodOptional<z.ZodString>;
5653
5278
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5654
5279
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5664,11 +5289,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5664
5289
  must_read_if: string;
5665
5290
  created_at?: string | undefined;
5666
5291
  id?: string | undefined;
5667
- entities?: string[] | undefined;
5668
5292
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5669
5293
  maturity?: "draft" | "verified" | "proven" | undefined;
5670
- knowledge_layer?: "personal" | "team" | undefined;
5671
- layer_reason?: string | undefined;
5672
5294
  tags?: string[] | undefined;
5673
5295
  related?: string[] | undefined;
5674
5296
  }, {
@@ -5681,11 +5303,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5681
5303
  id?: string | undefined;
5682
5304
  relevance_scope?: "narrow" | "broad" | undefined;
5683
5305
  relevance_paths?: string[] | undefined;
5684
- entities?: string[] | undefined;
5685
5306
  knowledge_type?: unknown;
5686
5307
  maturity?: "draft" | "verified" | "proven" | undefined;
5687
- knowledge_layer?: "personal" | "team" | undefined;
5688
- layer_reason?: string | undefined;
5689
5308
  tags?: string[] | undefined;
5690
5309
  related?: string[] | undefined;
5691
5310
  }>>;
@@ -5703,12 +5322,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5703
5322
  tech_stack: z.ZodArray<z.ZodString, "many">;
5704
5323
  impact: z.ZodArray<z.ZodString, "many">;
5705
5324
  must_read_if: z.ZodString;
5706
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5707
5325
  id: z.ZodOptional<z.ZodString>;
5708
5326
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5709
5327
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5710
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5711
- layer_reason: z.ZodOptional<z.ZodString>;
5712
5328
  created_at: z.ZodOptional<z.ZodString>;
5713
5329
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5714
5330
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5724,11 +5340,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5724
5340
  must_read_if: string;
5725
5341
  created_at?: string | undefined;
5726
5342
  id?: string | undefined;
5727
- entities?: string[] | undefined;
5728
5343
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5729
5344
  maturity?: "draft" | "verified" | "proven" | undefined;
5730
- knowledge_layer?: "personal" | "team" | undefined;
5731
- layer_reason?: string | undefined;
5732
5345
  tags?: string[] | undefined;
5733
5346
  related?: string[] | undefined;
5734
5347
  }, {
@@ -5741,11 +5354,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5741
5354
  id?: string | undefined;
5742
5355
  relevance_scope?: "narrow" | "broad" | undefined;
5743
5356
  relevance_paths?: string[] | undefined;
5744
- entities?: string[] | undefined;
5745
5357
  knowledge_type?: unknown;
5746
5358
  maturity?: "draft" | "verified" | "proven" | undefined;
5747
- knowledge_layer?: "personal" | "team" | undefined;
5748
- layer_reason?: string | undefined;
5749
5359
  tags?: string[] | undefined;
5750
5360
  related?: string[] | undefined;
5751
5361
  }>>;
@@ -5763,12 +5373,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5763
5373
  tech_stack: z.ZodArray<z.ZodString, "many">;
5764
5374
  impact: z.ZodArray<z.ZodString, "many">;
5765
5375
  must_read_if: z.ZodString;
5766
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5767
5376
  id: z.ZodOptional<z.ZodString>;
5768
5377
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5769
5378
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5770
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5771
- layer_reason: z.ZodOptional<z.ZodString>;
5772
5379
  created_at: z.ZodOptional<z.ZodString>;
5773
5380
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5774
5381
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5784,11 +5391,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5784
5391
  must_read_if: string;
5785
5392
  created_at?: string | undefined;
5786
5393
  id?: string | undefined;
5787
- entities?: string[] | undefined;
5788
5394
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5789
5395
  maturity?: "draft" | "verified" | "proven" | undefined;
5790
- knowledge_layer?: "personal" | "team" | undefined;
5791
- layer_reason?: string | undefined;
5792
5396
  tags?: string[] | undefined;
5793
5397
  related?: string[] | undefined;
5794
5398
  }, {
@@ -5801,11 +5405,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5801
5405
  id?: string | undefined;
5802
5406
  relevance_scope?: "narrow" | "broad" | undefined;
5803
5407
  relevance_paths?: string[] | undefined;
5804
- entities?: string[] | undefined;
5805
5408
  knowledge_type?: unknown;
5806
5409
  maturity?: "draft" | "verified" | "proven" | undefined;
5807
- knowledge_layer?: "personal" | "team" | undefined;
5808
- layer_reason?: string | undefined;
5809
5410
  tags?: string[] | undefined;
5810
5411
  related?: string[] | undefined;
5811
5412
  }>>;
@@ -5823,12 +5424,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5823
5424
  tech_stack: z.ZodArray<z.ZodString, "many">;
5824
5425
  impact: z.ZodArray<z.ZodString, "many">;
5825
5426
  must_read_if: z.ZodString;
5826
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5827
5427
  id: z.ZodOptional<z.ZodString>;
5828
5428
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5829
5429
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5830
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5831
- layer_reason: z.ZodOptional<z.ZodString>;
5832
5430
  created_at: z.ZodOptional<z.ZodString>;
5833
5431
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5834
5432
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5844,11 +5442,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5844
5442
  must_read_if: string;
5845
5443
  created_at?: string | undefined;
5846
5444
  id?: string | undefined;
5847
- entities?: string[] | undefined;
5848
5445
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5849
5446
  maturity?: "draft" | "verified" | "proven" | undefined;
5850
- knowledge_layer?: "personal" | "team" | undefined;
5851
- layer_reason?: string | undefined;
5852
5447
  tags?: string[] | undefined;
5853
5448
  related?: string[] | undefined;
5854
5449
  }, {
@@ -5861,11 +5456,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5861
5456
  id?: string | undefined;
5862
5457
  relevance_scope?: "narrow" | "broad" | undefined;
5863
5458
  relevance_paths?: string[] | undefined;
5864
- entities?: string[] | undefined;
5865
5459
  knowledge_type?: unknown;
5866
5460
  maturity?: "draft" | "verified" | "proven" | undefined;
5867
- knowledge_layer?: "personal" | "team" | undefined;
5868
- layer_reason?: string | undefined;
5869
5461
  tags?: string[] | undefined;
5870
5462
  related?: string[] | undefined;
5871
5463
  }>>;
@@ -5956,12 +5548,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5956
5548
  tech_stack: z.ZodArray<z.ZodString, "many">;
5957
5549
  impact: z.ZodArray<z.ZodString, "many">;
5958
5550
  must_read_if: z.ZodString;
5959
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5960
5551
  id: z.ZodOptional<z.ZodString>;
5961
5552
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
5962
5553
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
5963
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
5964
- layer_reason: z.ZodOptional<z.ZodString>;
5965
5554
  created_at: z.ZodOptional<z.ZodString>;
5966
5555
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
5967
5556
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -5977,11 +5566,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5977
5566
  must_read_if: string;
5978
5567
  created_at?: string | undefined;
5979
5568
  id?: string | undefined;
5980
- entities?: string[] | undefined;
5981
5569
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
5982
5570
  maturity?: "draft" | "verified" | "proven" | undefined;
5983
- knowledge_layer?: "personal" | "team" | undefined;
5984
- layer_reason?: string | undefined;
5985
5571
  tags?: string[] | undefined;
5986
5572
  related?: string[] | undefined;
5987
5573
  }, {
@@ -5994,11 +5580,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5994
5580
  id?: string | undefined;
5995
5581
  relevance_scope?: "narrow" | "broad" | undefined;
5996
5582
  relevance_paths?: string[] | undefined;
5997
- entities?: string[] | undefined;
5998
5583
  knowledge_type?: unknown;
5999
5584
  maturity?: "draft" | "verified" | "proven" | undefined;
6000
- knowledge_layer?: "personal" | "team" | undefined;
6001
- layer_reason?: string | undefined;
6002
5585
  tags?: string[] | undefined;
6003
5586
  related?: string[] | undefined;
6004
5587
  }>>;
@@ -6057,12 +5640,9 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6057
5640
  tech_stack: z.ZodArray<z.ZodString, "many">;
6058
5641
  impact: z.ZodArray<z.ZodString, "many">;
6059
5642
  must_read_if: z.ZodString;
6060
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6061
5643
  id: z.ZodOptional<z.ZodString>;
6062
5644
  knowledge_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>, "models" | "decisions" | "guidelines" | "pitfalls" | "processes", unknown>>;
6063
5645
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
6064
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
6065
- layer_reason: z.ZodOptional<z.ZodString>;
6066
5646
  created_at: z.ZodOptional<z.ZodString>;
6067
5647
  tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
6068
5648
  relevance_scope: z.ZodDefault<z.ZodEnum<["narrow", "broad"]>>;
@@ -6078,11 +5658,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6078
5658
  must_read_if: string;
6079
5659
  created_at?: string | undefined;
6080
5660
  id?: string | undefined;
6081
- entities?: string[] | undefined;
6082
5661
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
6083
5662
  maturity?: "draft" | "verified" | "proven" | undefined;
6084
- knowledge_layer?: "personal" | "team" | undefined;
6085
- layer_reason?: string | undefined;
6086
5663
  tags?: string[] | undefined;
6087
5664
  related?: string[] | undefined;
6088
5665
  }, {
@@ -6095,11 +5672,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6095
5672
  id?: string | undefined;
6096
5673
  relevance_scope?: "narrow" | "broad" | undefined;
6097
5674
  relevance_paths?: string[] | undefined;
6098
- entities?: string[] | undefined;
6099
5675
  knowledge_type?: unknown;
6100
5676
  maturity?: "draft" | "verified" | "proven" | undefined;
6101
- knowledge_layer?: "personal" | "team" | undefined;
6102
- layer_reason?: string | undefined;
6103
5677
  tags?: string[] | undefined;
6104
5678
  related?: string[] | undefined;
6105
5679
  }>>;
@@ -6518,13 +6092,13 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6518
6092
  matched: z.ZodNumber;
6519
6093
  co_occurring_patterns: z.ZodArray<z.ZodString, "many">;
6520
6094
  }, "strip", z.ZodTypeAny, {
6521
- ratio: number;
6522
6095
  total: number;
6096
+ ratio: number;
6523
6097
  matched: number;
6524
6098
  co_occurring_patterns: string[];
6525
6099
  }, {
6526
- ratio: number;
6527
6100
  total: number;
6101
+ ratio: number;
6528
6102
  matched: number;
6529
6103
  co_occurring_patterns: string[];
6530
6104
  }>;
@@ -6540,8 +6114,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6540
6114
  snippet: string;
6541
6115
  }[];
6542
6116
  coverage: {
6543
- ratio: number;
6544
6117
  total: number;
6118
+ ratio: number;
6545
6119
  matched: number;
6546
6120
  co_occurring_patterns: string[];
6547
6121
  };
@@ -6557,8 +6131,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6557
6131
  snippet: string;
6558
6132
  }[];
6559
6133
  coverage: {
6560
- ratio: number;
6561
6134
  total: number;
6135
+ ratio: number;
6562
6136
  matched: number;
6563
6137
  co_occurring_patterns: string[];
6564
6138
  };
@@ -6641,8 +6215,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6641
6215
  snippet: string;
6642
6216
  }[];
6643
6217
  coverage: {
6644
- ratio: number;
6645
6218
  total: number;
6219
+ ratio: number;
6646
6220
  matched: number;
6647
6221
  co_occurring_patterns: string[];
6648
6222
  };
@@ -6703,8 +6277,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6703
6277
  snippet: string;
6704
6278
  }[];
6705
6279
  coverage: {
6706
- ratio: number;
6707
6280
  total: number;
6281
+ ratio: number;
6708
6282
  matched: number;
6709
6283
  co_occurring_patterns: string[];
6710
6284
  };
@@ -6768,8 +6342,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6768
6342
  snippet: string;
6769
6343
  }[];
6770
6344
  coverage: {
6771
- ratio: number;
6772
6345
  total: number;
6346
+ ratio: number;
6773
6347
  matched: number;
6774
6348
  co_occurring_patterns: string[];
6775
6349
  };
@@ -6833,8 +6407,8 @@ declare const fabricEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6833
6407
  snippet: string;
6834
6408
  }[];
6835
6409
  coverage: {
6836
- ratio: number;
6837
6410
  total: number;
6411
+ ratio: number;
6838
6412
  matched: number;
6839
6413
  co_occurring_patterns: string[];
6840
6414
  };
@@ -8857,6 +8431,7 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8857
8431
  }, "strip", z.ZodTypeAny, {
8858
8432
  id: string;
8859
8433
  version: string;
8434
+ score: number;
8860
8435
  ts: number;
8861
8436
  model: string;
8862
8437
  schema_version: 1;
@@ -8865,12 +8440,12 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8865
8440
  event_type: "llm_judge_run";
8866
8441
  prompt: string;
8867
8442
  input_trace_id: string;
8868
- score: number;
8869
8443
  correlation_id?: string | undefined;
8870
8444
  session_id?: string | undefined;
8871
8445
  }, {
8872
8446
  id: string;
8873
8447
  version: string;
8448
+ score: number;
8874
8449
  ts: number;
8875
8450
  model: string;
8876
8451
  schema_version: 1;
@@ -8879,7 +8454,6 @@ declare const llmJudgeRunEventSchema: z.ZodObject<{
8879
8454
  event_type: "llm_judge_run";
8880
8455
  prompt: string;
8881
8456
  input_trace_id: string;
8882
- score: number;
8883
8457
  correlation_id?: string | undefined;
8884
8458
  session_id?: string | undefined;
8885
8459
  }>;
@@ -11025,6 +10599,7 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11025
10599
  }, "strip", z.ZodTypeAny, {
11026
10600
  id: string;
11027
10601
  version: string;
10602
+ score: number;
11028
10603
  ts: number;
11029
10604
  model: string;
11030
10605
  schema_version: 1;
@@ -11033,12 +10608,12 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11033
10608
  event_type: "llm_judge_run";
11034
10609
  prompt: string;
11035
10610
  input_trace_id: string;
11036
- score: number;
11037
10611
  correlation_id?: string | undefined;
11038
10612
  session_id?: string | undefined;
11039
10613
  }, {
11040
10614
  id: string;
11041
10615
  version: string;
10616
+ score: number;
11042
10617
  ts: number;
11043
10618
  model: string;
11044
10619
  schema_version: 1;
@@ -11047,7 +10622,6 @@ declare const eventLedgerEventSchema: z.ZodDiscriminatedUnion<"event_type", [z.Z
11047
10622
  event_type: "llm_judge_run";
11048
10623
  prompt: string;
11049
10624
  input_trace_id: string;
11050
- score: number;
11051
10625
  correlation_id?: string | undefined;
11052
10626
  session_id?: string | undefined;
11053
10627
  }>, z.ZodObject<{
@@ -11340,6 +10914,16 @@ declare function normalizeCiteTag(rawTag: string): CiteTag;
11340
10914
  */
11341
10915
  declare function parseCiteLine(raw: string): ParseCiteLineResult;
11342
10916
 
10917
+ /**
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
+
11343
10927
  /**
11344
10928
  * Tokenize bilingual text into BM25F terms.
11345
10929
  *
@@ -11351,4 +10935,4 @@ declare function parseCiteLine(raw: string): ParseCiteLineResult;
11351
10935
  */
11352
10936
  declare function tokenize(text: string): string[];
11353
10937
 
11354
- 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_HINT, 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 };