@remnic/core 9.3.719 → 9.3.721
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 +10 -7
- package/dist/access-boundary.js +37 -34
- package/dist/access-cli.js +71 -66
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +11 -8
- package/dist/access-http.js +44 -41
- package/dist/access-mcp.d.ts +11 -8
- package/dist/access-mcp.js +40 -37
- package/dist/access-operations-batch.js +38 -35
- package/dist/access-operations.d.ts +11 -8
- package/dist/access-operations.js +39 -36
- package/dist/access-schema.d.ts +19 -19
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-CZbnt0t2.d.ts → access-service-Dj3I-VBS.d.ts} +3 -3
- package/dist/access-service.d.ts +11 -8
- package/dist/access-service.js +36 -33
- package/dist/access-surface-catalog.d.ts +10 -7
- 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 +4 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/{auto-sync-24NNS3GU.js → auto-sync-F3KCSQFJ.js} +5 -5
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +11 -8
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +12 -10
- 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/calibration.js +2 -2
- package/dist/capabilities.d.ts +30 -2
- package/dist/capabilities.js +3 -1
- package/dist/{catalog-CEYlMs9X.d.ts → catalog-F-OEVbRQ.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +15 -13
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +4 -0
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-TH7WMHVK.js → chunk-3NN73CM7.js} +2 -2
- package/dist/{chunk-A5TUPZ3N.js → chunk-4SF232E6.js} +60 -30
- package/dist/chunk-4SF232E6.js.map +1 -0
- package/dist/{chunk-DGTDRIUO.js → chunk-4T3BMHKD.js} +2 -2
- package/dist/{chunk-EH27LHML.js → chunk-5O42UKXI.js} +2 -2
- package/dist/{chunk-KRGC4EDX.js → chunk-6FAMMBQ3.js} +2 -2
- package/dist/{chunk-FEB7W5JG.js → chunk-6OIDDKAA.js} +27 -6
- package/dist/chunk-6OIDDKAA.js.map +1 -0
- package/dist/{chunk-67HG7KFE.js → chunk-6YKIYQU7.js} +2 -2
- package/dist/{chunk-LXSG4L55.js → chunk-7CTNUVHZ.js} +2 -2
- package/dist/{chunk-UCJ5CDTK.js → chunk-A5XNBK2D.js} +22 -14
- package/dist/chunk-A5XNBK2D.js.map +1 -0
- package/dist/{chunk-7EEVXW7X.js → chunk-A7TJZLPK.js} +2 -2
- package/dist/{chunk-P5IPFZVH.js → chunk-B7WISIAJ.js} +5 -5
- package/dist/chunk-BCDKBDSY.js +173 -0
- package/dist/chunk-BCDKBDSY.js.map +1 -0
- package/dist/{chunk-JAKYZGV4.js → chunk-BXEOHV7K.js} +3 -3
- package/dist/chunk-C4X4QGIO.js +60 -0
- package/dist/chunk-C4X4QGIO.js.map +1 -0
- package/dist/{chunk-S3OPGGZB.js → chunk-D7EBTQ24.js} +2 -2
- package/dist/{chunk-IO5NQEGZ.js → chunk-DKT3X5C3.js} +2 -2
- package/dist/{chunk-PBH4JUAB.js → chunk-DVRHLN2O.js} +18 -3
- package/dist/chunk-DVRHLN2O.js.map +1 -0
- package/dist/{chunk-S35FX6MU.js → chunk-EBDA5TYA.js} +2 -2
- package/dist/{chunk-2PTBLS2S.js → chunk-EDOQM4E4.js} +2 -2
- package/dist/{chunk-YTZLBBEB.js → chunk-EEJMD2L2.js} +3 -3
- package/dist/{chunk-YGKUAX2B.js → chunk-EHQ5HO5T.js} +11 -11
- package/dist/chunk-EHQ5HO5T.js.map +1 -0
- package/dist/{chunk-JIZGYQYH.js → chunk-EM2LDXJ2.js} +4 -4
- package/dist/{chunk-YYOK4GVF.js → chunk-EVPNWN7Z.js} +10 -10
- package/dist/{chunk-HLIR3RJ7.js → chunk-EXUCUPV2.js} +2 -2
- package/dist/{chunk-F3PVXKHP.js → chunk-GDUOCHCD.js} +27 -21
- package/dist/chunk-GDUOCHCD.js.map +1 -0
- package/dist/{chunk-L5ASZA2F.js → chunk-GJSL4WG2.js} +17 -2
- package/dist/chunk-GJSL4WG2.js.map +1 -0
- package/dist/{chunk-2SXMCQEQ.js → chunk-GZQXOQQ2.js} +3 -3
- package/dist/{chunk-2KAYTPPT.js → chunk-HCVWF657.js} +12 -12
- package/dist/{chunk-N3DUH6OO.js → chunk-ILFSEIRT.js} +1 -1
- package/dist/chunk-ILFSEIRT.js.map +1 -0
- package/dist/{chunk-4KZGLDJJ.js → chunk-J3JPB7ZI.js} +2 -2
- package/dist/{chunk-3JJWNZTT.js → chunk-L2B3EE7B.js} +102 -42
- package/dist/chunk-L2B3EE7B.js.map +1 -0
- package/dist/{chunk-NFRBADNR.js → chunk-LA3HZKES.js} +610 -369
- package/dist/chunk-LA3HZKES.js.map +1 -0
- package/dist/{chunk-LQ6JI4VH.js → chunk-LD53WPMU.js} +4 -4
- package/dist/{chunk-URM3HW2R.js → chunk-LLUGAZ3B.js} +2 -2
- package/dist/{chunk-RVLB4E6N.js → chunk-MDBZTH7N.js} +5 -32
- package/dist/chunk-MDBZTH7N.js.map +1 -0
- package/dist/{chunk-U5H7WHTS.js → chunk-N77ELJ2D.js} +4 -4
- package/dist/{chunk-2VHMVWPU.js → chunk-NXRUUDUF.js} +2 -2
- package/dist/{chunk-DIFU33GU.js → chunk-OHTOPFRF.js} +2 -2
- package/dist/{chunk-74MYJSKB.js → chunk-ORAK3LNZ.js} +2 -2
- package/dist/{chunk-REWQAFSA.js → chunk-PD42EYQN.js} +2 -2
- package/dist/chunk-PHK3HARR.js +32 -0
- package/dist/chunk-PHK3HARR.js.map +1 -0
- package/dist/{chunk-773DPI6T.js → chunk-PKMQK2WY.js} +4 -4
- package/dist/{chunk-72VDBALG.js → chunk-QD6QP5P6.js} +63 -54
- package/dist/chunk-QD6QP5P6.js.map +1 -0
- package/dist/{chunk-CTOQEZSN.js → chunk-QR67FU5G.js} +2 -2
- package/dist/{chunk-AU7Q3LSC.js → chunk-RKNJBZ55.js} +7 -7
- package/dist/{chunk-YI7RZO7Y.js → chunk-SQNED75R.js} +1 -1
- package/dist/{chunk-5CEJH5ZN.js → chunk-TAPSNIMA.js} +4 -4
- package/dist/{chunk-IF362TF6.js → chunk-TQT3USCG.js} +2 -2
- package/dist/chunk-TQT3USCG.js.map +1 -0
- package/dist/{chunk-5RHM43BJ.js → chunk-TXQCG6SE.js} +3 -3
- package/dist/{chunk-ANI5DUAE.js → chunk-UIXXE6NI.js} +7 -7
- package/dist/{chunk-2COL35PK.js → chunk-UO5ZHIIH.js} +2 -2
- package/dist/{chunk-OJU73BUX.js → chunk-VCLGUIFM.js} +2 -2
- package/dist/{chunk-5J4OL7TJ.js → chunk-VUA4S7P6.js} +4 -4
- package/dist/{chunk-A66YRSOS.js → chunk-WQYSDPMA.js} +2 -2
- package/dist/chunk-XGTBNVIU.js +79 -0
- package/dist/chunk-XGTBNVIU.js.map +1 -0
- package/dist/{chunk-OZ2KQ7HF.js → chunk-YEE5KJQQ.js} +2 -2
- package/dist/chunk-YN2UN7N3.js +217 -0
- package/dist/chunk-YN2UN7N3.js.map +1 -0
- package/dist/{chunk-WRFKZEO6.js → chunk-YQGHW5ML.js} +4 -4
- package/dist/{chunk-APUJIMDM.js → chunk-Z4RU5VPM.js} +2 -2
- package/dist/{chunk-DCWIQFNA.js → chunk-ZUDM75KG.js} +4 -4
- package/dist/{cli-1orcdXOY.d.ts → cli-P_GaYcCY.d.ts} +3 -3
- package/dist/cli.d.ts +9 -6
- package/dist/cli.js +67 -63
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +12 -10
- 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 +4 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +12 -10
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +13 -11
- 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/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/backend.js +2 -2
- 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/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +12 -10
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +11 -8
- package/dist/extraction-faithfulness.d.ts +8 -2
- package/dist/extraction-faithfulness.js +4 -3
- 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-judge.js +3 -3
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +5 -4
- package/dist/faithfulness-config.d.ts +55 -0
- package/dist/faithfulness-config.js +11 -0
- package/dist/faithfulness-config.js.map +1 -0
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{forget-U66KPDPY.js → forget-OEE5OELK.js} +2 -2
- package/dist/graph-dashboard-diff.d.ts +4 -0
- package/dist/graph-dashboard-key.d.ts +4 -0
- package/dist/graph-dashboard-parser.d.ts +4 -0
- package/dist/{graph-edge-decay-JLOF3YW4.js → graph-edge-decay-QPRJQ7DL.js} +3 -3
- package/dist/graph-edge-reinforcement.d.ts +4 -0
- package/dist/graph-snapshot.d.ts +7 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +7 -1
- package/dist/graph.js +2 -2
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +571 -570
- package/dist/index.js +104 -99
- 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/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +4 -4
- 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 +96 -0
- package/dist/local-model-endpoint.js +12 -0
- package/dist/local-model-endpoint.js.map +1 -0
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +12 -10
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -10
- package/dist/maintenance/rebuild-memory-projection.js +13 -11
- package/dist/mcp-memory-inspector-app.d.ts +11 -8
- 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 +22 -20
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +12 -10
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -2
- package/dist/operator-toolkit.js +32 -28
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +14 -12
- package/dist/{orchestrator-kOxredSr.d.ts → orchestrator-f5xv19kp.d.ts} +178 -81
- package/dist/orchestrator.d.ts +8 -5
- package/dist/orchestrator.js +56 -52
- 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 +2 -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-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-planner-llm.js +2 -2
- 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-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +18 -1
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +5 -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/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +8 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +14 -14
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-B58v3S-a.d.ts → semantic-consolidation-BQm1e1Pn.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +13 -11
- package/dist/semantic-rule-promotion.js +12 -10
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +12 -10
- 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 +45 -1
- package/dist/storage.js +11 -9
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- 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/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +1 -1
- package/dist/trust-score-stage.d.ts +178 -0
- package/dist/trust-score-stage.js +18 -0
- package/dist/trust-score-stage.js.map +1 -0
- package/dist/trust-score.d.ts +164 -0
- package/dist/trust-score.js +22 -0
- package/dist/trust-score.js.map +1 -0
- package/dist/{types-ACmDOScJ.d.ts → types-DwO1Ot4n.d.ts} +56 -2
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +12 -10
- package/package.json +2 -2
- package/src/access-service.ts +8 -5
- package/src/capabilities-cluster-b.test.ts +78 -0
- package/src/capabilities.test.ts +11 -1
- package/src/capabilities.ts +58 -0
- package/src/cli/research-status-commands.ts +7 -3
- package/src/cli.ts +11 -6
- package/src/config.ts +60 -30
- package/src/extraction-faithfulness.test.ts +175 -0
- package/src/extraction-faithfulness.ts +53 -1
- package/src/faithfulness-config.test.ts +96 -0
- package/src/faithfulness-config.ts +138 -0
- package/src/graph-snapshot.ts +3 -3
- package/src/graph.ts +8 -7
- package/src/lifecycle/tombstones.test.ts +242 -1
- package/src/lifecycle/tombstones.ts +157 -70
- package/src/local-model-endpoint.test.ts +155 -0
- package/src/local-model-endpoint.ts +189 -0
- package/src/operator-toolkit.ts +24 -7
- package/src/orchestration/tier-migration-coordinator.ts +286 -0
- package/src/orchestrator.ts +331 -222
- package/src/recall-xray.test.ts +62 -0
- package/src/recall-xray.ts +34 -0
- package/src/trust-score-recall-paths.test.ts +157 -0
- package/src/trust-score-stage.test.ts +350 -0
- package/src/trust-score-stage.ts +398 -0
- package/src/trust-score.test.ts +282 -0
- package/src/trust-score.ts +449 -0
- package/src/types.ts +61 -1
- package/dist/chunk-3JJWNZTT.js.map +0 -1
- package/dist/chunk-72VDBALG.js.map +0 -1
- package/dist/chunk-A5TUPZ3N.js.map +0 -1
- package/dist/chunk-F3PVXKHP.js.map +0 -1
- package/dist/chunk-FEB7W5JG.js.map +0 -1
- package/dist/chunk-IF362TF6.js.map +0 -1
- package/dist/chunk-L5ASZA2F.js.map +0 -1
- package/dist/chunk-N3DUH6OO.js.map +0 -1
- package/dist/chunk-NFRBADNR.js.map +0 -1
- package/dist/chunk-PBH4JUAB.js.map +0 -1
- package/dist/chunk-RVLB4E6N.js.map +0 -1
- package/dist/chunk-UCJ5CDTK.js.map +0 -1
- package/dist/chunk-YGKUAX2B.js.map +0 -1
- /package/dist/{auto-sync-24NNS3GU.js.map → auto-sync-F3KCSQFJ.js.map} +0 -0
- /package/dist/{chunk-TH7WMHVK.js.map → chunk-3NN73CM7.js.map} +0 -0
- /package/dist/{chunk-DGTDRIUO.js.map → chunk-4T3BMHKD.js.map} +0 -0
- /package/dist/{chunk-EH27LHML.js.map → chunk-5O42UKXI.js.map} +0 -0
- /package/dist/{chunk-KRGC4EDX.js.map → chunk-6FAMMBQ3.js.map} +0 -0
- /package/dist/{chunk-67HG7KFE.js.map → chunk-6YKIYQU7.js.map} +0 -0
- /package/dist/{chunk-LXSG4L55.js.map → chunk-7CTNUVHZ.js.map} +0 -0
- /package/dist/{chunk-7EEVXW7X.js.map → chunk-A7TJZLPK.js.map} +0 -0
- /package/dist/{chunk-P5IPFZVH.js.map → chunk-B7WISIAJ.js.map} +0 -0
- /package/dist/{chunk-JAKYZGV4.js.map → chunk-BXEOHV7K.js.map} +0 -0
- /package/dist/{chunk-S3OPGGZB.js.map → chunk-D7EBTQ24.js.map} +0 -0
- /package/dist/{chunk-IO5NQEGZ.js.map → chunk-DKT3X5C3.js.map} +0 -0
- /package/dist/{chunk-S35FX6MU.js.map → chunk-EBDA5TYA.js.map} +0 -0
- /package/dist/{chunk-2PTBLS2S.js.map → chunk-EDOQM4E4.js.map} +0 -0
- /package/dist/{chunk-YTZLBBEB.js.map → chunk-EEJMD2L2.js.map} +0 -0
- /package/dist/{chunk-JIZGYQYH.js.map → chunk-EM2LDXJ2.js.map} +0 -0
- /package/dist/{chunk-YYOK4GVF.js.map → chunk-EVPNWN7Z.js.map} +0 -0
- /package/dist/{chunk-HLIR3RJ7.js.map → chunk-EXUCUPV2.js.map} +0 -0
- /package/dist/{chunk-2SXMCQEQ.js.map → chunk-GZQXOQQ2.js.map} +0 -0
- /package/dist/{chunk-2KAYTPPT.js.map → chunk-HCVWF657.js.map} +0 -0
- /package/dist/{chunk-4KZGLDJJ.js.map → chunk-J3JPB7ZI.js.map} +0 -0
- /package/dist/{chunk-LQ6JI4VH.js.map → chunk-LD53WPMU.js.map} +0 -0
- /package/dist/{chunk-URM3HW2R.js.map → chunk-LLUGAZ3B.js.map} +0 -0
- /package/dist/{chunk-U5H7WHTS.js.map → chunk-N77ELJ2D.js.map} +0 -0
- /package/dist/{chunk-2VHMVWPU.js.map → chunk-NXRUUDUF.js.map} +0 -0
- /package/dist/{chunk-DIFU33GU.js.map → chunk-OHTOPFRF.js.map} +0 -0
- /package/dist/{chunk-74MYJSKB.js.map → chunk-ORAK3LNZ.js.map} +0 -0
- /package/dist/{chunk-REWQAFSA.js.map → chunk-PD42EYQN.js.map} +0 -0
- /package/dist/{chunk-773DPI6T.js.map → chunk-PKMQK2WY.js.map} +0 -0
- /package/dist/{chunk-CTOQEZSN.js.map → chunk-QR67FU5G.js.map} +0 -0
- /package/dist/{chunk-AU7Q3LSC.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-YI7RZO7Y.js.map → chunk-SQNED75R.js.map} +0 -0
- /package/dist/{chunk-5CEJH5ZN.js.map → chunk-TAPSNIMA.js.map} +0 -0
- /package/dist/{chunk-5RHM43BJ.js.map → chunk-TXQCG6SE.js.map} +0 -0
- /package/dist/{chunk-ANI5DUAE.js.map → chunk-UIXXE6NI.js.map} +0 -0
- /package/dist/{chunk-2COL35PK.js.map → chunk-UO5ZHIIH.js.map} +0 -0
- /package/dist/{chunk-OJU73BUX.js.map → chunk-VCLGUIFM.js.map} +0 -0
- /package/dist/{chunk-5J4OL7TJ.js.map → chunk-VUA4S7P6.js.map} +0 -0
- /package/dist/{chunk-A66YRSOS.js.map → chunk-WQYSDPMA.js.map} +0 -0
- /package/dist/{chunk-OZ2KQ7HF.js.map → chunk-YEE5KJQQ.js.map} +0 -0
- /package/dist/{chunk-WRFKZEO6.js.map → chunk-YQGHW5ML.js.map} +0 -0
- /package/dist/{chunk-APUJIMDM.js.map → chunk-Z4RU5VPM.js.map} +0 -0
- /package/dist/{chunk-DCWIQFNA.js.map → chunk-ZUDM75KG.js.map} +0 -0
- /package/dist/{forget-U66KPDPY.js.map → forget-OEE5OELK.js.map} +0 -0
- /package/dist/{graph-edge-decay-JLOF3YW4.js.map → graph-edge-decay-QPRJQ7DL.js.map} +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { TrustSignals, TrustScoreResult, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
+
import { F as FaithfulnessFrontmatter, ai as ProvenanceSource, ao as TrustWeights } from './types-DwO1Ot4n.js';
|
|
3
|
+
import './types-gb_SNtjR.js';
|
|
4
|
+
import './message-parts/index.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* trust-score-stage.ts — signal adapters + recall pipeline stage (issue #1577 PR 2).
|
|
8
|
+
*
|
|
9
|
+
* This module sits between the pure {@link computeTrustScore} scorer and the
|
|
10
|
+
* recall pipeline. It owns TWO jobs:
|
|
11
|
+
*
|
|
12
|
+
* 1. **Signal adapters** — read each trust signal via existing readers only
|
|
13
|
+
* (`buildMemoryWorthCounterMap`-style frontmatter scan, faithfulness /
|
|
14
|
+
* provenance / sources frontmatter from #1575/#1576). No new disk format,
|
|
15
|
+
* no new write path. Expensive / optional signals (belief-ledger domain
|
|
16
|
+
* calibration, contradiction review queue) are extension points that
|
|
17
|
+
* return `undefined` when unwired — the scorer degrades to neutral for
|
|
18
|
+
* any absent signal (rule 34).
|
|
19
|
+
*
|
|
20
|
+
* 2. **The recall stage** — apply `trustMultiplier(trust.score)` to each
|
|
21
|
+
* candidate, exclude `quarantine`-band items from injection, and surface
|
|
22
|
+
* the per-result `{ score, band, components }` so X-ray and the epistemic
|
|
23
|
+
* renderer can explain the basis.
|
|
24
|
+
*
|
|
25
|
+
* Mutual exclusion with the Memory Worth filter (rule 39 — one multiplier, one
|
|
26
|
+
* application point): when this stage runs, the standalone memory-worth filter
|
|
27
|
+
* MUST NOT also run. The orchestrator enforces that at the wiring site
|
|
28
|
+
* (`if (caps.recallTrustScore) … else if (caps.recallMemoryWorthFilter) …`);
|
|
29
|
+
* the `double-multiplier` test below pins it structurally.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Frontmatter projection the adapter reads. Kept narrow + structural so it can
|
|
34
|
+
* be fed from a `MemoryFrontmatter`, a bench fixture, or a test stub without
|
|
35
|
+
* pulling the full frontmatter type graph into the stage module.
|
|
36
|
+
*/
|
|
37
|
+
interface TrustFrontmatterProjection {
|
|
38
|
+
mw_success?: number;
|
|
39
|
+
mw_fail?: number;
|
|
40
|
+
lastAccessed?: string | null;
|
|
41
|
+
provenance?: "verified" | "unverified" | "none";
|
|
42
|
+
faithfulness?: FaithfulnessFrontmatter;
|
|
43
|
+
sources?: ProvenanceSource[];
|
|
44
|
+
/** Optional ISO creation/observation timestamp used for recency. */
|
|
45
|
+
observedAt?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Build a `path → TrustSignals` map from an in-memory frontmatter scan. The
|
|
49
|
+
* caller passes the memories already read for the memory-worth counter map so
|
|
50
|
+
* we do not re-read the namespace. Pure: no I/O, takes `now` explicitly.
|
|
51
|
+
*/
|
|
52
|
+
declare function buildTrustSignalMap(memories: ReadonlyArray<{
|
|
53
|
+
path: string;
|
|
54
|
+
frontmatter: TrustFrontmatterProjection;
|
|
55
|
+
}>, now: Date, options?: {
|
|
56
|
+
recencyHalfLifeDays?: number;
|
|
57
|
+
}): Map<string, TrustSignals>;
|
|
58
|
+
/** A scored recall candidate (mirrors `MemoryWorthFilterCandidate`). */
|
|
59
|
+
interface TrustStageCandidate {
|
|
60
|
+
path: string;
|
|
61
|
+
score: number;
|
|
62
|
+
}
|
|
63
|
+
/** One candidate after the TrustScore stage. */
|
|
64
|
+
interface TrustStageResultItem {
|
|
65
|
+
path: string;
|
|
66
|
+
/** Final score after the trust multiplier is applied. */
|
|
67
|
+
score: number;
|
|
68
|
+
/** The untouched input score — for telemetry / X-ray. */
|
|
69
|
+
originalScore: number;
|
|
70
|
+
/** The multiplier applied (exactly `1.0` for neutral / quarantined-kept). */
|
|
71
|
+
multiplier: number;
|
|
72
|
+
/** The full TrustScore result for X-ray + epistemic rendering. */
|
|
73
|
+
trust: TrustScoreResult;
|
|
74
|
+
/** `true` when the item was excluded from injection by quarantine. */
|
|
75
|
+
quarantined: boolean;
|
|
76
|
+
}
|
|
77
|
+
interface TrustStageOptions {
|
|
78
|
+
/** `path → TrustSignals`. Candidates absent from the map score neutral. */
|
|
79
|
+
signals: ReadonlyMap<string, TrustSignals>;
|
|
80
|
+
weights?: TrustWeights;
|
|
81
|
+
/** Multiplier bounds; see {@link trustMultiplier}. */
|
|
82
|
+
minMultiplier?: number;
|
|
83
|
+
maxMultiplier?: number;
|
|
84
|
+
/**
|
|
85
|
+
* When `true` (default), `quarantine`-band items are excluded from the
|
|
86
|
+
* returned (injected) list but still appear in {@link TrustStageOutput.all}
|
|
87
|
+
* with `quarantined: true` so X-ray can surface them with a reason.
|
|
88
|
+
* Only effective when the stage is active at all.
|
|
89
|
+
*/
|
|
90
|
+
quarantine?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Re-sort admitted candidates by descending multiplied score. Default `true`.
|
|
93
|
+
* When `false`, admitted items keep input order; quarantined items are still
|
|
94
|
+
* separated out.
|
|
95
|
+
*/
|
|
96
|
+
reorder?: boolean;
|
|
97
|
+
}
|
|
98
|
+
/** Output of {@link applyTrustScoreStage}. */
|
|
99
|
+
interface TrustStageOutput {
|
|
100
|
+
/** Admitted (injectable) candidates, score-multiplied and optionally sorted. */
|
|
101
|
+
admitted: TrustStageResultItem[];
|
|
102
|
+
/**
|
|
103
|
+
* Quarantined candidates — excluded from injection but visible to X-ray with
|
|
104
|
+
* the reason (rule 34 — exclusion must never look like "no result"). Callers
|
|
105
|
+
* that only need the injected list read `admitted`; X-ray reads `all`.
|
|
106
|
+
*/
|
|
107
|
+
quarantined: TrustStageResultItem[];
|
|
108
|
+
/** Every candidate (admitted + quarantined) in input order, for X-ray. */
|
|
109
|
+
all: TrustStageResultItem[];
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Apply the unified TrustScore stage: score each candidate, multiply its base
|
|
113
|
+
* score by `trustMultiplier(trust.score)`, and separate hard-negative
|
|
114
|
+
* (quarantine) items from the injectable set.
|
|
115
|
+
*
|
|
116
|
+
* Neutral candidates (no signals → multiplier `1.0`) are mathematically
|
|
117
|
+
* untouched, preserving byte-identical ranking for uninstrumented memories
|
|
118
|
+
* when the feature is ON (and the whole stage is skipped when OFF — rule 39).
|
|
119
|
+
*/
|
|
120
|
+
declare function applyTrustScoreStage(candidates: readonly TrustStageCandidate[], options: TrustStageOptions): TrustStageOutput;
|
|
121
|
+
/**
|
|
122
|
+
* Compact X-ray projection of one stage item. Kept separate from the full
|
|
123
|
+
* `TrustScoreResult` so the X-ray snapshot type stays narrow and serializable,
|
|
124
|
+
* and so the renderer never depends on the scorer's internal component map
|
|
125
|
+
* shape beyond `{ value, weight }`.
|
|
126
|
+
*/
|
|
127
|
+
interface TrustXrayProjection {
|
|
128
|
+
score: number;
|
|
129
|
+
band: TrustBand;
|
|
130
|
+
components: Record<string, TrustScoreComponent>;
|
|
131
|
+
multiplier: number;
|
|
132
|
+
quarantined: boolean;
|
|
133
|
+
/** Human-readable exclusion reason, present only when quarantined. */
|
|
134
|
+
quarantineReason?: string;
|
|
135
|
+
}
|
|
136
|
+
/** Build the X-ray projection for one stage result item. */
|
|
137
|
+
declare function projectTrustForXray(item: TrustStageResultItem): TrustXrayProjection;
|
|
138
|
+
/** Deterministic, component-derived reason a memory was quarantined. */
|
|
139
|
+
declare function explainQuarantine(trust: TrustScoreResult): string;
|
|
140
|
+
/**
|
|
141
|
+
* Narrow callbacks the signal builder needs from its host (the orchestrator).
|
|
142
|
+
* Kept as interfaces so the module stays pure-testable: the host binds
|
|
143
|
+
* `getStorage` / `readQmdResultMemory` into these and the builder owns cache
|
|
144
|
+
* management, namespace iteration, and the cold-tier direct fallback.
|
|
145
|
+
*/
|
|
146
|
+
interface TrustScoreRerankDeps {
|
|
147
|
+
/** Read every memory in a namespace for the hot-tier signal scan. */
|
|
148
|
+
readNamespaceMemories(namespace: string): Promise<ReadonlyArray<{
|
|
149
|
+
path: string;
|
|
150
|
+
frontmatter: TrustFrontmatterProjection;
|
|
151
|
+
}>>;
|
|
152
|
+
/** Read one memory's frontmatter by path (cold-tier direct fallback). */
|
|
153
|
+
readMemoryFrontmatter(path: string): Promise<TrustFrontmatterProjection | null>;
|
|
154
|
+
}
|
|
155
|
+
/** Per-namespace signal cache the host owns and the builder mutates. */
|
|
156
|
+
interface TrustScoreSignalCache {
|
|
157
|
+
cache: Map<string, {
|
|
158
|
+
at: number;
|
|
159
|
+
signals: ReadonlyMap<string, TrustSignals>;
|
|
160
|
+
}>;
|
|
161
|
+
ttlMs: number;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Build the `path → TrustSignals` map for recall candidates using a
|
|
165
|
+
* per-namespace cache plus a direct-path fallback for cold-tier candidates
|
|
166
|
+
* absent from the hot scan. Extracted from the orchestrator (issue #1577) so
|
|
167
|
+
* the god file carries only thin wiring — the scoring itself is
|
|
168
|
+
* {@link applyTrustScoreStage}.
|
|
169
|
+
*
|
|
170
|
+
* Fail-open: a single unreadable namespace or memory is logged and skipped so
|
|
171
|
+
* a storage hiccup never breaks recall (mirrors `memory-worth-filter.ts`).
|
|
172
|
+
*/
|
|
173
|
+
declare function buildTrustSignalsForRerank(candidatePaths: readonly string[], namespaces: readonly string[], deps: TrustScoreRerankDeps, signalCache: TrustScoreSignalCache, now: Date, options?: {
|
|
174
|
+
recencyHalfLifeDays?: number;
|
|
175
|
+
logDebug?: (message: string, context: Record<string, unknown>) => void;
|
|
176
|
+
}): Promise<Map<string, TrustSignals>>;
|
|
177
|
+
|
|
178
|
+
export { type TrustFrontmatterProjection, type TrustScoreRerankDeps, type TrustScoreSignalCache, type TrustStageCandidate, type TrustStageOptions, type TrustStageOutput, type TrustStageResultItem, type TrustXrayProjection, applyTrustScoreStage, buildTrustSignalMap, buildTrustSignalsForRerank, explainQuarantine, projectTrustForXray };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyTrustScoreStage,
|
|
3
|
+
buildTrustSignalMap,
|
|
4
|
+
buildTrustSignalsForRerank,
|
|
5
|
+
explainQuarantine,
|
|
6
|
+
projectTrustForXray
|
|
7
|
+
} from "./chunk-BCDKBDSY.js";
|
|
8
|
+
import "./chunk-YN2UN7N3.js";
|
|
9
|
+
import "./chunk-IISBCCWR.js";
|
|
10
|
+
import "./chunk-PZ5AY32C.js";
|
|
11
|
+
export {
|
|
12
|
+
applyTrustScoreStage,
|
|
13
|
+
buildTrustSignalMap,
|
|
14
|
+
buildTrustSignalsForRerank,
|
|
15
|
+
explainQuarantine,
|
|
16
|
+
projectTrustForXray
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=trust-score-stage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ao as TrustWeights } from './types-DwO1Ot4n.js';
|
|
2
|
+
import './types-gb_SNtjR.js';
|
|
3
|
+
import './message-parts/index.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* trust-score.ts — unified TrustScore pure module (issue #1577 PR 1).
|
|
7
|
+
*
|
|
8
|
+
* Combines the trust-relevant signals Remnic already computes — memory worth
|
|
9
|
+
* (Laplace-smoothed outcome probability + recency decay), provenance strength,
|
|
10
|
+
* faithfulness verdict, corroboration count, contradiction status, and optional
|
|
11
|
+
* domain calibration — into ONE deterministic score in `[0, 1]` plus a band
|
|
12
|
+
* (`high` / `medium` / `low` / `quarantine`) and a fully-explained component
|
|
13
|
+
* breakdown for X-ray.
|
|
14
|
+
*
|
|
15
|
+
* Contract rules (mirror the battle-tested `memory-worth.ts` "corrupt inputs
|
|
16
|
+
* fail safely" header — read it before changing anything here):
|
|
17
|
+
*
|
|
18
|
+
* 1. **No signals → neutral.** An empty `TrustSignals` yields score `0.5`,
|
|
19
|
+
* band `medium`, and a recall multiplier of exactly `1.0`. Uninstrumented
|
|
20
|
+
* memories are NEVER penalized (rule 39 — byte-identical ranking when the
|
|
21
|
+
* feature is off; neutral prior when on but a memory has no data).
|
|
22
|
+
* 2. **Corrupt / out-of-range component → that component collapses to
|
|
23
|
+
* neutral**, never to an extreme. A `NaN` weight or a `corroborationCount`
|
|
24
|
+
* of `-3` is treated as "no signal", not as damning evidence. Precedent:
|
|
25
|
+
* `memory-worth.ts` `classifyCounter`.
|
|
26
|
+
* 3. **Deterministic.** Same inputs → identical result. All weights come from
|
|
27
|
+
* the caller (config); no wall clock, no RNG, no hidden constants.
|
|
28
|
+
* 4. **Explainable.** Every active component is echoed in the result with its
|
|
29
|
+
* normalized weight and contribution, so X-ray can render the basis
|
|
30
|
+
* without re-deriving the math.
|
|
31
|
+
* 5. **`quarantine` is reserved for hard negatives** — `faithfulness:
|
|
32
|
+
* "contradicted"` or `contradiction: "pending_review"`. Quarantined items
|
|
33
|
+
* are excluded from injection but MUST stay visible in X-ray with the
|
|
34
|
+
* reason (rule 34 — exclusion must never look like "no result").
|
|
35
|
+
*
|
|
36
|
+
* This module is deliberately framework-free: it takes already-collected
|
|
37
|
+
* signals and config weights, returns a score. The signal ADAPTERS (reading
|
|
38
|
+
* frontmatter / counters / review queues) live in `trust-score-stage.ts` so
|
|
39
|
+
* this file stays pure and trivially property-testable.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* Per-component weights. Defined canonically in `types.ts` (the PluginConfig
|
|
43
|
+
* home) and re-exported here so callers of the pure scorer don't need a second
|
|
44
|
+
* import path. Every field is optional and defaults to
|
|
45
|
+
* `DEFAULT_TRUST_WEIGHTS`; weights are sum-normalized at score time, so only
|
|
46
|
+
* their relative magnitudes matter (rule 51: invalid weight rejected at config
|
|
47
|
+
* parse, here we only defend against runtime corruption).
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Default per-component weights. Chosen so that, with all signals at neutral,
|
|
52
|
+
* the score is exactly `0.5`. Sum-normalized at compute time. These are the
|
|
53
|
+
* documented defaults; operators override via `trustScore.weights.*` config.
|
|
54
|
+
*/
|
|
55
|
+
declare const DEFAULT_TRUST_WEIGHTS: Required<TrustWeights>;
|
|
56
|
+
/**
|
|
57
|
+
* All trust-relevant signals for ONE memory. Every field is optional — the
|
|
58
|
+
* scorer degrades to neutral for any absent or corrupt signal (rule 34).
|
|
59
|
+
*/
|
|
60
|
+
interface TrustSignals {
|
|
61
|
+
/** Memory-worth result (Laplace success prob + confidence). */
|
|
62
|
+
memoryWorth?: {
|
|
63
|
+
score: number;
|
|
64
|
+
confidence: number;
|
|
65
|
+
};
|
|
66
|
+
/** Thumbs feedback tallies. */
|
|
67
|
+
feedback?: {
|
|
68
|
+
up: number;
|
|
69
|
+
down: number;
|
|
70
|
+
};
|
|
71
|
+
/** Contradiction review queue status. */
|
|
72
|
+
contradiction?: "none" | "pending_review" | "resolved_kept" | "resolved_superseded";
|
|
73
|
+
/** Claim-level provenance strength (#1575). */
|
|
74
|
+
provenance?: "verified" | "unverified" | "none";
|
|
75
|
+
/** Faithfulness gate verdict (#1576). */
|
|
76
|
+
faithfulness?: "entailed" | "contradicted" | "unsupported" | "unchecked";
|
|
77
|
+
/** Count of distinct source turns/sessions corroborating the fact. */
|
|
78
|
+
corroborationCount?: number;
|
|
79
|
+
/** Belief-ledger accuracy for the memory's domain, `0..1`. */
|
|
80
|
+
domainCalibration?: number;
|
|
81
|
+
/** Age in days vs a per-category half-life (caller computes). */
|
|
82
|
+
ageDays?: number;
|
|
83
|
+
/** Half-life (days) for recency decay; the caller supplies the per-category value. */
|
|
84
|
+
recencyHalfLifeDays?: number;
|
|
85
|
+
}
|
|
86
|
+
/** Trust band, coarse-grained for injection hedging and X-ray grouping. */
|
|
87
|
+
type TrustBand = "high" | "medium" | "low" | "quarantine";
|
|
88
|
+
/**
|
|
89
|
+
* One component's contribution to the final score, for full explainability.
|
|
90
|
+
* `value` is the normalized `[0,1]` signal contribution; `weight` is the
|
|
91
|
+
* sum-normalized weight that was applied.
|
|
92
|
+
*/
|
|
93
|
+
interface TrustScoreComponent {
|
|
94
|
+
value: number;
|
|
95
|
+
weight: number;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Full TrustScore result. `score` is the weighted blend in `[0,1]`; `band` is
|
|
99
|
+
* the coarse category; `components` echoes every active component so X-ray /
|
|
100
|
+
* epistemic rendering can explain the basis without re-deriving it.
|
|
101
|
+
*/
|
|
102
|
+
interface TrustScoreResult {
|
|
103
|
+
score: number;
|
|
104
|
+
band: TrustBand;
|
|
105
|
+
components: Record<string, TrustScoreComponent>;
|
|
106
|
+
/**
|
|
107
|
+
* `true` when the result is the neutral prior (no usable signals). Lets the
|
|
108
|
+
* multiplier short-circuit to exactly `1.0` and the epistemic renderer skip
|
|
109
|
+
* the hedge for the common uninstrumented case.
|
|
110
|
+
*/
|
|
111
|
+
neutral: boolean;
|
|
112
|
+
}
|
|
113
|
+
/** Band thresholds on the blended score. */
|
|
114
|
+
declare const TRUST_BAND_THRESHOLDS: {
|
|
115
|
+
readonly high: 0.7;
|
|
116
|
+
readonly medium: 0.45;
|
|
117
|
+
readonly low: 0.2;
|
|
118
|
+
};
|
|
119
|
+
/** Neutral prior: the score an empty-signal memory receives. */
|
|
120
|
+
declare const NEUTRAL_TRUST_SCORE = 0.5;
|
|
121
|
+
/**
|
|
122
|
+
* Merge caller weights over the defaults, dropping corrupt entries. Exposed for
|
|
123
|
+
* config parse so an invalid weight is rejected once at the boundary (rule 51
|
|
124
|
+
* spirit) — but the scorer defends again here so a hand-built bench fixture
|
|
125
|
+
* cannot poison the math.
|
|
126
|
+
*/
|
|
127
|
+
declare function resolveTrustWeights(override: Readonly<TrustWeights> | undefined): Required<TrustWeights>;
|
|
128
|
+
/**
|
|
129
|
+
* Compute the unified TrustScore for one memory.
|
|
130
|
+
*
|
|
131
|
+
* Returns the neutral prior (`0.5`, band `medium`, `neutral: true`) when no
|
|
132
|
+
* usable signal is present, so uninstrumented memories are untouched.
|
|
133
|
+
*/
|
|
134
|
+
declare function computeTrustScore(signals?: TrustSignals, weights?: Readonly<TrustWeights>): TrustScoreResult;
|
|
135
|
+
/**
|
|
136
|
+
* Resolve the band from the blended score, accounting for hard-negative
|
|
137
|
+
* quarantine. Extracted so the thresholds live in ONE place (X-ray, injection,
|
|
138
|
+
* and tests all agree on the mapping).
|
|
139
|
+
*/
|
|
140
|
+
declare function bandForScore(score: number, hardNegative: boolean): TrustBand;
|
|
141
|
+
/**
|
|
142
|
+
* Map a `[0,1]` trust score to a recall multiplier in
|
|
143
|
+
* `[minMultiplier, maxMultiplier]`. The neutral prior (`0.5`) maps to exactly
|
|
144
|
+
* `1.0` so uninstrumented memories are untouched. Linear interpolation centered
|
|
145
|
+
* at neutral:
|
|
146
|
+
*
|
|
147
|
+
* score < 0.5 → multiplier in [min, 1)
|
|
148
|
+
* score = 0.5 → 1.0
|
|
149
|
+
* score > 0.5 → multiplier in (1, max]
|
|
150
|
+
*/
|
|
151
|
+
declare function trustMultiplier(score: number, minMultiplier?: number, maxMultiplier?: number): number;
|
|
152
|
+
/**
|
|
153
|
+
* Deterministic epistemic hedge suffix for an injected memory line, generated
|
|
154
|
+
* from the trust components (template, not LLM). Returns the empty string for
|
|
155
|
+
* the `high` band and for neutral results so the common case wastes no tokens.
|
|
156
|
+
*
|
|
157
|
+
* Examples:
|
|
158
|
+
* high → ""
|
|
159
|
+
* medium → "(unconfirmed — single mention, 2025-11)"
|
|
160
|
+
* low → "(low confidence — contradicted once, uncorroborated)"
|
|
161
|
+
*/
|
|
162
|
+
declare function renderEpistemicHedge(result: TrustScoreResult): string;
|
|
163
|
+
|
|
164
|
+
export { DEFAULT_TRUST_WEIGHTS, NEUTRAL_TRUST_SCORE, TRUST_BAND_THRESHOLDS, type TrustBand, type TrustScoreComponent, type TrustScoreResult, type TrustSignals, TrustWeights, bandForScore, computeTrustScore, renderEpistemicHedge, resolveTrustWeights, trustMultiplier };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_TRUST_WEIGHTS,
|
|
3
|
+
NEUTRAL_TRUST_SCORE,
|
|
4
|
+
TRUST_BAND_THRESHOLDS,
|
|
5
|
+
bandForScore,
|
|
6
|
+
computeTrustScore,
|
|
7
|
+
renderEpistemicHedge,
|
|
8
|
+
resolveTrustWeights,
|
|
9
|
+
trustMultiplier
|
|
10
|
+
} from "./chunk-YN2UN7N3.js";
|
|
11
|
+
import "./chunk-PZ5AY32C.js";
|
|
12
|
+
export {
|
|
13
|
+
DEFAULT_TRUST_WEIGHTS,
|
|
14
|
+
NEUTRAL_TRUST_SCORE,
|
|
15
|
+
TRUST_BAND_THRESHOLDS,
|
|
16
|
+
bandForScore,
|
|
17
|
+
computeTrustScore,
|
|
18
|
+
renderEpistemicHedge,
|
|
19
|
+
resolveTrustWeights,
|
|
20
|
+
trustMultiplier
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=trust-score.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1261,6 +1261,26 @@ interface PluginConfig {
|
|
|
1261
1261
|
* once the benchmark shows precision tie-or-win.
|
|
1262
1262
|
*/
|
|
1263
1263
|
recallMemoryWorthFilterEnabled: boolean;
|
|
1264
|
+
/**
|
|
1265
|
+
* Master gate for the unified TrustScore recall stage. Default `false`: off
|
|
1266
|
+
* = the stage is absent and ranking is byte-identical to the pre-feature
|
|
1267
|
+
* pipeline (rule 39). Flip via #1574 ablation evidence only.
|
|
1268
|
+
*/
|
|
1269
|
+
trustScoreEnabled: boolean;
|
|
1270
|
+
/** Append epistemic hedge suffixes to injected memory lines. Separate gate. */
|
|
1271
|
+
trustScoreEpistemicRendering: boolean;
|
|
1272
|
+
/**
|
|
1273
|
+
* Exclude hard-negative (quarantine-band) items from injection. Default
|
|
1274
|
+
* `true`; only effective under the master gate. Quarantined items stay
|
|
1275
|
+
* visible in X-ray with a reason (rule 34).
|
|
1276
|
+
*/
|
|
1277
|
+
trustScoreQuarantine: boolean;
|
|
1278
|
+
/** Lower bound of the trust multiplier (default 0.5). */
|
|
1279
|
+
trustScoreMinMultiplier: number;
|
|
1280
|
+
/** Upper bound of the trust multiplier (default 1.25). */
|
|
1281
|
+
trustScoreMaxMultiplier: number;
|
|
1282
|
+
/** Per-component weights for the TrustScore blend; invalid weights rejected at parse. */
|
|
1283
|
+
trustScoreWeights: TrustWeights;
|
|
1264
1284
|
/**
|
|
1265
1285
|
* Recall-audit anomaly detector (issue #565 PR 5/5). When true,
|
|
1266
1286
|
* access surfaces run the anomaly detector over a tail of the audit
|
|
@@ -1431,12 +1451,30 @@ interface PluginConfig {
|
|
|
1431
1451
|
judgeTrainingDir: string;
|
|
1432
1452
|
/** Gate mode: "off" (default, byte-identical pre-feature), "shadow" (record only), "enforce" (route to pending_review). */
|
|
1433
1453
|
extractionFaithfulnessGate: "off" | "shadow" | "enforce";
|
|
1434
|
-
/** Override model
|
|
1454
|
+
/** Override model name; empty string = default routing chain. */
|
|
1435
1455
|
extractionFaithfulnessModel: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Base URL of a local openai-compatible endpoint serving a fine-tuned
|
|
1458
|
+
* faithfulness gate (issue #1585 model-lab), e.g.
|
|
1459
|
+
* `http://localhost:11434/v1` (Ollama) or `http://localhost:8000/v1` (vLLM).
|
|
1460
|
+
* Empty string (default) preserves the existing routing chain exactly;
|
|
1461
|
+
* set together with `extractionFaithfulnessModel` to route the gate to the
|
|
1462
|
+
* local model first, falling back to the chain on failure.
|
|
1463
|
+
*/
|
|
1464
|
+
extractionFaithfulnessBaseUrl: string;
|
|
1436
1465
|
/** Context window (chars) around the quote sent to the verifier. Default 400. */
|
|
1437
1466
|
extractionFaithfulnessContextChars: number;
|
|
1438
1467
|
/** Per-batch timeout in ms; timeout → tagged error, never blocks writes. Default 8000. */
|
|
1439
1468
|
extractionFaithfulnessTimeoutMs: number;
|
|
1469
|
+
/**
|
|
1470
|
+
* Correction-intent model-lab pointer (issue #1581 / #1585). When both this
|
|
1471
|
+
* and `correctionIntentBaseUrl` are set, the detection path can route to a
|
|
1472
|
+
* local fine-tuned correction-intent classifier. Empty default keeps the
|
|
1473
|
+
* rule-based passive-correction detector as the sole path (byte-identical).
|
|
1474
|
+
*/
|
|
1475
|
+
correctionIntentModel: string;
|
|
1476
|
+
/** Base URL of a local openai-compatible endpoint serving the correction-intent classifier (issue #1585). Empty default = rule-based detection. */
|
|
1477
|
+
correctionIntentBaseUrl: string;
|
|
1440
1478
|
hourlySummariesEnabled: boolean;
|
|
1441
1479
|
daySummaryEnabled: boolean;
|
|
1442
1480
|
/** Timezone override for the day summary cron (issue #1475). */
|
|
@@ -2884,6 +2922,22 @@ interface FaithfulnessFrontmatter {
|
|
|
2884
2922
|
/** ISO-8601 timestamp the check ran. */
|
|
2885
2923
|
at?: string;
|
|
2886
2924
|
}
|
|
2925
|
+
/**
|
|
2926
|
+
* Per-component weights for the unified TrustScore blend (issue #1577). Every
|
|
2927
|
+
* field is optional and defaults to the documented value in `trust-score.ts`;
|
|
2928
|
+
* weights are sum-normalized at score time so only relative magnitudes matter.
|
|
2929
|
+
* Invalid weights (non-finite, outside `[0,1]`) are rejected at config parse.
|
|
2930
|
+
*/
|
|
2931
|
+
interface TrustWeights {
|
|
2932
|
+
memoryWorth?: number;
|
|
2933
|
+
provenance?: number;
|
|
2934
|
+
faithfulness?: number;
|
|
2935
|
+
corroboration?: number;
|
|
2936
|
+
contradiction?: number;
|
|
2937
|
+
domainCalibration?: number;
|
|
2938
|
+
feedback?: number;
|
|
2939
|
+
recency?: number;
|
|
2940
|
+
}
|
|
2887
2941
|
/** Memory link relationship types */
|
|
2888
2942
|
type MemoryLinkType = "follows" | "references" | "contradicts" | "supports" | "related";
|
|
2889
2943
|
/** A link between memories */
|
|
@@ -3576,4 +3630,4 @@ interface HourlySummary {
|
|
|
3576
3630
|
generatedAt: string;
|
|
3577
3631
|
}
|
|
3578
3632
|
|
|
3579
|
-
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
|
|
3633
|
+
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 MemoryActionEligibilitySource 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 WearableCleanupSettings as aT, type WearableDayTranscriptMeta as aU, type BriefingConfig as aV, type BriefingOpenCommitment as aW, type BriefingWindow as aX, type CodexCompatConfig as aY, DEFAULT_RECALL_DISCLOSURE as aZ, type ExtractedFact 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 MemoryObservation as b0, type MemoryScope as b1, RECALL_DISCLOSURE_LEVELS as b2, type WearableAuthCheck as b3, type WearableFetchOptions as b4, type WearableFetchPage as b5, type WearableNativeMemoryPage as b6, type WearableTranscriptSegment as b7, isRecallDisclosure as b8, type AgentAccessHttpConfig 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 AgentDefaultsConfig as ba, type AgentPersona as bb, type BehaviorLoopAdjustment as bc, type BehaviorSignalDirection as bd, type BehaviorSignalType as be, type BriefingCalendarSourceError as bf, type BufferEntryState as bg, type CaptureMode as bh, type ChatConfig as bi, type CodexCliReasoningEffort as bj, type CodexCompactionFlushMode as bk, type CodexConnectorConfig as bl, type CodingKnowledgeConfig 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 {
|
|
3
|
+
export { av as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, J as AgentAccessAuthToken, b9 as AgentAccessHttpConfig, ba as AgentDefaultsConfig, bb as AgentPersona, j as AgentPersonaModelConfig, bc as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, bd as BehaviorSignalDirection, B as BehaviorSignalEvent, be as BehaviorSignalType, aI as BootstrapOptions, aJ as BootstrapResult, r as BriefingActiveThread, bf as BriefingCalendarSourceError, aV as BriefingConfig, p as BriefingFocus, o as BriefingFollowup, aW as BriefingOpenCommitment, t as BriefingRecentEntity, s as BriefingResult, n as BriefingSections, aX as BriefingWindow, bg as BufferEntryState, aq as BufferState, z as BufferSurpriseEvent, u as BufferTurn, q as CalendarEvent, C as CalendarSource, bh as CaptureMode, bi as ChatConfig, v as Checkpoint, bj as CodexCliReasoningEffort, bk as CodexCompactionFlushMode, aY as CodexCompatConfig, bl as CodexConnectorConfig, aH as CodingContext, bm 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, aZ 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, a$ 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, b0 as MemoryObservation, bX as MemoryOsPresetName, l as MemoryProjectionCurrentState, b1 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, b2 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, b8 as isRecallDisclosure } from './types-DwO1Ot4n.js';
|
package/dist/types.js
CHANGED
package/dist/verified-recall.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EBDA5TYA.js";
|
|
5
5
|
import "./chunk-7FL4CNPV.js";
|
|
6
6
|
import "./chunk-ZBJMUXZH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-EVPNWN7Z.js";
|
|
8
|
+
import "./chunk-L2B3EE7B.js";
|
|
9
9
|
import "./chunk-M7XQSUBB.js";
|
|
10
10
|
import "./chunk-5UZXUTVO.js";
|
|
11
11
|
import "./chunk-5GPPACXK.js";
|
|
@@ -14,29 +14,31 @@ import "./chunk-6CIAGZ6X.js";
|
|
|
14
14
|
import "./chunk-J6A3CX5N.js";
|
|
15
15
|
import "./chunk-SVOZFLIQ.js";
|
|
16
16
|
import "./chunk-LTJAMRGI.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ILFSEIRT.js";
|
|
18
|
+
import "./chunk-AWJ2FHCF.js";
|
|
19
|
+
import "./chunk-42JKGUFJ.js";
|
|
18
20
|
import "./chunk-RULE4VG5.js";
|
|
19
21
|
import "./chunk-SCU65EZI.js";
|
|
20
22
|
import "./chunk-MB5RSUW6.js";
|
|
21
23
|
import "./chunk-6KYMPV2O.js";
|
|
22
|
-
import "./chunk-AWJ2FHCF.js";
|
|
23
|
-
import "./chunk-42JKGUFJ.js";
|
|
24
24
|
import "./chunk-DM2T26WE.js";
|
|
25
25
|
import "./chunk-LDXUBPMO.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6OIDDKAA.js";
|
|
27
|
+
import "./chunk-XGTBNVIU.js";
|
|
27
28
|
import "./chunk-G7D6GZ5J.js";
|
|
28
29
|
import "./chunk-VF4XKTX3.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-VUA4S7P6.js";
|
|
30
31
|
import "./chunk-IQVQJJL7.js";
|
|
31
|
-
import "./chunk-VL7DP3OW.js";
|
|
32
32
|
import "./chunk-L2EXJQJP.js";
|
|
33
|
+
import "./chunk-VL7DP3OW.js";
|
|
33
34
|
import "./chunk-RGMVMVMF.js";
|
|
34
35
|
import "./chunk-N7RWREIQ.js";
|
|
35
36
|
import "./chunk-J2HSAU72.js";
|
|
36
37
|
import "./chunk-A6XUJE5D.js";
|
|
37
38
|
import "./chunk-P7FMDTKL.js";
|
|
38
39
|
import "./chunk-VS2IYZRU.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-MDBZTH7N.js";
|
|
41
|
+
import "./chunk-PHK3HARR.js";
|
|
40
42
|
import "./chunk-5GKPFL3S.js";
|
|
41
43
|
import "./chunk-4DJQYKMN.js";
|
|
42
44
|
import "./chunk-EYIEWJNI.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.721",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -2966,7 +2966,7 @@
|
|
|
2966
2966
|
"core"
|
|
2967
2967
|
],
|
|
2968
2968
|
"peerDependencies": {
|
|
2969
|
-
"@remnic/coding-graph": "^9.3.
|
|
2969
|
+
"@remnic/coding-graph": "^9.3.721"
|
|
2970
2970
|
},
|
|
2971
2971
|
"peerDependenciesMeta": {
|
|
2972
2972
|
"@remnic/coding-graph": {
|