@remnic/core 9.3.677 → 9.3.678

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 (53) hide show
  1. package/dist/access-cli.js +7 -7
  2. package/dist/access-http.js +6 -6
  3. package/dist/access-mcp.js +5 -5
  4. package/dist/access-service.js +4 -4
  5. package/dist/capabilities.d.ts +29 -1
  6. package/dist/capabilities.js +5 -3
  7. package/dist/causal-behavior.js +2 -2
  8. package/dist/causal-chain.js +2 -2
  9. package/dist/causal-consolidation.js +2 -2
  10. package/dist/causal-retrieval.js +2 -2
  11. package/dist/causal-trajectory-graph.js +1 -1
  12. package/dist/causal-trajectory.js +1 -1
  13. package/dist/{chunk-7UTCHQTB.js → chunk-2AP4QJX5.js} +3 -3
  14. package/dist/{chunk-Y56J7CXW.js → chunk-2LDBXPLB.js} +10 -5
  15. package/dist/chunk-2LDBXPLB.js.map +1 -0
  16. package/dist/{chunk-CZMLLVU2.js → chunk-4PPMUNV5.js} +3 -3
  17. package/dist/{chunk-YEQBJXVO.js → chunk-7AAKSHDG.js} +37 -22
  18. package/dist/chunk-7AAKSHDG.js.map +1 -0
  19. package/dist/{chunk-RP64QP7G.js → chunk-K2JYO6QV.js} +3 -3
  20. package/dist/{chunk-RI5XBIZ6.js → chunk-PBH4JUAB.js} +14 -2
  21. package/dist/{chunk-RI5XBIZ6.js.map → chunk-PBH4JUAB.js.map} +1 -1
  22. package/dist/{chunk-Z56KDLDK.js → chunk-PCGCQTU6.js} +7 -7
  23. package/dist/{chunk-B6IUW76R.js → chunk-Q2H5U37U.js} +1 -1
  24. package/dist/{chunk-WXGTC424.js → chunk-RC3AFF6Z.js} +1 -1
  25. package/dist/{chunk-HQCGRSRU.js → chunk-SECQS4G4.js} +2 -2
  26. package/dist/{chunk-2DKXY243.js → chunk-UNZLU2MX.js} +3 -3
  27. package/dist/{chunk-NE566K4E.js → chunk-YXWAILM4.js} +2 -2
  28. package/dist/cli.js +8 -8
  29. package/dist/compounding/engine.js +1 -1
  30. package/dist/{graph-edge-decay-PUFNHOBS.js → graph-edge-decay-KSVJGCZW.js} +2 -2
  31. package/dist/graph-snapshot.js +2 -2
  32. package/dist/graph.d.ts +11 -0
  33. package/dist/graph.js +1 -1
  34. package/dist/index.js +11 -11
  35. package/dist/operator-toolkit.js +2 -2
  36. package/dist/orchestrator.js +5 -5
  37. package/package.json +2 -2
  38. package/src/capabilities.test.ts +173 -0
  39. package/src/capabilities.ts +61 -0
  40. package/src/graph.ts +20 -4
  41. package/src/orchestrator.ts +35 -11
  42. package/dist/chunk-Y56J7CXW.js.map +0 -1
  43. package/dist/chunk-YEQBJXVO.js.map +0 -1
  44. /package/dist/{chunk-7UTCHQTB.js.map → chunk-2AP4QJX5.js.map} +0 -0
  45. /package/dist/{chunk-CZMLLVU2.js.map → chunk-4PPMUNV5.js.map} +0 -0
  46. /package/dist/{chunk-RP64QP7G.js.map → chunk-K2JYO6QV.js.map} +0 -0
  47. /package/dist/{chunk-Z56KDLDK.js.map → chunk-PCGCQTU6.js.map} +0 -0
  48. /package/dist/{chunk-B6IUW76R.js.map → chunk-Q2H5U37U.js.map} +0 -0
  49. /package/dist/{chunk-WXGTC424.js.map → chunk-RC3AFF6Z.js.map} +0 -0
  50. /package/dist/{chunk-HQCGRSRU.js.map → chunk-SECQS4G4.js.map} +0 -0
  51. /package/dist/{chunk-2DKXY243.js.map → chunk-UNZLU2MX.js.map} +0 -0
  52. /package/dist/{chunk-NE566K4E.js.map → chunk-YXWAILM4.js.map} +0 -0
  53. /package/dist/{graph-edge-decay-PUFNHOBS.js.map → graph-edge-decay-KSVJGCZW.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-D24OXEPB.js";
12
12
  import {
13
13
  EngramAccessInputError
14
- } from "./chunk-CZMLLVU2.js";
14
+ } from "./chunk-4PPMUNV5.js";
15
15
  import {
16
16
  projectTagProjectId
17
17
  } from "./chunk-GYSYLGNE.js";
@@ -2976,7 +2976,7 @@ ${body}`;
2976
2976
  reason: "graphEdgeDecayEnabled is false"
2977
2977
  };
2978
2978
  }
2979
- const { runGraphEdgeDecayMaintenanceAcrossNamespaces } = await import("./graph-edge-decay-PUFNHOBS.js");
2979
+ const { runGraphEdgeDecayMaintenanceAcrossNamespaces } = await import("./graph-edge-decay-KSVJGCZW.js");
2980
2980
  const dryRun = args.dryRun === true;
2981
2981
  const results = await runGraphEdgeDecayMaintenanceAcrossNamespaces(
2982
2982
  this.service.memoryDir,
@@ -3117,4 +3117,4 @@ ${body}`;
3117
3117
  export {
3118
3118
  EngramMcpServer
3119
3119
  };
3120
- //# sourceMappingURL=chunk-RP64QP7G.js.map
3120
+ //# sourceMappingURL=chunk-K2JYO6QV.js.map
@@ -16,8 +16,20 @@ function resolveCapabilities(config) {
16
16
  graphExpandedIntent: config.graphExpandedIntentEnabled === true
17
17
  });
18
18
  }
19
+ function resolveGraphConstructionCapabilities(config) {
20
+ return Object.freeze({
21
+ entityGraph: config.entityGraphEnabled,
22
+ timeGraph: config.timeGraphEnabled,
23
+ causalGraph: config.causalGraphEnabled,
24
+ multiGraphMemory: config.multiGraphMemoryEnabled,
25
+ // Optional flag: preserve the exact default-when-undefined semantics the
26
+ // migrated call site used (`!== false` = default-on).
27
+ graphWriteSessionAdjacency: config.graphWriteSessionAdjacencyEnabled !== false
28
+ });
29
+ }
19
30
 
20
31
  export {
21
- resolveCapabilities
32
+ resolveCapabilities,
33
+ resolveGraphConstructionCapabilities
22
34
  };
23
- //# sourceMappingURL=chunk-RI5XBIZ6.js.map
35
+ //# sourceMappingURL=chunk-PBH4JUAB.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/capabilities.ts"],"sourcesContent":["/**\n * CapabilitySet — recall-operation feature gates resolved once, then threaded.\n *\n * Issue #1523 (Phase 1 of epic #1520). Root cause this addresses: 161+\n * scattered `config.<flag>Enabled` reads mean each gate is re-derived at every\n * call site, and reviews keep finding parallel code paths where one branch\n * checks a gate the other forgot (CLAUDE.md rule 39 — the \"gate divergence\"\n * defect class). The fix is to resolve a frozen capability projection ONCE at\n * the top of the recall operation and pass it down explicitly.\n *\n * Scope of THIS module (first migration PR): only the recall-operation-scoped\n * flags below. Flags that are also read in graph construction, writes, CLI, or\n * the summarizer are deliberately deferred to a follow-up so we never leave a\n * single flag half-migrated (some sites on `caps.`, some on `config.`).\n *\n * Field naming: each field is the config flag name with the trailing `Enabled`\n * removed (`recallMmrEnabled` → `recallMmr`).\n *\n * This is plumbing, not a feature — there is deliberately NO `enabled` gate for\n * the CapabilitySet itself (rule 30 governs behavior changes; resolving and\n * threading a capability projection must stay behavior-preserving).\n */\n\nimport type { PluginConfig } from \"./types.js\";\n\n/**\n * Frozen projection of recall-operation feature gates.\n *\n * Every field is `readonly boolean`. The composition that maps a config flag to\n * a capability (including default-when-undefined semantics for optional flags)\n * lives ONLY in {@link resolveCapabilities} — call sites must read the\n * capability, never re-derive it from raw config.\n */\nexport interface CapabilitySet {\n /** `rerankCacheEnabled` — cache reranker scores across recall passes. */\n readonly rerankCache: boolean;\n /** `recallDirectAnswerEnabled` — observation-mode direct-answer tier. */\n readonly recallDirectAnswer: boolean;\n /** `recallMemoryWorthFilterEnabled` — Memory-Worth score reweighting. */\n readonly recallMemoryWorthFilter: boolean;\n /** `recallMmrEnabled` — maximal-marginal-relevance diversification. */\n readonly recallMmr: boolean;\n /** `recallReasoningTraceBoostEnabled` — boost reasoning-trace memories. */\n readonly recallReasoningTraceBoost: boolean;\n /** `recallPlannerLlmEnabled` — LLM-backed recall-mode planner. */\n readonly recallPlannerLlm: boolean;\n /** `recallPlannerEnabled` — recall-mode planner (heuristic + optional LLM). */\n readonly recallPlanner: boolean;\n /** `recallConfidenceGateEnabled` — Synapse-style confidence gate. */\n readonly recallConfidenceGate: boolean;\n /** `graphRecallEnabled` — graph-mode recall tier (gates planner graph mode). */\n readonly graphRecall: boolean;\n /** `graphAssistInFullModeEnabled` — graph-assist overlay in full mode. */\n readonly graphAssistInFullMode: boolean;\n /** `graphExpandedIntentEnabled` — promote broad-intent asks to graph mode. */\n readonly graphExpandedIntent: boolean;\n}\n\n/**\n * Resolve the recall-operation {@link CapabilitySet} from parsed config.\n *\n * Call this ONCE per recall operation (at the `recall()` / `recallInternal`\n * entry) and thread the result down. Composition lives here and only here.\n *\n * Session toggles are intentionally not a parameter yet: `session-toggles.ts`\n * is agent-scoped (per session/agent enable-disable of the whole plugin), not\n * flag-scoped — none of the flags projected here have a per-session override,\n * so there is nothing for a toggle argument to compose at this layer.\n */\nexport function resolveCapabilities(config: PluginConfig): CapabilitySet {\n return Object.freeze({\n rerankCache: config.rerankCacheEnabled,\n recallDirectAnswer: config.recallDirectAnswerEnabled,\n recallMemoryWorthFilter: config.recallMemoryWorthFilterEnabled,\n recallMmr: config.recallMmrEnabled,\n recallReasoningTraceBoost: config.recallReasoningTraceBoostEnabled,\n recallPlannerLlm: config.recallPlannerLlmEnabled,\n recallPlanner: config.recallPlannerEnabled,\n recallConfidenceGate: config.recallConfidenceGateEnabled,\n graphRecall: config.graphRecallEnabled,\n // Optional flags: preserve the exact default-when-undefined semantics the\n // migrated call sites used (`!== false` = default-on, `=== true` = default-off).\n graphAssistInFullMode: config.graphAssistInFullModeEnabled !== false,\n graphExpandedIntent: config.graphExpandedIntentEnabled === true,\n });\n}\n"],"mappings":";AAqEO,SAAS,oBAAoB,QAAqC;AACvE,SAAO,OAAO,OAAO;AAAA,IACnB,aAAa,OAAO;AAAA,IACpB,oBAAoB,OAAO;AAAA,IAC3B,yBAAyB,OAAO;AAAA,IAChC,WAAW,OAAO;AAAA,IAClB,2BAA2B,OAAO;AAAA,IAClC,kBAAkB,OAAO;AAAA,IACzB,eAAe,OAAO;AAAA,IACtB,sBAAsB,OAAO;AAAA,IAC7B,aAAa,OAAO;AAAA;AAAA;AAAA,IAGpB,uBAAuB,OAAO,iCAAiC;AAAA,IAC/D,qBAAqB,OAAO,+BAA+B;AAAA,EAC7D,CAAC;AACH;","names":[]}
1
+ {"version":3,"sources":["../src/capabilities.ts"],"sourcesContent":["/**\n * CapabilitySet — recall-operation feature gates resolved once, then threaded.\n *\n * Issue #1523 (Phase 1 of epic #1520). Root cause this addresses: 161+\n * scattered `config.<flag>Enabled` reads mean each gate is re-derived at every\n * call site, and reviews keep finding parallel code paths where one branch\n * checks a gate the other forgot (CLAUDE.md rule 39 — the \"gate divergence\"\n * defect class). The fix is to resolve a frozen capability projection ONCE at\n * the top of the recall operation and pass it down explicitly.\n *\n * Scope of THIS module (first migration PR): only the recall-operation-scoped\n * flags below. Flags that are also read in graph construction, writes, CLI, or\n * the summarizer are deliberately deferred to a follow-up so we never leave a\n * single flag half-migrated (some sites on `caps.`, some on `config.`).\n *\n * Field naming: each field is the config flag name with the trailing `Enabled`\n * removed (`recallMmrEnabled` → `recallMmr`).\n *\n * This is plumbing, not a feature — there is deliberately NO `enabled` gate for\n * the CapabilitySet itself (rule 30 governs behavior changes; resolving and\n * threading a capability projection must stay behavior-preserving).\n */\n\nimport type { PluginConfig } from \"./types.js\";\n\n/**\n * Frozen projection of recall-operation feature gates.\n *\n * Every field is `readonly boolean`. The composition that maps a config flag to\n * a capability (including default-when-undefined semantics for optional flags)\n * lives ONLY in {@link resolveCapabilities} — call sites must read the\n * capability, never re-derive it from raw config.\n */\nexport interface CapabilitySet {\n /** `rerankCacheEnabled` — cache reranker scores across recall passes. */\n readonly rerankCache: boolean;\n /** `recallDirectAnswerEnabled` — observation-mode direct-answer tier. */\n readonly recallDirectAnswer: boolean;\n /** `recallMemoryWorthFilterEnabled` — Memory-Worth score reweighting. */\n readonly recallMemoryWorthFilter: boolean;\n /** `recallMmrEnabled` — maximal-marginal-relevance diversification. */\n readonly recallMmr: boolean;\n /** `recallReasoningTraceBoostEnabled` — boost reasoning-trace memories. */\n readonly recallReasoningTraceBoost: boolean;\n /** `recallPlannerLlmEnabled` — LLM-backed recall-mode planner. */\n readonly recallPlannerLlm: boolean;\n /** `recallPlannerEnabled` — recall-mode planner (heuristic + optional LLM). */\n readonly recallPlanner: boolean;\n /** `recallConfidenceGateEnabled` — Synapse-style confidence gate. */\n readonly recallConfidenceGate: boolean;\n /** `graphRecallEnabled` — graph-mode recall tier (gates planner graph mode). */\n readonly graphRecall: boolean;\n /** `graphAssistInFullModeEnabled` — graph-assist overlay in full mode. */\n readonly graphAssistInFullMode: boolean;\n /** `graphExpandedIntentEnabled` — promote broad-intent asks to graph mode. */\n readonly graphExpandedIntent: boolean;\n}\n\n/**\n * Resolve the recall-operation {@link CapabilitySet} from parsed config.\n *\n * Call this ONCE per recall operation (at the `recall()` / `recallInternal`\n * entry) and thread the result down. Composition lives here and only here.\n *\n * Session toggles are intentionally not a parameter yet: `session-toggles.ts`\n * is agent-scoped (per session/agent enable-disable of the whole plugin), not\n * flag-scoped — none of the flags projected here have a per-session override,\n * so there is nothing for a toggle argument to compose at this layer.\n */\nexport function resolveCapabilities(config: PluginConfig): CapabilitySet {\n return Object.freeze({\n rerankCache: config.rerankCacheEnabled,\n recallDirectAnswer: config.recallDirectAnswerEnabled,\n recallMemoryWorthFilter: config.recallMemoryWorthFilterEnabled,\n recallMmr: config.recallMmrEnabled,\n recallReasoningTraceBoost: config.recallReasoningTraceBoostEnabled,\n recallPlannerLlm: config.recallPlannerLlmEnabled,\n recallPlanner: config.recallPlannerEnabled,\n recallConfidenceGate: config.recallConfidenceGateEnabled,\n graphRecall: config.graphRecallEnabled,\n // Optional flags: preserve the exact default-when-undefined semantics the\n // migrated call sites used (`!== false` = default-on, `=== true` = default-off).\n graphAssistInFullMode: config.graphAssistInFullModeEnabled !== false,\n graphExpandedIntent: config.graphExpandedIntentEnabled === true,\n });\n}\n\n// ---------------------------------------------------------------------------\n// Graph-construction capability set (issue #1566 Cluster A).\n//\n// The recall CapabilitySet above covers flags whose EVERY read site lives on\n// the recall call chain. The five flags below are read on graph-construction,\n// write/extraction, AND recall paths — so they cannot join the recall set\n// without leaving some sites on `caps.` and others on `config.` (the exact\n// divergence #1523 forbade). They get their own projection, resolved at graph\n// build/write entry (and alongside `caps` when recall reads them).\n// ---------------------------------------------------------------------------\n\n/**\n * Frozen projection of graph-construction feature gates.\n *\n * Every field is `readonly boolean`. Composition (including default-when-\n * undefined semantics for the optional `graphWriteSessionAdjacencyEnabled`)\n * lives ONLY in {@link resolveGraphConstructionCapabilities}.\n */\nexport interface GraphConstructionCapabilitySet {\n /** `entityGraphEnabled` — maintain entity co-reference graph edges. */\n readonly entityGraph: boolean;\n /** `timeGraphEnabled` — maintain thread-adjacency graph edges. */\n readonly timeGraph: boolean;\n /** `causalGraphEnabled` — maintain causal-language graph edges. */\n readonly causalGraph: boolean;\n /** `multiGraphMemoryEnabled` — master switch for multi-graph writes/traversal. */\n readonly multiGraphMemory: boolean;\n /** `graphWriteSessionAdjacencyEnabled` — session-adjacency fallback for time edges (default-on). */\n readonly graphWriteSessionAdjacency: boolean;\n}\n\n/**\n * Resolve the {@link GraphConstructionCapabilitySet} from parsed config.\n *\n * Call this ONCE at graph build/write entry (extraction, recall graph\n * expansion, graph-health/repair) and thread the result down — exactly the\n * pattern {@link resolveCapabilities} established for recall.\n */\nexport type GraphConstructionConfigProjection = Pick<\n PluginConfig,\n | \"entityGraphEnabled\"\n | \"timeGraphEnabled\"\n | \"causalGraphEnabled\"\n | \"multiGraphMemoryEnabled\"\n | \"graphWriteSessionAdjacencyEnabled\"\n>;\n\nexport function resolveGraphConstructionCapabilities(\n config: GraphConstructionConfigProjection,\n): GraphConstructionCapabilitySet {\n return Object.freeze({\n entityGraph: config.entityGraphEnabled,\n timeGraph: config.timeGraphEnabled,\n causalGraph: config.causalGraphEnabled,\n multiGraphMemory: config.multiGraphMemoryEnabled,\n // Optional flag: preserve the exact default-when-undefined semantics the\n // migrated call site used (`!== false` = default-on).\n graphWriteSessionAdjacency: config.graphWriteSessionAdjacencyEnabled !== false,\n });\n}\n"],"mappings":";AAqEO,SAAS,oBAAoB,QAAqC;AACvE,SAAO,OAAO,OAAO;AAAA,IACnB,aAAa,OAAO;AAAA,IACpB,oBAAoB,OAAO;AAAA,IAC3B,yBAAyB,OAAO;AAAA,IAChC,WAAW,OAAO;AAAA,IAClB,2BAA2B,OAAO;AAAA,IAClC,kBAAkB,OAAO;AAAA,IACzB,eAAe,OAAO;AAAA,IACtB,sBAAsB,OAAO;AAAA,IAC7B,aAAa,OAAO;AAAA;AAAA;AAAA,IAGpB,uBAAuB,OAAO,iCAAiC;AAAA,IAC/D,qBAAqB,OAAO,+BAA+B;AAAA,EAC7D,CAAC;AACH;AAiDO,SAAS,qCACd,QACgC;AAChC,SAAO,OAAO,OAAO;AAAA,IACnB,aAAa,OAAO;AAAA,IACpB,WAAW,OAAO;AAAA,IAClB,aAAa,OAAO;AAAA,IACpB,kBAAkB,OAAO;AAAA;AAAA;AAAA,IAGzB,4BAA4B,OAAO,sCAAsC;AAAA,EAC3E,CAAC;AACH;","names":[]}
@@ -93,7 +93,7 @@ import {
93
93
  runOperatorInventory,
94
94
  runOperatorRepair,
95
95
  runOperatorSetup
96
- } from "./chunk-7UTCHQTB.js";
96
+ } from "./chunk-2AP4QJX5.js";
97
97
  import {
98
98
  listNamespaces,
99
99
  runNamespaceMigration,
@@ -216,16 +216,16 @@ import {
216
216
  } from "./chunk-OADWQ5CR.js";
217
217
  import {
218
218
  EngramAccessHttpServer
219
- } from "./chunk-2DKXY243.js";
219
+ } from "./chunk-UNZLU2MX.js";
220
220
  import {
221
221
  WearablesInputError
222
222
  } from "./chunk-7WV3F5DQ.js";
223
223
  import {
224
224
  EngramMcpServer
225
- } from "./chunk-RP64QP7G.js";
225
+ } from "./chunk-K2JYO6QV.js";
226
226
  import {
227
227
  EngramAccessService
228
- } from "./chunk-CZMLLVU2.js";
228
+ } from "./chunk-4PPMUNV5.js";
229
229
  import {
230
230
  WorkStorage
231
231
  } from "./chunk-GDB4J2H3.js";
@@ -250,7 +250,7 @@ import {
250
250
  } from "./chunk-6HMYUWXR.js";
251
251
  import {
252
252
  analyzeGraphHealth
253
- } from "./chunk-Y56J7CXW.js";
253
+ } from "./chunk-2LDBXPLB.js";
254
254
  import {
255
255
  assertPathInsideRoot
256
256
  } from "./chunk-5GPPACXK.js";
@@ -260,7 +260,7 @@ import {
260
260
  } from "./chunk-FMSDA2D3.js";
261
261
  import {
262
262
  getCausalTrajectoryStoreStatus
263
- } from "./chunk-WXGTC424.js";
263
+ } from "./chunk-RC3AFF6Z.js";
264
264
  import {
265
265
  selectRouteRule,
266
266
  validateRouteTarget
@@ -7311,4 +7311,4 @@ export {
7311
7311
  listMemoryMarkdownFilePaths,
7312
7312
  registerCli
7313
7313
  };
7314
- //# sourceMappingURL=chunk-Z56KDLDK.js.map
7314
+ //# sourceMappingURL=chunk-PCGCQTU6.js.map
@@ -1261,4 +1261,4 @@ export {
1261
1261
  defaultTierMigrationCycleBudget,
1262
1262
  CompoundingEngine
1263
1263
  };
1264
- //# sourceMappingURL=chunk-B6IUW76R.js.map
1264
+ //# sourceMappingURL=chunk-Q2H5U37U.js.map
@@ -216,4 +216,4 @@ export {
216
216
  getCausalTrajectoryStoreStatus,
217
217
  searchCausalTrajectories
218
218
  };
219
- //# sourceMappingURL=chunk-WXGTC424.js.map
219
+ //# sourceMappingURL=chunk-RC3AFF6Z.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HQ6NIBL6.js";
4
4
  import {
5
5
  resolveCausalTrajectoryStoreDir
6
- } from "./chunk-WXGTC424.js";
6
+ } from "./chunk-RC3AFF6Z.js";
7
7
  import {
8
8
  normalizeRecallTokens
9
9
  } from "./chunk-ZBJMUXZH.js";
@@ -339,4 +339,4 @@ export {
339
339
  scoreStitchCandidate,
340
340
  stitchCausalChain
341
341
  };
342
- //# sourceMappingURL=chunk-HQCGRSRU.js.map
342
+ //# sourceMappingURL=chunk-SECQS4G4.js.map
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-7WV3F5DQ.js";
7
7
  import {
8
8
  EngramMcpServer
9
- } from "./chunk-RP64QP7G.js";
9
+ } from "./chunk-K2JYO6QV.js";
10
10
  import {
11
11
  EngramAccessInputError
12
- } from "./chunk-CZMLLVU2.js";
12
+ } from "./chunk-4PPMUNV5.js";
13
13
  import {
14
14
  projectTagProjectId
15
15
  } from "./chunk-GYSYLGNE.js";
@@ -2030,4 +2030,4 @@ function positiveIntQueryParam(value, label) {
2030
2030
  export {
2031
2031
  EngramAccessHttpServer
2032
2032
  };
2033
- //# sourceMappingURL=chunk-2DKXY243.js.map
2033
+ //# sourceMappingURL=chunk-UNZLU2MX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readAllEdges
3
- } from "./chunk-Y56J7CXW.js";
3
+ } from "./chunk-2LDBXPLB.js";
4
4
  import {
5
5
  readEdgeConfidence
6
6
  } from "./chunk-2LSZVONP.js";
@@ -162,4 +162,4 @@ export {
162
162
  parseGraphSnapshotSince,
163
163
  buildGraphSnapshot
164
164
  };
165
- //# sourceMappingURL=chunk-NE566K4E.js.map
165
+ //# sourceMappingURL=chunk-YXWAILM4.js.map
package/dist/cli.js CHANGED
@@ -90,7 +90,7 @@ import {
90
90
  runWorkProductStatusCliCommand,
91
91
  runWorkProjectCliCommand,
92
92
  runWorkTaskCliCommand
93
- } from "./chunk-Z56KDLDK.js";
93
+ } from "./chunk-PCGCQTU6.js";
94
94
  import "./chunk-LQHDIS7L.js";
95
95
  import "./chunk-7F7Z6MOS.js";
96
96
  import "./chunk-AGNBY3VG.js";
@@ -123,7 +123,7 @@ import "./chunk-3OKWZT7F.js";
123
123
  import "./chunk-TGQ2NTWH.js";
124
124
  import "./chunk-ODWI5XU2.js";
125
125
  import "./chunk-GSTYVG5L.js";
126
- import "./chunk-7UTCHQTB.js";
126
+ import "./chunk-2AP4QJX5.js";
127
127
  import "./chunk-ACYX37IM.js";
128
128
  import "./chunk-3T74IZB3.js";
129
129
  import "./chunk-HL4DB7TO.js";
@@ -169,7 +169,7 @@ import "./chunk-3BQOQYRB.js";
169
169
  import "./chunk-LBJBNWS2.js";
170
170
  import "./chunk-HQ6NIBL6.js";
171
171
  import "./chunk-OADWQ5CR.js";
172
- import "./chunk-2DKXY243.js";
172
+ import "./chunk-UNZLU2MX.js";
173
173
  import "./chunk-SEDEKFYQ.js";
174
174
  import "./chunk-JBPKEARU.js";
175
175
  import "./chunk-TMSXWOBZ.js";
@@ -178,10 +178,10 @@ import "./chunk-RSUYKGGZ.js";
178
178
  import "./chunk-42NQ7AVG.js";
179
179
  import "./chunk-7RXCMVFQ.js";
180
180
  import "./chunk-7WV3F5DQ.js";
181
- import "./chunk-RP64QP7G.js";
181
+ import "./chunk-K2JYO6QV.js";
182
182
  import "./chunk-T4WDJPEZ.js";
183
183
  import "./chunk-D24OXEPB.js";
184
- import "./chunk-CZMLLVU2.js";
184
+ import "./chunk-4PPMUNV5.js";
185
185
  import "./chunk-GDASG7NC.js";
186
186
  import "./chunk-GDB4J2H3.js";
187
187
  import "./chunk-ARV3AUOM.js";
@@ -216,7 +216,7 @@ import "./chunk-EIR5VLIH.js";
216
216
  import "./chunk-BMFZLLNI.js";
217
217
  import "./chunk-CI7RKSRE.js";
218
218
  import "./chunk-6HMYUWXR.js";
219
- import "./chunk-NE566K4E.js";
219
+ import "./chunk-YXWAILM4.js";
220
220
  import "./chunk-EI6V5UXY.js";
221
221
  import "./chunk-QY7YA7OL.js";
222
222
  import "./chunk-O75CRYGF.js";
@@ -224,7 +224,7 @@ import "./chunk-QDW3E4RD.js";
224
224
  import "./chunk-3ONXXHQO.js";
225
225
  import "./chunk-GKKAXVAJ.js";
226
226
  import "./chunk-ODPLEWB6.js";
227
- import "./chunk-Y56J7CXW.js";
227
+ import "./chunk-2LDBXPLB.js";
228
228
  import "./chunk-2LSZVONP.js";
229
229
  import "./chunk-DEUNUKTD.js";
230
230
  import "./chunk-ATRB6Q25.js";
@@ -247,7 +247,7 @@ import "./chunk-VF4XKTX3.js";
247
247
  import "./chunk-G7D6GZ5J.js";
248
248
  import "./chunk-RGMVMVMF.js";
249
249
  import "./chunk-ZY2MNJR6.js";
250
- import "./chunk-WXGTC424.js";
250
+ import "./chunk-RC3AFF6Z.js";
251
251
  import "./chunk-UZYLX7M6.js";
252
252
  import "./chunk-U3PN77QT.js";
253
253
  import "./chunk-4DJQYKMN.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CompoundingEngine,
3
3
  defaultTierMigrationCycleBudget
4
- } from "../chunk-B6IUW76R.js";
4
+ } from "../chunk-Q2H5U37U.js";
5
5
  import "../chunk-DRD2Q7HQ.js";
6
6
  import "../chunk-EUM7CZFM.js";
7
7
  import "../chunk-M7XQSUBB.js";
@@ -3,7 +3,7 @@ import {
3
3
  graphsDir,
4
4
  readEdgesStrict,
5
5
  withGraphWriteLock
6
- } from "./chunk-Y56J7CXW.js";
6
+ } from "./chunk-2LDBXPLB.js";
7
7
  import {
8
8
  DEFAULT_DECAY_FLOOR,
9
9
  DEFAULT_DECAY_PER_WINDOW,
@@ -204,4 +204,4 @@ export {
204
204
  runGraphEdgeDecayMaintenance,
205
205
  runGraphEdgeDecayMaintenanceAcrossNamespaces
206
206
  };
207
- //# sourceMappingURL=graph-edge-decay-PUFNHOBS.js.map
207
+ //# sourceMappingURL=graph-edge-decay-KSVJGCZW.js.map
@@ -4,8 +4,8 @@ import {
4
4
  buildGraphSnapshot,
5
5
  normalizeGraphSnapshotLimit,
6
6
  parseGraphSnapshotSince
7
- } from "./chunk-NE566K4E.js";
8
- import "./chunk-Y56J7CXW.js";
7
+ } from "./chunk-YXWAILM4.js";
8
+ import "./chunk-2LDBXPLB.js";
9
9
  import "./chunk-2LSZVONP.js";
10
10
  import "./chunk-DEUNUKTD.js";
11
11
  import "./chunk-PZ5AY32C.js";
package/dist/graph.d.ts CHANGED
@@ -156,6 +156,17 @@ declare class GraphIndex {
156
156
  recentInThread?: string[];
157
157
  entitySiblings?: string[];
158
158
  causalPredecessor?: string;
159
+ /**
160
+ * Optional frozen gate overrides (from GraphConstructionCapabilitySet).
161
+ * When provided, these take precedence over `this.cfg` so the caller's
162
+ * operation-scoped snapshot is the single source of truth (#1566).
163
+ */
164
+ graphCapsOverride?: {
165
+ entityGraph: boolean;
166
+ timeGraph: boolean;
167
+ causalGraph: boolean;
168
+ multiGraphMemory: boolean;
169
+ };
159
170
  }): Promise<void>;
160
171
  /**
161
172
  * Spreading activation BFS (SYNAPSE-inspired).
package/dist/graph.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  readEdges,
18
18
  readEdgesStrict,
19
19
  withGraphWriteLock
20
- } from "./chunk-Y56J7CXW.js";
20
+ } from "./chunk-2LDBXPLB.js";
21
21
  import "./chunk-2LSZVONP.js";
22
22
  import "./chunk-DEUNUKTD.js";
23
23
  import "./chunk-PZ5AY32C.js";
package/dist/index.js CHANGED
@@ -98,7 +98,7 @@ import {
98
98
  registerTrainingExportAdapter,
99
99
  runBulkImportCliCommand,
100
100
  runWearablesCliCommand
101
- } from "./chunk-Z56KDLDK.js";
101
+ } from "./chunk-PCGCQTU6.js";
102
102
  import "./chunk-LQHDIS7L.js";
103
103
  import "./chunk-7F7Z6MOS.js";
104
104
  import "./chunk-AGNBY3VG.js";
@@ -151,7 +151,7 @@ import {
151
151
  parseXrayBudgetFlag,
152
152
  parseXrayCliOptions
153
153
  } from "./chunk-GSTYVG5L.js";
154
- import "./chunk-7UTCHQTB.js";
154
+ import "./chunk-2AP4QJX5.js";
155
155
  import "./chunk-ACYX37IM.js";
156
156
  import {
157
157
  parseStrictCliDate
@@ -196,7 +196,7 @@ import {
196
196
  saveTaxonomy,
197
197
  validateSlug,
198
198
  validateTaxonomy
199
- } from "./chunk-YEQBJXVO.js";
199
+ } from "./chunk-7AAKSHDG.js";
200
200
  import {
201
201
  WEARABLE_SOURCE_PREFIX,
202
202
  buildExtractionTurns,
@@ -239,7 +239,7 @@ import "./chunk-UWK5OXUJ.js";
239
239
  import "./chunk-T2PO5MUF.js";
240
240
  import "./chunk-HP5FMB6L.js";
241
241
  import "./chunk-7N4KAIGN.js";
242
- import "./chunk-B6IUW76R.js";
242
+ import "./chunk-Q2H5U37U.js";
243
243
  import "./chunk-DRD2Q7HQ.js";
244
244
  import "./chunk-TECVW3JP.js";
245
245
  import "./chunk-UHGBNIOS.js";
@@ -464,7 +464,7 @@ import "./chunk-7SI52C65.js";
464
464
  import {
465
465
  setCodexCliFallbackRunnerForProcess
466
466
  } from "./chunk-RK6F44Y6.js";
467
- import "./chunk-RI5XBIZ6.js";
467
+ import "./chunk-PBH4JUAB.js";
468
468
  import {
469
469
  KNOWN_WEARABLE_SOURCE_IDS,
470
470
  defaultWearableCleanupSettings,
@@ -503,7 +503,7 @@ import "./chunk-HQ6NIBL6.js";
503
503
  import "./chunk-OADWQ5CR.js";
504
504
  import {
505
505
  EngramAccessHttpServer
506
- } from "./chunk-2DKXY243.js";
506
+ } from "./chunk-UNZLU2MX.js";
507
507
  import "./chunk-SEDEKFYQ.js";
508
508
  import "./chunk-JBPKEARU.js";
509
509
  import "./chunk-TMSXWOBZ.js";
@@ -517,7 +517,7 @@ import {
517
517
  } from "./chunk-7WV3F5DQ.js";
518
518
  import {
519
519
  EngramMcpServer
520
- } from "./chunk-RP64QP7G.js";
520
+ } from "./chunk-K2JYO6QV.js";
521
521
  import {
522
522
  REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL,
523
523
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
@@ -538,7 +538,7 @@ import {
538
538
  EngramAccessService,
539
539
  computeProcedureStats,
540
540
  formatProcedureStatsText
541
- } from "./chunk-CZMLLVU2.js";
541
+ } from "./chunk-4PPMUNV5.js";
542
542
  import "./chunk-GDASG7NC.js";
543
543
  import "./chunk-GDB4J2H3.js";
544
544
  import {
@@ -614,7 +614,7 @@ import {
614
614
  partsFromRenderedText
615
615
  } from "./chunk-CI7RKSRE.js";
616
616
  import "./chunk-6HMYUWXR.js";
617
- import "./chunk-NE566K4E.js";
617
+ import "./chunk-YXWAILM4.js";
618
618
  import "./chunk-EI6V5UXY.js";
619
619
  import "./chunk-QY7YA7OL.js";
620
620
  import "./chunk-O75CRYGF.js";
@@ -632,7 +632,7 @@ import {
632
632
  CrossNamespaceBudget,
633
633
  DEFAULT_CROSS_NAMESPACE_BUDGET
634
634
  } from "./chunk-ODPLEWB6.js";
635
- import "./chunk-Y56J7CXW.js";
635
+ import "./chunk-2LDBXPLB.js";
636
636
  import "./chunk-2LSZVONP.js";
637
637
  import "./chunk-DEUNUKTD.js";
638
638
  import {
@@ -711,7 +711,7 @@ import {
711
711
  import "./chunk-G7D6GZ5J.js";
712
712
  import "./chunk-RGMVMVMF.js";
713
713
  import "./chunk-ZY2MNJR6.js";
714
- import "./chunk-WXGTC424.js";
714
+ import "./chunk-RC3AFF6Z.js";
715
715
  import {
716
716
  resolvePrincipal
717
717
  } from "./chunk-UZYLX7M6.js";
@@ -11,7 +11,7 @@ import {
11
11
  summarizeMemoryWorthLegacyCounters,
12
12
  summarizeObservationThroughput,
13
13
  summarizeTierDistribution
14
- } from "./chunk-7UTCHQTB.js";
14
+ } from "./chunk-2AP4QJX5.js";
15
15
  import "./chunk-ACYX37IM.js";
16
16
  import "./chunk-6T4LTI2F.js";
17
17
  import "./chunk-YBPYIAA5.js";
@@ -47,7 +47,7 @@ import "./chunk-6RHNCKHG.js";
47
47
  import "./chunk-YNQ6DFSV.js";
48
48
  import "./chunk-O75CRYGF.js";
49
49
  import "./chunk-3ONXXHQO.js";
50
- import "./chunk-Y56J7CXW.js";
50
+ import "./chunk-2LDBXPLB.js";
51
51
  import "./chunk-2LSZVONP.js";
52
52
  import "./chunk-DEUNUKTD.js";
53
53
  import "./chunk-EUM7CZFM.js";
@@ -28,7 +28,7 @@ import {
28
28
  sanitizeSessionKeyForFilename,
29
29
  shouldFilterLifecycleRecallCandidate,
30
30
  summarizeGraphShadowComparison
31
- } from "./chunk-YEQBJXVO.js";
31
+ } from "./chunk-7AAKSHDG.js";
32
32
  import "./chunk-4SKKVWLQ.js";
33
33
  import "./chunk-7HYPN2GC.js";
34
34
  import "./chunk-666A3MOW.js";
@@ -42,7 +42,7 @@ import "./chunk-UWK5OXUJ.js";
42
42
  import "./chunk-T2PO5MUF.js";
43
43
  import "./chunk-HP5FMB6L.js";
44
44
  import "./chunk-7N4KAIGN.js";
45
- import "./chunk-B6IUW76R.js";
45
+ import "./chunk-Q2H5U37U.js";
46
46
  import "./chunk-DRD2Q7HQ.js";
47
47
  import "./chunk-TECVW3JP.js";
48
48
  import "./chunk-UHGBNIOS.js";
@@ -132,7 +132,7 @@ import "./chunk-B5XMS73R.js";
132
132
  import "./chunk-L2EXJQJP.js";
133
133
  import "./chunk-7SI52C65.js";
134
134
  import "./chunk-RK6F44Y6.js";
135
- import "./chunk-RI5XBIZ6.js";
135
+ import "./chunk-PBH4JUAB.js";
136
136
  import "./chunk-NDAH7BJ5.js";
137
137
  import "./chunk-Z5LAYHGJ.js";
138
138
  import "./chunk-LBJBNWS2.js";
@@ -172,7 +172,7 @@ import "./chunk-O75CRYGF.js";
172
172
  import "./chunk-QDW3E4RD.js";
173
173
  import "./chunk-3ONXXHQO.js";
174
174
  import "./chunk-GKKAXVAJ.js";
175
- import "./chunk-Y56J7CXW.js";
175
+ import "./chunk-2LDBXPLB.js";
176
176
  import "./chunk-2LSZVONP.js";
177
177
  import "./chunk-DEUNUKTD.js";
178
178
  import "./chunk-ATRB6Q25.js";
@@ -194,7 +194,7 @@ import "./chunk-FVQJYWH7.js";
194
194
  import "./chunk-VF4XKTX3.js";
195
195
  import "./chunk-G7D6GZ5J.js";
196
196
  import "./chunk-RGMVMVMF.js";
197
- import "./chunk-WXGTC424.js";
197
+ import "./chunk-RC3AFF6Z.js";
198
198
  import "./chunk-UZYLX7M6.js";
199
199
  import "./chunk-U3PN77QT.js";
200
200
  import "./chunk-4DJQYKMN.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/core",
3
- "version": "9.3.677",
3
+ "version": "9.3.678",
4
4
  "description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2921,7 +2921,7 @@
2921
2921
  "core"
2922
2922
  ],
2923
2923
  "peerDependencies": {
2924
- "@remnic/coding-graph": "^9.3.677"
2924
+ "@remnic/coding-graph": "^9.3.678"
2925
2925
  },
2926
2926
  "peerDependenciesMeta": {
2927
2927
  "@remnic/coding-graph": {