@remnic/core 9.3.728 → 9.3.730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-boundary.d.ts +6 -5
- package/dist/access-boundary.js +13 -13
- package/dist/access-cli.js +34 -33
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +6 -5
- package/dist/access-http.js +19 -19
- package/dist/access-mcp.d.ts +6 -5
- package/dist/access-mcp.js +18 -18
- package/dist/access-operations-batch.js +16 -16
- package/dist/access-operations.d.ts +7 -6
- package/dist/access-operations.js +17 -17
- package/dist/access-schema.d.ts +4 -4
- package/dist/{access-service-Bgpjxo4f.d.ts → access-service-Byoe3HsT.d.ts} +18 -3
- package/dist/access-service.d.ts +6 -5
- package/dist/access-service.js +12 -12
- package/dist/access-surface-catalog.d.ts +6 -5
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/{auto-sync-F3KCSQFJ.js → auto-sync-G3V5AN4C.js} +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +5 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +55 -2
- package/dist/capabilities.js +5 -1
- package/dist/{catalog-bMczlO2G.d.ts → catalog-DM1nk7cM.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +4 -4
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-4NOI577P.js → chunk-24ZLC5QN.js} +2 -2
- package/dist/{chunk-DMQWV6SQ.js → chunk-5RZOFIDL.js} +2 -2
- package/dist/{chunk-UM5AWJNQ.js → chunk-646B5ERJ.js} +62 -37
- package/dist/chunk-646B5ERJ.js.map +1 -0
- package/dist/{chunk-H5BWGCRZ.js → chunk-6TUWSUUD.js} +51 -47
- package/dist/{chunk-H5BWGCRZ.js.map → chunk-6TUWSUUD.js.map} +1 -1
- package/dist/{chunk-36SEDFAU.js → chunk-C5WN74HH.js} +2 -2
- package/dist/{chunk-MLKWJOAJ.js → chunk-CGPHMNL4.js} +2 -2
- package/dist/{chunk-R6OVFAX6.js → chunk-DJECGBBM.js} +7 -2
- package/dist/{chunk-R6OVFAX6.js.map → chunk-DJECGBBM.js.map} +1 -1
- package/dist/{chunk-3RCBIOOJ.js → chunk-ESF7TRYJ.js} +18 -2
- package/dist/{chunk-3RCBIOOJ.js.map → chunk-ESF7TRYJ.js.map} +1 -1
- package/dist/{chunk-EY6MDMHK.js → chunk-F6OEXJQQ.js} +2 -2
- package/dist/{chunk-M4V2JVSZ.js → chunk-FFUCCKPN.js} +2 -2
- package/dist/{chunk-O6YH5F47.js → chunk-FYWUNVFZ.js} +8 -8
- package/dist/{chunk-37436GML.js → chunk-GEXI357K.js} +2 -2
- package/dist/{chunk-YGIQORJ3.js → chunk-GGL34GCW.js} +3 -3
- package/dist/{chunk-4H4F3BFL.js → chunk-GXTYEG7Q.js} +3 -3
- package/dist/{chunk-4H4F3BFL.js.map → chunk-GXTYEG7Q.js.map} +1 -1
- package/dist/{chunk-WAS3NV46.js → chunk-H3MB3F62.js} +2 -2
- package/dist/{chunk-UTHQPSRC.js → chunk-HHNSLPX7.js} +11 -8
- package/dist/chunk-HHNSLPX7.js.map +1 -0
- package/dist/{chunk-76NHR6ZL.js → chunk-HJWQJUKQ.js} +4 -4
- package/dist/{chunk-Y4YD5TYW.js → chunk-IIBFCZA7.js} +3 -3
- package/dist/{chunk-UVPL565C.js → chunk-IQOEW5YV.js} +2 -2
- package/dist/{chunk-V4GNSDFH.js → chunk-KQYGNGON.js} +2 -2
- package/dist/{chunk-CBWI22JN.js → chunk-KSJCXXOU.js} +2 -2
- package/dist/{chunk-M4AYVEWS.js → chunk-LUCARK4W.js} +12 -11
- package/dist/chunk-LUCARK4W.js.map +1 -0
- package/dist/{chunk-I5REUWLH.js → chunk-NIZQH6AU.js} +3 -3
- package/dist/{chunk-4ESAR77N.js → chunk-NOU77OHX.js} +2 -2
- package/dist/{chunk-BQCHEV7O.js → chunk-O4ZIBPIW.js} +3 -3
- package/dist/{chunk-HOHVIVDR.js → chunk-OBJUKYDO.js} +2 -2
- package/dist/{chunk-YKBHOBJK.js → chunk-OEHCMALU.js} +56 -4
- package/dist/chunk-OEHCMALU.js.map +1 -0
- package/dist/{chunk-YOLZS7NY.js → chunk-OTQE66IX.js} +2 -2
- package/dist/{chunk-QNEUZIAH.js → chunk-OUITHS6V.js} +381 -433
- package/dist/chunk-OUITHS6V.js.map +1 -0
- package/dist/{chunk-4T3BMHKD.js → chunk-OZECYVGI.js} +20 -7
- package/dist/chunk-OZECYVGI.js.map +1 -0
- package/dist/{chunk-C2PG7IEH.js → chunk-P3VJCTVE.js} +2 -2
- package/dist/{chunk-EH5ED3C6.js → chunk-PMAQRUN4.js} +4 -4
- package/dist/chunk-PMAQRUN4.js.map +1 -0
- package/dist/{chunk-7RLCCNHU.js → chunk-Q6BAA57B.js} +4 -3
- package/dist/chunk-Q6BAA57B.js.map +1 -0
- package/dist/{chunk-HGNOCPZX.js → chunk-QZHF4BWN.js} +6 -6
- package/dist/chunk-SYX73XD7.js +283 -0
- package/dist/chunk-SYX73XD7.js.map +1 -0
- package/dist/{chunk-ASKXIAHD.js → chunk-WDJCZQB4.js} +2 -2
- package/dist/{chunk-AQLOP5F4.js → chunk-WNGXQMRI.js} +95 -6
- package/dist/chunk-WNGXQMRI.js.map +1 -0
- package/dist/{chunk-JYLFZWUX.js → chunk-XYUFGHUW.js} +2 -2
- package/dist/{chunk-3TSTGI6F.js → chunk-ZQUAVZNG.js} +2 -2
- package/dist/{chunk-4NR2PDZ5.js → chunk-ZVHRSR2R.js} +14 -4
- package/dist/chunk-ZVHRSR2R.js.map +1 -0
- package/dist/{cli-BLME420h.d.ts → cli-Dt-tuiYH.d.ts} +3 -3
- package/dist/cli.d.ts +7 -6
- package/dist/cli.js +35 -35
- package/dist/compounding/engine.d.ts +12 -1
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/contradiction/index.js +1 -1
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/embedding-fallback.js +2 -2
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -4
- package/dist/explicit-capture.js +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-22LPFHD5.js → first-start-migration-OOR57AYR.js} +2 -2
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +296 -11
- package/dist/index.js +359 -47
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +6 -5
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +9 -9
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +14 -14
- package/dist/orchestration/compression-guideline-coordinator.d.ts +105 -0
- package/dist/orchestration/compression-guideline-coordinator.js +12 -0
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +5 -5
- package/dist/{orchestrator-DqPAz8ot.d.ts → orchestrator-B4KjaOtY.d.ts} +128 -34
- package/dist/orchestrator.d.ts +5 -4
- package/dist/orchestrator.js +28 -26
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/provenance.js +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/{resolution-MN36NW5P.js → resolution-33PIX3TT.js} +2 -2
- package/dist/resolution-33PIX3TT.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +3 -3
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +32 -32
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/embed-helper.js +2 -2
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +4 -4
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +8 -8
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-Cl15ksZy.d.ts → semantic-consolidation-CstTvHPo.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +22 -3
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/types.d.ts +22 -22
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-ChQb9D6s.d.ts → types-VkxElCHR.d.ts} +8 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/package.json +12 -2
- package/src/access-service-coding-write.test.ts +2 -2
- package/src/access-service.ts +33 -14
- package/src/bitemporal-dedup-backfill.test.ts +10 -10
- package/src/bitemporal-frontmatter.test.ts +3 -3
- package/src/capabilities.test.ts +185 -0
- package/src/capabilities.ts +110 -0
- package/src/cli/creation-ledger-commands.ts +22 -21
- package/src/coding/architecture-surfaces.test.ts +25 -1
- package/src/coding/architecture-surfaces.ts +47 -19
- package/src/coding/decision-surfaces.ts +12 -3
- package/src/coding/review-context-structural.test.ts +303 -0
- package/src/coding/review-context.ts +79 -0
- package/src/coding/structural-context.test.ts +259 -0
- package/src/coding/structural-context.ts +315 -0
- package/src/coding/structural-subprocess-provider.test.ts +430 -0
- package/src/coding/structural-subprocess-provider.ts +355 -0
- package/src/compounding/engine.test.ts +90 -0
- package/src/compounding/engine.ts +25 -1
- package/src/contradiction/contradiction.test.ts +1 -1
- package/src/contradiction/resolution.ts +9 -1
- package/src/correction/correction-access-wiring.ts +21 -3
- package/src/correction/correction-contract.ts +7 -0
- package/src/correction/correction-planner.test.ts +231 -0
- package/src/correction/correction-planner.ts +73 -0
- package/src/correction/correction-service.ts +29 -0
- package/src/correction/correction-storage-integration.test.ts +2 -2
- package/src/dedup/semantic.test.ts +1 -1
- package/src/explicit-capture.ts +7 -4
- package/src/extraction-eventtime-wiring.test.ts +3 -3
- package/src/extraction-redaction-rules.test.ts +172 -0
- package/src/index.ts +29 -0
- package/src/maintenance/forget.test.ts +1 -1
- package/src/maintenance/memory-governance.test.ts +1 -1
- package/src/maintenance/pattern-reinforcement.test.ts +2 -2
- package/src/operator-toolkit.ts +4 -3
- package/src/orchestration/compression-guideline-coordinator.ts +449 -0
- package/src/orchestration/extraction-queue-coordinator.ts +175 -0
- package/src/orchestrator-extraction-queue.test.ts +26 -38
- package/src/orchestrator-flush.test.ts +10 -15
- package/src/orchestrator.ts +359 -542
- package/src/procedural/procedure-miner.test.ts +2 -2
- package/src/provenance-extraction.test.ts +382 -4
- package/src/provenance.ts +158 -22
- package/src/recall-handles-wiring.test.ts +1 -1
- package/src/search/factory.ts +4 -3
- package/src/semantic-rule-promotion.ts +1 -1
- package/src/source-attribution-roundtrip.test.ts +2 -2
- package/src/storage-contract/atomicity.test.ts +1 -1
- package/src/storage-contract/cache-coherence.test.ts +2 -2
- package/src/storage-contract/content-hash.test.ts +1 -1
- package/src/storage-contract/namespace-routing.test.ts +1 -1
- package/src/storage-contract/round-trip.test.ts +3 -3
- package/src/storage.ts +23 -2
- package/src/temporal-supersession.test.ts +12 -11
- package/src/temporal-validity.test.ts +11 -11
- package/src/wearables/cli.test.ts +30 -0
- package/src/wearables/cli.ts +3 -0
- package/src/wearables/memory-gen.test.ts +57 -1
- package/src/wearables/memory-gen.ts +31 -7
- package/src/wearables/pipeline.test.ts +40 -1
- package/src/wearables/pipeline.ts +4 -0
- package/src/wearables/service.test.ts +2 -2
- package/src/wearables/storage-io.test.ts +3 -3
- package/src/wearables/types.ts +7 -0
- package/dist/chunk-4NR2PDZ5.js.map +0 -1
- package/dist/chunk-4T3BMHKD.js.map +0 -1
- package/dist/chunk-7RLCCNHU.js.map +0 -1
- package/dist/chunk-AQLOP5F4.js.map +0 -1
- package/dist/chunk-EH5ED3C6.js.map +0 -1
- package/dist/chunk-M4AYVEWS.js.map +0 -1
- package/dist/chunk-QNEUZIAH.js.map +0 -1
- package/dist/chunk-UM5AWJNQ.js.map +0 -1
- package/dist/chunk-UTHQPSRC.js.map +0 -1
- package/dist/chunk-YKBHOBJK.js.map +0 -1
- /package/dist/{auto-sync-F3KCSQFJ.js.map → auto-sync-G3V5AN4C.js.map} +0 -0
- /package/dist/{chunk-4NOI577P.js.map → chunk-24ZLC5QN.js.map} +0 -0
- /package/dist/{chunk-DMQWV6SQ.js.map → chunk-5RZOFIDL.js.map} +0 -0
- /package/dist/{chunk-36SEDFAU.js.map → chunk-C5WN74HH.js.map} +0 -0
- /package/dist/{chunk-MLKWJOAJ.js.map → chunk-CGPHMNL4.js.map} +0 -0
- /package/dist/{chunk-EY6MDMHK.js.map → chunk-F6OEXJQQ.js.map} +0 -0
- /package/dist/{chunk-M4V2JVSZ.js.map → chunk-FFUCCKPN.js.map} +0 -0
- /package/dist/{chunk-O6YH5F47.js.map → chunk-FYWUNVFZ.js.map} +0 -0
- /package/dist/{chunk-37436GML.js.map → chunk-GEXI357K.js.map} +0 -0
- /package/dist/{chunk-YGIQORJ3.js.map → chunk-GGL34GCW.js.map} +0 -0
- /package/dist/{chunk-WAS3NV46.js.map → chunk-H3MB3F62.js.map} +0 -0
- /package/dist/{chunk-76NHR6ZL.js.map → chunk-HJWQJUKQ.js.map} +0 -0
- /package/dist/{chunk-Y4YD5TYW.js.map → chunk-IIBFCZA7.js.map} +0 -0
- /package/dist/{chunk-UVPL565C.js.map → chunk-IQOEW5YV.js.map} +0 -0
- /package/dist/{chunk-V4GNSDFH.js.map → chunk-KQYGNGON.js.map} +0 -0
- /package/dist/{chunk-CBWI22JN.js.map → chunk-KSJCXXOU.js.map} +0 -0
- /package/dist/{chunk-I5REUWLH.js.map → chunk-NIZQH6AU.js.map} +0 -0
- /package/dist/{chunk-4ESAR77N.js.map → chunk-NOU77OHX.js.map} +0 -0
- /package/dist/{chunk-BQCHEV7O.js.map → chunk-O4ZIBPIW.js.map} +0 -0
- /package/dist/{chunk-HOHVIVDR.js.map → chunk-OBJUKYDO.js.map} +0 -0
- /package/dist/{chunk-YOLZS7NY.js.map → chunk-OTQE66IX.js.map} +0 -0
- /package/dist/{chunk-C2PG7IEH.js.map → chunk-P3VJCTVE.js.map} +0 -0
- /package/dist/{chunk-HGNOCPZX.js.map → chunk-QZHF4BWN.js.map} +0 -0
- /package/dist/{chunk-ASKXIAHD.js.map → chunk-WDJCZQB4.js.map} +0 -0
- /package/dist/{chunk-JYLFZWUX.js.map → chunk-XYUFGHUW.js.map} +0 -0
- /package/dist/{chunk-3TSTGI6F.js.map → chunk-ZQUAVZNG.js.map} +0 -0
- /package/dist/{first-start-migration-22LPFHD5.js.map → first-start-migration-OOR57AYR.js.map} +0 -0
- /package/dist/{resolution-MN36NW5P.js.map → orchestration/compression-guideline-coordinator.js.map} +0 -0
package/dist/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, f as MemoryStatus, M as MemoryCategory, a9 as ImportanceScore, ap as MemoryLink, k as MemoryFrontmatter, F as FaithfulnessFrontmatter, ai as ProvenanceSource, g as MemoryFile, $ as EntityStructuredSection, aq as BufferState, ar as MetaState, W as MemoryActionEvent, m as MemoryLifecycleEvent, z as BufferSurpriseEvent, B as BehaviorSignalEvent, X as CompressionGuidelineOptimizerState, a5 as ContinuityIncidentOpenInput, a3 as ContinuityIncidentRecord, a4 as ContinuityIncidentCloseInput, a6 as ContinuityImprovementLoop, a8 as ContinuityLoopUpsertInput, a7 as ContinuityLoopReviewInput, as as FileHygieneConfig, at as EntityRelationship, au as EntityActivityEntry, E as EntityFile, av as AccessTrackingEntry, l as MemoryProjectionCurrentState, aw as MemorySummary, an as TopicScore } from './types-
|
|
1
|
+
import { P as PluginConfig, f as MemoryStatus, M as MemoryCategory, a9 as ImportanceScore, ap as MemoryLink, k as MemoryFrontmatter, F as FaithfulnessFrontmatter, ai as ProvenanceSource, g as MemoryFile, $ as EntityStructuredSection, aq as BufferState, ar as MetaState, W as MemoryActionEvent, m as MemoryLifecycleEvent, z as BufferSurpriseEvent, B as BehaviorSignalEvent, X as CompressionGuidelineOptimizerState, a5 as ContinuityIncidentOpenInput, a3 as ContinuityIncidentRecord, a4 as ContinuityIncidentCloseInput, a6 as ContinuityImprovementLoop, a8 as ContinuityLoopUpsertInput, a7 as ContinuityLoopReviewInput, as as FileHygieneConfig, at as EntityRelationship, au as EntityActivityEntry, E as EntityFile, av as AccessTrackingEntry, l as MemoryProjectionCurrentState, aw as MemorySummary, an as TopicScore } from './types-VkxElCHR.js';
|
|
2
2
|
import { VersioningConfig } from './page-versioning.js';
|
|
3
3
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
4
4
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
|
@@ -372,6 +372,18 @@ declare function parseEntityFile(content: string, entitySchemas?: PluginConfig["
|
|
|
372
372
|
* with the legacy in-memory `summary` and `facts` fields.
|
|
373
373
|
*/
|
|
374
374
|
declare function serializeEntityFile(entity: EntityFile, entitySchemas?: PluginConfig["entitySchemas"]): string;
|
|
375
|
+
/** Result of {@link StorageManager.writeMemory} (issue #1645). Carries the
|
|
376
|
+
* persisted id PLUS the non-resurrection tombstone-block outcome (#1579) so
|
|
377
|
+
* post-write callers can observe it — NEVER a silent no-op (rule 34). */
|
|
378
|
+
interface MemoryWriteResult {
|
|
379
|
+
/** The persisted memory id. */
|
|
380
|
+
id: string;
|
|
381
|
+
/** True when the #1579 tombstone chokepoint downgraded this write to
|
|
382
|
+
* `pending_review` + `blockedBy`. Callers gate active post-write work on this. */
|
|
383
|
+
tombstoneBlocked: boolean;
|
|
384
|
+
/** The tombstone id that blocked the write, when `tombstoneBlocked`. */
|
|
385
|
+
blockedBy?: string;
|
|
386
|
+
}
|
|
375
387
|
declare class StorageManager {
|
|
376
388
|
private readonly baseDir;
|
|
377
389
|
private readonly entitySchemas?;
|
|
@@ -771,7 +783,7 @@ declare class StorageManager {
|
|
|
771
783
|
*/
|
|
772
784
|
sources?: ProvenanceSource[];
|
|
773
785
|
provenance?: "verified" | "unverified" | "none";
|
|
774
|
-
}): Promise<
|
|
786
|
+
}): Promise<MemoryWriteResult>;
|
|
775
787
|
hasFactContentHash(content: string): Promise<boolean>;
|
|
776
788
|
private factContentHashForRemoval;
|
|
777
789
|
private addActiveFactContentHash;
|
|
@@ -1198,6 +1210,13 @@ declare class StorageManager {
|
|
|
1198
1210
|
validAt?: string;
|
|
1199
1211
|
/** Lifecycle status (issue #1576): pending_review chunks stay out of active recall. */
|
|
1200
1212
|
status?: MemoryStatus;
|
|
1213
|
+
/**
|
|
1214
|
+
* Tombstone block provenance (issue #1645): when the parent fact was
|
|
1215
|
+
* tombstone-blocked, propagate the tombstone id onto each chunk so an
|
|
1216
|
+
* independently-surfaced chunk (memory_get/x-ray/doctor) reveals the block
|
|
1217
|
+
* and the chunk stays pending_review, never an active resurrection.
|
|
1218
|
+
*/
|
|
1219
|
+
blockedBy?: string;
|
|
1201
1220
|
/** Faithfulness gate verdict (issue #1576), propagated from the parent fact. */
|
|
1202
1221
|
faithfulness?: FaithfulnessFrontmatter;
|
|
1203
1222
|
/** Claim-level provenance spans (issue #1575 PR 2), propagated from the parent fact so a chunk surfaced independently (memory_get/x-ray) preserves them (chatgpt-codex-connector thread Ocvmo). */
|
|
@@ -1252,4 +1271,4 @@ declare class StorageManager {
|
|
|
1252
1271
|
private appendGeneratedMemoryLifecycleEventFailOpen;
|
|
1253
1272
|
}
|
|
1254
1273
|
|
|
1255
|
-
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile };
|
|
1274
|
+
export { ContentHashIndex, type MemoryLifecycleEventWriteOptions, type MemoryWriteResult, type ReextractJobRequest, StorageManager, compareEntityTimestamps, fingerprintEntityStructuredFacts, isEntitySynthesisStale, normalizeAttributePairs, normalizeEntityName, parseEntityFile, serializeEntityFile };
|
package/dist/storage.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
normalizeEntityName,
|
|
9
9
|
parseEntityFile,
|
|
10
10
|
serializeEntityFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Q6BAA57B.js";
|
|
12
12
|
import "./chunk-L2B3EE7B.js";
|
|
13
13
|
import "./chunk-M7XQSUBB.js";
|
|
14
14
|
import "./chunk-5UZXUTVO.js";
|
|
@@ -44,7 +44,7 @@ import "./chunk-J2HSAU72.js";
|
|
|
44
44
|
import "./chunk-A6XUJE5D.js";
|
|
45
45
|
import "./chunk-P7FMDTKL.js";
|
|
46
46
|
import "./chunk-VS2IYZRU.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-OEHCMALU.js";
|
|
48
48
|
import "./chunk-PHK3HARR.js";
|
|
49
49
|
import "./chunk-5GKPFL3S.js";
|
|
50
50
|
import "./chunk-4DJQYKMN.js";
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-VkxElCHR.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, v as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, v as Checkpoint } from './types-VkxElCHR.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -22,23 +22,23 @@ declare const ExportManifestV1Schema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
schemaVersion: 1;
|
|
24
24
|
createdAt: string;
|
|
25
|
+
format: "openclaw-engram-export";
|
|
25
26
|
files: {
|
|
26
27
|
sha256: string;
|
|
27
28
|
path: string;
|
|
28
29
|
bytes: number;
|
|
29
30
|
}[];
|
|
30
|
-
format: "openclaw-engram-export";
|
|
31
31
|
pluginVersion: string;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
34
|
schemaVersion: 1;
|
|
35
35
|
createdAt: string;
|
|
36
|
+
format: "openclaw-engram-export";
|
|
36
37
|
files: {
|
|
37
38
|
sha256: string;
|
|
38
39
|
path: string;
|
|
39
40
|
bytes: number;
|
|
40
41
|
}[];
|
|
41
|
-
format: "openclaw-engram-export";
|
|
42
42
|
pluginVersion: string;
|
|
43
43
|
includesTranscripts: boolean;
|
|
44
44
|
}>;
|
|
@@ -77,23 +77,23 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
schemaVersion: 1;
|
|
79
79
|
createdAt: string;
|
|
80
|
+
format: "openclaw-engram-export";
|
|
80
81
|
files: {
|
|
81
82
|
sha256: string;
|
|
82
83
|
path: string;
|
|
83
84
|
bytes: number;
|
|
84
85
|
}[];
|
|
85
|
-
format: "openclaw-engram-export";
|
|
86
86
|
pluginVersion: string;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
89
|
schemaVersion: 1;
|
|
90
90
|
createdAt: string;
|
|
91
|
+
format: "openclaw-engram-export";
|
|
91
92
|
files: {
|
|
92
93
|
sha256: string;
|
|
93
94
|
path: string;
|
|
94
95
|
bytes: number;
|
|
95
96
|
}[];
|
|
96
|
-
format: "openclaw-engram-export";
|
|
97
97
|
pluginVersion: string;
|
|
98
98
|
includesTranscripts: boolean;
|
|
99
99
|
}>;
|
|
@@ -108,39 +108,39 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
108
108
|
path: string;
|
|
109
109
|
}>, "many">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
records: {
|
|
112
|
-
content: string;
|
|
113
|
-
path: string;
|
|
114
|
-
}[];
|
|
115
111
|
manifest: {
|
|
116
112
|
schemaVersion: 1;
|
|
117
113
|
createdAt: string;
|
|
114
|
+
format: "openclaw-engram-export";
|
|
118
115
|
files: {
|
|
119
116
|
sha256: string;
|
|
120
117
|
path: string;
|
|
121
118
|
bytes: number;
|
|
122
119
|
}[];
|
|
123
|
-
format: "openclaw-engram-export";
|
|
124
120
|
pluginVersion: string;
|
|
125
121
|
includesTranscripts: boolean;
|
|
126
122
|
};
|
|
127
|
-
}, {
|
|
128
123
|
records: {
|
|
129
124
|
content: string;
|
|
130
125
|
path: string;
|
|
131
126
|
}[];
|
|
127
|
+
}, {
|
|
132
128
|
manifest: {
|
|
133
129
|
schemaVersion: 1;
|
|
134
130
|
createdAt: string;
|
|
131
|
+
format: "openclaw-engram-export";
|
|
135
132
|
files: {
|
|
136
133
|
sha256: string;
|
|
137
134
|
path: string;
|
|
138
135
|
bytes: number;
|
|
139
136
|
}[];
|
|
140
|
-
format: "openclaw-engram-export";
|
|
141
137
|
pluginVersion: string;
|
|
142
138
|
includesTranscripts: boolean;
|
|
143
139
|
};
|
|
140
|
+
records: {
|
|
141
|
+
content: string;
|
|
142
|
+
path: string;
|
|
143
|
+
}[];
|
|
144
144
|
}>;
|
|
145
145
|
type ExportBundleV1 = z.infer<typeof ExportBundleV1Schema>;
|
|
146
146
|
/**
|
|
@@ -509,12 +509,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
510
|
schemaVersion: 2;
|
|
511
511
|
createdAt: string;
|
|
512
|
+
format: "openclaw-engram-export";
|
|
512
513
|
files: {
|
|
513
514
|
sha256: string;
|
|
514
515
|
path: string;
|
|
515
516
|
bytes: number;
|
|
516
517
|
}[];
|
|
517
|
-
format: "openclaw-engram-export";
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
@@ -542,12 +542,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
542
542
|
}, {
|
|
543
543
|
schemaVersion: 2;
|
|
544
544
|
createdAt: string;
|
|
545
|
+
format: "openclaw-engram-export";
|
|
545
546
|
files: {
|
|
546
547
|
sha256: string;
|
|
547
548
|
path: string;
|
|
548
549
|
bytes: number;
|
|
549
550
|
}[];
|
|
550
|
-
format: "openclaw-engram-export";
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
@@ -728,12 +728,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
729
|
schemaVersion: 2;
|
|
730
730
|
createdAt: string;
|
|
731
|
+
format: "openclaw-engram-export";
|
|
731
732
|
files: {
|
|
732
733
|
sha256: string;
|
|
733
734
|
path: string;
|
|
734
735
|
bytes: number;
|
|
735
736
|
}[];
|
|
736
|
-
format: "openclaw-engram-export";
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
@@ -761,12 +761,12 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
761
761
|
}, {
|
|
762
762
|
schemaVersion: 2;
|
|
763
763
|
createdAt: string;
|
|
764
|
+
format: "openclaw-engram-export";
|
|
764
765
|
files: {
|
|
765
766
|
sha256: string;
|
|
766
767
|
path: string;
|
|
767
768
|
bytes: number;
|
|
768
769
|
}[];
|
|
769
|
-
format: "openclaw-engram-export";
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
@@ -803,19 +803,15 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
803
803
|
path: string;
|
|
804
804
|
}>, "many">;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
records: {
|
|
807
|
-
content: string;
|
|
808
|
-
path: string;
|
|
809
|
-
}[];
|
|
810
806
|
manifest: {
|
|
811
807
|
schemaVersion: 2;
|
|
812
808
|
createdAt: string;
|
|
809
|
+
format: "openclaw-engram-export";
|
|
813
810
|
files: {
|
|
814
811
|
sha256: string;
|
|
815
812
|
path: string;
|
|
816
813
|
bytes: number;
|
|
817
814
|
}[];
|
|
818
|
-
format: "openclaw-engram-export";
|
|
819
815
|
pluginVersion: string;
|
|
820
816
|
includesTranscripts: boolean;
|
|
821
817
|
capsule: {
|
|
@@ -841,20 +837,20 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
841
837
|
};
|
|
842
838
|
};
|
|
843
839
|
};
|
|
844
|
-
}, {
|
|
845
840
|
records: {
|
|
846
841
|
content: string;
|
|
847
842
|
path: string;
|
|
848
843
|
}[];
|
|
844
|
+
}, {
|
|
849
845
|
manifest: {
|
|
850
846
|
schemaVersion: 2;
|
|
851
847
|
createdAt: string;
|
|
848
|
+
format: "openclaw-engram-export";
|
|
852
849
|
files: {
|
|
853
850
|
sha256: string;
|
|
854
851
|
path: string;
|
|
855
852
|
bytes: number;
|
|
856
853
|
}[];
|
|
857
|
-
format: "openclaw-engram-export";
|
|
858
854
|
pluginVersion: string;
|
|
859
855
|
includesTranscripts: boolean;
|
|
860
856
|
capsule: {
|
|
@@ -880,6 +876,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
880
876
|
} | null | undefined;
|
|
881
877
|
};
|
|
882
878
|
};
|
|
879
|
+
records: {
|
|
880
|
+
content: string;
|
|
881
|
+
path: string;
|
|
882
|
+
}[];
|
|
883
883
|
}>;
|
|
884
884
|
type ExportBundleV2 = z.infer<typeof ExportBundleV2Schema>;
|
|
885
885
|
type AnyExportManifest = ExportManifestV1 | ExportManifestV2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TrustSignals, TrustScoreResult, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
-
import { F as FaithfulnessFrontmatter, ai as ProvenanceSource, ao as TrustWeights } from './types-
|
|
2
|
+
import { F as FaithfulnessFrontmatter, ai as ProvenanceSource, ao as TrustWeights } from './types-VkxElCHR.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
|
package/dist/trust-score.d.ts
CHANGED
|
@@ -281,6 +281,13 @@ interface WearableSyncSummary {
|
|
|
281
281
|
/** Earlier pending writes retired by a fresh judge-reject verdict. */
|
|
282
282
|
memoriesDemoted: number;
|
|
283
283
|
memoriesSkipped: number;
|
|
284
|
+
/**
|
|
285
|
+
* Writes the #1579 tombstone chokepoint downgraded to pending_review
|
|
286
|
+
* (no active copy) — both wearable extraction and native imports.
|
|
287
|
+
* Surfaced distinctly so sync summaries/CLI don't count blocked content
|
|
288
|
+
* as successfully created (#1645).
|
|
289
|
+
*/
|
|
290
|
+
memoriesBlocked: number;
|
|
284
291
|
nativeMemoriesImported: number;
|
|
285
292
|
/** Non-fatal warnings surfaced to the operator. */
|
|
286
293
|
warnings: string[];
|
|
@@ -3652,4 +3659,4 @@ interface HourlySummary {
|
|
|
3652
3659
|
generatedAt: string;
|
|
3653
3660
|
}
|
|
3654
3661
|
|
|
3655
|
-
export { type EntityStructuredSection as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type SecretRef as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type AgentAccessAuthToken as J, type CompressionGuidelineOptimizerEventCounts as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type CompressionGuidelineOptimizerActionSummary as N, type CompressionGuidelineOptimizerRuleUpdate as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type MemoryActionType as U, type VerificationState as V, type MemoryActionEvent as W, type CompressionGuidelineOptimizerState as X, type EntityMention as Y, type EntitySchemaDefinition as Z, type EntitySchemaSectionDefinition as _, type ActiveRecallQueryMode as a, type
|
|
3662
|
+
export { type EntityStructuredSection as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type SecretRef as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type AgentAccessAuthToken as J, type CompressionGuidelineOptimizerEventCounts as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type CompressionGuidelineOptimizerActionSummary as N, type CompressionGuidelineOptimizerRuleUpdate as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type MemoryActionType as U, type VerificationState as V, type MemoryActionEvent as W, type CompressionGuidelineOptimizerState as X, type EntityMention as Y, type EntitySchemaDefinition as Z, type EntitySchemaSectionDefinition as _, type ActiveRecallQueryMode as a, type ExtractedFact as a$, type ExtractionResult as a0, type ConsolidationResult as a1, type DaySummaryResult as a2, type ContinuityIncidentRecord as a3, type ContinuityIncidentCloseInput as a4, type ContinuityIncidentOpenInput as a5, type ContinuityImprovementLoop as a6, type ContinuityLoopReviewInput as a7, type ContinuityLoopUpsertInput as a8, type ImportanceScore as a9, type WearableMemoryMode as aA, type WearableSourceConnector as aB, type WearablesConfig as aC, type WearableSyncSummary as aD, type WearableSourceStatus as aE, type WearableDayTranscript as aF, type WearableCorrectionRule as aG, type CodingContext as aH, type BootstrapOptions as aI, type BootstrapResult as aJ, type ConsolidationObservation as aK, type EntityTimelineEntry as aL, type ScopeProfileLayerId as aM, type ScopeProfilePromotionTarget as aN, type ScopeProfileConfig as aO, type DreamsStatusResult as aP, type DreamsPhase as aQ, type DreamsRunResult as aR, type CodingModeConfig as aS, type CodingKnowledgeConfig as aT, type WearableCleanupSettings as aU, type WearableDayTranscriptMeta as aV, type BriefingConfig as aW, type BriefingOpenCommitment as aX, type BriefingWindow as aY, type CodexCompatConfig as aZ, DEFAULT_RECALL_DISCLOSURE as a_, type MemoryIntent as aa, type QmdSearchExplain as ab, type MemoryActionEligibilityContext as ac, type MemoryActionPolicyResult as ad, type MemoryLifecycleEventType as ae, type MemoryLifecycleStateSummary as af, type ModelProviderConfig as ag, type NativeKnowledgeConfig as ah, type ProvenanceSource as ai, type ProvenanceConfig as aj, type RetrievalTier as ak, type SignalScanResult as al, type ConversationThread as am, type TopicScore as an, type TrustWeights as ao, type MemoryLink as ap, type BufferState as aq, type MetaState as ar, type FileHygieneConfig as as, type EntityRelationship as at, type EntityActivityEntry as au, type AccessTrackingEntry as av, type MemorySummary as aw, type WearableConversation as ax, type WearableSourceSettings as ay, type WearableNativeMemory as az, type ActiveRecallPromptStyle as b, type NamespacePolicy as b$, type MemoryActionEligibilitySource as b0, type MemoryObservation as b1, type MemoryScope as b2, RECALL_DISCLOSURE_LEVELS as b3, type WearableAuthCheck as b4, type WearableFetchOptions as b5, type WearableFetchPage as b6, type WearableNativeMemoryPage as b7, type WearableTranscriptSegment as b8, isRecallDisclosure as b9, type DreamsDeepSleepConfig as bA, type DreamsLightSleepConfig as bB, type DreamsPhaseStatus as bC, type DreamsPhasesConfig as bD, type DreamsRemConfig as bE, type EngramTraceEvent as bF, type ExtractedProcedureStep as bG, type ExtractedQuestion as bH, type ExtractedReasoningTrace as bI, type ExtractedReasoningTraceStep as bJ, type ExtractedRelationship as bK, type ExtractionPassSource as bL, type GitHubLiveConnectorConfig as bM, type GmailLiveConnectorConfig as bN, type GoogleDriveLiveConnectorConfig as bO, type HeartbeatConfig as bP, type HeartbeatDetectionMode as bQ, type LlmTraceCallback as bR, type LlmTraceEvent as bS, type MemoryActionOutcome as bT, type MemoryActionPolicyDecision as bU, type MemoryActionStatus as bV, type MemoryLinkType as bW, type MemoryOsPresetName as bX, type ModelApi as bY, type ModelDefinitionConfig as bZ, type ModelProviderAuthMode as b_, type AgentAccessHttpConfig as ba, type AgentDefaultsConfig as bb, type AgentPersona as bc, type BehaviorLoopAdjustment as bd, type BehaviorSignalDirection as be, type BehaviorSignalType as bf, type BriefingCalendarSourceError as bg, type BufferEntryState as bh, type CaptureMode as bi, type ChatConfig as bj, type CodexCliReasoningEffort as bk, type CodexCompactionFlushMode as bl, type CodexConnectorConfig as bm, type CompressionGuidelineActivationState as bn, type CompressionGuidelineOptimizerSourceWindow as bo, type ConfidenceTier as bp, type ConsolidationAction as bq, type ConsolidationItem as br, type ContinuityIncidentState as bs, type ContinuityLoopCadence as bt, type ContinuityLoopStatus as bu, type ContradictionScanConfig as bv, type CronConversationRecallMode as bw, type CronRecallMode as bx, type DreamingConfig as by, type DreamingNarrativePromptStyle as bz, type ActiveRecallThinking as c, type NativeKnowledgeFolderRuleConfig as c0, type NativeKnowledgeObsidianVaultConfig as c1, type NativeKnowledgeOpenClawWorkspaceConfig as c2, type NotionLiveConnectorConfig as c3, type PrincipalFromSessionKeyMode as c4, type PrincipalRule as c5, type ProceduralConfig as c6, type QuestionEntry as c7, type ReasoningEffort as c8, type RecallPipelineConfig as c9, type RecallSectionConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallModelFallbackPolicy as d, type BehaviorLoopPolicyState as e, type MemoryStatus as f, type MemoryFile as g, type RecallPlanMode as h, type RecallDisclosure as i, type AgentPersonaModelConfig as j, type MemoryFrontmatter as k, type MemoryProjectionCurrentState as l, type MemoryLifecycleEvent as m, type BriefingSections as n, type BriefingFollowup as o, type BriefingFocus as p, type CalendarEvent as q, type BriefingActiveThread as r, type BriefingResult as s, type BriefingRecentEntity as t, type BufferTurn as u, type Checkpoint as v, type LifecycleState as w, type PolicyClass as x, type ImportanceLevel as y, type BufferSurpriseEvent as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './types-gb_SNtjR.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
|
-
export { av as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, J as AgentAccessAuthToken,
|
|
3
|
+
export { av as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, J as AgentAccessAuthToken, ba as AgentAccessHttpConfig, bb as AgentDefaultsConfig, bc as AgentPersona, j as AgentPersonaModelConfig, bd as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, be as BehaviorSignalDirection, B as BehaviorSignalEvent, bf as BehaviorSignalType, aI as BootstrapOptions, aJ as BootstrapResult, r as BriefingActiveThread, bg as BriefingCalendarSourceError, aW as BriefingConfig, p as BriefingFocus, o as BriefingFollowup, aX as BriefingOpenCommitment, t as BriefingRecentEntity, s as BriefingResult, n as BriefingSections, aY as BriefingWindow, bh as BufferEntryState, aq as BufferState, z as BufferSurpriseEvent, u as BufferTurn, q as CalendarEvent, C as CalendarSource, bi as CaptureMode, bj as ChatConfig, v as Checkpoint, bk as CodexCliReasoningEffort, bl as CodexCompactionFlushMode, aZ as CodexCompatConfig, bm as CodexConnectorConfig, aH as CodingContext, aT as CodingKnowledgeConfig, aS as CodingModeConfig, bn as CompressionGuidelineActivationState, N as CompressionGuidelineOptimizerActionSummary, K as CompressionGuidelineOptimizerEventCounts, O as CompressionGuidelineOptimizerRuleUpdate, bo as CompressionGuidelineOptimizerSourceWindow, X as CompressionGuidelineOptimizerState, bp as ConfidenceTier, bq as ConsolidationAction, br as ConsolidationItem, aK as ConsolidationObservation, a1 as ConsolidationResult, a6 as ContinuityImprovementLoop, a4 as ContinuityIncidentCloseInput, a5 as ContinuityIncidentOpenInput, a3 as ContinuityIncidentRecord, bs as ContinuityIncidentState, bt as ContinuityLoopCadence, a7 as ContinuityLoopReviewInput, bu as ContinuityLoopStatus, a8 as ContinuityLoopUpsertInput, bv as ContradictionScanConfig, am as ConversationThread, bw as CronConversationRecallMode, bx as CronRecallMode, a_ as DEFAULT_RECALL_DISCLOSURE, a2 as DaySummaryResult, by as DreamingConfig, bz as DreamingNarrativePromptStyle, bA as DreamsDeepSleepConfig, bB as DreamsLightSleepConfig, aQ as DreamsPhase, bC as DreamsPhaseStatus, bD as DreamsPhasesConfig, bE as DreamsRemConfig, aR as DreamsRunResult, aP as DreamsStatusResult, bF as EngramTraceEvent, au as EntityActivityEntry, E as EntityFile, Y as EntityMention, at as EntityRelationship, Z as EntitySchemaDefinition, _ as EntitySchemaSectionDefinition, $ as EntityStructuredSection, aL as EntityTimelineEntry, a$ as ExtractedFact, bG as ExtractedProcedureStep, bH as ExtractedQuestion, bI as ExtractedReasoningTrace, bJ as ExtractedReasoningTraceStep, bK as ExtractedRelationship, bL as ExtractionPassSource, a0 as ExtractionResult, F as FaithfulnessFrontmatter, as as FileHygieneConfig, G as GatewayConfig, bM as GitHubLiveConnectorConfig, bN as GmailLiveConnectorConfig, bO as GoogleDriveLiveConnectorConfig, bP as HeartbeatConfig, bQ as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, y as ImportanceLevel, a9 as ImportanceScore, w as LifecycleState, L as LiveConnectorsConfig, bR as LlmTraceCallback, bS as LlmTraceEvent, ac as MemoryActionEligibilityContext, b0 as MemoryActionEligibilitySource, W as MemoryActionEvent, bT as MemoryActionOutcome, bU as MemoryActionPolicyDecision, ad as MemoryActionPolicyResult, bV as MemoryActionStatus, U as MemoryActionType, M as MemoryCategory, g as MemoryFile, k as MemoryFrontmatter, aa as MemoryIntent, m as MemoryLifecycleEvent, ae as MemoryLifecycleEventType, af as MemoryLifecycleStateSummary, ap as MemoryLink, bW as MemoryLinkType, b1 as MemoryObservation, bX as MemoryOsPresetName, l as MemoryProjectionCurrentState, b2 as MemoryScope, f as MemoryStatus, aw as MemorySummary, ar as MetaState, bY as ModelApi, bZ as ModelDefinitionConfig, b_ as ModelProviderAuthMode, ag as ModelProviderConfig, b$ as NamespacePolicy, ah as NativeKnowledgeConfig, c0 as NativeKnowledgeFolderRuleConfig, c1 as NativeKnowledgeObsidianVaultConfig, c2 as NativeKnowledgeOpenClawWorkspaceConfig, c3 as NotionLiveConnectorConfig, P as PluginConfig, x as PolicyClass, c4 as PrincipalFromSessionKeyMode, c5 as PrincipalRule, c6 as ProceduralConfig, aj as ProvenanceConfig, ai as ProvenanceSource, ab as QmdSearchExplain, Q as QmdSearchResult, c7 as QuestionEntry, b3 as RECALL_DISCLOSURE_LEVELS, c8 as ReasoningEffort, i as RecallDisclosure, c9 as RecallPipelineConfig, h as RecallPlanMode, ca as RecallSectionConfig, R as RecallTierExplain, cb as RecallTraceEvent, cc as RelevanceFeedback, ak as RetrievalTier, cd as SPECULATIVE_TTL_DAYS, ce as ScopeProfileAutoPromoteConfig, aO as ScopeProfileConfig, aM as ScopeProfileLayerId, aN as ScopeProfilePromotionTarget, cf as ScopeProfileTeamProjectConfig, cg as ScopeTeamConfig, ch as ScoredEntity, D as SecretRef, ci as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cj as SignalLevel, al as SignalScanResult, ck as SlotBehaviorConfig, cl as SlotMismatchMode, an as TopicScore, T as TranscriptEntry, cm as TriggerMode, ao as TrustWeights, V as VerificationState, cn as confidenceTier, b9 as isRecallDisclosure } from './types-VkxElCHR.js';
|
package/dist/verified-recall.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WDJCZQB4.js";
|
|
5
5
|
import "./chunk-7FL4CNPV.js";
|
|
6
6
|
import "./chunk-ZBJMUXZH.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Q6BAA57B.js";
|
|
8
8
|
import "./chunk-L2B3EE7B.js";
|
|
9
9
|
import "./chunk-M7XQSUBB.js";
|
|
10
10
|
import "./chunk-5UZXUTVO.js";
|
|
@@ -38,7 +38,7 @@ import "./chunk-J2HSAU72.js";
|
|
|
38
38
|
import "./chunk-A6XUJE5D.js";
|
|
39
39
|
import "./chunk-P7FMDTKL.js";
|
|
40
40
|
import "./chunk-VS2IYZRU.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-OEHCMALU.js";
|
|
42
42
|
import "./chunk-PHK3HARR.js";
|
|
43
43
|
import "./chunk-5GKPFL3S.js";
|
|
44
44
|
import "./chunk-4DJQYKMN.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.730",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -1695,6 +1695,16 @@
|
|
|
1695
1695
|
"remnic-source": "./src/orchestration/maintenance.ts",
|
|
1696
1696
|
"import": "./dist/orchestration/maintenance.js"
|
|
1697
1697
|
},
|
|
1698
|
+
"./orchestration/compression-guideline-coordinator": {
|
|
1699
|
+
"types": "./dist/orchestration/compression-guideline-coordinator.d.ts",
|
|
1700
|
+
"remnic-source": "./src/orchestration/compression-guideline-coordinator.ts",
|
|
1701
|
+
"import": "./dist/orchestration/compression-guideline-coordinator.js"
|
|
1702
|
+
},
|
|
1703
|
+
"./orchestration/compression-guideline-coordinator.js": {
|
|
1704
|
+
"types": "./dist/orchestration/compression-guideline-coordinator.d.ts",
|
|
1705
|
+
"remnic-source": "./src/orchestration/compression-guideline-coordinator.ts",
|
|
1706
|
+
"import": "./dist/orchestration/compression-guideline-coordinator.js"
|
|
1707
|
+
},
|
|
1698
1708
|
"./page-versioning": {
|
|
1699
1709
|
"types": "./dist/page-versioning.d.ts",
|
|
1700
1710
|
"remnic-source": "./src/page-versioning.ts",
|
|
@@ -2990,7 +3000,7 @@
|
|
|
2990
3000
|
"core"
|
|
2991
3001
|
],
|
|
2992
3002
|
"peerDependencies": {
|
|
2993
|
-
"@remnic/coding-graph": "^9.3.
|
|
3003
|
+
"@remnic/coding-graph": "^9.3.730"
|
|
2994
3004
|
},
|
|
2995
3005
|
"peerDependenciesMeta": {
|
|
2996
3006
|
"@remnic/coding-graph": {
|
|
@@ -338,7 +338,7 @@ function makeAttachOrchestrator() {
|
|
|
338
338
|
getStorageCalls.push(ns);
|
|
339
339
|
return {
|
|
340
340
|
readAllMemories: async () => [],
|
|
341
|
-
writeMemory: async () => "mem-1",
|
|
341
|
+
writeMemory: async () => ({ id: "mem-1", tombstoneBlocked: false }),
|
|
342
342
|
appendMemoryLifecycleEvents: async () => {},
|
|
343
343
|
};
|
|
344
344
|
},
|
|
@@ -433,7 +433,7 @@ function makePersistOrchestrator() {
|
|
|
433
433
|
getStorageCalls.push(ns);
|
|
434
434
|
return {
|
|
435
435
|
readAllMemories: async () => [],
|
|
436
|
-
writeMemory: async () => "mem-1",
|
|
436
|
+
writeMemory: async () => ({ id: "mem-1", tombstoneBlocked: false }),
|
|
437
437
|
appendMemoryLifecycleEvents: async () => {},
|
|
438
438
|
};
|
|
439
439
|
},
|
package/src/access-service.ts
CHANGED
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
type ActionConfidenceResult,
|
|
245
245
|
} from "./action-confidence.js";
|
|
246
246
|
import { formatProfileTraceAscii } from "./profiling.js";
|
|
247
|
-
import { resolveAccessSetupCapabilities, resolveGraphConstructionCapabilities } from "./capabilities.js";
|
|
247
|
+
import { resolveAccessSetupCapabilities, resolveGraphConstructionCapabilities, resolveIndexingCapabilities } from "./capabilities.js";
|
|
248
248
|
|
|
249
249
|
export class EngramAccessInputError extends Error {}
|
|
250
250
|
|
|
@@ -4327,14 +4327,18 @@ export class EngramAccessService {
|
|
|
4327
4327
|
// rejection, or an explicit-namespace write (which bypasses the overlay),
|
|
4328
4328
|
// since those don't reach this point or aren't project-scoped (Codex review).
|
|
4329
4329
|
await this.attachCodingContextAfterScopedWrite(request);
|
|
4330
|
+
// #1645 (review thread yG-): a tombstone-blocked capture is pending_review
|
|
4331
|
+
// (no active copy) — report it as queued_for_review so the HTTP/MCP caller
|
|
4332
|
+
// doesn't read it as a successfully stored active memory.
|
|
4333
|
+
const blocked = result.tombstoneBlocked === true;
|
|
4330
4334
|
const response: EngramAccessWriteResponse = {
|
|
4331
4335
|
schemaVersion: ENGRAM_ACCESS_WRITE_SCHEMA_VERSION,
|
|
4332
4336
|
operation: "memory_store",
|
|
4333
4337
|
namespace,
|
|
4334
4338
|
dryRun: false,
|
|
4335
4339
|
accepted: true,
|
|
4336
|
-
queued:
|
|
4337
|
-
status: result.duplicateOf ? "duplicate" : "stored",
|
|
4340
|
+
queued: blocked,
|
|
4341
|
+
status: blocked ? "queued_for_review" : result.duplicateOf ? "duplicate" : "stored",
|
|
4338
4342
|
memoryId: result.id,
|
|
4339
4343
|
duplicateOf: result.duplicateOf,
|
|
4340
4344
|
idempotencyKey: request.idempotencyKey?.trim() || undefined,
|
|
@@ -5405,7 +5409,7 @@ export class EngramAccessService {
|
|
|
5405
5409
|
reason?: string;
|
|
5406
5410
|
retryAfterMs?: number;
|
|
5407
5411
|
}> {
|
|
5408
|
-
if (!this.orchestrator.config.
|
|
5412
|
+
if (!resolveIndexingCapabilities(this.orchestrator.config).conversationIndex) {
|
|
5409
5413
|
return {
|
|
5410
5414
|
enabled: false,
|
|
5411
5415
|
sessions: 0,
|
|
@@ -8957,16 +8961,31 @@ export class EngramAccessService {
|
|
|
8957
8961
|
},
|
|
8958
8962
|
writePromotedMemory: async (namespace, memory) => {
|
|
8959
8963
|
const resolved = await this.orchestrator.getStorage(namespace);
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8964
|
+
const { id, tombstoneBlocked } = await resolved.writeMemory(
|
|
8965
|
+
memory.category,
|
|
8966
|
+
memory.content,
|
|
8967
|
+
{
|
|
8968
|
+
confidence: memory.confidence,
|
|
8969
|
+
tags: memory.tags,
|
|
8970
|
+
entityRef: memory.entityRef,
|
|
8971
|
+
source: `admin-promotion:${memory.sourceNamespace}:${memory.reason.slice(0, 120)}`,
|
|
8972
|
+
lineage: memory.lineage,
|
|
8973
|
+
sourceMemoryId: memory.sourceMemoryId,
|
|
8974
|
+
actor: memory.actor,
|
|
8975
|
+
validAt: memory.validAt,
|
|
8976
|
+
},
|
|
8977
|
+
);
|
|
8978
|
+
// #1645: a tombstone-blocked promotion lands pending_review (no active
|
|
8979
|
+
// copy in the target). Report it as a failed promotion so the admin
|
|
8980
|
+
// sees an honest result — the content is queued for review, not
|
|
8981
|
+
// actively promoted. promoteMemory's catch block sanitizes this into
|
|
8982
|
+
// a generic "promotion write failed" audit entry.
|
|
8983
|
+
if (tombstoneBlocked) {
|
|
8984
|
+
throw new Error(
|
|
8985
|
+
"target namespace tombstone-blocked the promoted content (pending_review)",
|
|
8986
|
+
);
|
|
8987
|
+
}
|
|
8988
|
+
return id;
|
|
8970
8989
|
},
|
|
8971
8990
|
};
|
|
8972
8991
|
try {
|