@fenglimg/fabric-shared 2.3.0-rc.1 → 2.3.0-rc.11

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.
@@ -91,74 +91,66 @@ declare const planContextOutputSchema: z.ZodObject<{
91
91
  description: z.ZodObject<{
92
92
  summary: z.ZodString;
93
93
  intent_clues: z.ZodArray<z.ZodString, "many">;
94
- tech_stack: z.ZodArray<z.ZodString, "many">;
95
- impact: z.ZodArray<z.ZodString, "many">;
94
+ tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
96
96
  must_read_if: z.ZodString;
97
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
97
  id: z.ZodOptional<z.ZodString>;
99
98
  knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
100
99
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
101
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
102
- layer_reason: z.ZodOptional<z.ZodString>;
103
100
  created_at: z.ZodOptional<z.ZodString>;
104
101
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
102
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
106
103
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
104
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
106
  }, "strip", z.ZodTypeAny, {
109
107
  summary: string;
110
108
  intent_clues: string[];
111
- tech_stack: string[];
112
- impact: string[];
113
109
  must_read_if: string;
114
110
  created_at?: string | undefined;
115
111
  id?: string | undefined;
116
112
  relevance_scope?: "narrow" | "broad" | undefined;
117
113
  relevance_paths?: string[] | undefined;
118
- entities?: string[] | undefined;
114
+ tech_stack?: string[] | undefined;
115
+ impact?: string[] | undefined;
119
116
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
120
117
  maturity?: "draft" | "verified" | "proven" | undefined;
121
- knowledge_layer?: "personal" | "team" | undefined;
122
- layer_reason?: string | undefined;
123
118
  tags?: string[] | undefined;
124
119
  related?: string[] | undefined;
120
+ aliases?: string[] | undefined;
125
121
  }, {
126
122
  summary: string;
127
123
  intent_clues: string[];
128
- tech_stack: string[];
129
- impact: string[];
130
124
  must_read_if: string;
131
125
  created_at?: string | undefined;
132
126
  id?: string | undefined;
133
127
  relevance_scope?: "narrow" | "broad" | undefined;
134
128
  relevance_paths?: string[] | undefined;
135
- entities?: string[] | undefined;
129
+ tech_stack?: string[] | undefined;
130
+ impact?: string[] | undefined;
136
131
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
137
132
  maturity?: "draft" | "verified" | "proven" | undefined;
138
- knowledge_layer?: "personal" | "team" | undefined;
139
- layer_reason?: string | undefined;
140
133
  tags?: string[] | undefined;
141
134
  related?: string[] | undefined;
135
+ aliases?: string[] | undefined;
142
136
  }>;
143
137
  always_active: z.ZodOptional<z.ZodBoolean>;
144
138
  }, "strip", z.ZodTypeAny, {
145
139
  description: {
146
140
  summary: string;
147
141
  intent_clues: string[];
148
- tech_stack: string[];
149
- impact: string[];
150
142
  must_read_if: string;
151
143
  created_at?: string | undefined;
152
144
  id?: string | undefined;
153
145
  relevance_scope?: "narrow" | "broad" | undefined;
154
146
  relevance_paths?: string[] | undefined;
155
- entities?: string[] | undefined;
147
+ tech_stack?: string[] | undefined;
148
+ impact?: string[] | undefined;
156
149
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
157
150
  maturity?: "draft" | "verified" | "proven" | undefined;
158
- knowledge_layer?: "personal" | "team" | undefined;
159
- layer_reason?: string | undefined;
160
151
  tags?: string[] | undefined;
161
152
  related?: string[] | undefined;
153
+ aliases?: string[] | undefined;
162
154
  };
163
155
  stable_id: string;
164
156
  always_active?: boolean | undefined;
@@ -166,20 +158,18 @@ declare const planContextOutputSchema: z.ZodObject<{
166
158
  description: {
167
159
  summary: string;
168
160
  intent_clues: string[];
169
- tech_stack: string[];
170
- impact: string[];
171
161
  must_read_if: string;
172
162
  created_at?: string | undefined;
173
163
  id?: string | undefined;
174
164
  relevance_scope?: "narrow" | "broad" | undefined;
175
165
  relevance_paths?: string[] | undefined;
176
- entities?: string[] | undefined;
166
+ tech_stack?: string[] | undefined;
167
+ impact?: string[] | undefined;
177
168
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
178
169
  maturity?: "draft" | "verified" | "proven" | undefined;
179
- knowledge_layer?: "personal" | "team" | undefined;
180
- layer_reason?: string | undefined;
181
170
  tags?: string[] | undefined;
182
171
  related?: string[] | undefined;
172
+ aliases?: string[] | undefined;
183
173
  };
184
174
  stable_id: string;
185
175
  always_active?: boolean | undefined;
@@ -252,20 +242,18 @@ declare const planContextOutputSchema: z.ZodObject<{
252
242
  description: {
253
243
  summary: string;
254
244
  intent_clues: string[];
255
- tech_stack: string[];
256
- impact: string[];
257
245
  must_read_if: string;
258
246
  created_at?: string | undefined;
259
247
  id?: string | undefined;
260
248
  relevance_scope?: "narrow" | "broad" | undefined;
261
249
  relevance_paths?: string[] | undefined;
262
- entities?: string[] | undefined;
250
+ tech_stack?: string[] | undefined;
251
+ impact?: string[] | undefined;
263
252
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
264
253
  maturity?: "draft" | "verified" | "proven" | undefined;
265
- knowledge_layer?: "personal" | "team" | undefined;
266
- layer_reason?: string | undefined;
267
254
  tags?: string[] | undefined;
268
255
  related?: string[] | undefined;
256
+ aliases?: string[] | undefined;
269
257
  };
270
258
  stable_id: string;
271
259
  always_active?: boolean | undefined;
@@ -309,20 +297,18 @@ declare const planContextOutputSchema: z.ZodObject<{
309
297
  description: {
310
298
  summary: string;
311
299
  intent_clues: string[];
312
- tech_stack: string[];
313
- impact: string[];
314
300
  must_read_if: string;
315
301
  created_at?: string | undefined;
316
302
  id?: string | undefined;
317
303
  relevance_scope?: "narrow" | "broad" | undefined;
318
304
  relevance_paths?: string[] | undefined;
319
- entities?: string[] | undefined;
305
+ tech_stack?: string[] | undefined;
306
+ impact?: string[] | undefined;
320
307
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
321
308
  maturity?: "draft" | "verified" | "proven" | undefined;
322
- knowledge_layer?: "personal" | "team" | undefined;
323
- layer_reason?: string | undefined;
324
309
  tags?: string[] | undefined;
325
310
  related?: string[] | undefined;
311
+ aliases?: string[] | undefined;
326
312
  };
327
313
  stable_id: string;
328
314
  always_active?: boolean | undefined;
@@ -364,17 +350,20 @@ declare const planContextHintNarrowEntrySchema: z.ZodObject<{
364
350
  maturity: z.ZodString;
365
351
  summary: z.ZodString;
366
352
  must_read_if: z.ZodOptional<z.ZodString>;
353
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
354
  }, "strip", z.ZodTypeAny, {
368
355
  type: string;
369
356
  id: string;
370
357
  summary: string;
371
358
  maturity: string;
359
+ impact?: string[] | undefined;
372
360
  must_read_if?: string | undefined;
373
361
  }, {
374
362
  type: string;
375
363
  id: string;
376
364
  summary: string;
377
365
  maturity: string;
366
+ impact?: string[] | undefined;
378
367
  must_read_if?: string | undefined;
379
368
  }>;
380
369
  declare const planContextHintOutputSchema: z.ZodObject<{
@@ -387,17 +376,20 @@ declare const planContextHintOutputSchema: z.ZodObject<{
387
376
  maturity: z.ZodString;
388
377
  summary: z.ZodString;
389
378
  must_read_if: z.ZodOptional<z.ZodString>;
379
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
390
380
  }, "strip", z.ZodTypeAny, {
391
381
  type: string;
392
382
  id: string;
393
383
  summary: string;
394
384
  maturity: string;
385
+ impact?: string[] | undefined;
395
386
  must_read_if?: string | undefined;
396
387
  }, {
397
388
  type: string;
398
389
  id: string;
399
390
  summary: string;
400
391
  maturity: string;
392
+ impact?: string[] | undefined;
401
393
  must_read_if?: string | undefined;
402
394
  }>, "many">;
403
395
  broad_count: z.ZodNumber;
@@ -407,6 +399,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
407
399
  id: string;
408
400
  summary: string;
409
401
  maturity: string;
402
+ impact?: string[] | undefined;
410
403
  must_read_if?: string | undefined;
411
404
  }[];
412
405
  target_paths: string[];
@@ -419,6 +412,7 @@ declare const planContextHintOutputSchema: z.ZodObject<{
419
412
  id: string;
420
413
  summary: string;
421
414
  maturity: string;
415
+ impact?: string[] | undefined;
422
416
  must_read_if?: string | undefined;
423
417
  }[];
424
418
  target_paths: string[];
@@ -608,54 +602,48 @@ declare const recallOutputSchema: z.ZodObject<{
608
602
  description: z.ZodObject<{
609
603
  summary: z.ZodString;
610
604
  intent_clues: z.ZodArray<z.ZodString, "many">;
611
- tech_stack: z.ZodArray<z.ZodString, "many">;
612
- impact: z.ZodArray<z.ZodString, "many">;
605
+ tech_stack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
606
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
613
607
  must_read_if: z.ZodString;
614
- entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
615
608
  id: z.ZodOptional<z.ZodString>;
616
609
  knowledge_type: z.ZodOptional<z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>>;
617
610
  maturity: z.ZodOptional<z.ZodEnum<["draft", "verified", "proven"]>>;
618
- knowledge_layer: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
619
- layer_reason: z.ZodOptional<z.ZodString>;
620
611
  created_at: z.ZodOptional<z.ZodString>;
621
612
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
622
613
  relevance_scope: z.ZodOptional<z.ZodEnum<["narrow", "broad"]>>;
623
614
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
624
615
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
616
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
625
617
  }, "strip", z.ZodTypeAny, {
626
618
  summary: string;
627
619
  intent_clues: string[];
628
- tech_stack: string[];
629
- impact: string[];
630
620
  must_read_if: string;
631
621
  created_at?: string | undefined;
632
622
  id?: string | undefined;
633
623
  relevance_scope?: "narrow" | "broad" | undefined;
634
624
  relevance_paths?: string[] | undefined;
635
- entities?: string[] | undefined;
625
+ tech_stack?: string[] | undefined;
626
+ impact?: string[] | undefined;
636
627
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
637
628
  maturity?: "draft" | "verified" | "proven" | undefined;
638
- knowledge_layer?: "personal" | "team" | undefined;
639
- layer_reason?: string | undefined;
640
629
  tags?: string[] | undefined;
641
630
  related?: string[] | undefined;
631
+ aliases?: string[] | undefined;
642
632
  }, {
643
633
  summary: string;
644
634
  intent_clues: string[];
645
- tech_stack: string[];
646
- impact: string[];
647
635
  must_read_if: string;
648
636
  created_at?: string | undefined;
649
637
  id?: string | undefined;
650
638
  relevance_scope?: "narrow" | "broad" | undefined;
651
639
  relevance_paths?: string[] | undefined;
652
- entities?: string[] | undefined;
640
+ tech_stack?: string[] | undefined;
641
+ impact?: string[] | undefined;
653
642
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
654
643
  maturity?: "draft" | "verified" | "proven" | undefined;
655
- knowledge_layer?: "personal" | "team" | undefined;
656
- layer_reason?: string | undefined;
657
644
  tags?: string[] | undefined;
658
645
  related?: string[] | undefined;
646
+ aliases?: string[] | undefined;
659
647
  }>;
660
648
  read_path: z.ZodOptional<z.ZodString>;
661
649
  store: z.ZodOptional<z.ZodObject<{
@@ -666,24 +654,57 @@ declare const recallOutputSchema: z.ZodObject<{
666
654
  alias: string;
667
655
  }>>;
668
656
  body_in_context: z.ZodOptional<z.ZodBoolean>;
657
+ score: z.ZodOptional<z.ZodNumber>;
658
+ score_breakdown: z.ZodOptional<z.ZodObject<{
659
+ final: z.ZodNumber;
660
+ bm25: z.ZodOptional<z.ZodNumber>;
661
+ bm25_rank: z.ZodOptional<z.ZodNumber>;
662
+ vector: z.ZodOptional<z.ZodNumber>;
663
+ vector_rank: z.ZodOptional<z.ZodNumber>;
664
+ salience: z.ZodNumber;
665
+ recency: z.ZodNumber;
666
+ locality: z.ZodNumber;
667
+ proximity: z.ZodNumber;
668
+ credibility: z.ZodOptional<z.ZodNumber>;
669
+ }, "strip", z.ZodTypeAny, {
670
+ final: number;
671
+ salience: number;
672
+ recency: number;
673
+ locality: number;
674
+ proximity: number;
675
+ bm25?: number | undefined;
676
+ bm25_rank?: number | undefined;
677
+ vector?: number | undefined;
678
+ vector_rank?: number | undefined;
679
+ credibility?: number | undefined;
680
+ }, {
681
+ final: number;
682
+ salience: number;
683
+ recency: number;
684
+ locality: number;
685
+ proximity: number;
686
+ bm25?: number | undefined;
687
+ bm25_rank?: number | undefined;
688
+ vector?: number | undefined;
689
+ vector_rank?: number | undefined;
690
+ credibility?: number | undefined;
691
+ }>>;
669
692
  }, "strip", z.ZodTypeAny, {
670
693
  description: {
671
694
  summary: string;
672
695
  intent_clues: string[];
673
- tech_stack: string[];
674
- impact: string[];
675
696
  must_read_if: string;
676
697
  created_at?: string | undefined;
677
698
  id?: string | undefined;
678
699
  relevance_scope?: "narrow" | "broad" | undefined;
679
700
  relevance_paths?: string[] | undefined;
680
- entities?: string[] | undefined;
701
+ tech_stack?: string[] | undefined;
702
+ impact?: string[] | undefined;
681
703
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
682
704
  maturity?: "draft" | "verified" | "proven" | undefined;
683
- knowledge_layer?: "personal" | "team" | undefined;
684
- layer_reason?: string | undefined;
685
705
  tags?: string[] | undefined;
686
706
  related?: string[] | undefined;
707
+ aliases?: string[] | undefined;
687
708
  };
688
709
  stable_id: string;
689
710
  rank: number;
@@ -692,24 +713,35 @@ declare const recallOutputSchema: z.ZodObject<{
692
713
  } | undefined;
693
714
  read_path?: string | undefined;
694
715
  body_in_context?: boolean | undefined;
716
+ score?: number | undefined;
717
+ score_breakdown?: {
718
+ final: number;
719
+ salience: number;
720
+ recency: number;
721
+ locality: number;
722
+ proximity: number;
723
+ bm25?: number | undefined;
724
+ bm25_rank?: number | undefined;
725
+ vector?: number | undefined;
726
+ vector_rank?: number | undefined;
727
+ credibility?: number | undefined;
728
+ } | undefined;
695
729
  }, {
696
730
  description: {
697
731
  summary: string;
698
732
  intent_clues: string[];
699
- tech_stack: string[];
700
- impact: string[];
701
733
  must_read_if: string;
702
734
  created_at?: string | undefined;
703
735
  id?: string | undefined;
704
736
  relevance_scope?: "narrow" | "broad" | undefined;
705
737
  relevance_paths?: string[] | undefined;
706
- entities?: string[] | undefined;
738
+ tech_stack?: string[] | undefined;
739
+ impact?: string[] | undefined;
707
740
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
708
741
  maturity?: "draft" | "verified" | "proven" | undefined;
709
- knowledge_layer?: "personal" | "team" | undefined;
710
- layer_reason?: string | undefined;
711
742
  tags?: string[] | undefined;
712
743
  related?: string[] | undefined;
744
+ aliases?: string[] | undefined;
713
745
  };
714
746
  stable_id: string;
715
747
  rank: number;
@@ -718,6 +750,19 @@ declare const recallOutputSchema: z.ZodObject<{
718
750
  } | undefined;
719
751
  read_path?: string | undefined;
720
752
  body_in_context?: boolean | undefined;
753
+ score?: number | undefined;
754
+ score_breakdown?: {
755
+ final: number;
756
+ salience: number;
757
+ recency: number;
758
+ locality: number;
759
+ proximity: number;
760
+ bm25?: number | undefined;
761
+ bm25_rank?: number | undefined;
762
+ vector?: number | undefined;
763
+ vector_rank?: number | undefined;
764
+ credibility?: number | undefined;
765
+ } | undefined;
721
766
  }>, "many">;
722
767
  intent: z.ZodOptional<z.ZodString>;
723
768
  dropped: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -779,20 +824,18 @@ declare const recallOutputSchema: z.ZodObject<{
779
824
  description: {
780
825
  summary: string;
781
826
  intent_clues: string[];
782
- tech_stack: string[];
783
- impact: string[];
784
827
  must_read_if: string;
785
828
  created_at?: string | undefined;
786
829
  id?: string | undefined;
787
830
  relevance_scope?: "narrow" | "broad" | undefined;
788
831
  relevance_paths?: string[] | undefined;
789
- entities?: string[] | undefined;
832
+ tech_stack?: string[] | undefined;
833
+ impact?: string[] | undefined;
790
834
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
791
835
  maturity?: "draft" | "verified" | "proven" | undefined;
792
- knowledge_layer?: "personal" | "team" | undefined;
793
- layer_reason?: string | undefined;
794
836
  tags?: string[] | undefined;
795
837
  related?: string[] | undefined;
838
+ aliases?: string[] | undefined;
796
839
  };
797
840
  stable_id: string;
798
841
  rank: number;
@@ -801,6 +844,19 @@ declare const recallOutputSchema: z.ZodObject<{
801
844
  } | undefined;
802
845
  read_path?: string | undefined;
803
846
  body_in_context?: boolean | undefined;
847
+ score?: number | undefined;
848
+ score_breakdown?: {
849
+ final: number;
850
+ salience: number;
851
+ recency: number;
852
+ locality: number;
853
+ proximity: number;
854
+ bm25?: number | undefined;
855
+ bm25_rank?: number | undefined;
856
+ vector?: number | undefined;
857
+ vector_rank?: number | undefined;
858
+ credibility?: number | undefined;
859
+ } | undefined;
804
860
  }[];
805
861
  stale: boolean;
806
862
  revision_hash: string;
@@ -834,20 +890,18 @@ declare const recallOutputSchema: z.ZodObject<{
834
890
  description: {
835
891
  summary: string;
836
892
  intent_clues: string[];
837
- tech_stack: string[];
838
- impact: string[];
839
893
  must_read_if: string;
840
894
  created_at?: string | undefined;
841
895
  id?: string | undefined;
842
896
  relevance_scope?: "narrow" | "broad" | undefined;
843
897
  relevance_paths?: string[] | undefined;
844
- entities?: string[] | undefined;
898
+ tech_stack?: string[] | undefined;
899
+ impact?: string[] | undefined;
845
900
  knowledge_type?: "models" | "decisions" | "guidelines" | "pitfalls" | "processes" | undefined;
846
901
  maturity?: "draft" | "verified" | "proven" | undefined;
847
- knowledge_layer?: "personal" | "team" | undefined;
848
- layer_reason?: string | undefined;
849
902
  tags?: string[] | undefined;
850
903
  related?: string[] | undefined;
904
+ aliases?: string[] | undefined;
851
905
  };
852
906
  stable_id: string;
853
907
  rank: number;
@@ -856,6 +910,19 @@ declare const recallOutputSchema: z.ZodObject<{
856
910
  } | undefined;
857
911
  read_path?: string | undefined;
858
912
  body_in_context?: boolean | undefined;
913
+ score?: number | undefined;
914
+ score_breakdown?: {
915
+ final: number;
916
+ salience: number;
917
+ recency: number;
918
+ locality: number;
919
+ proximity: number;
920
+ bm25?: number | undefined;
921
+ bm25_rank?: number | undefined;
922
+ vector?: number | undefined;
923
+ vector_rank?: number | undefined;
924
+ credibility?: number | undefined;
925
+ } | undefined;
859
926
  }[];
860
927
  stale: boolean;
861
928
  revision_hash: string;
@@ -1177,12 +1244,18 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1177
1244
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1178
1245
  semantic_scope: z.ZodOptional<z.ZodString>;
1179
1246
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1247
+ must_read_if: z.ZodOptional<z.ZodString>;
1248
+ intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1249
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1180
1250
  }, "strip", z.ZodTypeAny, {
1181
1251
  semantic_scope?: string | undefined;
1182
1252
  relevance_scope?: "narrow" | "broad" | undefined;
1183
1253
  relevance_paths?: string[] | undefined;
1184
1254
  layer?: "personal" | "team" | undefined;
1185
1255
  summary?: string | undefined;
1256
+ intent_clues?: string[] | undefined;
1257
+ impact?: string[] | undefined;
1258
+ must_read_if?: string | undefined;
1186
1259
  maturity?: "draft" | "verified" | "proven" | undefined;
1187
1260
  tags?: string[] | undefined;
1188
1261
  related?: string[] | undefined;
@@ -1193,6 +1266,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1193
1266
  relevance_paths?: string[] | undefined;
1194
1267
  layer?: "personal" | "team" | undefined;
1195
1268
  summary?: string | undefined;
1269
+ intent_clues?: string[] | undefined;
1270
+ impact?: string[] | undefined;
1271
+ must_read_if?: string | undefined;
1196
1272
  maturity?: "draft" | "verified" | "proven" | undefined;
1197
1273
  tags?: string[] | undefined;
1198
1274
  related?: string[] | undefined;
@@ -1207,6 +1283,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1207
1283
  relevance_paths?: string[] | undefined;
1208
1284
  layer?: "personal" | "team" | undefined;
1209
1285
  summary?: string | undefined;
1286
+ intent_clues?: string[] | undefined;
1287
+ impact?: string[] | undefined;
1288
+ must_read_if?: string | undefined;
1210
1289
  maturity?: "draft" | "verified" | "proven" | undefined;
1211
1290
  tags?: string[] | undefined;
1212
1291
  related?: string[] | undefined;
@@ -1221,6 +1300,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1221
1300
  relevance_paths?: string[] | undefined;
1222
1301
  layer?: "personal" | "team" | undefined;
1223
1302
  summary?: string | undefined;
1303
+ intent_clues?: string[] | undefined;
1304
+ impact?: string[] | undefined;
1305
+ must_read_if?: string | undefined;
1224
1306
  maturity?: "draft" | "verified" | "proven" | undefined;
1225
1307
  tags?: string[] | undefined;
1226
1308
  related?: string[] | undefined;
@@ -1239,12 +1321,18 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1239
1321
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1240
1322
  semantic_scope: z.ZodOptional<z.ZodString>;
1241
1323
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1324
+ must_read_if: z.ZodOptional<z.ZodString>;
1325
+ intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1326
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1242
1327
  }, "strip", z.ZodTypeAny, {
1243
1328
  semantic_scope?: string | undefined;
1244
1329
  relevance_scope?: "narrow" | "broad" | undefined;
1245
1330
  relevance_paths?: string[] | undefined;
1246
1331
  layer?: "personal" | "team" | undefined;
1247
1332
  summary?: string | undefined;
1333
+ intent_clues?: string[] | undefined;
1334
+ impact?: string[] | undefined;
1335
+ must_read_if?: string | undefined;
1248
1336
  maturity?: "draft" | "verified" | "proven" | undefined;
1249
1337
  tags?: string[] | undefined;
1250
1338
  related?: string[] | undefined;
@@ -1255,6 +1343,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1255
1343
  relevance_paths?: string[] | undefined;
1256
1344
  layer?: "personal" | "team" | undefined;
1257
1345
  summary?: string | undefined;
1346
+ intent_clues?: string[] | undefined;
1347
+ impact?: string[] | undefined;
1348
+ must_read_if?: string | undefined;
1258
1349
  maturity?: "draft" | "verified" | "proven" | undefined;
1259
1350
  tags?: string[] | undefined;
1260
1351
  related?: string[] | undefined;
@@ -1269,6 +1360,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1269
1360
  relevance_paths?: string[] | undefined;
1270
1361
  layer?: "personal" | "team" | undefined;
1271
1362
  summary?: string | undefined;
1363
+ intent_clues?: string[] | undefined;
1364
+ impact?: string[] | undefined;
1365
+ must_read_if?: string | undefined;
1272
1366
  maturity?: "draft" | "verified" | "proven" | undefined;
1273
1367
  tags?: string[] | undefined;
1274
1368
  related?: string[] | undefined;
@@ -1283,6 +1377,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1283
1377
  relevance_paths?: string[] | undefined;
1284
1378
  layer?: "personal" | "team" | undefined;
1285
1379
  summary?: string | undefined;
1380
+ intent_clues?: string[] | undefined;
1381
+ impact?: string[] | undefined;
1382
+ must_read_if?: string | undefined;
1286
1383
  maturity?: "draft" | "verified" | "proven" | undefined;
1287
1384
  tags?: string[] | undefined;
1288
1385
  related?: string[] | undefined;
@@ -1300,6 +1397,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1300
1397
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1301
1398
  semantic_scope: z.ZodOptional<z.ZodString>;
1302
1399
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1400
+ must_read_if: z.ZodOptional<z.ZodString>;
1401
+ intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1402
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1303
1403
  } & {
1304
1404
  layer: z.ZodEnum<["team", "personal"]>;
1305
1405
  }, "strip", z.ZodTypeAny, {
@@ -1308,6 +1408,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1308
1408
  relevance_scope?: "narrow" | "broad" | undefined;
1309
1409
  relevance_paths?: string[] | undefined;
1310
1410
  summary?: string | undefined;
1411
+ intent_clues?: string[] | undefined;
1412
+ impact?: string[] | undefined;
1413
+ must_read_if?: string | undefined;
1311
1414
  maturity?: "draft" | "verified" | "proven" | undefined;
1312
1415
  tags?: string[] | undefined;
1313
1416
  related?: string[] | undefined;
@@ -1318,6 +1421,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1318
1421
  relevance_scope?: "narrow" | "broad" | undefined;
1319
1422
  relevance_paths?: string[] | undefined;
1320
1423
  summary?: string | undefined;
1424
+ intent_clues?: string[] | undefined;
1425
+ impact?: string[] | undefined;
1426
+ must_read_if?: string | undefined;
1321
1427
  maturity?: "draft" | "verified" | "proven" | undefined;
1322
1428
  tags?: string[] | undefined;
1323
1429
  related?: string[] | undefined;
@@ -1332,6 +1438,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1332
1438
  relevance_scope?: "narrow" | "broad" | undefined;
1333
1439
  relevance_paths?: string[] | undefined;
1334
1440
  summary?: string | undefined;
1441
+ intent_clues?: string[] | undefined;
1442
+ impact?: string[] | undefined;
1443
+ must_read_if?: string | undefined;
1335
1444
  maturity?: "draft" | "verified" | "proven" | undefined;
1336
1445
  tags?: string[] | undefined;
1337
1446
  related?: string[] | undefined;
@@ -1346,6 +1455,9 @@ declare const FabReviewInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObje
1346
1455
  relevance_scope?: "narrow" | "broad" | undefined;
1347
1456
  relevance_paths?: string[] | undefined;
1348
1457
  summary?: string | undefined;
1458
+ intent_clues?: string[] | undefined;
1459
+ impact?: string[] | undefined;
1460
+ must_read_if?: string | undefined;
1349
1461
  maturity?: "draft" | "verified" | "proven" | undefined;
1350
1462
  tags?: string[] | undefined;
1351
1463
  related?: string[] | undefined;
@@ -1528,12 +1640,18 @@ declare const FabReviewInputShape: {
1528
1640
  relevance_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1529
1641
  semantic_scope: z.ZodOptional<z.ZodString>;
1530
1642
  related: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1643
+ must_read_if: z.ZodOptional<z.ZodString>;
1644
+ intent_clues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1645
+ impact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1531
1646
  }, "strip", z.ZodTypeAny, {
1532
1647
  semantic_scope?: string | undefined;
1533
1648
  relevance_scope?: "narrow" | "broad" | undefined;
1534
1649
  relevance_paths?: string[] | undefined;
1535
1650
  layer?: "personal" | "team" | undefined;
1536
1651
  summary?: string | undefined;
1652
+ intent_clues?: string[] | undefined;
1653
+ impact?: string[] | undefined;
1654
+ must_read_if?: string | undefined;
1537
1655
  maturity?: "draft" | "verified" | "proven" | undefined;
1538
1656
  tags?: string[] | undefined;
1539
1657
  related?: string[] | undefined;
@@ -1544,6 +1662,9 @@ declare const FabReviewInputShape: {
1544
1662
  relevance_paths?: string[] | undefined;
1545
1663
  layer?: "personal" | "team" | undefined;
1546
1664
  summary?: string | undefined;
1665
+ intent_clues?: string[] | undefined;
1666
+ impact?: string[] | undefined;
1667
+ must_read_if?: string | undefined;
1547
1668
  maturity?: "draft" | "verified" | "proven" | undefined;
1548
1669
  tags?: string[] | undefined;
1549
1670
  related?: string[] | undefined;
@@ -2521,7 +2642,6 @@ declare const KnowledgeEntryFrontmatterSchema: z.ZodObject<{
2521
2642
  type: z.ZodEnum<["models", "decisions", "guidelines", "pitfalls", "processes"]>;
2522
2643
  maturity: z.ZodEnum<["draft", "verified", "proven"]>;
2523
2644
  layer: z.ZodEnum<["personal", "team"]>;
2524
- layer_reason: z.ZodOptional<z.ZodString>;
2525
2645
  created_at: z.ZodString;
2526
2646
  }, "strip", z.ZodTypeAny, {
2527
2647
  created_at: string;
@@ -2529,14 +2649,12 @@ declare const KnowledgeEntryFrontmatterSchema: z.ZodObject<{
2529
2649
  id: string;
2530
2650
  layer: "personal" | "team";
2531
2651
  maturity: "draft" | "verified" | "proven";
2532
- layer_reason?: string | undefined;
2533
2652
  }, {
2534
2653
  created_at: string;
2535
2654
  type: "models" | "decisions" | "guidelines" | "pitfalls" | "processes";
2536
2655
  id: string;
2537
2656
  layer: "personal" | "team";
2538
2657
  maturity: "draft" | "verified" | "proven";
2539
- layer_reason?: string | undefined;
2540
2658
  }>;
2541
2659
  type KnowledgeEntryFrontmatter = z.infer<typeof KnowledgeEntryFrontmatterSchema>;
2542
2660
  declare const KNOWLEDGE_TYPE_CODES: {