@remnic/core 9.3.760 → 9.3.761

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.
Files changed (128) hide show
  1. package/dist/access-admin-ops-surface.d.ts +3 -3
  2. package/dist/access-admin-ops-surface.js +7 -7
  3. package/dist/access-boundary.d.ts +3 -3
  4. package/dist/access-boundary.js +8 -8
  5. package/dist/access-cli.js +28 -28
  6. package/dist/access-http.d.ts +3 -3
  7. package/dist/access-http.js +12 -12
  8. package/dist/access-identity-continuity-surface.d.ts +2 -2
  9. package/dist/access-identity-continuity-surface.js +7 -7
  10. package/dist/access-lcm-surface.d.ts +3 -3
  11. package/dist/access-lcm-surface.js +7 -7
  12. package/dist/access-mcp.d.ts +3 -3
  13. package/dist/access-mcp.js +11 -11
  14. package/dist/access-observe-write-surface.d.ts +3 -3
  15. package/dist/access-observe-write-surface.js +7 -7
  16. package/dist/access-operations-batch.js +9 -9
  17. package/dist/access-operations.d.ts +7 -7
  18. package/dist/access-operations.js +10 -10
  19. package/dist/access-recall-surface.d.ts +3 -3
  20. package/dist/access-recall-surface.js +7 -7
  21. package/dist/access-schema.d.ts +68 -68
  22. package/dist/{access-service-BW-gb3DL.d.ts → access-service-CaWJP_f6.d.ts} +2 -2
  23. package/dist/access-service.d.ts +3 -3
  24. package/dist/access-service.js +7 -7
  25. package/dist/access-surface-catalog.d.ts +3 -3
  26. package/dist/bootstrap.d.ts +2 -2
  27. package/dist/briefing.js +2 -2
  28. package/dist/{catalog-DaKAFbSJ.d.ts → catalog-bflYNWsM.d.ts} +8 -4
  29. package/dist/causal-consolidation.js +3 -3
  30. package/dist/{chunk-FYJWEGYP.js → chunk-2B3BTQN4.js} +2 -2
  31. package/dist/{chunk-IZLGHKWA.js → chunk-3CBSKDRL.js} +7 -7
  32. package/dist/{chunk-YP23FQPT.js → chunk-3DAIQSVS.js} +80 -36
  33. package/dist/chunk-3DAIQSVS.js.map +1 -0
  34. package/dist/{chunk-OLEBPUZ7.js → chunk-4WOXD56B.js} +5 -5
  35. package/dist/{chunk-QUGPXPFJ.js → chunk-5AZQZFJG.js} +5 -5
  36. package/dist/{chunk-DTSOB2YF.js → chunk-6S2C5FQ4.js} +2 -2
  37. package/dist/{chunk-WIXQ3F5P.js → chunk-742MWWVL.js} +2 -2
  38. package/dist/{chunk-W3M34XT4.js → chunk-BAVVI5GP.js} +2 -2
  39. package/dist/{chunk-QOM3F6YW.js → chunk-CFHDI5CV.js} +5 -5
  40. package/dist/{chunk-IOZZG75J.js → chunk-DUU4VLOW.js} +2 -2
  41. package/dist/{chunk-ZFXCQPNO.js → chunk-EGGE52UU.js} +2 -2
  42. package/dist/chunk-EGGE52UU.js.map +1 -0
  43. package/dist/{chunk-LLVKDFNU.js → chunk-GYJESQS5.js} +2 -2
  44. package/dist/{chunk-EGQ3AVZV.js → chunk-HHCMZEUC.js} +3 -3
  45. package/dist/{chunk-6CUUFFU7.js → chunk-HP23UD6W.js} +131 -39
  46. package/dist/chunk-HP23UD6W.js.map +1 -0
  47. package/dist/{chunk-XQT5GSWU.js → chunk-ICVNVSKN.js} +2 -2
  48. package/dist/{chunk-2XE4F3VZ.js → chunk-IRFHFRHP.js} +12 -12
  49. package/dist/{chunk-ILVF6TIY.js → chunk-IV4INTAU.js} +2 -2
  50. package/dist/{chunk-AZSSKOG6.js → chunk-JYH3XYWM.js} +3 -3
  51. package/dist/{chunk-3JBW3GHN.js → chunk-LG2MCUBC.js} +2 -2
  52. package/dist/{chunk-SLAZZXBU.js → chunk-NPZTEHR7.js} +2 -2
  53. package/dist/{chunk-PKRRBRY2.js → chunk-OCPVA4TH.js} +2 -2
  54. package/dist/{chunk-M2AAYJVI.js → chunk-P7N2DQLC.js} +4 -4
  55. package/dist/{chunk-SN2EWIAI.js → chunk-P7UA66OG.js} +2 -2
  56. package/dist/{chunk-SMLMH7S5.js → chunk-W4ADKEIY.js} +16 -16
  57. package/dist/{chunk-P26O6R3Q.js → chunk-XDFWMY4X.js} +3 -3
  58. package/dist/{chunk-QQJMVF6P.js → chunk-Y3XEN5TL.js} +3 -3
  59. package/dist/{chunk-ZEQVS6AZ.js → chunk-YU4CLTZY.js} +2 -2
  60. package/dist/{chunk-7HWOEYHW.js → chunk-ZAIU7ZEA.js} +2 -2
  61. package/dist/{cli-D551dnva.d.ts → cli-CvWpIbMD.d.ts} +2 -2
  62. package/dist/cli.d.ts +4 -4
  63. package/dist/cli.js +22 -22
  64. package/dist/compounding/engine.js +2 -2
  65. package/dist/connectors/codex-materialize-runner.js +2 -2
  66. package/dist/connectors/index.js +2 -2
  67. package/dist/entity-retrieval.js +2 -2
  68. package/dist/explicit-capture.d.ts +2 -2
  69. package/dist/index.d.ts +5 -5
  70. package/dist/index.js +28 -28
  71. package/dist/maintenance/memory-governance.js +2 -2
  72. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +2 -2
  73. package/dist/maintenance/rebuild-memory-projection.js +3 -3
  74. package/dist/mcp-memory-inspector-app.d.ts +3 -3
  75. package/dist/namespaces/migrate.d.ts +1 -1
  76. package/dist/namespaces/migrate.js +5 -5
  77. package/dist/namespaces/search.js +2 -2
  78. package/dist/namespaces/storage.d.ts +1 -1
  79. package/dist/namespaces/storage.js +3 -3
  80. package/dist/operator-toolkit.js +9 -9
  81. package/dist/orchestration/maintenance.d.ts +1 -1
  82. package/dist/orchestration/maintenance.js +6 -6
  83. package/dist/{orchestrator-BnM187cb.d.ts → orchestrator-C04Q4Zao.d.ts} +1 -1
  84. package/dist/orchestrator.d.ts +2 -2
  85. package/dist/orchestrator.js +28 -28
  86. package/dist/schemas.d.ts +62 -62
  87. package/dist/semantic-consolidation.js +3 -3
  88. package/dist/semantic-rule-promotion.js +2 -2
  89. package/dist/semantic-rule-verifier.js +2 -2
  90. package/dist/shared-context/manager.d.ts +8 -8
  91. package/dist/storage.js +1 -1
  92. package/dist/transfer/types.d.ts +66 -66
  93. package/dist/verified-recall.js +2 -2
  94. package/package.json +2 -2
  95. package/src/namespaces/catalog.test.ts +133 -1
  96. package/src/namespaces/catalog.ts +163 -48
  97. package/src/namespaces/identity.ts +2 -2
  98. package/src/storage/secure-line-reader.ts +79 -0
  99. package/src/storage-memory-lifecycle-ledger.test.ts +130 -0
  100. package/src/storage.ts +16 -33
  101. package/dist/chunk-6CUUFFU7.js.map +0 -1
  102. package/dist/chunk-YP23FQPT.js.map +0 -1
  103. package/dist/chunk-ZFXCQPNO.js.map +0 -1
  104. /package/dist/{chunk-FYJWEGYP.js.map → chunk-2B3BTQN4.js.map} +0 -0
  105. /package/dist/{chunk-IZLGHKWA.js.map → chunk-3CBSKDRL.js.map} +0 -0
  106. /package/dist/{chunk-OLEBPUZ7.js.map → chunk-4WOXD56B.js.map} +0 -0
  107. /package/dist/{chunk-QUGPXPFJ.js.map → chunk-5AZQZFJG.js.map} +0 -0
  108. /package/dist/{chunk-DTSOB2YF.js.map → chunk-6S2C5FQ4.js.map} +0 -0
  109. /package/dist/{chunk-WIXQ3F5P.js.map → chunk-742MWWVL.js.map} +0 -0
  110. /package/dist/{chunk-W3M34XT4.js.map → chunk-BAVVI5GP.js.map} +0 -0
  111. /package/dist/{chunk-QOM3F6YW.js.map → chunk-CFHDI5CV.js.map} +0 -0
  112. /package/dist/{chunk-IOZZG75J.js.map → chunk-DUU4VLOW.js.map} +0 -0
  113. /package/dist/{chunk-LLVKDFNU.js.map → chunk-GYJESQS5.js.map} +0 -0
  114. /package/dist/{chunk-EGQ3AVZV.js.map → chunk-HHCMZEUC.js.map} +0 -0
  115. /package/dist/{chunk-XQT5GSWU.js.map → chunk-ICVNVSKN.js.map} +0 -0
  116. /package/dist/{chunk-2XE4F3VZ.js.map → chunk-IRFHFRHP.js.map} +0 -0
  117. /package/dist/{chunk-ILVF6TIY.js.map → chunk-IV4INTAU.js.map} +0 -0
  118. /package/dist/{chunk-AZSSKOG6.js.map → chunk-JYH3XYWM.js.map} +0 -0
  119. /package/dist/{chunk-3JBW3GHN.js.map → chunk-LG2MCUBC.js.map} +0 -0
  120. /package/dist/{chunk-SLAZZXBU.js.map → chunk-NPZTEHR7.js.map} +0 -0
  121. /package/dist/{chunk-PKRRBRY2.js.map → chunk-OCPVA4TH.js.map} +0 -0
  122. /package/dist/{chunk-M2AAYJVI.js.map → chunk-P7N2DQLC.js.map} +0 -0
  123. /package/dist/{chunk-SN2EWIAI.js.map → chunk-P7UA66OG.js.map} +0 -0
  124. /package/dist/{chunk-SMLMH7S5.js.map → chunk-W4ADKEIY.js.map} +0 -0
  125. /package/dist/{chunk-P26O6R3Q.js.map → chunk-XDFWMY4X.js.map} +0 -0
  126. /package/dist/{chunk-QQJMVF6P.js.map → chunk-Y3XEN5TL.js.map} +0 -0
  127. /package/dist/{chunk-ZEQVS6AZ.js.map → chunk-YU4CLTZY.js.map} +0 -0
  128. /package/dist/{chunk-7HWOEYHW.js.map → chunk-ZAIU7ZEA.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,13 +7,13 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
+ source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
10
11
  confidence: number;
11
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
12
12
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
13
13
  importance: number;
14
14
  }, {
15
+ source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
15
16
  confidence: number;
16
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
17
17
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
18
18
  importance: number;
19
19
  }>;
@@ -152,12 +152,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
152
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
153
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
154
  }, "strip", z.ZodTypeAny, {
155
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
155
+ tags: string[];
156
156
  content: string;
157
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
157
158
  confidence: number;
158
- tags: string[];
159
- entityRef?: string | null | undefined;
160
159
  quote?: string | null | undefined;
160
+ entityRef?: string | null | undefined;
161
161
  structuredAttributes?: Record<string, string> | null | undefined;
162
162
  scope?: "project" | "global" | null | undefined;
163
163
  promptedByQuestion?: string | null | undefined;
@@ -184,12 +184,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
184
184
  eventTime?: string | null | undefined;
185
185
  event_time?: string | null | undefined;
186
186
  }, {
187
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
187
+ tags: string[];
188
188
  content: string;
189
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
189
190
  confidence: number;
190
- tags: string[];
191
- entityRef?: string | null | undefined;
192
191
  quote?: string | null | undefined;
192
+ entityRef?: string | null | undefined;
193
193
  structuredAttributes?: Record<string, string> | null | undefined;
194
194
  scope?: "project" | "global" | null | undefined;
195
195
  promptedByQuestion?: string | null | undefined;
@@ -216,12 +216,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
216
216
  eventTime?: string | null | undefined;
217
217
  event_time?: string | null | undefined;
218
218
  }>, {
219
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
219
+ tags: string[];
220
220
  content: string;
221
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
221
222
  confidence: number;
222
- tags: string[];
223
- entityRef?: string | null | undefined;
224
223
  quote?: string | null | undefined;
224
+ entityRef?: string | null | undefined;
225
225
  structuredAttributes?: Record<string, string> | null | undefined;
226
226
  scope?: "project" | "global" | null | undefined;
227
227
  promptedByQuestion?: string | null | undefined;
@@ -248,12 +248,12 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
248
248
  eventTime?: string | null | undefined;
249
249
  event_time?: string | null | undefined;
250
250
  }, {
251
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
251
+ tags: string[];
252
252
  content: string;
253
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
253
254
  confidence: number;
254
- tags: string[];
255
- entityRef?: string | null | undefined;
256
255
  quote?: string | null | undefined;
256
+ entityRef?: string | null | undefined;
257
257
  structuredAttributes?: Record<string, string> | null | undefined;
258
258
  scope?: "project" | "global" | null | undefined;
259
259
  promptedByQuestion?: string | null | undefined;
@@ -365,14 +365,14 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
365
365
  label: z.ZodString;
366
366
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
367
367
  }, "strip", z.ZodTypeAny, {
368
- label: string;
369
368
  source: string;
370
369
  target: string;
370
+ label: string;
371
371
  promptedByQuestion?: string | null | undefined;
372
372
  }, {
373
- label: string;
374
373
  source: string;
375
374
  target: string;
375
+ label: string;
376
376
  promptedByQuestion?: string | null | undefined;
377
377
  }>;
378
378
  declare const ProactiveExtractionResultSchema: z.ZodObject<{
@@ -475,12 +475,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
475
475
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
476
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
477
  }, "strip", z.ZodTypeAny, {
478
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
478
+ tags: string[];
479
479
  content: string;
480
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
480
481
  confidence: number;
481
- tags: string[];
482
- entityRef?: string | null | undefined;
483
482
  quote?: string | null | undefined;
483
+ entityRef?: string | null | undefined;
484
484
  structuredAttributes?: Record<string, string> | null | undefined;
485
485
  scope?: "project" | "global" | null | undefined;
486
486
  promptedByQuestion?: string | null | undefined;
@@ -507,12 +507,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
507
507
  eventTime?: string | null | undefined;
508
508
  event_time?: string | null | undefined;
509
509
  }, {
510
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
510
+ tags: string[];
511
511
  content: string;
512
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
512
513
  confidence: number;
513
- tags: string[];
514
- entityRef?: string | null | undefined;
515
514
  quote?: string | null | undefined;
515
+ entityRef?: string | null | undefined;
516
516
  structuredAttributes?: Record<string, string> | null | undefined;
517
517
  scope?: "project" | "global" | null | undefined;
518
518
  promptedByQuestion?: string | null | undefined;
@@ -539,12 +539,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
539
539
  eventTime?: string | null | undefined;
540
540
  event_time?: string | null | undefined;
541
541
  }>, {
542
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
542
+ tags: string[];
543
543
  content: string;
544
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
544
545
  confidence: number;
545
- tags: string[];
546
- entityRef?: string | null | undefined;
547
546
  quote?: string | null | undefined;
547
+ entityRef?: string | null | undefined;
548
548
  structuredAttributes?: Record<string, string> | null | undefined;
549
549
  scope?: "project" | "global" | null | undefined;
550
550
  promptedByQuestion?: string | null | undefined;
@@ -571,12 +571,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
571
571
  eventTime?: string | null | undefined;
572
572
  event_time?: string | null | undefined;
573
573
  }, {
574
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
574
+ tags: string[];
575
575
  content: string;
576
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
576
577
  confidence: number;
577
- tags: string[];
578
- entityRef?: string | null | undefined;
579
578
  quote?: string | null | undefined;
579
+ entityRef?: string | null | undefined;
580
580
  structuredAttributes?: Record<string, string> | null | undefined;
581
581
  scope?: "project" | "global" | null | undefined;
582
582
  promptedByQuestion?: string | null | undefined;
@@ -649,24 +649,24 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
649
649
  label: z.ZodString;
650
650
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
651
651
  }, "strip", z.ZodTypeAny, {
652
- label: string;
653
652
  source: string;
654
653
  target: string;
654
+ label: string;
655
655
  promptedByQuestion?: string | null | undefined;
656
656
  }, {
657
- label: string;
658
657
  source: string;
659
658
  target: string;
659
+ label: string;
660
660
  promptedByQuestion?: string | null | undefined;
661
661
  }>, "many">>>;
662
662
  }, "strip", z.ZodTypeAny, {
663
663
  facts: {
664
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
664
+ tags: string[];
665
665
  content: string;
666
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
666
667
  confidence: number;
667
- tags: string[];
668
- entityRef?: string | null | undefined;
669
668
  quote?: string | null | undefined;
669
+ entityRef?: string | null | undefined;
670
670
  structuredAttributes?: Record<string, string> | null | undefined;
671
671
  scope?: "project" | "global" | null | undefined;
672
672
  promptedByQuestion?: string | null | undefined;
@@ -706,19 +706,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
706
706
  }[];
707
707
  profileUpdates: string[];
708
708
  relationships?: {
709
- label: string;
710
709
  source: string;
711
710
  target: string;
711
+ label: string;
712
712
  promptedByQuestion?: string | null | undefined;
713
713
  }[] | null | undefined;
714
714
  }, {
715
715
  facts: {
716
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
716
+ tags: string[];
717
717
  content: string;
718
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
718
719
  confidence: number;
719
- tags: string[];
720
- entityRef?: string | null | undefined;
721
720
  quote?: string | null | undefined;
721
+ entityRef?: string | null | undefined;
722
722
  structuredAttributes?: Record<string, string> | null | undefined;
723
723
  scope?: "project" | "global" | null | undefined;
724
724
  promptedByQuestion?: string | null | undefined;
@@ -758,9 +758,9 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
758
758
  }[];
759
759
  profileUpdates: string[];
760
760
  relationships?: {
761
- label: string;
762
761
  source: string;
763
762
  target: string;
763
+ label: string;
764
764
  promptedByQuestion?: string | null | undefined;
765
765
  }[] | null | undefined;
766
766
  }>;
@@ -864,12 +864,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
864
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
865
865
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
866
866
  }, "strip", z.ZodTypeAny, {
867
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
867
+ tags: string[];
868
868
  content: string;
869
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
869
870
  confidence: number;
870
- tags: string[];
871
- entityRef?: string | null | undefined;
872
871
  quote?: string | null | undefined;
872
+ entityRef?: string | null | undefined;
873
873
  structuredAttributes?: Record<string, string> | null | undefined;
874
874
  scope?: "project" | "global" | null | undefined;
875
875
  promptedByQuestion?: string | null | undefined;
@@ -896,12 +896,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
896
896
  eventTime?: string | null | undefined;
897
897
  event_time?: string | null | undefined;
898
898
  }, {
899
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
899
+ tags: string[];
900
900
  content: string;
901
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
901
902
  confidence: number;
902
- tags: string[];
903
- entityRef?: string | null | undefined;
904
903
  quote?: string | null | undefined;
904
+ entityRef?: string | null | undefined;
905
905
  structuredAttributes?: Record<string, string> | null | undefined;
906
906
  scope?: "project" | "global" | null | undefined;
907
907
  promptedByQuestion?: string | null | undefined;
@@ -928,12 +928,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
928
928
  eventTime?: string | null | undefined;
929
929
  event_time?: string | null | undefined;
930
930
  }>, {
931
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
931
+ tags: string[];
932
932
  content: string;
933
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
933
934
  confidence: number;
934
- tags: string[];
935
- entityRef?: string | null | undefined;
936
935
  quote?: string | null | undefined;
936
+ entityRef?: string | null | undefined;
937
937
  structuredAttributes?: Record<string, string> | null | undefined;
938
938
  scope?: "project" | "global" | null | undefined;
939
939
  promptedByQuestion?: string | null | undefined;
@@ -960,12 +960,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
960
960
  eventTime?: string | null | undefined;
961
961
  event_time?: string | null | undefined;
962
962
  }, {
963
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
963
+ tags: string[];
964
964
  content: string;
965
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
965
966
  confidence: number;
966
- tags: string[];
967
- entityRef?: string | null | undefined;
968
967
  quote?: string | null | undefined;
968
+ entityRef?: string | null | undefined;
969
969
  structuredAttributes?: Record<string, string> | null | undefined;
970
970
  scope?: "project" | "global" | null | undefined;
971
971
  promptedByQuestion?: string | null | undefined;
@@ -1052,14 +1052,14 @@ declare const ExtractionResultSchema: z.ZodObject<{
1052
1052
  label: z.ZodString;
1053
1053
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1054
1054
  }, "strip", z.ZodTypeAny, {
1055
- label: string;
1056
1055
  source: string;
1057
1056
  target: string;
1057
+ label: string;
1058
1058
  promptedByQuestion?: string | null | undefined;
1059
1059
  }, {
1060
- label: string;
1061
1060
  source: string;
1062
1061
  target: string;
1062
+ label: string;
1063
1063
  promptedByQuestion?: string | null | undefined;
1064
1064
  }>, "many">>>;
1065
1065
  }, "strip", z.ZodTypeAny, {
@@ -1069,12 +1069,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
1069
1069
  context: string;
1070
1070
  }[];
1071
1071
  facts: {
1072
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1072
+ tags: string[];
1073
1073
  content: string;
1074
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1074
1075
  confidence: number;
1075
- tags: string[];
1076
- entityRef?: string | null | undefined;
1077
1076
  quote?: string | null | undefined;
1077
+ entityRef?: string | null | undefined;
1078
1078
  structuredAttributes?: Record<string, string> | null | undefined;
1079
1079
  scope?: "project" | "global" | null | undefined;
1080
1080
  promptedByQuestion?: string | null | undefined;
@@ -1114,9 +1114,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
1114
1114
  }[];
1115
1115
  profileUpdates: string[];
1116
1116
  relationships?: {
1117
- label: string;
1118
1117
  source: string;
1119
1118
  target: string;
1119
+ label: string;
1120
1120
  promptedByQuestion?: string | null | undefined;
1121
1121
  }[] | null | undefined;
1122
1122
  identityReflection?: string | null | undefined;
@@ -1127,12 +1127,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
1127
1127
  context: string;
1128
1128
  }[];
1129
1129
  facts: {
1130
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1130
+ tags: string[];
1131
1131
  content: string;
1132
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1132
1133
  confidence: number;
1133
- tags: string[];
1134
- entityRef?: string | null | undefined;
1135
1134
  quote?: string | null | undefined;
1135
+ entityRef?: string | null | undefined;
1136
1136
  structuredAttributes?: Record<string, string> | null | undefined;
1137
1137
  scope?: "project" | "global" | null | undefined;
1138
1138
  promptedByQuestion?: string | null | undefined;
@@ -1172,9 +1172,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
1172
1172
  }[];
1173
1173
  profileUpdates: string[];
1174
1174
  relationships?: {
1175
- label: string;
1176
1175
  source: string;
1177
1176
  target: string;
1177
+ label: string;
1178
1178
  promptedByQuestion?: string | null | undefined;
1179
1179
  }[] | null | undefined;
1180
1180
  identityReflection?: string | null | undefined;
@@ -1342,13 +1342,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
1342
1342
  reasoning: z.ZodString;
1343
1343
  whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
1344
1344
  }, "strip", z.ZodTypeAny, {
1345
- confidence: number;
1346
1345
  reasoning: string;
1346
+ confidence: number;
1347
1347
  isContradiction: boolean;
1348
1348
  whichIsNewer: "second" | "first" | "unclear";
1349
1349
  }, {
1350
- confidence: number;
1351
1350
  reasoning: string;
1351
+ confidence: number;
1352
1352
  isContradiction: boolean;
1353
1353
  whichIsNewer: "second" | "first" | "unclear";
1354
1354
  }>;
@@ -7,14 +7,14 @@ import {
7
7
  materializeAfterSemanticConsolidation,
8
8
  parseConsolidationResponse,
9
9
  parseOperatorAwareConsolidationResponse
10
- } from "./chunk-ILVF6TIY.js";
11
- import "./chunk-WIXQ3F5P.js";
10
+ } from "./chunk-IV4INTAU.js";
11
+ import "./chunk-742MWWVL.js";
12
12
  import "./chunk-UUH4YQOF.js";
13
13
  import {
14
14
  resolveExtensionsRoot
15
15
  } from "./chunk-JLNBQWZ2.js";
16
16
  import "./chunk-3UXOZBHV.js";
17
- import "./chunk-YP23FQPT.js";
17
+ import "./chunk-3DAIQSVS.js";
18
18
  import "./chunk-M7XQSUBB.js";
19
19
  import "./chunk-L2B3EE7B.js";
20
20
  import "./chunk-5UZXUTVO.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  promoteSemanticRuleFromMemory,
3
3
  setSemanticRulePromotionTestHooks
4
- } from "./chunk-SLAZZXBU.js";
5
- import "./chunk-YP23FQPT.js";
4
+ } from "./chunk-NPZTEHR7.js";
5
+ import "./chunk-3DAIQSVS.js";
6
6
  import "./chunk-M7XQSUBB.js";
7
7
  import "./chunk-L2B3EE7B.js";
8
8
  import "./chunk-5UZXUTVO.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  compareVerifiedSemanticRuleResults,
3
3
  searchVerifiedSemanticRules
4
- } from "./chunk-IOZZG75J.js";
5
- import "./chunk-YP23FQPT.js";
4
+ } from "./chunk-DUU4VLOW.js";
5
+ import "./chunk-3DAIQSVS.js";
6
6
  import "./chunk-M7XQSUBB.js";
7
7
  import "./chunk-L2B3EE7B.js";
8
8
  import "./chunk-5UZXUTVO.js";
@@ -18,29 +18,29 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
18
18
  evidenceWindowEnd: z.ZodOptional<z.ZodString>;
19
19
  refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- reason: string;
22
21
  decision: "rejected" | "approved" | "approved_with_feedback";
23
22
  date: string;
23
+ reason: string;
24
24
  agent: string;
25
- severity?: "low" | "medium" | "high" | undefined;
26
- confidence?: number | undefined;
27
- tags?: string[] | undefined;
28
25
  workflow?: string | undefined;
26
+ tags?: string[] | undefined;
29
27
  outcome?: string | undefined;
28
+ confidence?: number | undefined;
29
+ severity?: "high" | "low" | "medium" | undefined;
30
30
  refs?: string[] | undefined;
31
31
  learning?: string | undefined;
32
32
  evidenceWindowStart?: string | undefined;
33
33
  evidenceWindowEnd?: string | undefined;
34
34
  }, {
35
- reason: string;
36
35
  decision: "rejected" | "approved" | "approved_with_feedback";
37
36
  date: string;
37
+ reason: string;
38
38
  agent: string;
39
- severity?: "low" | "medium" | "high" | undefined;
40
- confidence?: number | undefined;
41
- tags?: string[] | undefined;
42
39
  workflow?: string | undefined;
40
+ tags?: string[] | undefined;
43
41
  outcome?: string | undefined;
42
+ confidence?: number | undefined;
43
+ severity?: "high" | "low" | "medium" | undefined;
44
44
  refs?: string[] | undefined;
45
45
  learning?: string | undefined;
46
46
  evidenceWindowStart?: string | undefined;
package/dist/storage.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  parseFrontmatter,
17
17
  parseFrontmatterStringValue,
18
18
  serializeEntityFile
19
- } from "./chunk-YP23FQPT.js";
19
+ } from "./chunk-3DAIQSVS.js";
20
20
  import "./chunk-M7XQSUBB.js";
21
21
  import "./chunk-L2B3EE7B.js";
22
22
  import "./chunk-5UZXUTVO.js";