@remnic/core 9.3.637 → 9.3.638

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 (78) hide show
  1. package/dist/access-cli.js +11 -11
  2. package/dist/access-http.d.ts +2 -2
  3. package/dist/access-http.js +8 -6
  4. package/dist/access-mcp.d.ts +2 -2
  5. package/dist/access-mcp.js +7 -5
  6. package/dist/{access-service-GVOE5U3C.d.ts → access-service-DvEvBv9_.d.ts} +2 -1
  7. package/dist/access-service.d.ts +2 -2
  8. package/dist/access-service.js +6 -4
  9. package/dist/bootstrap.d.ts +1 -1
  10. package/dist/causal-behavior.js +2 -2
  11. package/dist/causal-chain.js +2 -2
  12. package/dist/causal-consolidation.js +2 -2
  13. package/dist/causal-retrieval.js +2 -2
  14. package/dist/causal-trajectory-graph.js +1 -1
  15. package/dist/causal-trajectory.js +1 -1
  16. package/dist/{chunk-3XNMN242.js → chunk-2JIYTTQJ.js} +3 -3
  17. package/dist/{chunk-HZVIYZYN.js → chunk-7KRYJUTB.js} +6 -6
  18. package/dist/{chunk-2IT7WFYE.js → chunk-FWIROLS6.js} +2 -1
  19. package/dist/chunk-FWIROLS6.js.map +1 -0
  20. package/dist/{chunk-QJGTSCJN.js → chunk-I3YAA4BI.js} +8 -8
  21. package/dist/{chunk-A6D7A2FW.js → chunk-IHG27THY.js} +4 -4
  22. package/dist/{chunk-3EJ5OOZ3.js → chunk-KXTLEB4L.js} +2 -2
  23. package/dist/{chunk-XM6M6DHG.js → chunk-MNDFVT4F.js} +195 -6
  24. package/dist/chunk-MNDFVT4F.js.map +1 -0
  25. package/dist/{chunk-7V2SGZ3H.js → chunk-NE566K4E.js} +2 -2
  26. package/dist/{chunk-NFNQ7TWF.js → chunk-OSPVAP56.js} +3 -3
  27. package/dist/{chunk-UXFOGILU.js → chunk-QDAWVW75.js} +1 -1
  28. package/dist/{chunk-TQOU3VAT.js → chunk-SSOMTUCA.js} +1 -1
  29. package/dist/{chunk-TFICNXXU.js → chunk-TJRV4MWX.js} +990 -252
  30. package/dist/chunk-TJRV4MWX.js.map +1 -0
  31. package/dist/{chunk-BK35NOJL.js → chunk-U2YPUWRB.js} +3 -3
  32. package/dist/{chunk-EWC6W6AB.js → chunk-UXA5L2DZ.js} +2 -2
  33. package/dist/{chunk-XL7FK7PJ.js → chunk-Y56J7CXW.js} +33 -16
  34. package/dist/{chunk-XL7FK7PJ.js.map → chunk-Y56J7CXW.js.map} +1 -1
  35. package/dist/{cli-B-fHk59D.d.ts → cli-BJBKNWIS.d.ts} +2 -2
  36. package/dist/cli.d.ts +3 -3
  37. package/dist/cli.js +12 -11
  38. package/dist/compounding/engine.js +1 -1
  39. package/dist/explicit-capture.d.ts +1 -1
  40. package/dist/{graph-edge-decay-5ZOK7ZNO.js → graph-edge-decay-PUFNHOBS.js} +2 -2
  41. package/dist/graph-snapshot.js +2 -2
  42. package/dist/graph.d.ts +3 -0
  43. package/dist/graph.js +1 -1
  44. package/dist/index.d.ts +4 -4
  45. package/dist/index.js +16 -16
  46. package/dist/mcp-memory-inspector-app.d.ts +2 -2
  47. package/dist/operator-toolkit.js +2 -2
  48. package/dist/{orchestrator-CoqytbK_.d.ts → orchestrator-ibTTeoUa.d.ts} +9 -0
  49. package/dist/orchestrator.d.ts +1 -1
  50. package/dist/orchestrator.js +9 -9
  51. package/dist/recall-state.d.ts +2 -0
  52. package/dist/recall-state.js +1 -1
  53. package/dist/resume-bundles.js +3 -3
  54. package/dist/schemas.d.ts +22 -22
  55. package/dist/summarizer.js +2 -2
  56. package/dist/transcript.js +2 -2
  57. package/dist/transfer/types.d.ts +12 -12
  58. package/package.json +1 -1
  59. package/src/access-service-namespace.test.ts +740 -0
  60. package/src/access-service.ts +222 -3
  61. package/src/graph.ts +39 -17
  62. package/src/orchestrator.ts +1286 -331
  63. package/src/recall-state.ts +3 -0
  64. package/dist/chunk-2IT7WFYE.js.map +0 -1
  65. package/dist/chunk-TFICNXXU.js.map +0 -1
  66. package/dist/chunk-XM6M6DHG.js.map +0 -1
  67. /package/dist/{chunk-3XNMN242.js.map → chunk-2JIYTTQJ.js.map} +0 -0
  68. /package/dist/{chunk-HZVIYZYN.js.map → chunk-7KRYJUTB.js.map} +0 -0
  69. /package/dist/{chunk-QJGTSCJN.js.map → chunk-I3YAA4BI.js.map} +0 -0
  70. /package/dist/{chunk-A6D7A2FW.js.map → chunk-IHG27THY.js.map} +0 -0
  71. /package/dist/{chunk-3EJ5OOZ3.js.map → chunk-KXTLEB4L.js.map} +0 -0
  72. /package/dist/{chunk-7V2SGZ3H.js.map → chunk-NE566K4E.js.map} +0 -0
  73. /package/dist/{chunk-NFNQ7TWF.js.map → chunk-OSPVAP56.js.map} +0 -0
  74. /package/dist/{chunk-UXFOGILU.js.map → chunk-QDAWVW75.js.map} +0 -0
  75. /package/dist/{chunk-TQOU3VAT.js.map → chunk-SSOMTUCA.js.map} +0 -0
  76. /package/dist/{chunk-BK35NOJL.js.map → chunk-U2YPUWRB.js.map} +0 -0
  77. /package/dist/{chunk-EWC6W6AB.js.map → chunk-UXA5L2DZ.js.map} +0 -0
  78. /package/dist/{graph-edge-decay-5ZOK7ZNO.js.map → graph-edge-decay-PUFNHOBS.js.map} +0 -0
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  Orchestrator
3
- } from "./chunk-TFICNXXU.js";
3
+ } from "./chunk-TJRV4MWX.js";
4
4
  import "./chunk-KVDUDYEN.js";
5
- import "./chunk-5RIRL3XL.js";
6
5
  import "./chunk-4HFJQCJZ.js";
7
6
  import "./chunk-6BDVBBBY.js";
8
7
  import "./chunk-HHLLAQGZ.js";
@@ -16,7 +15,7 @@ import "./chunk-UWK5OXUJ.js";
16
15
  import "./chunk-TECVW3JP.js";
17
16
  import "./chunk-T2PO5MUF.js";
18
17
  import "./chunk-HP5FMB6L.js";
19
- import "./chunk-UXFOGILU.js";
18
+ import "./chunk-QDAWVW75.js";
20
19
  import "./chunk-DRD2Q7HQ.js";
21
20
  import "./chunk-LXOM6IQU.js";
22
21
  import "./chunk-S75M5ZRK.js";
@@ -26,7 +25,7 @@ import "./chunk-VWT3F4IV.js";
26
25
  import "./chunk-YTWNKQ2G.js";
27
26
  import "./chunk-MDYG7VI7.js";
28
27
  import "./chunk-VOUOLGIP.js";
29
- import "./chunk-HZVIYZYN.js";
28
+ import "./chunk-7KRYJUTB.js";
30
29
  import "./chunk-XJNBEDFE.js";
31
30
  import "./chunk-MHQC2WU2.js";
32
31
  import "./chunk-OZKZ2TRP.js";
@@ -38,7 +37,7 @@ import "./chunk-452WDNFO.js";
38
37
  import "./chunk-E3VODCC3.js";
39
38
  import "./chunk-YDBIWGNI.js";
40
39
  import "./chunk-7DHTMOND.js";
41
- import "./chunk-2IT7WFYE.js";
40
+ import "./chunk-FWIROLS6.js";
42
41
  import "./chunk-SCPFRKIT.js";
43
42
  import "./chunk-ZZTOURJI.js";
44
43
  import "./chunk-XKXKSQU7.js";
@@ -80,8 +79,7 @@ import "./chunk-YROCXMCK.js";
80
79
  import "./chunk-W4RVMTHR.js";
81
80
  import "./chunk-4S3N6HFG.js";
82
81
  import "./chunk-ZRWB5D4H.js";
83
- import "./chunk-A6D7A2FW.js";
84
- import "./chunk-FF4KLI5W.js";
82
+ import "./chunk-IHG27THY.js";
85
83
  import "./chunk-SFQ6QNL7.js";
86
84
  import "./chunk-LEG7XWS2.js";
87
85
  import "./chunk-KFY3SGN7.js";
@@ -123,7 +121,7 @@ import "./chunk-OADWQ5CR.js";
123
121
  import "./chunk-7WV3F5DQ.js";
124
122
  import {
125
123
  EngramAccessService
126
- } from "./chunk-XM6M6DHG.js";
124
+ } from "./chunk-MNDFVT4F.js";
127
125
  import "./chunk-GDASG7NC.js";
128
126
  import "./chunk-GDB4J2H3.js";
129
127
  import "./chunk-DGNQRNLL.js";
@@ -133,7 +131,9 @@ import "./chunk-BT7NVCML.js";
133
131
  import "./chunk-H7XKCNR6.js";
134
132
  import "./chunk-C4KKM62E.js";
135
133
  import "./chunk-EDQVAMQI.js";
134
+ import "./chunk-5RIRL3XL.js";
136
135
  import "./chunk-JGSKJHF7.js";
136
+ import "./chunk-FF4KLI5W.js";
137
137
  import "./chunk-YQNADJCT.js";
138
138
  import "./chunk-LASA46TQ.js";
139
139
  import "./chunk-RAGXUVQW.js";
@@ -156,7 +156,7 @@ import "./chunk-BMFZLLNI.js";
156
156
  import "./chunk-CI7RKSRE.js";
157
157
  import "./chunk-6HMYUWXR.js";
158
158
  import "./chunk-EIR5VLIH.js";
159
- import "./chunk-7V2SGZ3H.js";
159
+ import "./chunk-NE566K4E.js";
160
160
  import "./chunk-EI6V5UXY.js";
161
161
  import "./chunk-QY7YA7OL.js";
162
162
  import "./chunk-NNVTUXEB.js";
@@ -164,7 +164,7 @@ import "./chunk-QDW3E4RD.js";
164
164
  import "./chunk-H3PHZLMF.js";
165
165
  import "./chunk-ODPLEWB6.js";
166
166
  import "./chunk-3ONXXHQO.js";
167
- import "./chunk-XL7FK7PJ.js";
167
+ import "./chunk-Y56J7CXW.js";
168
168
  import "./chunk-2LSZVONP.js";
169
169
  import "./chunk-DEUNUKTD.js";
170
170
  import "./chunk-CMN5AWAZ.js";
@@ -185,7 +185,7 @@ import "./chunk-G7D6GZ5J.js";
185
185
  import "./chunk-ALEPI75L.js";
186
186
  import "./chunk-RGMVMVMF.js";
187
187
  import "./chunk-ZY2MNJR6.js";
188
- import "./chunk-TQOU3VAT.js";
188
+ import "./chunk-SSOMTUCA.js";
189
189
  import "./chunk-UZYLX7M6.js";
190
190
  import "./chunk-U3PN77QT.js";
191
191
  import "./chunk-4DJQYKMN.js";
@@ -1,5 +1,5 @@
1
1
  import { IncomingMessage } from 'node:http';
2
- import { E as EngramAccessService } from './access-service-GVOE5U3C.js';
2
+ import { E as EngramAccessService } from './access-service-DvEvBv9_.js';
3
3
  import { ResolvedIdentity } from './adapters/types.js';
4
4
  import { AdapterRegistry } from './adapters/registry.js';
5
5
  import './storage.js';
@@ -21,7 +21,7 @@ import './user-model.js';
21
21
  import './recall-audit-anomaly.js';
22
22
  import './recall-audit.js';
23
23
  import './explicit-capture.js';
24
- import './orchestrator-CoqytbK_.js';
24
+ import './orchestrator-ibTTeoUa.js';
25
25
  import './briefing.js';
26
26
  import './buffer.js';
27
27
  import './search/port.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EngramAccessHttpServer
3
- } from "./chunk-BK35NOJL.js";
3
+ } from "./chunk-U2YPUWRB.js";
4
4
  import "./chunk-SEDEKFYQ.js";
5
5
  import "./chunk-2QSZNTDO.js";
6
6
  import "./chunk-RSUYKGGZ.js";
@@ -9,10 +9,10 @@ import "./chunk-TMSXWOBZ.js";
9
9
  import "./chunk-J64TK33U.js";
10
10
  import "./chunk-7RXCMVFQ.js";
11
11
  import "./chunk-7WV3F5DQ.js";
12
- import "./chunk-NFNQ7TWF.js";
12
+ import "./chunk-OSPVAP56.js";
13
13
  import "./chunk-6L46YAEZ.js";
14
14
  import "./chunk-D24OXEPB.js";
15
- import "./chunk-XM6M6DHG.js";
15
+ import "./chunk-MNDFVT4F.js";
16
16
  import "./chunk-GDASG7NC.js";
17
17
  import "./chunk-GDB4J2H3.js";
18
18
  import "./chunk-DGNQRNLL.js";
@@ -22,7 +22,9 @@ import "./chunk-BT7NVCML.js";
22
22
  import "./chunk-H7XKCNR6.js";
23
23
  import "./chunk-C4KKM62E.js";
24
24
  import "./chunk-EDQVAMQI.js";
25
+ import "./chunk-5RIRL3XL.js";
25
26
  import "./chunk-JGSKJHF7.js";
27
+ import "./chunk-FF4KLI5W.js";
26
28
  import "./chunk-YQNADJCT.js";
27
29
  import "./chunk-LASA46TQ.js";
28
30
  import "./chunk-RAGXUVQW.js";
@@ -45,7 +47,7 @@ import "./chunk-BMFZLLNI.js";
45
47
  import "./chunk-CI7RKSRE.js";
46
48
  import "./chunk-6HMYUWXR.js";
47
49
  import "./chunk-EIR5VLIH.js";
48
- import "./chunk-7V2SGZ3H.js";
50
+ import "./chunk-NE566K4E.js";
49
51
  import "./chunk-EI6V5UXY.js";
50
52
  import "./chunk-QY7YA7OL.js";
51
53
  import "./chunk-NNVTUXEB.js";
@@ -53,7 +55,7 @@ import "./chunk-QDW3E4RD.js";
53
55
  import "./chunk-H3PHZLMF.js";
54
56
  import "./chunk-ODPLEWB6.js";
55
57
  import "./chunk-3ONXXHQO.js";
56
- import "./chunk-XL7FK7PJ.js";
58
+ import "./chunk-Y56J7CXW.js";
57
59
  import "./chunk-2LSZVONP.js";
58
60
  import "./chunk-DEUNUKTD.js";
59
61
  import "./chunk-CMN5AWAZ.js";
@@ -74,7 +76,7 @@ import "./chunk-G7D6GZ5J.js";
74
76
  import "./chunk-ALEPI75L.js";
75
77
  import "./chunk-RGMVMVMF.js";
76
78
  import "./chunk-ZY2MNJR6.js";
77
- import "./chunk-TQOU3VAT.js";
79
+ import "./chunk-SSOMTUCA.js";
78
80
  import "./chunk-UZYLX7M6.js";
79
81
  import "./chunk-U3PN77QT.js";
80
82
  import "./chunk-4DJQYKMN.js";
@@ -1,5 +1,5 @@
1
1
  import { Readable, Writable } from 'node:stream';
2
- import { E as EngramAccessService } from './access-service-GVOE5U3C.js';
2
+ import { E as EngramAccessService } from './access-service-DvEvBv9_.js';
3
3
  import './storage.js';
4
4
  import './page-versioning.js';
5
5
  import './consolidation-operator.js';
@@ -19,7 +19,7 @@ import './user-model.js';
19
19
  import './recall-audit-anomaly.js';
20
20
  import './recall-audit.js';
21
21
  import './explicit-capture.js';
22
- import './orchestrator-CoqytbK_.js';
22
+ import './orchestrator-ibTTeoUa.js';
23
23
  import './briefing.js';
24
24
  import './buffer.js';
25
25
  import './search/port.js';
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  EngramMcpServer
3
- } from "./chunk-NFNQ7TWF.js";
3
+ } from "./chunk-OSPVAP56.js";
4
4
  import "./chunk-6L46YAEZ.js";
5
5
  import "./chunk-D24OXEPB.js";
6
- import "./chunk-XM6M6DHG.js";
6
+ import "./chunk-MNDFVT4F.js";
7
7
  import "./chunk-GDASG7NC.js";
8
8
  import "./chunk-GDB4J2H3.js";
9
9
  import "./chunk-DGNQRNLL.js";
@@ -13,7 +13,9 @@ import "./chunk-BT7NVCML.js";
13
13
  import "./chunk-H7XKCNR6.js";
14
14
  import "./chunk-C4KKM62E.js";
15
15
  import "./chunk-EDQVAMQI.js";
16
+ import "./chunk-5RIRL3XL.js";
16
17
  import "./chunk-JGSKJHF7.js";
18
+ import "./chunk-FF4KLI5W.js";
17
19
  import "./chunk-YQNADJCT.js";
18
20
  import "./chunk-LASA46TQ.js";
19
21
  import "./chunk-RAGXUVQW.js";
@@ -36,7 +38,7 @@ import "./chunk-BMFZLLNI.js";
36
38
  import "./chunk-CI7RKSRE.js";
37
39
  import "./chunk-6HMYUWXR.js";
38
40
  import "./chunk-EIR5VLIH.js";
39
- import "./chunk-7V2SGZ3H.js";
41
+ import "./chunk-NE566K4E.js";
40
42
  import "./chunk-EI6V5UXY.js";
41
43
  import "./chunk-QY7YA7OL.js";
42
44
  import "./chunk-NNVTUXEB.js";
@@ -44,7 +46,7 @@ import "./chunk-QDW3E4RD.js";
44
46
  import "./chunk-H3PHZLMF.js";
45
47
  import "./chunk-ODPLEWB6.js";
46
48
  import "./chunk-3ONXXHQO.js";
47
- import "./chunk-XL7FK7PJ.js";
49
+ import "./chunk-Y56J7CXW.js";
48
50
  import "./chunk-2LSZVONP.js";
49
51
  import "./chunk-DEUNUKTD.js";
50
52
  import "./chunk-CMN5AWAZ.js";
@@ -65,7 +67,7 @@ import "./chunk-G7D6GZ5J.js";
65
67
  import "./chunk-ALEPI75L.js";
66
68
  import "./chunk-RGMVMVMF.js";
67
69
  import "./chunk-ZY2MNJR6.js";
68
- import "./chunk-TQOU3VAT.js";
70
+ import "./chunk-SSOMTUCA.js";
69
71
  import "./chunk-UZYLX7M6.js";
70
72
  import "./chunk-U3PN77QT.js";
71
73
  import "./chunk-4DJQYKMN.js";
@@ -6,7 +6,7 @@ import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
6
6
  import { ExplicitCaptureInput } from './explicit-capture.js';
7
7
  import { BudgetDecision } from './cross-namespace-budget.js';
8
8
  import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
9
- import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-CoqytbK_.js';
9
+ import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-ibTTeoUa.js';
10
10
  import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
11
11
  import { LastRecallSnapshot } from './recall-state.js';
12
12
  import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
@@ -832,6 +832,7 @@ declare class EngramAccessService {
832
832
  private buildRecallDebug;
833
833
  private buildRecallResponseFromXraySnapshot;
834
834
  private serializeRecallResults;
835
+ private storageForAbsoluteRecallPath;
835
836
  /**
836
837
  * Fetch raw transcript excerpts from the LCM archive for `disclosure ===
837
838
  * "raw"` recalls (issue #677 PR 2/4). Returns `null` for non-raw recall
@@ -1,13 +1,13 @@
1
1
  import './storage.js';
2
2
  import './types-B1VHaf2w.js';
3
- export { C as CodingScopedWriteInput, h as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, i as EngramAccessActionConfidenceRequest, j as EngramAccessActionConfidenceResponse, k as EngramAccessBriefingRequest, l as EngramAccessBriefingResponse, m as EngramAccessCapsuleListResponse, n as EngramAccessDaySummaryRequest, o as EngramAccessEntityListResponse, p as EngramAccessEntityResponse, q as EngramAccessEntitySummary, r as EngramAccessHealthResponse, b as EngramAccessInputError, s as EngramAccessLcmCompactionFlushRequest, t as EngramAccessLcmCompactionFlushResponse, u as EngramAccessLcmCompactionRecordRequest, v as EngramAccessLcmCompactionRecordResponse, w as EngramAccessLcmSearchRequest, x as EngramAccessLcmSearchResponse, y as EngramAccessLcmStatusResponse, z as EngramAccessMaintenanceResponse, A as EngramAccessMemoryBrowseRequest, B as EngramAccessMemoryBrowseResponse, D as EngramAccessMemoryRecord, F as EngramAccessMemoryResponse, G as EngramAccessMemoryStoreRequest, H as EngramAccessMemorySummary, I as EngramAccessObserveMessage, J as EngramAccessObserveRequest, K as EngramAccessObserveResponse, L as EngramAccessOfflineSyncApplyFileContentRequest, M as EngramAccessOfflineSyncApplyFileContentResponse, N as EngramAccessOfflineSyncApplyRequest, O as EngramAccessOfflineSyncApplyResponse, Q as EngramAccessOfflineSyncFileContentRequest, R as EngramAccessOfflineSyncFileContentResponse, S as EngramAccessOfflineSyncFilesRequest, T as EngramAccessOfflineSyncFilesResponse, U as EngramAccessOfflineSyncSnapshotRequest, V as EngramAccessOfflineSyncSnapshotResponse, W as EngramAccessOfflineSyncSnapshotStreamResponse, X as EngramAccessQualityResponse, Y as EngramAccessRecallExplainRequest, Z as EngramAccessRecallExplainResponse, _ as EngramAccessRecallRequest, a as EngramAccessRecallResponse, $ as EngramAccessReviewDispositionRequest, a0 as EngramAccessReviewDispositionResponse, a1 as EngramAccessReviewQueueResponse, E as EngramAccessService, a2 as EngramAccessSetCodingContextRequest, a3 as EngramAccessSuggestionSubmitRequest, a4 as EngramAccessTimelineResponse, a5 as EngramAccessTrustZoneBrowseRequest, a6 as EngramAccessTrustZoneBrowseResponse, a7 as EngramAccessTrustZoneDemoSeedRequest, a8 as EngramAccessTrustZoneDemoSeedResponse, a9 as EngramAccessTrustZonePromoteRequest, aa as EngramAccessTrustZonePromoteResponse, ab as EngramAccessTrustZoneRecordSummary, ac as EngramAccessTrustZoneStatusResponse, ad as EngramAccessWriteEnvelope, ae as EngramAccessWriteResponse, af as shapeMemorySummary } from './access-service-GVOE5U3C.js';
3
+ export { C as CodingScopedWriteInput, h as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, i as EngramAccessActionConfidenceRequest, j as EngramAccessActionConfidenceResponse, k as EngramAccessBriefingRequest, l as EngramAccessBriefingResponse, m as EngramAccessCapsuleListResponse, n as EngramAccessDaySummaryRequest, o as EngramAccessEntityListResponse, p as EngramAccessEntityResponse, q as EngramAccessEntitySummary, r as EngramAccessHealthResponse, b as EngramAccessInputError, s as EngramAccessLcmCompactionFlushRequest, t as EngramAccessLcmCompactionFlushResponse, u as EngramAccessLcmCompactionRecordRequest, v as EngramAccessLcmCompactionRecordResponse, w as EngramAccessLcmSearchRequest, x as EngramAccessLcmSearchResponse, y as EngramAccessLcmStatusResponse, z as EngramAccessMaintenanceResponse, A as EngramAccessMemoryBrowseRequest, B as EngramAccessMemoryBrowseResponse, D as EngramAccessMemoryRecord, F as EngramAccessMemoryResponse, G as EngramAccessMemoryStoreRequest, H as EngramAccessMemorySummary, I as EngramAccessObserveMessage, J as EngramAccessObserveRequest, K as EngramAccessObserveResponse, L as EngramAccessOfflineSyncApplyFileContentRequest, M as EngramAccessOfflineSyncApplyFileContentResponse, N as EngramAccessOfflineSyncApplyRequest, O as EngramAccessOfflineSyncApplyResponse, Q as EngramAccessOfflineSyncFileContentRequest, R as EngramAccessOfflineSyncFileContentResponse, S as EngramAccessOfflineSyncFilesRequest, T as EngramAccessOfflineSyncFilesResponse, U as EngramAccessOfflineSyncSnapshotRequest, V as EngramAccessOfflineSyncSnapshotResponse, W as EngramAccessOfflineSyncSnapshotStreamResponse, X as EngramAccessQualityResponse, Y as EngramAccessRecallExplainRequest, Z as EngramAccessRecallExplainResponse, _ as EngramAccessRecallRequest, a as EngramAccessRecallResponse, $ as EngramAccessReviewDispositionRequest, a0 as EngramAccessReviewDispositionResponse, a1 as EngramAccessReviewQueueResponse, E as EngramAccessService, a2 as EngramAccessSetCodingContextRequest, a3 as EngramAccessSuggestionSubmitRequest, a4 as EngramAccessTimelineResponse, a5 as EngramAccessTrustZoneBrowseRequest, a6 as EngramAccessTrustZoneBrowseResponse, a7 as EngramAccessTrustZoneDemoSeedRequest, a8 as EngramAccessTrustZoneDemoSeedResponse, a9 as EngramAccessTrustZonePromoteRequest, aa as EngramAccessTrustZonePromoteResponse, ab as EngramAccessTrustZoneRecordSummary, ac as EngramAccessTrustZoneStatusResponse, ad as EngramAccessWriteEnvelope, ae as EngramAccessWriteResponse, af as shapeMemorySummary } from './access-service-DvEvBv9_.js';
4
4
  import './recall-explain-renderer.js';
5
5
  import './types-CpMPD8xl.js';
6
6
  import './recall-audit-anomaly.js';
7
7
  import './explicit-capture.js';
8
8
  import './cross-namespace-budget.js';
9
9
  import './maintenance/memory-governance.js';
10
- import './orchestrator-CoqytbK_.js';
10
+ import './orchestrator-ibTTeoUa.js';
11
11
  import './live-connectors-runner.js';
12
12
  import './recall-state.js';
13
13
  import './graph-snapshot.js';
@@ -3,7 +3,7 @@ import {
3
3
  EngramAccessInputError,
4
4
  EngramAccessService,
5
5
  shapeMemorySummary
6
- } from "./chunk-XM6M6DHG.js";
6
+ } from "./chunk-MNDFVT4F.js";
7
7
  import "./chunk-GDASG7NC.js";
8
8
  import "./chunk-GDB4J2H3.js";
9
9
  import "./chunk-DGNQRNLL.js";
@@ -13,7 +13,9 @@ import "./chunk-BT7NVCML.js";
13
13
  import "./chunk-H7XKCNR6.js";
14
14
  import "./chunk-C4KKM62E.js";
15
15
  import "./chunk-EDQVAMQI.js";
16
+ import "./chunk-5RIRL3XL.js";
16
17
  import "./chunk-JGSKJHF7.js";
18
+ import "./chunk-FF4KLI5W.js";
17
19
  import "./chunk-YQNADJCT.js";
18
20
  import "./chunk-LASA46TQ.js";
19
21
  import "./chunk-RAGXUVQW.js";
@@ -36,7 +38,7 @@ import "./chunk-BMFZLLNI.js";
36
38
  import "./chunk-CI7RKSRE.js";
37
39
  import "./chunk-6HMYUWXR.js";
38
40
  import "./chunk-EIR5VLIH.js";
39
- import "./chunk-7V2SGZ3H.js";
41
+ import "./chunk-NE566K4E.js";
40
42
  import "./chunk-EI6V5UXY.js";
41
43
  import "./chunk-QY7YA7OL.js";
42
44
  import "./chunk-NNVTUXEB.js";
@@ -44,7 +46,7 @@ import "./chunk-QDW3E4RD.js";
44
46
  import "./chunk-H3PHZLMF.js";
45
47
  import "./chunk-ODPLEWB6.js";
46
48
  import "./chunk-3ONXXHQO.js";
47
- import "./chunk-XL7FK7PJ.js";
49
+ import "./chunk-Y56J7CXW.js";
48
50
  import "./chunk-2LSZVONP.js";
49
51
  import "./chunk-DEUNUKTD.js";
50
52
  import "./chunk-CMN5AWAZ.js";
@@ -65,7 +67,7 @@ import "./chunk-G7D6GZ5J.js";
65
67
  import "./chunk-ALEPI75L.js";
66
68
  import "./chunk-RGMVMVMF.js";
67
69
  import "./chunk-ZY2MNJR6.js";
68
- import "./chunk-TQOU3VAT.js";
70
+ import "./chunk-SSOMTUCA.js";
69
71
  import "./chunk-UZYLX7M6.js";
70
72
  import "./chunk-U3PN77QT.js";
71
73
  import "./chunk-4DJQYKMN.js";
@@ -1,5 +1,5 @@
1
1
  import { P as PluginConfig } from './types-CpMPD8xl.js';
2
- import { O as Orchestrator } from './orchestrator-CoqytbK_.js';
2
+ import { O as Orchestrator } from './orchestrator-ibTTeoUa.js';
3
3
  import './types-BliCnURB.js';
4
4
  import './index-DJ9QWMw-.js';
5
5
  import './briefing.js';
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  readChainIndex,
3
3
  resolveChainsDir
4
- } from "./chunk-EWC6W6AB.js";
4
+ } from "./chunk-UXA5L2DZ.js";
5
5
  import "./chunk-HQ6NIBL6.js";
6
6
  import {
7
7
  resolveCausalTrajectoryStoreDir
8
- } from "./chunk-TQOU3VAT.js";
8
+ } from "./chunk-SSOMTUCA.js";
9
9
  import {
10
10
  normalizeRecallTokens
11
11
  } from "./chunk-ZBJMUXZH.js";
@@ -6,9 +6,9 @@ import {
6
6
  stitchCausalChain,
7
7
  validateCausalEdge,
8
8
  writeChainIndex
9
- } from "./chunk-EWC6W6AB.js";
9
+ } from "./chunk-UXA5L2DZ.js";
10
10
  import "./chunk-HQ6NIBL6.js";
11
- import "./chunk-TQOU3VAT.js";
11
+ import "./chunk-SSOMTUCA.js";
12
12
  import "./chunk-ZBJMUXZH.js";
13
13
  import "./chunk-2ODBA7MQ.js";
14
14
  import "./chunk-A2IYSXDQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readChainIndex,
3
3
  resolveChainsDir
4
- } from "./chunk-EWC6W6AB.js";
4
+ } from "./chunk-UXA5L2DZ.js";
5
5
  import {
6
6
  buildExtensionsBlockForConsolidation
7
7
  } from "./chunk-X7EJF46S.js";
@@ -38,7 +38,7 @@ import "./chunk-ALEPI75L.js";
38
38
  import "./chunk-RGMVMVMF.js";
39
39
  import {
40
40
  resolveCausalTrajectoryStoreDir
41
- } from "./chunk-TQOU3VAT.js";
41
+ } from "./chunk-SSOMTUCA.js";
42
42
  import "./chunk-U3PN77QT.js";
43
43
  import "./chunk-4DJQYKMN.js";
44
44
  import "./chunk-EYIEWJNI.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  readChainIndex,
3
3
  resolveChainsDir
4
- } from "./chunk-EWC6W6AB.js";
4
+ } from "./chunk-UXA5L2DZ.js";
5
5
  import "./chunk-HQ6NIBL6.js";
6
6
  import {
7
7
  readCausalTrajectoryRecords,
8
8
  searchCausalTrajectories
9
- } from "./chunk-TQOU3VAT.js";
9
+ } from "./chunk-SSOMTUCA.js";
10
10
  import "./chunk-ZBJMUXZH.js";
11
11
  import {
12
12
  log
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  appendEdge
3
- } from "./chunk-XL7FK7PJ.js";
3
+ } from "./chunk-Y56J7CXW.js";
4
4
  import "./chunk-2LSZVONP.js";
5
5
  import "./chunk-DEUNUKTD.js";
6
6
  import "./chunk-PZ5AY32C.js";
@@ -6,7 +6,7 @@ import {
6
6
  resolveCausalTrajectoryStoreDir,
7
7
  searchCausalTrajectories,
8
8
  validateCausalTrajectoryRecord
9
- } from "./chunk-TQOU3VAT.js";
9
+ } from "./chunk-SSOMTUCA.js";
10
10
  import "./chunk-ZBJMUXZH.js";
11
11
  import "./chunk-A2IYSXDQ.js";
12
12
  import "./chunk-LPSF4OQH.js";
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-C4KKM62E.js";
40
40
  import {
41
41
  analyzeGraphHealth
42
- } from "./chunk-XL7FK7PJ.js";
42
+ } from "./chunk-Y56J7CXW.js";
43
43
  import {
44
44
  StorageManager
45
45
  } from "./chunk-QYGIQ5NM.js";
@@ -777,7 +777,7 @@ async function summarizeBufferSurpriseDistribution(storage, config) {
777
777
  }
778
778
  }
779
779
  async function summarizeGraphEdgeDecayStatus(config) {
780
- const { readGraphEdgeDecayStatus } = await import("./graph-edge-decay-5ZOK7ZNO.js");
780
+ const { readGraphEdgeDecayStatus } = await import("./graph-edge-decay-PUFNHOBS.js");
781
781
  const enabled = config.graphEdgeDecayEnabled === true;
782
782
  if (!enabled) {
783
783
  return {
@@ -1336,4 +1336,4 @@ export {
1336
1336
  runBenchmarkRecall,
1337
1337
  runOperatorRepair
1338
1338
  };
1339
- //# sourceMappingURL=chunk-3XNMN242.js.map
1339
+ //# sourceMappingURL=chunk-2JIYTTQJ.js.map
@@ -9,6 +9,11 @@ import {
9
9
  import {
10
10
  LocalLlmClient
11
11
  } from "./chunk-77NAFXUD.js";
12
+ import {
13
+ FallbackLlmClient,
14
+ fallbackLlmRuntimeContextFromConfig,
15
+ gatewayTaskChainOptions
16
+ } from "./chunk-723OMPUI.js";
12
17
  import {
13
18
  encodeStoragePathSegment,
14
19
  encodeStoragePathSegmentWithHash,
@@ -16,11 +21,6 @@ import {
16
21
  resolveSafeStoragePath,
17
22
  storagePathHash
18
23
  } from "./chunk-FF4KLI5W.js";
19
- import {
20
- FallbackLlmClient,
21
- fallbackLlmRuntimeContextFromConfig,
22
- gatewayTaskChainOptions
23
- } from "./chunk-723OMPUI.js";
24
24
  import {
25
25
  extractJsonCandidates
26
26
  } from "./chunk-RGMVMVMF.js";
@@ -709,4 +709,4 @@ ${truncatedConversation}`;
709
709
  export {
710
710
  HourlySummarizer
711
711
  };
712
- //# sourceMappingURL=chunk-HZVIYZYN.js.map
712
+ //# sourceMappingURL=chunk-7KRYJUTB.js.map
@@ -99,6 +99,7 @@ var LastRecallStore = class {
99
99
  queryLen: opts.query.length,
100
100
  memoryIds: opts.memoryIds,
101
101
  namespace: opts.namespace,
102
+ recallNamespaces: opts.recallNamespaces,
102
103
  traceId: opts.traceId,
103
104
  plannerMode: opts.plannerMode,
104
105
  requestedMode: opts.requestedMode,
@@ -257,4 +258,4 @@ export {
257
258
  LastRecallStore,
258
259
  TierMigrationStatusStore
259
260
  };
260
- //# sourceMappingURL=chunk-2IT7WFYE.js.map
261
+ //# sourceMappingURL=chunk-FWIROLS6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/recall-state.ts"],"sourcesContent":["import { appendFile, mkdir, readFile, writeFile } from \"node:fs/promises\";\nimport path from \"node:path\";\nimport { createHash, randomUUID } from \"node:crypto\";\nimport { log } from \"./logger.js\";\nimport { writeFileAtomically } from \"./maintenance/atomic-file.js\";\nimport type {\n IdentityInjectionMode,\n RecallPlanMode,\n RecallTierExplain,\n} from \"./types.js\";\n\nexport interface LastRecallBudgetSummary {\n requestedTopK?: number;\n appliedTopK: number;\n recallBudgetChars: number;\n maxMemoryTokens: number;\n qmdFetchLimit?: number;\n qmdHybridFetchLimit?: number;\n finalContextChars?: number;\n truncated?: boolean;\n includedSections?: string[];\n omittedSections?: string[];\n}\n\nexport interface LastRecallSnapshot {\n sessionKey: string;\n recordedAt: string;\n queryHash: string;\n queryLen: number;\n memoryIds: string[];\n namespace?: string;\n recallNamespaces?: string[];\n traceId?: string;\n plannerMode?: RecallPlanMode;\n requestedMode?: RecallPlanMode;\n source?: string;\n fallbackUsed?: boolean;\n sourcesUsed?: string[];\n budgetsApplied?: LastRecallBudgetSummary;\n latencyMs?: number;\n resultPaths?: string[];\n policyVersion?: string;\n identityInjectionMode?: IdentityInjectionMode | \"none\";\n identityInjectedChars?: number;\n identityInjectionTruncated?: boolean;\n /**\n * Collision-safe write nonce. Random UUID set on every `record()`\n * call so the observation-mode direct-answer hook can detect stale\n * snapshots and avoid annotating a snapshot that a subsequent recall\n * already replaced (issue #518).\n */\n writeNonce?: string;\n /**\n * Optional tier-level explanation of how recall was served\n * (issue #518). Populated by orchestrator call sites that can\n * identify a concrete tier; surfaces expose the block via\n * `engram query --explain`, the `?explain=1` HTTP flag, and the\n * `remnic_recall_explain` MCP tool. Orthogonal to the existing\n * graph-path `recallExplain` operation.\n */\n tierExplain?: RecallTierExplain;\n}\n\nexport interface GraphRecallExpandedEntry {\n path: string;\n score: number;\n namespace: string;\n seed: string;\n hopDepth: number;\n decayedWeight: number;\n graphType: \"entity\" | \"time\" | \"causal\";\n /**\n * Issue #681 PR 3/3 — confidence of the edge that produced this entry's\n * recorded provenance (strongest edge along the chosen entry path).\n * Range `[0, 1]`. Optional so persisted snapshots from older builds\n * round-trip through `clampGraphRecallExpandedEntries` without dropping.\n */\n edgeConfidence?: number;\n}\n\nexport function clampGraphRecallExpandedEntries(\n entries: unknown,\n maxEntries: number = 64,\n): GraphRecallExpandedEntry[] {\n const limit = Math.max(1, Math.floor(maxEntries));\n if (!Array.isArray(entries)) return [];\n return entries\n .filter((item): item is Record<string, unknown> => !!item && typeof item === \"object\")\n .map((item) => {\n const graphType: \"entity\" | \"time\" | \"causal\" =\n item.graphType === \"entity\" || item.graphType === \"time\" || item.graphType === \"causal\"\n ? item.graphType\n : \"entity\";\n const out: GraphRecallExpandedEntry = {\n path: typeof item.path === \"string\" ? item.path : \"\",\n score: typeof item.score === \"number\" && Number.isFinite(item.score) ? item.score : 0,\n namespace: typeof item.namespace === \"string\" ? item.namespace : \"\",\n seed: typeof item.seed === \"string\" ? item.seed : \"\",\n hopDepth:\n typeof item.hopDepth === \"number\" && Number.isFinite(item.hopDepth)\n ? Math.max(0, Math.floor(item.hopDepth))\n : 0,\n decayedWeight:\n typeof item.decayedWeight === \"number\" && Number.isFinite(item.decayedWeight)\n ? Math.max(0, item.decayedWeight)\n : 0,\n graphType,\n };\n // Issue #681 PR 3/3: clamp `edgeConfidence` into [0, 1] when present.\n // Older snapshots without the field round-trip cleanly via the\n // optional shape; legacy callers always rendered as 1.0.\n if (\n typeof item.edgeConfidence === \"number\" &&\n Number.isFinite(item.edgeConfidence)\n ) {\n out.edgeConfidence = Math.min(1, Math.max(0, item.edgeConfidence));\n }\n return out;\n })\n .filter((item) => item.path.length > 0 && item.namespace.length > 0)\n .slice(0, limit);\n}\n\ntype LastRecallState = Record<string, LastRecallSnapshot>;\ntype StateFileWriter = (filePath: string, content: string) => Promise<void>;\n\n/**\n * Deep-copy a RecallTierExplain block. Used by both the write path\n * (so caller mutation after `record()` cannot tear the persisted\n * snapshot) and the read path (so caller mutation after `get()` /\n * `getMostRecent()` cannot tear the in-memory store).\n *\n * Uses structuredClone so future additions to RecallTierExplain do\n * not silently share references through hand-enumerated fields —\n * matching the pattern used elsewhere in the codebase (e.g.,\n * qmd-recall-cache.ts). The payload is pure JSON-shaped data, so\n * structuredClone is both safe and complete here.\n */\nfunction cloneTierExplain(\n tierExplain: RecallTierExplain | undefined,\n): RecallTierExplain | undefined {\n if (!tierExplain) return undefined;\n return structuredClone(tierExplain);\n}\n\n/**\n * Deep-copy a LastRecallSnapshot so callers that receive it cannot\n * mutate the store's internal state through mutable array/object\n * fields. Same structuredClone rationale as cloneTierExplain above.\n */\nfunction cloneLastRecallSnapshot(\n snapshot: LastRecallSnapshot | null,\n): LastRecallSnapshot | null {\n if (!snapshot) return null;\n return structuredClone(snapshot);\n}\n\nexport interface TierMigrationCycleSummary {\n trigger: \"extraction\" | \"maintenance\" | \"manual\";\n scanned: number;\n migrated: number;\n promoted: number;\n demoted: number;\n limit: number;\n dryRun: boolean;\n skipped?: string;\n errorCount?: number;\n}\n\nexport interface TierMigrationStatusSnapshot {\n updatedAt: string;\n lastCycle: TierMigrationCycleSummary | null;\n totals: {\n cycles: number;\n scanned: number;\n migrated: number;\n promoted: number;\n demoted: number;\n errors: number;\n };\n}\n\nconst DEFAULT_TIER_MIGRATION_STATUS: TierMigrationStatusSnapshot = {\n updatedAt: new Date(0).toISOString(),\n lastCycle: null,\n totals: {\n cycles: 0,\n scanned: 0,\n migrated: 0,\n promoted: 0,\n demoted: 0,\n errors: 0,\n },\n};\n\nexport class LastRecallStore {\n private readonly statePath: string;\n private readonly impressionsPath: string;\n private readonly writeStateFile: StateFileWriter;\n private state: LastRecallState = {};\n private stateWriteChain: Promise<void> = Promise.resolve();\n\n constructor(memoryDir: string, options: { writeStateFile?: StateFileWriter } = {}) {\n this.statePath = path.join(memoryDir, \"state\", \"last_recall.json\");\n this.impressionsPath = path.join(memoryDir, \"state\", \"recall_impressions.jsonl\");\n this.writeStateFile =\n options.writeStateFile ??\n (async (filePath, content) => {\n await writeFileAtomically(filePath, content);\n });\n }\n\n async load(): Promise<void> {\n try {\n const raw = await readFile(this.statePath, \"utf-8\");\n const parsed = JSON.parse(raw) as LastRecallState;\n if (parsed && typeof parsed === \"object\") this.state = parsed;\n } catch {\n this.state = {};\n }\n }\n\n get(sessionKey: string): LastRecallSnapshot | null {\n // Defensive copy: callers must not be able to mutate internal state\n // by reaching into array/object fields on the returned snapshot.\n return cloneLastRecallSnapshot(this.state[sessionKey] ?? null);\n }\n\n getMostRecent(): LastRecallSnapshot | null {\n const snapshots = Object.values(this.state);\n if (snapshots.length === 0) return null;\n // Secondary key on sessionKey keeps the sort stable when two\n // snapshots share a recordedAt timestamp (CLAUDE.md rule 19).\n snapshots.sort((a, b) => {\n const byTime = b.recordedAt.localeCompare(a.recordedAt);\n if (byTime !== 0) return byTime;\n return a.sessionKey.localeCompare(b.sessionKey);\n });\n return cloneLastRecallSnapshot(snapshots[0] ?? null);\n }\n\n /**\n * Persist last-recall snapshot and append an impression log entry.\n * Does not store raw query text; uses a stable hash for correlation.\n */\n async record(opts: {\n sessionKey: string;\n query: string;\n memoryIds: string[];\n namespace?: string;\n recallNamespaces?: string[];\n traceId?: string;\n plannerMode?: RecallPlanMode;\n requestedMode?: RecallPlanMode;\n source?: string;\n fallbackUsed?: boolean;\n sourcesUsed?: string[];\n budgetsApplied?: LastRecallBudgetSummary;\n latencyMs?: number;\n resultPaths?: string[];\n policyVersion?: string;\n appendImpression?: boolean;\n identityInjection?: {\n mode: IdentityInjectionMode | \"none\";\n injectedChars: number;\n truncated: boolean;\n };\n /**\n * Per-tier explain annotation (issue #518). When supplied, the\n * snapshot carries it so downstream surfaces (CLI / HTTP / MCP)\n * can render which retrieval tier served the query.\n */\n tierExplain?: RecallTierExplain;\n }): Promise<void> {\n const now = new Date().toISOString();\n const queryHash = createHash(\"sha256\").update(opts.query).digest(\"hex\");\n\n // Build the snapshot from opts, then deep-copy it via\n // cloneLastRecallSnapshot so caller arrays/objects passed in\n // `opts` cannot retain a live reference to the persisted state\n // and tear it after record() returns.\n const liveSnapshot: LastRecallSnapshot = {\n sessionKey: opts.sessionKey,\n recordedAt: now,\n queryHash,\n writeNonce: randomUUID(),\n queryLen: opts.query.length,\n memoryIds: opts.memoryIds,\n namespace: opts.namespace,\n recallNamespaces: opts.recallNamespaces,\n traceId: opts.traceId,\n plannerMode: opts.plannerMode,\n requestedMode: opts.requestedMode,\n source: opts.source,\n fallbackUsed: opts.fallbackUsed,\n sourcesUsed: opts.sourcesUsed,\n budgetsApplied: opts.budgetsApplied,\n latencyMs: opts.latencyMs,\n resultPaths: opts.resultPaths,\n policyVersion: opts.policyVersion,\n identityInjectionMode: opts.identityInjection?.mode,\n identityInjectedChars: opts.identityInjection?.injectedChars,\n identityInjectionTruncated: opts.identityInjection?.truncated,\n tierExplain: opts.tierExplain,\n };\n // `cloneLastRecallSnapshot` handles `null` but that never applies\n // at this call site — the non-null assertion keeps the type\n // checker honest.\n const snapshot = cloneLastRecallSnapshot(liveSnapshot)!;\n\n this.state[opts.sessionKey] = snapshot;\n\n // Keep the state bounded; the impression log is append-only.\n const keys = Object.keys(this.state);\n if (keys.length > 50) {\n const ordered = keys\n .map((k) => ({ k, at: this.state[k]?.recordedAt ?? \"\" }))\n .sort((a, b) => b.at.localeCompare(a.at));\n for (const doomed of ordered.slice(50)) {\n delete this.state[doomed.k];\n }\n }\n\n try {\n await this.flushState();\n } catch (err) {\n log.debug(`last recall store write failed: ${err}`);\n }\n\n if (opts.appendImpression !== false) {\n try {\n await mkdir(path.dirname(this.impressionsPath), { recursive: true });\n await appendFile(this.impressionsPath, JSON.stringify(snapshot) + \"\\n\", \"utf-8\");\n } catch (err) {\n log.debug(`recall impressions append failed: ${err}`);\n }\n }\n }\n\n /**\n * Attach a RecallTierExplain block to the existing snapshot for a\n * session without rewriting the entire snapshot. Used by the\n * post-recall direct-answer annotation path (issue #518 slice 3c):\n * recallInternal records the snapshot first, then the orchestrator\n * fires the direct-answer tier in observation mode and annotates\n * the stored snapshot with whichever tier served the query.\n *\n * No-op when no snapshot exists for the given session; callers do\n * not need to guard on existence.\n */\n async annotateTierExplain(\n sessionKey: string,\n tierExplain: RecallTierExplain,\n expected?: { writeNonce?: string; traceId?: string; recordedAt?: string },\n ): Promise<void> {\n const current = this.state[sessionKey];\n if (!current) return;\n if (expected) {\n if (\n typeof expected.writeNonce === \"string\" &&\n expected.writeNonce.length > 0\n ) {\n if (current.writeNonce !== expected.writeNonce) return;\n } else {\n const hasExpectedTraceId =\n typeof expected.traceId === \"string\" && expected.traceId.length > 0;\n const traceIdMatches =\n hasExpectedTraceId && current.traceId === expected.traceId;\n const recordedAtMatches =\n expected.recordedAt !== undefined &&\n current.recordedAt === expected.recordedAt;\n if (hasExpectedTraceId) {\n if (!traceIdMatches) return;\n } else if (expected.recordedAt !== undefined && !recordedAtMatches) {\n return;\n }\n }\n }\n this.state[sessionKey] = {\n ...current,\n tierExplain: cloneTierExplain(tierExplain),\n };\n try {\n await this.flushState();\n } catch (err) {\n log.debug(`last recall tier-explain annotate failed: ${err}`);\n }\n }\n\n private flushState(): Promise<void> {\n const run = this.stateWriteChain.catch(() => undefined).then(async () => {\n await mkdir(path.dirname(this.statePath), { recursive: true });\n await this.writeStateFile(this.statePath, JSON.stringify(this.state, null, 2));\n });\n this.stateWriteChain = run.then(\n () => undefined,\n () => undefined,\n );\n return run;\n }\n}\n\nexport class TierMigrationStatusStore {\n private readonly statePath: string;\n private state: TierMigrationStatusSnapshot = structuredClone(DEFAULT_TIER_MIGRATION_STATUS);\n\n constructor(memoryDir: string) {\n this.statePath = path.join(memoryDir, \"state\", \"tier-migration-status.json\");\n }\n\n async load(): Promise<void> {\n try {\n const raw = await readFile(this.statePath, \"utf-8\");\n const parsed = JSON.parse(raw) as Partial<TierMigrationStatusSnapshot> | null;\n if (!parsed || typeof parsed !== \"object\") {\n this.state = structuredClone(DEFAULT_TIER_MIGRATION_STATUS);\n return;\n }\n const totals = parsed.totals && typeof parsed.totals === \"object\"\n ? parsed.totals\n : DEFAULT_TIER_MIGRATION_STATUS.totals;\n this.state = {\n updatedAt:\n typeof parsed.updatedAt === \"string\" && parsed.updatedAt.length > 0\n ? parsed.updatedAt\n : DEFAULT_TIER_MIGRATION_STATUS.updatedAt,\n lastCycle:\n parsed.lastCycle && typeof parsed.lastCycle === \"object\"\n ? (parsed.lastCycle as TierMigrationCycleSummary)\n : null,\n totals: {\n cycles: typeof totals.cycles === \"number\" && Number.isFinite(totals.cycles) ? totals.cycles : 0,\n scanned: typeof totals.scanned === \"number\" && Number.isFinite(totals.scanned) ? totals.scanned : 0,\n migrated: typeof totals.migrated === \"number\" && Number.isFinite(totals.migrated) ? totals.migrated : 0,\n promoted: typeof totals.promoted === \"number\" && Number.isFinite(totals.promoted) ? totals.promoted : 0,\n demoted: typeof totals.demoted === \"number\" && Number.isFinite(totals.demoted) ? totals.demoted : 0,\n errors: typeof totals.errors === \"number\" && Number.isFinite(totals.errors) ? totals.errors : 0,\n },\n };\n } catch {\n this.state = structuredClone(DEFAULT_TIER_MIGRATION_STATUS);\n }\n }\n\n get(): TierMigrationStatusSnapshot {\n return {\n updatedAt: this.state.updatedAt,\n lastCycle: this.state.lastCycle ? { ...this.state.lastCycle } : null,\n totals: { ...this.state.totals },\n };\n }\n\n async recordCycle(summary: TierMigrationCycleSummary): Promise<void> {\n const now = new Date().toISOString();\n const migratedDelta = summary.dryRun ? 0 : Math.max(0, summary.migrated);\n const promotedDelta = summary.dryRun ? 0 : Math.max(0, summary.promoted);\n const demotedDelta = summary.dryRun ? 0 : Math.max(0, summary.demoted);\n const next: TierMigrationStatusSnapshot = {\n updatedAt: now,\n lastCycle: { ...summary },\n totals: {\n cycles: this.state.totals.cycles + 1,\n scanned: this.state.totals.scanned + Math.max(0, summary.scanned),\n migrated: this.state.totals.migrated + migratedDelta,\n promoted: this.state.totals.promoted + promotedDelta,\n demoted: this.state.totals.demoted + demotedDelta,\n errors: this.state.totals.errors + Math.max(0, summary.errorCount ?? 0),\n },\n };\n this.state = next;\n try {\n await mkdir(path.dirname(this.statePath), { recursive: true });\n await writeFile(this.statePath, JSON.stringify(next, null, 2), \"utf-8\");\n } catch (err) {\n log.debug(`tier migration status write failed: ${err}`);\n }\n }\n}\n"],"mappings":";;;;;;;;AAAA,SAAS,YAAY,OAAO,UAAU,iBAAiB;AACvD,OAAO,UAAU;AACjB,SAAS,YAAY,kBAAkB;AA8EhC,SAAS,gCACd,SACA,aAAqB,IACO;AAC5B,QAAM,QAAQ,KAAK,IAAI,GAAG,KAAK,MAAM,UAAU,CAAC;AAChD,MAAI,CAAC,MAAM,QAAQ,OAAO,EAAG,QAAO,CAAC;AACrC,SAAO,QACJ,OAAO,CAAC,SAA0C,CAAC,CAAC,QAAQ,OAAO,SAAS,QAAQ,EACpF,IAAI,CAAC,SAAS;AACb,UAAM,YACJ,KAAK,cAAc,YAAY,KAAK,cAAc,UAAU,KAAK,cAAc,WAC3E,KAAK,YACL;AACN,UAAM,MAAgC;AAAA,MACpC,MAAM,OAAO,KAAK,SAAS,WAAW,KAAK,OAAO;AAAA,MAClD,OAAO,OAAO,KAAK,UAAU,YAAY,OAAO,SAAS,KAAK,KAAK,IAAI,KAAK,QAAQ;AAAA,MACpF,WAAW,OAAO,KAAK,cAAc,WAAW,KAAK,YAAY;AAAA,MACjE,MAAM,OAAO,KAAK,SAAS,WAAW,KAAK,OAAO;A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ACjC;AAAA,EACF;AAAA,EAEA,MAAM,YAAY,SAAmD;AACnE,UAAM,OAAM,oBAAI,KAAK,GAAE,YAAY;AACnC,UAAM,gBAAgB,QAAQ,SAAS,IAAI,KAAK,IAAI,GAAG,QAAQ,QAAQ;AACvE,UAAM,gBAAgB,QAAQ,SAAS,IAAI,KAAK,IAAI,GAAG,QAAQ,QAAQ;AACvE,UAAM,eAAe,QAAQ,SAAS,IAAI,KAAK,IAAI,GAAG,QAAQ,OAAO;AACrE,UAAM,OAAoC;AAAA,MACxC,WAAW;AAAA,MACX,WAAW,EAAE,GAAG,QAAQ;AAAA,MACxB,QAAQ;AAAA,QACN,QAAQ,KAAK,MAAM,OAAO,SAAS;AAAA,QACnC,SAAS,KAAK,MAAM,OAAO,UAAU,KAAK,IAAI,GAAG,QAAQ,OAAO;AAAA,QAChE,UAAU,KAAK,MAAM,OAAO,WAAW;AAAA,QACvC,UAAU,KAAK,MAAM,OAAO,WAAW;AAAA,QACvC,SAAS,KAAK,MAAM,OAAO,UAAU;AAAA,QACrC,QAAQ,KAAK,MAAM,OAAO,SAAS,KAAK,IAAI,GAAG,QAAQ,cAAc,CAAC;AAAA,MACxE;AAAA,IACF;AACA,SAAK,QAAQ;AACb,QAAI;AACF,YAAM,MAAM,KAAK,QAAQ,KAAK,SAAS,GAAG,EAAE,WAAW,KAAK,CAAC;AAC7D,YAAM,UAAU,KAAK,WAAW,KAAK,UAAU,MAAM,MAAM,CAAC,GAAG,OAAO;AAAA,IACxE,SAAS,KAAK;AACZ,UAAI,MAAM,uCAAuC,GAAG,EAAE;AAAA,IACxD;AAAA,EACF;AACF;","names":[]}
@@ -75,7 +75,7 @@ import {
75
75
  buildResumeBundleFromState,
76
76
  getResumeBundleStatus,
77
77
  recordResumeBundle
78
- } from "./chunk-3EJ5OOZ3.js";
78
+ } from "./chunk-KXTLEB4L.js";
79
79
  import {
80
80
  parseXrayCliOptions
81
81
  } from "./chunk-QHXW3LZV.js";
@@ -89,7 +89,7 @@ import {
89
89
  runOperatorInventory,
90
90
  runOperatorRepair,
91
91
  runOperatorSetup
92
- } from "./chunk-3XNMN242.js";
92
+ } from "./chunk-2JIYTTQJ.js";
93
93
  import {
94
94
  listNamespaces,
95
95
  runNamespaceMigration,
@@ -209,16 +209,16 @@ import {
209
209
  } from "./chunk-OADWQ5CR.js";
210
210
  import {
211
211
  EngramAccessHttpServer
212
- } from "./chunk-BK35NOJL.js";
212
+ } from "./chunk-U2YPUWRB.js";
213
213
  import {
214
214
  WearablesInputError
215
215
  } from "./chunk-7WV3F5DQ.js";
216
216
  import {
217
217
  EngramMcpServer
218
- } from "./chunk-NFNQ7TWF.js";
218
+ } from "./chunk-OSPVAP56.js";
219
219
  import {
220
220
  EngramAccessService
221
- } from "./chunk-XM6M6DHG.js";
221
+ } from "./chunk-MNDFVT4F.js";
222
222
  import {
223
223
  WorkStorage
224
224
  } from "./chunk-GDB4J2H3.js";
@@ -243,14 +243,14 @@ import {
243
243
  } from "./chunk-6HMYUWXR.js";
244
244
  import {
245
245
  analyzeGraphHealth
246
- } from "./chunk-XL7FK7PJ.js";
246
+ } from "./chunk-Y56J7CXW.js";
247
247
  import {
248
248
  RECALL_DISCLOSURE_LEVELS,
249
249
  isRecallDisclosure
250
250
  } from "./chunk-FPNQF475.js";
251
251
  import {
252
252
  getCausalTrajectoryStoreStatus
253
- } from "./chunk-TQOU3VAT.js";
253
+ } from "./chunk-SSOMTUCA.js";
254
254
  import {
255
255
  selectRouteRule,
256
256
  validateRouteTarget
@@ -7152,4 +7152,4 @@ export {
7152
7152
  resolveMemoryDirForNamespace,
7153
7153
  registerCli
7154
7154
  };
7155
- //# sourceMappingURL=chunk-QJGTSCJN.js.map
7155
+ //# sourceMappingURL=chunk-I3YAA4BI.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ analyzeSessionIntegrity
3
+ } from "./chunk-KFY3SGN7.js";
1
4
  import {
2
5
  encodeStoragePathSegment,
3
6
  encodeStoragePathSegmentWithHash,
@@ -5,9 +8,6 @@ import {
5
8
  resolveSafeStoragePath,
6
9
  storagePathHash
7
10
  } from "./chunk-FF4KLI5W.js";
8
- import {
9
- analyzeSessionIntegrity
10
- } from "./chunk-KFY3SGN7.js";
11
11
  import {
12
12
  log
13
13
  } from "./chunk-2ODBA7MQ.js";
@@ -911,4 +911,4 @@ var TranscriptManager = class _TranscriptManager {
911
911
  export {
912
912
  TranscriptManager
913
913
  };
914
- //# sourceMappingURL=chunk-A6D7A2FW.js.map
914
+ //# sourceMappingURL=chunk-IHG27THY.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZRWB5D4H.js";
5
5
  import {
6
6
  TranscriptManager
7
- } from "./chunk-A6D7A2FW.js";
7
+ } from "./chunk-IHG27THY.js";
8
8
  import {
9
9
  resolveCommitmentLedgerDir,
10
10
  validateCommitmentLedgerEntry
@@ -268,4 +268,4 @@ export {
268
268
  recordResumeBundle,
269
269
  getResumeBundleStatus
270
270
  };
271
- //# sourceMappingURL=chunk-3EJ5OOZ3.js.map
271
+ //# sourceMappingURL=chunk-KXTLEB4L.js.map