@remnic/core 9.65.6 → 9.65.8
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-admin-ops-surface.d.ts +15 -13
- package/dist/access-admin-ops-surface.js +54 -54
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +15 -13
- package/dist/access-authorization-probe.js +55 -55
- package/dist/access-boundary.d.ts +15 -13
- package/dist/access-boundary.js +54 -54
- package/dist/access-cli.js +156 -148
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +2 -1
- package/dist/access-extraction-force-flush.d.ts +15 -13
- package/dist/access-extraction-force-flush.js +54 -54
- package/dist/access-health-types.d.ts +2 -1
- package/dist/access-http-lcm-compaction.d.ts +15 -13
- package/dist/access-http-lifecycle-flush.d.ts +15 -13
- package/dist/access-http-offline-stream.d.ts +15 -13
- package/dist/access-http-query.d.ts +3 -2
- package/dist/access-http-query.js +56 -56
- package/dist/access-http.d.ts +17 -20
- package/dist/access-http.js +75 -73
- package/dist/access-identity-continuity-surface.d.ts +13 -11
- package/dist/access-identity-continuity-surface.js +54 -54
- package/dist/access-lcm-surface.d.ts +15 -13
- package/dist/access-lcm-surface.js +54 -54
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +15 -13
- package/dist/access-mcp.js +66 -64
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-D_6mo8ms.d.ts → access-namespace-preflight-CpAOrS-9.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +54 -54
- package/dist/access-observe-write-surface.d.ts +15 -13
- package/dist/access-observe-write-surface.js +54 -54
- package/dist/access-offline-manifest.d.ts +13 -11
- package/dist/access-offline-manifest.js +6 -6
- package/dist/access-operations-batch.js +58 -58
- package/dist/access-operations.d.ts +21 -19
- package/dist/access-operations.js +63 -61
- package/dist/access-recall-concurrency.d.ts +15 -13
- package/dist/access-recall-concurrency.js +54 -54
- package/dist/access-recall-response.d.ts +15 -13
- package/dist/access-recall-response.js +54 -54
- package/dist/access-recall-surface.d.ts +15 -13
- package/dist/access-recall-surface.js +54 -54
- package/dist/access-schema.d.ts +83 -83
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-sbiNS5UB.d.ts → access-service-Diu61Cfv.d.ts} +72 -72
- package/dist/access-service-helpers.d.ts +15 -13
- package/dist/access-service.d.ts +15 -13
- package/dist/access-service.js +54 -54
- package/dist/access-surface-catalog.d.ts +15 -13
- package/dist/access-surface-catalog.js +66 -56
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +6 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-context-config.d.ts +27 -0
- package/dist/active-context-config.js +14 -0
- package/dist/active-context-transform.d.ts +267 -0
- package/dist/active-context-transform.js +31 -0
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +13 -12
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +2 -1
- package/dist/artifact-search.d.ts +2 -1
- package/dist/{auto-sync-XVMLL2RH.js → auto-sync-2YPITIWN.js} +6 -6
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +13 -11
- package/dist/briefing-window.d.ts +5 -2
- package/dist/briefing.d.ts +5 -2
- package/dist/briefing.js +25 -25
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer-turn-helpers.d.ts +2 -1
- package/dist/buffer.d.ts +5 -2
- package/dist/buffer.js +6 -6
- package/dist/bulk-import/index.d.ts +4 -3
- package/dist/calibration.d.ts +2 -1
- package/dist/capabilities.d.ts +2 -1
- package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-DO_7zfkv.d.ts → catalog-9f-vEQLS.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +4 -3
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +28 -28
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-NZPFCP5A.js → chunk-2PSX5BJU.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-2QSZNTDO.js} +4 -4
- package/dist/{chunk-X2DWBWOX.js → chunk-3A2NJP2U.js} +2 -2
- package/dist/chunk-3BCULS4U.js +1093 -0
- package/dist/chunk-3BCULS4U.js.map +1 -0
- package/dist/{chunk-JGG5HVI2.js → chunk-3PKAS6VL.js} +2 -2
- package/dist/{chunk-LSYD7GHZ.js → chunk-3SZD4CYO.js} +3 -3
- package/dist/chunk-43HUVDTD.js +114 -0
- package/dist/chunk-43HUVDTD.js.map +1 -0
- package/dist/{chunk-5TG4MU2U.js → chunk-4F4AQFWL.js} +8 -8
- package/dist/{chunk-D35XLYQ7.js → chunk-4QEYREAV.js} +12 -12
- package/dist/{chunk-46WM6JX2.js → chunk-4ZWCQJNM.js} +5 -5
- package/dist/{chunk-DVYRD4HY.js → chunk-5ACCD4L7.js} +30 -1
- package/dist/chunk-5ACCD4L7.js.map +1 -0
- package/dist/{chunk-W6J4POB6.js → chunk-5DHKCO52.js} +2 -2
- package/dist/{chunk-IRXMJLTW.js → chunk-5HK3CJAR.js} +2 -2
- package/dist/{chunk-NLUCDKLT.js → chunk-5RWZH6PH.js} +2 -2
- package/dist/{chunk-H7BZBSP6.js → chunk-645WOU5I.js} +4 -4
- package/dist/{chunk-AYAZWXJI.js → chunk-76DIF5KT.js} +2 -2
- package/dist/{chunk-OPPBTPUU.js → chunk-7KQB4EBS.js} +4 -4
- package/dist/{chunk-I2HTKOOP.js → chunk-7VZFRUQU.js} +3 -3
- package/dist/{chunk-DPNXADEI.js → chunk-7WOWGRAU.js} +11 -7
- package/dist/chunk-7WOWGRAU.js.map +1 -0
- package/dist/{chunk-JCWY73FK.js → chunk-AHPIFKNG.js} +2 -2
- package/dist/{chunk-FC7TIRFS.js → chunk-AX7UXCHJ.js} +6 -1
- package/dist/chunk-AX7UXCHJ.js.map +1 -0
- package/dist/{chunk-3I22VWB3.js → chunk-AZMLH5UT.js} +2 -2
- package/dist/chunk-B32WYRXX.js +77 -0
- package/dist/chunk-B32WYRXX.js.map +1 -0
- package/dist/{chunk-JOEJG4SD.js → chunk-BEC4YBNA.js} +4 -4
- package/dist/chunk-BWGCOLEL.js +61 -0
- package/dist/chunk-BWGCOLEL.js.map +1 -0
- package/dist/{chunk-BXXOPKT5.js → chunk-CAMNRAJF.js} +2 -2
- package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
- package/dist/{chunk-YOXVZJFM.js → chunk-CFVTRUR3.js} +2 -2
- package/dist/{chunk-SVSRPG6M.js → chunk-CPA5NBHN.js} +2 -2
- package/dist/{chunk-7BEPVIH3.js → chunk-CRML27CO.js} +3 -3
- package/dist/{chunk-AXGFOFNY.js → chunk-DA7ITC5Z.js} +2 -2
- package/dist/{chunk-5W7MKXMU.js → chunk-DEACDKE3.js} +144 -78
- package/dist/chunk-DEACDKE3.js.map +1 -0
- package/dist/{chunk-FEO2CDXR.js → chunk-DPCXDG7G.js} +2 -2
- package/dist/{chunk-HZNYJN77.js → chunk-F3NVYTTA.js} +2 -2
- package/dist/{chunk-7SSRXEZJ.js → chunk-F7XUD3PL.js} +2 -2
- package/dist/{chunk-LDBFXD4F.js → chunk-FP7YTTVO.js} +3 -1
- package/dist/chunk-FP7YTTVO.js.map +1 -0
- package/dist/{chunk-XZBXINXZ.js → chunk-GIC6BASP.js} +4 -4
- package/dist/{chunk-PP7R754B.js → chunk-GPFZFCRN.js} +1 -1
- package/dist/{chunk-53MZQEBD.js → chunk-GTO56JY5.js} +2 -2
- package/dist/{chunk-RAIUTAZZ.js → chunk-H2YSH3DG.js} +2 -2
- package/dist/{chunk-HWVNYNIV.js → chunk-HMZKGHMD.js} +2 -2
- package/dist/{chunk-ZXUZ54Z5.js → chunk-HRHO3ZNG.js} +2 -2
- package/dist/{chunk-SDEPLF7V.js → chunk-IBJ6U753.js} +2 -2
- package/dist/chunk-JCCWJHOP.js +240 -0
- package/dist/chunk-JCCWJHOP.js.map +1 -0
- package/dist/{chunk-T3JQTCCO.js → chunk-JI7U6AS3.js} +4 -4
- package/dist/{chunk-TR7DGXGI.js → chunk-JOZUBF4A.js} +5 -5
- package/dist/{chunk-YWBOOBDP.js → chunk-JYSN42VN.js} +71 -71
- package/dist/{chunk-ZPUIRTIZ.js → chunk-KOLJJN5G.js} +12 -75
- package/dist/chunk-KOLJJN5G.js.map +1 -0
- package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
- package/dist/{chunk-D2YNNDML.js → chunk-KWIGDKM2.js} +2 -2
- package/dist/{chunk-YUTTMSC7.js → chunk-KZIF6XHX.js} +93 -30
- package/dist/chunk-KZIF6XHX.js.map +1 -0
- package/dist/chunk-LB7WCZHY.js +553 -0
- package/dist/chunk-LB7WCZHY.js.map +1 -0
- package/dist/{chunk-RIAM7DND.js → chunk-LDKPDODJ.js} +2 -2
- package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
- package/dist/{chunk-2JHRCWHT.js → chunk-LKYIOCWL.js} +107 -107
- package/dist/{chunk-XAWIL7TC.js → chunk-LOXHYCVS.js} +2 -2
- package/dist/{chunk-OMZLBT4B.js → chunk-LPNCR4QK.js} +48 -27
- package/dist/chunk-LPNCR4QK.js.map +1 -0
- package/dist/{chunk-OLBZ2WGG.js → chunk-LTBKKSCX.js} +2 -2
- package/dist/{chunk-O4BAGJDN.js → chunk-MDD2RINF.js} +2 -2
- package/dist/{chunk-H63EDPFJ.js → chunk-MI2OTWV5.js} +15 -2
- package/dist/{chunk-H63EDPFJ.js.map → chunk-MI2OTWV5.js.map} +1 -1
- package/dist/{chunk-LBFFNDFM.js → chunk-MINHJ55X.js} +1 -1
- package/dist/chunk-MINHJ55X.js.map +1 -0
- package/dist/{chunk-ROEAEANL.js → chunk-MY2BC6UE.js} +15 -15
- package/dist/{chunk-RACZB5HT.js → chunk-N37X5RU7.js} +4 -4
- package/dist/{chunk-AG46P24C.js → chunk-NNBZS3DY.js} +4 -4
- package/dist/{chunk-PGW64IFQ.js → chunk-NPFUNWNX.js} +2 -2
- package/dist/{chunk-MFOSZUIT.js → chunk-NPIBN2VL.js} +2 -2
- package/dist/{chunk-IF4EY26E.js → chunk-OA2O2GJ4.js} +3 -3
- package/dist/{chunk-6FUMA6AA.js → chunk-ODU2CNNX.js} +2 -2
- package/dist/{chunk-PNAGNVGK.js → chunk-OXRRJXPR.js} +42 -37
- package/dist/chunk-OXRRJXPR.js.map +1 -0
- package/dist/{chunk-TWBQQ3FT.js → chunk-P36Z4JRA.js} +2 -2
- package/dist/{chunk-OUKBMQ2O.js → chunk-PD66CVSD.js} +2 -2
- package/dist/{chunk-MVIYRRVJ.js → chunk-PMVPCZJZ.js} +5 -5
- package/dist/{chunk-US4IRASK.js → chunk-PU56CXZA.js} +6 -6
- package/dist/{chunk-IDQ6DKXC.js → chunk-S5XOSTYM.js} +3 -3
- package/dist/{chunk-DYO24BNB.js → chunk-SEEJOGQX.js} +5 -5
- package/dist/{chunk-7OZSHBWK.js → chunk-SNOIKAHM.js} +2 -2
- package/dist/{chunk-SR7JIRAR.js → chunk-T6ILXUAH.js} +2 -2
- package/dist/{chunk-2RXUZVPU.js → chunk-T7XP6IZE.js} +2 -2
- package/dist/{chunk-KBOG7FJV.js → chunk-TFR3HG4K.js} +3 -3
- package/dist/{chunk-XUZ5CIEE.js → chunk-TUHBYJXL.js} +1 -1
- package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
- package/dist/{chunk-ZK4BFABK.js → chunk-U7EW2W4W.js} +13 -13
- package/dist/{chunk-4K7IW3F7.js → chunk-UD7UNYRD.js} +34 -3
- package/dist/chunk-UD7UNYRD.js.map +1 -0
- package/dist/{chunk-VFYRYFLL.js → chunk-UEBDCMOO.js} +2 -2
- package/dist/{chunk-JFWZRUKP.js → chunk-UENKPWCS.js} +4 -4
- package/dist/{chunk-AAXJNINV.js → chunk-UL4MKZHI.js} +2 -2
- package/dist/chunk-ULM7JCDH.js +154 -0
- package/dist/chunk-ULM7JCDH.js.map +1 -0
- package/dist/{chunk-R2MZCYA6.js → chunk-UNUMFURP.js} +3 -3
- package/dist/{chunk-5GIZM4RX.js → chunk-UPFNQJC7.js} +2 -2
- package/dist/{chunk-W4BMEGQA.js → chunk-UTQUEHC7.js} +2 -2
- package/dist/{chunk-I32NKXE2.js → chunk-V4IDF3EZ.js} +2 -2
- package/dist/{chunk-6LS5OX3U.js → chunk-W2BAGGEW.js} +50 -18
- package/dist/chunk-W2BAGGEW.js.map +1 -0
- package/dist/chunk-W2UOAATB.js +521 -0
- package/dist/chunk-W2UOAATB.js.map +1 -0
- package/dist/{chunk-QMZY3GG6.js → chunk-WNXYT4MK.js} +3 -3
- package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-T42L3S6A.js → chunk-XBGHAAKR.js} +2 -2
- package/dist/{chunk-RQ2EQRRR.js → chunk-XNWXSGHS.js} +80 -7
- package/dist/chunk-XNWXSGHS.js.map +1 -0
- package/dist/{chunk-THG4GYIE.js → chunk-YEUXERJ6.js} +5 -5
- package/dist/{chunk-BIJAWZYW.js → chunk-YMOPYG3K.js} +6 -6
- package/dist/{chunk-M4AHBM72.js → chunk-Z3YEGSR4.js} +2 -2
- package/dist/{cli-Bfgo0n1L.d.ts → cli-O3F-ht3i.d.ts} +5 -5
- package/dist/cli.d.ts +17 -15
- package/dist/cli.js +106 -104
- package/dist/coding/pre-action-gate.d.ts +2 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.d.ts +5 -2
- package/dist/compounding/engine.js +26 -26
- package/dist/compounding/preference-consolidator.d.ts +4 -3
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config-security.js +2 -2
- package/dist/config.d.ts +2 -1
- package/dist/config.js +13 -12
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +25 -25
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +25 -25
- package/dist/consolidation-provenance-check.d.ts +5 -2
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/consolidation-undo.d.ts +5 -2
- package/dist/context-summary.d.ts +43 -0
- package/dist/context-summary.js +14 -0
- package/dist/context-summary.js.map +1 -0
- package/dist/contradiction/index.d.ts +6 -3
- package/dist/contradiction/index.js +5 -5
- package/dist/converge-config.d.ts +2 -1
- package/dist/convergence-refresh.d.ts +5 -2
- package/dist/convergence-refresh.js +28 -28
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/chunker.d.ts +2 -1
- package/dist/conversation-index/faiss-adapter.d.ts +2 -1
- package/dist/conversation-index/indexer.d.ts +2 -1
- package/dist/conversation-index/search.d.ts +2 -1
- package/dist/corpus-watermark.d.ts +2 -1
- package/dist/corpus-watermark.js +27 -27
- package/dist/cross-lingual-recall.d.ts +2 -1
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/dependency-propagation-config.d.ts +2 -1
- package/dist/{dependency-propagation-delivery-D23_x-s5.d.ts → dependency-propagation-delivery-CL6RWXTA.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/enrichment/index.d.ts +2 -1
- package/dist/entity-origin-fields.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +5 -2
- package/dist/entity-retrieval.js +26 -26
- package/dist/entity-schema.d.ts +2 -1
- package/dist/episodic-context.d.ts +2 -1
- package/dist/eval-trajectory-contracts.d.ts +257 -0
- package/dist/eval-trajectory-contracts.js +56 -0
- package/dist/eval-trajectory-contracts.js.map +1 -0
- package/dist/eval-trajectory-store.d.ts +40 -0
- package/dist/eval-trajectory-store.js +19 -0
- package/dist/eval-trajectory-store.js.map +1 -0
- package/dist/eval-trajectory.d.ts +68 -0
- package/dist/eval-trajectory.js +46 -0
- package/dist/eval-trajectory.js.map +1 -0
- package/dist/event-order-recall.js +2 -2
- package/dist/explicit-capture.d.ts +13 -11
- package/dist/explicit-capture.js +6 -6
- package/dist/external-wiki-access.d.ts +15 -13
- package/dist/external-wiki-access.js +55 -55
- package/dist/external-wiki-collection-registration.d.ts +2 -1
- package/dist/external-wiki-collection.d.ts +2 -1
- package/dist/external-wiki-mcp-tools.d.ts +15 -13
- package/dist/extraction-error-classification.d.ts +2 -1
- package/dist/extraction-faithfulness.d.ts +2 -1
- package/dist/extraction-judge-telemetry.d.ts +2 -1
- package/dist/extraction-judge-training.d.ts +2 -1
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction-liveness.d.ts +2 -1
- package/dist/extraction-normalization.d.ts +2 -1
- package/dist/extraction-prompt.d.ts +2 -1
- package/dist/extraction-source-grounding-rules.d.ts +2 -1
- package/dist/extraction-source-grounding.d.ts +2 -1
- package/dist/extraction.d.ts +2 -1
- package/dist/extraction.js +33 -33
- package/dist/fallback-llm.d.ts +2 -1
- package/dist/{forget-SZ2BXDGF.js → forget-2AE4MDK3.js} +3 -3
- package/dist/graph-dashboard-diff.d.ts +2 -1
- package/dist/graph-dashboard-key.d.ts +2 -1
- package/dist/graph-dashboard-parser.d.ts +2 -1
- package/dist/{graph-edge-decay-FXGELBFA.js → graph-edge-decay-A4SDFMMS.js} +4 -4
- package/dist/graph-edge-decay-A4SDFMMS.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +2 -1
- package/dist/graph-path-reconstruction.d.ts +2 -1
- package/dist/graph-path-scoring.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +2 -1
- package/dist/graph.js +3 -3
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +2 -1
- package/dist/importers/index.d.ts +2 -1
- package/dist/in-flight-reads.d.ts +2 -1
- package/dist/{index--QhGIXF2.d.ts → index-C7Xep6S9.d.ts} +2 -2
- package/dist/index.d.ts +706 -701
- package/dist/index.js +271 -200
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +3 -2
- package/dist/lcm/engine.js +3 -2
- package/dist/lcm/index.d.ts +4 -2
- package/dist/lcm/index.js +6 -5
- package/dist/lcm/summarizer.d.ts +4 -6
- package/dist/lcm/summarizer.js +2 -1
- package/dist/lcm/tools.d.ts +4 -3
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm.d.ts +2 -1
- package/dist/local-model-endpoint.d.ts +2 -1
- package/dist/location/index.d.ts +128 -1
- package/dist/location/index.js +60 -750
- package/dist/location/index.js.map +1 -1
- package/dist/maintenance/memory-governance.d.ts +2 -1
- package/dist/maintenance/memory-governance.js +26 -26
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +5 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -25
- package/dist/maintenance/rebuild-memory-projection.d.ts +5 -2
- package/dist/maintenance/rebuild-memory-projection.js +27 -27
- package/dist/{maintenance-PFvY1Pw_.d.ts → maintenance-CJ-xqFp0.d.ts} +4 -3
- package/dist/mcp-memory-inspector-app.d.ts +15 -13
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +18 -2
- package/dist/memory-action-policy.js +3 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-controller.d.ts +2 -1
- package/dist/memory-controller.js +2 -2
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-projection-store.d.ts +2 -1
- package/dist/memory-provenance.d.ts +2 -1
- package/dist/memory-snapshot.d.ts +2 -1
- package/dist/memory-subject-cli.d.ts +15 -13
- package/dist/memory-subject.d.ts +15 -13
- package/dist/memory-subject.js +3 -3
- package/dist/memory-worth-outcomes.d.ts +50 -3
- package/dist/memory-worth-outcomes.js +5 -3
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +6 -3
- package/dist/namespaces/migrate.js +26 -26
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +11 -11
- package/dist/namespaces/storage.d.ts +6 -3
- package/dist/namespaces/storage.js +25 -25
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/offline-sync-impression-drain.d.ts +2 -1
- package/dist/offline-sync-impression-drain.js +2 -2
- package/dist/operator-doctor-corpus.d.ts +2 -1
- package/dist/operator-doctor-corpus.js +28 -28
- package/dist/operator-doctor-replica.d.ts +2 -1
- package/dist/operator-toolkit.d.ts +6 -3
- package/dist/operator-toolkit.js +45 -44
- package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
- package/dist/orchestration/maintenance.d.ts +7 -4
- package/dist/orchestration/maintenance.js +34 -32
- package/dist/{orchestrator-4wzJrPVm.d.ts → orchestrator-BsntWxLy.d.ts} +8 -8
- package/dist/orchestrator.d.ts +13 -11
- package/dist/orchestrator.js +156 -148
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-CgXgdIrF.d.ts → pipeline-CVoysPm2.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/proactive-contention.d.ts +2 -1
- package/dist/provenance.d.ts +2 -1
- package/dist/{public-http-BP3VQDl5.d.ts → public-http-CuOxlTC2.d.ts} +1 -1
- package/dist/{qmd-BppGGxsi.d.ts → qmd-DWMAGA5l.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +3 -2
- package/dist/qmd-recall-cache.d.ts +2 -1
- package/dist/qmd.d.ts +3 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +2 -1
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +2 -1
- package/dist/recall-planner-llm.d.ts +2 -1
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-timings.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +2 -1
- package/dist/reconcile/manifest.d.ts +2 -1
- package/dist/reconcile/manifest.js +3 -3
- package/dist/reconcile/plan.d.ts +2 -1
- package/dist/replay/normalizers/chatgpt.d.ts +2 -1
- package/dist/replay/normalizers/claude.d.ts +2 -1
- package/dist/replay/normalizers/openclaw.d.ts +2 -1
- package/dist/replay/normalizers/shared.d.ts +2 -1
- package/dist/replay/runner.d.ts +2 -1
- package/dist/replay/types.d.ts +2 -1
- package/dist/replica-divergence.d.ts +2 -1
- package/dist/replica-peers-config.d.ts +2 -1
- package/dist/{resolution-4552BNRV.js → resolution-XWBPKYFB.js} +6 -6
- package/dist/resolution-XWBPKYFB.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +14 -13
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/routing/engine.d.ts +2 -1
- package/dist/routing/store.d.ts +2 -1
- package/dist/salvage-envelope.d.ts +2 -1
- package/dist/salvage-envelope.js +5 -5
- package/dist/schemas.d.ts +124 -124
- package/dist/{scope-profiles-ChZUtxDU.d.ts → scope-profiles-CPWkW_dI.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +2 -1
- package/dist/search/factory.d.ts +2 -1
- package/dist/search/factory.js +10 -10
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +15 -15
- package/dist/search/lancedb-backend.d.ts +2 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +2 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +2 -1
- package/dist/search/orama-backend.d.ts +2 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +2 -1
- package/dist/search/remote-backend.d.ts +2 -1
- package/dist/{semantic-consolidation-mSPwQSmF.d.ts → semantic-consolidation-CNFVBXFc.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +31 -31
- package/dist/semantic-rule-promotion.js +25 -25
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +25 -25
- package/dist/{service-BICWLwSP.d.ts → service-Bb-JIdQ0.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/shared-context/manager.d.ts +8 -7
- package/dist/signal.d.ts +2 -1
- package/dist/source-agent-qualifier.d.ts +2 -1
- package/dist/source-agent-qualifier.js +29 -29
- package/dist/{storage-B7urx1K3.d.ts → storage-CukrlNKk.d.ts} +4 -1
- package/dist/storage.d.ts +5 -2
- package/dist/storage.js +24 -24
- package/dist/subject-config.d.ts +2 -1
- package/dist/subject-config.js +4 -4
- package/dist/summarizer.d.ts +2 -1
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/support-passport/index.d.ts +18 -16
- package/dist/support-passport/index.js +57 -57
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +2 -1
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +5 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/types.d.ts +78 -78
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-ETU5N6nB.d.ts → types-djxQlxJ7.d.ts} +3 -2
- package/dist/types.d.ts +2 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +25 -25
- package/dist/who-knows-cli.d.ts +15 -13
- package/dist/who-knows-cli.js +26 -26
- package/dist/who-knows.d.ts +15 -13
- package/dist/who-knows.js +25 -25
- package/dist/write-envelope.d.ts +2 -1
- package/dist/write-envelope.js +4 -4
- package/package.json +22 -2
- package/src/access-boundary.ts +5 -0
- package/src/access-http.ts +15 -16
- package/src/access-mcp-output-schemas.ts +5 -0
- package/src/access-mcp.ts +6 -6
- package/src/access-operations.ts +2 -0
- package/src/access-surface-catalog.ts +10 -0
- package/src/active-context-config.ts +98 -0
- package/src/active-context-transform.test.ts +533 -0
- package/src/active-context-transform.ts +981 -0
- package/src/config.ts +3 -5
- package/src/context-summary.ts +182 -0
- package/src/eval-trajectory-contracts.ts +411 -0
- package/src/eval-trajectory-store.ts +306 -0
- package/src/eval-trajectory.test.ts +534 -0
- package/src/eval-trajectory.ts +773 -0
- package/src/index.ts +6 -11
- package/src/lcm/summarizer.ts +14 -93
- package/src/location/access-operations.ts +84 -0
- package/src/location/http-glue.test.ts +100 -0
- package/src/location/http-glue.ts +85 -0
- package/src/location/index.ts +3 -0
- package/src/location/mcp-tools.ts +82 -0
- package/src/location/provider-setup.test.ts +106 -0
- package/src/location/provider-setup.ts +103 -0
- package/src/location/scheduler.test.ts +113 -0
- package/src/location/scheduler.ts +98 -0
- package/src/location/surfaces.test.ts +241 -0
- package/src/location/surfaces.ts +329 -0
- package/src/maintenance/day-summary-cron.ts +45 -0
- package/src/mcp-read-only-tools.ts +2 -0
- package/src/memory-action-policy.ts +28 -0
- package/src/memory-worth-outcomes.test.ts +53 -18
- package/src/memory-worth-outcomes.ts +91 -9
- package/src/orchestration/maintenance.ts +22 -30
- package/src/storage/context-transform-ledger.ts +39 -0
- package/src/storage/secure-line-reader.ts +50 -1
- package/src/storage.ts +4 -1
- package/src/types.ts +2 -3
- package/src/wearables/http-glue.ts +28 -0
- package/dist/chunk-4K7IW3F7.js.map +0 -1
- package/dist/chunk-5W7MKXMU.js.map +0 -1
- package/dist/chunk-6LS5OX3U.js.map +0 -1
- package/dist/chunk-DPNXADEI.js.map +0 -1
- package/dist/chunk-DVYRD4HY.js.map +0 -1
- package/dist/chunk-FC7TIRFS.js.map +0 -1
- package/dist/chunk-LBFFNDFM.js.map +0 -1
- package/dist/chunk-LDBFXD4F.js.map +0 -1
- package/dist/chunk-OMZLBT4B.js.map +0 -1
- package/dist/chunk-PNAGNVGK.js.map +0 -1
- package/dist/chunk-RQ2EQRRR.js.map +0 -1
- package/dist/chunk-YUTTMSC7.js.map +0 -1
- package/dist/chunk-ZPUIRTIZ.js.map +0 -1
- /package/dist/{capsule-crypto-GWVG7LGC.js.map → active-context-config.js.map} +0 -0
- /package/dist/{graph-edge-decay-FXGELBFA.js.map → active-context-transform.js.map} +0 -0
- /package/dist/{auto-sync-XVMLL2RH.js.map → auto-sync-2YPITIWN.js.map} +0 -0
- /package/dist/{resolution-4552BNRV.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-NZPFCP5A.js.map → chunk-2PSX5BJU.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-2QSZNTDO.js.map} +0 -0
- /package/dist/{chunk-X2DWBWOX.js.map → chunk-3A2NJP2U.js.map} +0 -0
- /package/dist/{chunk-JGG5HVI2.js.map → chunk-3PKAS6VL.js.map} +0 -0
- /package/dist/{chunk-LSYD7GHZ.js.map → chunk-3SZD4CYO.js.map} +0 -0
- /package/dist/{chunk-5TG4MU2U.js.map → chunk-4F4AQFWL.js.map} +0 -0
- /package/dist/{chunk-D35XLYQ7.js.map → chunk-4QEYREAV.js.map} +0 -0
- /package/dist/{chunk-46WM6JX2.js.map → chunk-4ZWCQJNM.js.map} +0 -0
- /package/dist/{chunk-W6J4POB6.js.map → chunk-5DHKCO52.js.map} +0 -0
- /package/dist/{chunk-IRXMJLTW.js.map → chunk-5HK3CJAR.js.map} +0 -0
- /package/dist/{chunk-NLUCDKLT.js.map → chunk-5RWZH6PH.js.map} +0 -0
- /package/dist/{chunk-H7BZBSP6.js.map → chunk-645WOU5I.js.map} +0 -0
- /package/dist/{chunk-AYAZWXJI.js.map → chunk-76DIF5KT.js.map} +0 -0
- /package/dist/{chunk-OPPBTPUU.js.map → chunk-7KQB4EBS.js.map} +0 -0
- /package/dist/{chunk-I2HTKOOP.js.map → chunk-7VZFRUQU.js.map} +0 -0
- /package/dist/{chunk-JCWY73FK.js.map → chunk-AHPIFKNG.js.map} +0 -0
- /package/dist/{chunk-3I22VWB3.js.map → chunk-AZMLH5UT.js.map} +0 -0
- /package/dist/{chunk-JOEJG4SD.js.map → chunk-BEC4YBNA.js.map} +0 -0
- /package/dist/{chunk-BXXOPKT5.js.map → chunk-CAMNRAJF.js.map} +0 -0
- /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
- /package/dist/{chunk-YOXVZJFM.js.map → chunk-CFVTRUR3.js.map} +0 -0
- /package/dist/{chunk-SVSRPG6M.js.map → chunk-CPA5NBHN.js.map} +0 -0
- /package/dist/{chunk-7BEPVIH3.js.map → chunk-CRML27CO.js.map} +0 -0
- /package/dist/{chunk-AXGFOFNY.js.map → chunk-DA7ITC5Z.js.map} +0 -0
- /package/dist/{chunk-FEO2CDXR.js.map → chunk-DPCXDG7G.js.map} +0 -0
- /package/dist/{chunk-HZNYJN77.js.map → chunk-F3NVYTTA.js.map} +0 -0
- /package/dist/{chunk-7SSRXEZJ.js.map → chunk-F7XUD3PL.js.map} +0 -0
- /package/dist/{chunk-XZBXINXZ.js.map → chunk-GIC6BASP.js.map} +0 -0
- /package/dist/{chunk-PP7R754B.js.map → chunk-GPFZFCRN.js.map} +0 -0
- /package/dist/{chunk-53MZQEBD.js.map → chunk-GTO56JY5.js.map} +0 -0
- /package/dist/{chunk-RAIUTAZZ.js.map → chunk-H2YSH3DG.js.map} +0 -0
- /package/dist/{chunk-HWVNYNIV.js.map → chunk-HMZKGHMD.js.map} +0 -0
- /package/dist/{chunk-ZXUZ54Z5.js.map → chunk-HRHO3ZNG.js.map} +0 -0
- /package/dist/{chunk-SDEPLF7V.js.map → chunk-IBJ6U753.js.map} +0 -0
- /package/dist/{chunk-T3JQTCCO.js.map → chunk-JI7U6AS3.js.map} +0 -0
- /package/dist/{chunk-TR7DGXGI.js.map → chunk-JOZUBF4A.js.map} +0 -0
- /package/dist/{chunk-YWBOOBDP.js.map → chunk-JYSN42VN.js.map} +0 -0
- /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-D2YNNDML.js.map → chunk-KWIGDKM2.js.map} +0 -0
- /package/dist/{chunk-RIAM7DND.js.map → chunk-LDKPDODJ.js.map} +0 -0
- /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
- /package/dist/{chunk-2JHRCWHT.js.map → chunk-LKYIOCWL.js.map} +0 -0
- /package/dist/{chunk-XAWIL7TC.js.map → chunk-LOXHYCVS.js.map} +0 -0
- /package/dist/{chunk-OLBZ2WGG.js.map → chunk-LTBKKSCX.js.map} +0 -0
- /package/dist/{chunk-O4BAGJDN.js.map → chunk-MDD2RINF.js.map} +0 -0
- /package/dist/{chunk-ROEAEANL.js.map → chunk-MY2BC6UE.js.map} +0 -0
- /package/dist/{chunk-RACZB5HT.js.map → chunk-N37X5RU7.js.map} +0 -0
- /package/dist/{chunk-AG46P24C.js.map → chunk-NNBZS3DY.js.map} +0 -0
- /package/dist/{chunk-PGW64IFQ.js.map → chunk-NPFUNWNX.js.map} +0 -0
- /package/dist/{chunk-MFOSZUIT.js.map → chunk-NPIBN2VL.js.map} +0 -0
- /package/dist/{chunk-IF4EY26E.js.map → chunk-OA2O2GJ4.js.map} +0 -0
- /package/dist/{chunk-6FUMA6AA.js.map → chunk-ODU2CNNX.js.map} +0 -0
- /package/dist/{chunk-TWBQQ3FT.js.map → chunk-P36Z4JRA.js.map} +0 -0
- /package/dist/{chunk-OUKBMQ2O.js.map → chunk-PD66CVSD.js.map} +0 -0
- /package/dist/{chunk-MVIYRRVJ.js.map → chunk-PMVPCZJZ.js.map} +0 -0
- /package/dist/{chunk-US4IRASK.js.map → chunk-PU56CXZA.js.map} +0 -0
- /package/dist/{chunk-IDQ6DKXC.js.map → chunk-S5XOSTYM.js.map} +0 -0
- /package/dist/{chunk-DYO24BNB.js.map → chunk-SEEJOGQX.js.map} +0 -0
- /package/dist/{chunk-7OZSHBWK.js.map → chunk-SNOIKAHM.js.map} +0 -0
- /package/dist/{chunk-SR7JIRAR.js.map → chunk-T6ILXUAH.js.map} +0 -0
- /package/dist/{chunk-2RXUZVPU.js.map → chunk-T7XP6IZE.js.map} +0 -0
- /package/dist/{chunk-KBOG7FJV.js.map → chunk-TFR3HG4K.js.map} +0 -0
- /package/dist/{chunk-XUZ5CIEE.js.map → chunk-TUHBYJXL.js.map} +0 -0
- /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
- /package/dist/{chunk-ZK4BFABK.js.map → chunk-U7EW2W4W.js.map} +0 -0
- /package/dist/{chunk-VFYRYFLL.js.map → chunk-UEBDCMOO.js.map} +0 -0
- /package/dist/{chunk-JFWZRUKP.js.map → chunk-UENKPWCS.js.map} +0 -0
- /package/dist/{chunk-AAXJNINV.js.map → chunk-UL4MKZHI.js.map} +0 -0
- /package/dist/{chunk-R2MZCYA6.js.map → chunk-UNUMFURP.js.map} +0 -0
- /package/dist/{chunk-5GIZM4RX.js.map → chunk-UPFNQJC7.js.map} +0 -0
- /package/dist/{chunk-W4BMEGQA.js.map → chunk-UTQUEHC7.js.map} +0 -0
- /package/dist/{chunk-I32NKXE2.js.map → chunk-V4IDF3EZ.js.map} +0 -0
- /package/dist/{chunk-QMZY3GG6.js.map → chunk-WNXYT4MK.js.map} +0 -0
- /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-T42L3S6A.js.map → chunk-XBGHAAKR.js.map} +0 -0
- /package/dist/{chunk-THG4GYIE.js.map → chunk-YEUXERJ6.js.map} +0 -0
- /package/dist/{chunk-BIJAWZYW.js.map → chunk-YMOPYG3K.js.map} +0 -0
- /package/dist/{chunk-M4AHBM72.js.map → chunk-Z3YEGSR4.js.map} +0 -0
- /package/dist/{forget-SZ2BXDGF.js.map → forget-2AE4MDK3.js.map} +0 -0
package/dist/entity-retrieval.js
CHANGED
|
@@ -3,58 +3,58 @@ import {
|
|
|
3
3
|
entityIndexVersion,
|
|
4
4
|
entityRecentTranscriptLookbackHours,
|
|
5
5
|
readRecentEntityTranscriptEntries
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-GKUA4MGB.js";
|
|
6
|
+
} from "./chunk-PU56CXZA.js";
|
|
8
7
|
import "./chunk-5AUY5Z5E.js";
|
|
9
8
|
import "./chunk-SVH57F5Z.js";
|
|
10
9
|
import "./chunk-MKYRCCSN.js";
|
|
10
|
+
import "./chunk-GKUA4MGB.js";
|
|
11
11
|
import "./chunk-2DQ2XREU.js";
|
|
12
12
|
import "./chunk-7ZNJN5WZ.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-W2BAGGEW.js";
|
|
14
14
|
import "./chunk-UHVXE24Y.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4ZWCQJNM.js";
|
|
16
16
|
import "./chunk-SXIMQLGV.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ODU2CNNX.js";
|
|
18
|
+
import "./chunk-4QEYREAV.js";
|
|
19
|
+
import "./chunk-N37X5RU7.js";
|
|
20
|
+
import "./chunk-NNBZS3DY.js";
|
|
21
|
+
import "./chunk-CYEPCZN5.js";
|
|
22
|
+
import "./chunk-GIC6BASP.js";
|
|
19
23
|
import "./chunk-YQNNHLCG.js";
|
|
24
|
+
import "./chunk-W7IGLX4G.js";
|
|
20
25
|
import "./chunk-6KTXE6A3.js";
|
|
21
|
-
import "./chunk-RACZB5HT.js";
|
|
22
|
-
import "./chunk-AG46P24C.js";
|
|
23
|
-
import "./chunk-CYEPCZN5.js";
|
|
24
|
-
import "./chunk-XZBXINXZ.js";
|
|
25
26
|
import "./chunk-GUMZC2BO.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-227UFSEQ.js";
|
|
28
|
-
import "./chunk-ET356KSB.js";
|
|
27
|
+
import "./chunk-LEPOP46W.js";
|
|
29
28
|
import "./chunk-72A4L5JJ.js";
|
|
30
29
|
import "./chunk-A7Q43EUZ.js";
|
|
30
|
+
import "./chunk-ET356KSB.js";
|
|
31
31
|
import "./chunk-S2V7RUCL.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-S2HLHAZ4.js";
|
|
32
|
+
import "./chunk-MINHJ55X.js";
|
|
34
33
|
import "./chunk-SCU65EZI.js";
|
|
35
34
|
import "./chunk-PO7NXBG2.js";
|
|
35
|
+
import "./chunk-S2HLHAZ4.js";
|
|
36
36
|
import "./chunk-DM2T26WE.js";
|
|
37
37
|
import "./chunk-LDXUBPMO.js";
|
|
38
38
|
import "./chunk-UG6VXIOK.js";
|
|
39
39
|
import "./chunk-AAD2ZS6P.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-UTQUEHC7.js";
|
|
41
|
+
import "./chunk-H2YSH3DG.js";
|
|
42
42
|
import "./chunk-BT7NVCML.js";
|
|
43
43
|
import "./chunk-3ONXXHQO.js";
|
|
44
44
|
import "./chunk-YXZG5TVN.js";
|
|
45
45
|
import "./chunk-5GINB5LC.js";
|
|
46
46
|
import "./chunk-3WU7XOFN.js";
|
|
47
|
+
import "./chunk-G7D6GZ5J.js";
|
|
47
48
|
import "./chunk-UFKPQBXH.js";
|
|
48
49
|
import "./chunk-XCB6QDL6.js";
|
|
49
50
|
import "./chunk-RBOJCG4T.js";
|
|
50
51
|
import "./chunk-ZVPVTPGI.js";
|
|
51
52
|
import "./chunk-5WITETWU.js";
|
|
52
53
|
import "./chunk-6CIAGZ6X.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-C24UZSFW.js";
|
|
54
|
+
import "./chunk-CEH2AFXG.js";
|
|
55
55
|
import "./chunk-JXN77SGO.js";
|
|
56
|
-
import "./chunk-ZLQ37WJX.js";
|
|
57
56
|
import "./chunk-IUM3VSHI.js";
|
|
57
|
+
import "./chunk-ZLQ37WJX.js";
|
|
58
58
|
import "./chunk-C64XATK7.js";
|
|
59
59
|
import "./chunk-42JKGUFJ.js";
|
|
60
60
|
import "./chunk-UW5NPZJ2.js";
|
|
@@ -64,29 +64,29 @@ import "./chunk-45GF7Y3V.js";
|
|
|
64
64
|
import "./chunk-RGMVMVMF.js";
|
|
65
65
|
import "./chunk-N7RWREIQ.js";
|
|
66
66
|
import "./chunk-NXH34IPL.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-LDKPDODJ.js";
|
|
68
68
|
import "./chunk-ZIKENA2C.js";
|
|
69
|
-
import "./chunk-PQVCH2AE.js";
|
|
70
69
|
import "./chunk-6Q3ZTEF6.js";
|
|
70
|
+
import "./chunk-YCVB7X56.js";
|
|
71
|
+
import "./chunk-PQVCH2AE.js";
|
|
71
72
|
import "./chunk-PJKTFXE2.js";
|
|
72
73
|
import "./chunk-W5BIQOAJ.js";
|
|
73
74
|
import "./chunk-Z7L72ZHL.js";
|
|
74
75
|
import "./chunk-4O4TKIXQ.js";
|
|
75
|
-
import "./chunk-YCVB7X56.js";
|
|
76
76
|
import "./chunk-BJMBJZ2Y.js";
|
|
77
77
|
import "./chunk-UKJAGEXH.js";
|
|
78
78
|
import "./chunk-FP2373TW.js";
|
|
79
79
|
import "./chunk-J6A3CX5N.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-5ACCD4L7.js";
|
|
81
81
|
import "./chunk-ZA53AZND.js";
|
|
82
82
|
import "./chunk-GCASGYIO.js";
|
|
83
83
|
import "./chunk-7RJUVTVF.js";
|
|
84
84
|
import "./chunk-2LWQSV6A.js";
|
|
85
85
|
import "./chunk-RL6NEVXT.js";
|
|
86
86
|
import "./chunk-XDL5CYZN.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-5FVVY2EB.js";
|
|
87
|
+
import "./chunk-BEC4YBNA.js";
|
|
89
88
|
import "./chunk-FFAZ2XFU.js";
|
|
89
|
+
import "./chunk-5FVVY2EB.js";
|
|
90
90
|
import "./chunk-JDSVLVCG.js";
|
|
91
91
|
import "./chunk-5GKPFL3S.js";
|
|
92
92
|
import "./chunk-JAKIDQB2.js";
|
package/dist/entity-schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ap as EntitySchemaDefinition, aq as EntitySchemaSectionDefinition, ao as EntityStructuredSection } from './types-
|
|
1
|
+
import { ap as EntitySchemaDefinition, aq as EntitySchemaSectionDefinition, ao as EntityStructuredSection } from './types-djxQlxJ7.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
4
|
import './types-CM86alG1.js';
|
|
@@ -8,6 +8,7 @@ import './contradiction-config.js';
|
|
|
8
8
|
import './graph-path-scoring-config.js';
|
|
9
9
|
import './causal-trajectory.js';
|
|
10
10
|
import './objective-state.js';
|
|
11
|
+
import './active-context-config.js';
|
|
11
12
|
import './types-continuity.js';
|
|
12
13
|
|
|
13
14
|
declare function normalizeEntityText(value: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as ProvenanceSource } from './types-
|
|
1
|
+
import { O as ProvenanceSource } from './types-djxQlxJ7.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
3
|
import './bounded-jsonl-state.js';
|
|
4
4
|
import './types-CM86alG1.js';
|
|
@@ -8,6 +8,7 @@ import './contradiction-config.js';
|
|
|
8
8
|
import './graph-path-scoring-config.js';
|
|
9
9
|
import './causal-trajectory.js';
|
|
10
10
|
import './objective-state.js';
|
|
11
|
+
import './active-context-config.js';
|
|
11
12
|
import './types-continuity.js';
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { ai as MemoryActionType, ar as MemoryActionOutcome, as as MemoryActionPolicyDecision } from './types-djxQlxJ7.js';
|
|
2
|
+
import './message-parts/index.js';
|
|
3
|
+
import './bounded-jsonl-state.js';
|
|
4
|
+
import './types-CM86alG1.js';
|
|
5
|
+
import './operator-doctor-types.js';
|
|
6
|
+
import './external-wiki-config.js';
|
|
7
|
+
import './contradiction-config.js';
|
|
8
|
+
import './graph-path-scoring-config.js';
|
|
9
|
+
import './causal-trajectory.js';
|
|
10
|
+
import './objective-state.js';
|
|
11
|
+
import './active-context-config.js';
|
|
12
|
+
import './types-continuity.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Issue #2345 — internal contracts, config bounds, digests, and validators for
|
|
16
|
+
* the privacy-safe action-to-outcome trajectory evaluator.
|
|
17
|
+
*
|
|
18
|
+
* Internal module: never re-exported from the package root by itself. The
|
|
19
|
+
* public surface is `eval-trajectory.ts` (builder) and `eval-trajectory-store.ts`
|
|
20
|
+
* (validation, persistence, promotion gate). Keeping this layer separate holds
|
|
21
|
+
* every file under the #1995 new-file ratchet cap while preserving one
|
|
22
|
+
* subsystem.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
declare const EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION = 1;
|
|
26
|
+
/** Default delayed-outcome window: 7 days, half-open `actionAt < outcomeAt < actionAt + window`. */
|
|
27
|
+
declare const DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS = 604800000;
|
|
28
|
+
/** Default allowed clock skew for input timestamps beyond `asOf`. */
|
|
29
|
+
declare const DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS = 300000;
|
|
30
|
+
/** Default cap on emitted rows per report. */
|
|
31
|
+
declare const DEFAULT_EVAL_TRAJECTORY_MAX_ROWS = 5000;
|
|
32
|
+
declare const MAX_EVAL_TRAJECTORY_ROWS_LIMIT = 50000;
|
|
33
|
+
/** Default reader expiry: a report older than 30 days fails the checked read. */
|
|
34
|
+
declare const DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS = 2592000000;
|
|
35
|
+
interface EvalTrajectoryWeights {
|
|
36
|
+
task: number;
|
|
37
|
+
context: number;
|
|
38
|
+
trust: number;
|
|
39
|
+
stale: number;
|
|
40
|
+
}
|
|
41
|
+
declare const DEFAULT_EVAL_TRAJECTORY_WEIGHTS: Readonly<EvalTrajectoryWeights>;
|
|
42
|
+
/** Action types whose live execution is destructive (irreversible) for promotion gating. */
|
|
43
|
+
declare const DESTRUCTIVE_ACTION_TYPES: Record<string, true>;
|
|
44
|
+
declare const STALE_LIFECYCLE_STATES: Record<string, true>;
|
|
45
|
+
declare const STALE_OUTCOMES: Record<string, true>;
|
|
46
|
+
/**
|
|
47
|
+
* Fixed promotion thresholds for `deriveUnifiedMemoryPromotionReport`. These
|
|
48
|
+
* are deliberately conservative named constants — #2348 owns application, and
|
|
49
|
+
* any loosening must be a reviewed change, not a config knob.
|
|
50
|
+
*/
|
|
51
|
+
declare const EVAL_TRAJECTORY_PROMOTION_THRESHOLDS: Readonly<{
|
|
52
|
+
minJoinedRows: 30;
|
|
53
|
+
minReach: 0.5;
|
|
54
|
+
}>;
|
|
55
|
+
interface EvalTrajectoryRunConfig {
|
|
56
|
+
outcomeWindowMs: number;
|
|
57
|
+
maxFutureSkewMs: number;
|
|
58
|
+
weights: EvalTrajectoryWeights;
|
|
59
|
+
maxRows: number;
|
|
60
|
+
}
|
|
61
|
+
declare function resolveEvalTrajectoryRunConfig(partial?: Partial<EvalTrajectoryRunConfig>): EvalTrajectoryRunConfig;
|
|
62
|
+
type EvalTrajectoryTaskResult = "success" | "partial" | "failure";
|
|
63
|
+
type EvalTrajectoryOutcomeSource = "eval_artifact" | "causal_trajectory" | "memory_outcome";
|
|
64
|
+
type EvalStaleUseLifecycleState = "active" | "stale" | "archived" | "superseded";
|
|
65
|
+
type EvalStaleUseOutcome = "success" | "partial" | "failure" | "unknown";
|
|
66
|
+
interface EvalActionInput {
|
|
67
|
+
schemaVersion: 1;
|
|
68
|
+
/** Stable action identity. Required — rows without it are rejected. */
|
|
69
|
+
actionId: string;
|
|
70
|
+
namespace: string;
|
|
71
|
+
actionAt: string;
|
|
72
|
+
action: MemoryActionType;
|
|
73
|
+
/** Immediate operation status. Never a delayed task result. */
|
|
74
|
+
immediateStatus: MemoryActionOutcome;
|
|
75
|
+
policyDecision?: MemoryActionPolicyDecision;
|
|
76
|
+
policyVersion?: string;
|
|
77
|
+
/** Producing subsystem tag (enum-like; exported through the projection). */
|
|
78
|
+
subsystem?: string;
|
|
79
|
+
sessionKey?: string;
|
|
80
|
+
memoryId?: string;
|
|
81
|
+
trajectoryId?: string;
|
|
82
|
+
contextTokensBefore?: number;
|
|
83
|
+
contextTokensAfter?: number;
|
|
84
|
+
contextTokenBudget?: number;
|
|
85
|
+
contextOverflow?: boolean;
|
|
86
|
+
replayMismatch?: boolean;
|
|
87
|
+
missingReversibleGuard?: boolean;
|
|
88
|
+
outsideEligibility?: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface EvalOutcomeInput {
|
|
91
|
+
schemaVersion: 1;
|
|
92
|
+
namespace: string;
|
|
93
|
+
/** Stable local identity used only for digesting/dedup — never exported. */
|
|
94
|
+
outcomeId: string;
|
|
95
|
+
outcomeAt: string;
|
|
96
|
+
source: EvalTrajectoryOutcomeSource;
|
|
97
|
+
/** success | partial | failure. Memory-outcome results never become task results. */
|
|
98
|
+
result?: EvalTrajectoryTaskResult;
|
|
99
|
+
actionId?: string;
|
|
100
|
+
trajectoryId?: string;
|
|
101
|
+
memoryId?: string;
|
|
102
|
+
sessionKey?: string;
|
|
103
|
+
}
|
|
104
|
+
interface EvalStaleUseEvidenceInput {
|
|
105
|
+
schemaVersion: 1;
|
|
106
|
+
namespace: string;
|
|
107
|
+
actionId: string;
|
|
108
|
+
memoryId: string;
|
|
109
|
+
lifecycleState: EvalStaleUseLifecycleState;
|
|
110
|
+
usedAt: string;
|
|
111
|
+
outcome: EvalStaleUseOutcome;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Normalized digest-only projections. Joins run on these, so raw IDs never
|
|
115
|
+
* reach the metric or export layers. Equality joins survive digesting because
|
|
116
|
+
* equal raw keys digest to equal values under the same run salt.
|
|
117
|
+
*/
|
|
118
|
+
interface EvalActionProjection {
|
|
119
|
+
schemaVersion: 1;
|
|
120
|
+
actionDigest: string;
|
|
121
|
+
namespaceDigest: string;
|
|
122
|
+
actionAt: string;
|
|
123
|
+
action: MemoryActionType;
|
|
124
|
+
immediateStatus: MemoryActionOutcome;
|
|
125
|
+
policyDecision: MemoryActionPolicyDecision | null;
|
|
126
|
+
policyVersion: string | null;
|
|
127
|
+
source: string | null;
|
|
128
|
+
actionIdDigest: string;
|
|
129
|
+
sessionKeyDigest: string | null;
|
|
130
|
+
memoryIdDigest: string | null;
|
|
131
|
+
trajectoryIdDigest: string | null;
|
|
132
|
+
contextTokenCost: number | null;
|
|
133
|
+
trustViolation: 0 | 1;
|
|
134
|
+
}
|
|
135
|
+
interface EvalOutcomeProjection {
|
|
136
|
+
schemaVersion: 1;
|
|
137
|
+
outcomeDigest: string;
|
|
138
|
+
namespaceDigest: string;
|
|
139
|
+
recordedAt: string;
|
|
140
|
+
kind: EvalTrajectoryOutcomeSource;
|
|
141
|
+
/** 1 | 0.5 | 0 for task sources; null when unknown or memory-sourced. */
|
|
142
|
+
value: number | null;
|
|
143
|
+
sourceRefDigest: string;
|
|
144
|
+
actionIdDigest: string | null;
|
|
145
|
+
trajectoryIdDigest: string | null;
|
|
146
|
+
memoryIdDigest: string | null;
|
|
147
|
+
sessionKeyDigest: string | null;
|
|
148
|
+
}
|
|
149
|
+
interface EvalStaleUseEvidence {
|
|
150
|
+
schemaVersion: 1;
|
|
151
|
+
actionDigest: string;
|
|
152
|
+
memoryDigest: string;
|
|
153
|
+
lifecycleState: EvalStaleUseLifecycleState;
|
|
154
|
+
usedAt: string;
|
|
155
|
+
outcome: EvalStaleUseOutcome;
|
|
156
|
+
}
|
|
157
|
+
type EvalTrajectoryMetricName = "taskOutcome" | "contextTokenCost" | "trustViolation" | "staleMemoryHarm";
|
|
158
|
+
type EvalTrajectoryJoinKind = "action_id" | "trajectory_id" | "memory_scope" | "session_scope";
|
|
159
|
+
type EvalTrajectoryRowStatus = "joined" | "ambiguous" | "late_outcome" | "future_outcome" | "missing_within_window";
|
|
160
|
+
type EvalTrajectoryRejectionReason = "missing_action_id" | "namespace_mismatch" | "invalid_timestamp" | "future_beyond_skew" | "malformed_row" | "invalid_context_budget" | "duplicate_row" | "max_rows_exceeded";
|
|
161
|
+
interface EvalActionOutcomeRow {
|
|
162
|
+
schemaVersion: 1;
|
|
163
|
+
actionDigest: string;
|
|
164
|
+
outcomeDigest: string | null;
|
|
165
|
+
join: EvalTrajectoryJoinKind | null;
|
|
166
|
+
status: EvalTrajectoryRowStatus;
|
|
167
|
+
outcomeRecordedAt: string | null;
|
|
168
|
+
taskOutcome: number | null;
|
|
169
|
+
contextTokenCost: number | null;
|
|
170
|
+
trustViolation: 0 | 1;
|
|
171
|
+
staleMemoryHarm: 0 | 0.5 | 1;
|
|
172
|
+
actionConditionedUtility: number | null;
|
|
173
|
+
missingDimensions: EvalTrajectoryMetricName[];
|
|
174
|
+
}
|
|
175
|
+
interface EvalTrajectoryAggregates {
|
|
176
|
+
rowCount: number;
|
|
177
|
+
statusCounts: Record<EvalTrajectoryRowStatus, number>;
|
|
178
|
+
metricMeans: {
|
|
179
|
+
taskOutcome: number | null;
|
|
180
|
+
contextTokenCost: number | null;
|
|
181
|
+
trustViolation: number | null;
|
|
182
|
+
staleMemoryHarm: number | null;
|
|
183
|
+
actionConditionedUtility: number | null;
|
|
184
|
+
};
|
|
185
|
+
coverage: {
|
|
186
|
+
reach: number | null;
|
|
187
|
+
joined: number;
|
|
188
|
+
missingWithinWindow: number;
|
|
189
|
+
lateOutcome: number;
|
|
190
|
+
futureOutcome: number;
|
|
191
|
+
ambiguous: number;
|
|
192
|
+
excludedFromMeans: number;
|
|
193
|
+
};
|
|
194
|
+
byAction: Array<{
|
|
195
|
+
action: MemoryActionType;
|
|
196
|
+
rowCount: number;
|
|
197
|
+
meanUtility: number | null;
|
|
198
|
+
}>;
|
|
199
|
+
byPolicyDecision: Array<{
|
|
200
|
+
policyDecision: string;
|
|
201
|
+
rowCount: number;
|
|
202
|
+
meanUtility: number | null;
|
|
203
|
+
}>;
|
|
204
|
+
}
|
|
205
|
+
interface EvalTrajectoryReport {
|
|
206
|
+
schemaVersion: 1;
|
|
207
|
+
reportId: string;
|
|
208
|
+
namespaceDigest: string;
|
|
209
|
+
asOf: string;
|
|
210
|
+
config: EvalTrajectoryRunConfig;
|
|
211
|
+
sourceCounts: {
|
|
212
|
+
actions: number;
|
|
213
|
+
outcomes: number;
|
|
214
|
+
staleUseEvidence: number;
|
|
215
|
+
};
|
|
216
|
+
rejectionCounts: Record<EvalTrajectoryRejectionReason, number>;
|
|
217
|
+
rows: EvalActionOutcomeRow[];
|
|
218
|
+
aggregates: EvalTrajectoryAggregates;
|
|
219
|
+
inputFingerprint: string;
|
|
220
|
+
contentHash: string;
|
|
221
|
+
}
|
|
222
|
+
type UnifiedMemoryPromotionState = "insufficient_evidence" | "shadow_eligible" | "active_reversible_eligible" | "active_destructive_review_only" | "demote_to_shadow";
|
|
223
|
+
interface UnifiedMemoryPromotionReport {
|
|
224
|
+
schemaVersion: 1;
|
|
225
|
+
sourceReportId: string;
|
|
226
|
+
namespaceDigest: string;
|
|
227
|
+
asOf: string;
|
|
228
|
+
inputFingerprint: string;
|
|
229
|
+
state: UnifiedMemoryPromotionState;
|
|
230
|
+
reasons: string[];
|
|
231
|
+
evidence: {
|
|
232
|
+
joinedRows: number;
|
|
233
|
+
reach: number | null;
|
|
234
|
+
meanUtility: number | null;
|
|
235
|
+
trustViolations: number;
|
|
236
|
+
staleHarms: number;
|
|
237
|
+
destructiveJoinedRows: number;
|
|
238
|
+
};
|
|
239
|
+
contentHash: string;
|
|
240
|
+
}
|
|
241
|
+
declare function sha256Hex(input: string): string;
|
|
242
|
+
declare function sortKeysDeep(value: unknown): unknown;
|
|
243
|
+
declare function canonicalJson(value: unknown): string;
|
|
244
|
+
declare function digestOf(salt: string, payload: unknown): string;
|
|
245
|
+
/** Byte-identical serialization for given report content, independent of construction order. */
|
|
246
|
+
declare function serializeEvalTrajectoryReport(report: EvalTrajectoryReport): string;
|
|
247
|
+
/** Total-order comparators (equality guarded — never let equal keys claim both orders). */
|
|
248
|
+
declare function compareStrings(a: string, b: string): number;
|
|
249
|
+
declare function compareRows(a: EvalActionOutcomeRow, b: EvalActionOutcomeRow): number;
|
|
250
|
+
declare function isIsoTimestamp(value: unknown): value is string;
|
|
251
|
+
declare function isNonEmptyString(value: unknown): value is string;
|
|
252
|
+
declare function isFiniteNumber(value: unknown): value is number;
|
|
253
|
+
declare function isMemoryActionType(value: unknown): value is MemoryActionType;
|
|
254
|
+
declare function isRowStatus(value: unknown): value is EvalTrajectoryRowStatus;
|
|
255
|
+
declare function isHexSha256(value: unknown): value is string;
|
|
256
|
+
|
|
257
|
+
export { DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS, DEFAULT_EVAL_TRAJECTORY_MAX_ROWS, DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS, DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS, DEFAULT_EVAL_TRAJECTORY_WEIGHTS, DESTRUCTIVE_ACTION_TYPES, EVAL_TRAJECTORY_PROMOTION_THRESHOLDS, EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION, type EvalActionInput, type EvalActionOutcomeRow, type EvalActionProjection, type EvalOutcomeInput, type EvalOutcomeProjection, type EvalStaleUseEvidence, type EvalStaleUseEvidenceInput, type EvalStaleUseLifecycleState, type EvalStaleUseOutcome, type EvalTrajectoryAggregates, type EvalTrajectoryJoinKind, type EvalTrajectoryMetricName, type EvalTrajectoryOutcomeSource, type EvalTrajectoryRejectionReason, type EvalTrajectoryReport, type EvalTrajectoryRowStatus, type EvalTrajectoryRunConfig, type EvalTrajectoryTaskResult, type EvalTrajectoryWeights, MAX_EVAL_TRAJECTORY_ROWS_LIMIT, STALE_LIFECYCLE_STATES, STALE_OUTCOMES, type UnifiedMemoryPromotionReport, type UnifiedMemoryPromotionState, canonicalJson, compareRows, compareStrings, digestOf, isFiniteNumber, isHexSha256, isIsoTimestamp, isMemoryActionType, isNonEmptyString, isRowStatus, resolveEvalTrajectoryRunConfig, serializeEvalTrajectoryReport, sha256Hex, sortKeysDeep };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS,
|
|
3
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_ROWS,
|
|
4
|
+
DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS,
|
|
5
|
+
DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,
|
|
6
|
+
DEFAULT_EVAL_TRAJECTORY_WEIGHTS,
|
|
7
|
+
DESTRUCTIVE_ACTION_TYPES,
|
|
8
|
+
EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,
|
|
9
|
+
EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,
|
|
10
|
+
MAX_EVAL_TRAJECTORY_ROWS_LIMIT,
|
|
11
|
+
STALE_LIFECYCLE_STATES,
|
|
12
|
+
STALE_OUTCOMES,
|
|
13
|
+
canonicalJson,
|
|
14
|
+
compareRows,
|
|
15
|
+
compareStrings,
|
|
16
|
+
digestOf,
|
|
17
|
+
isFiniteNumber,
|
|
18
|
+
isHexSha256,
|
|
19
|
+
isIsoTimestamp,
|
|
20
|
+
isMemoryActionType,
|
|
21
|
+
isNonEmptyString,
|
|
22
|
+
isRowStatus,
|
|
23
|
+
resolveEvalTrajectoryRunConfig,
|
|
24
|
+
serializeEvalTrajectoryReport,
|
|
25
|
+
sha256Hex,
|
|
26
|
+
sortKeysDeep
|
|
27
|
+
} from "./chunk-ULM7JCDH.js";
|
|
28
|
+
import "./chunk-PZ5AY32C.js";
|
|
29
|
+
export {
|
|
30
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS,
|
|
31
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_ROWS,
|
|
32
|
+
DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS,
|
|
33
|
+
DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,
|
|
34
|
+
DEFAULT_EVAL_TRAJECTORY_WEIGHTS,
|
|
35
|
+
DESTRUCTIVE_ACTION_TYPES,
|
|
36
|
+
EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,
|
|
37
|
+
EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,
|
|
38
|
+
MAX_EVAL_TRAJECTORY_ROWS_LIMIT,
|
|
39
|
+
STALE_LIFECYCLE_STATES,
|
|
40
|
+
STALE_OUTCOMES,
|
|
41
|
+
canonicalJson,
|
|
42
|
+
compareRows,
|
|
43
|
+
compareStrings,
|
|
44
|
+
digestOf,
|
|
45
|
+
isFiniteNumber,
|
|
46
|
+
isHexSha256,
|
|
47
|
+
isIsoTimestamp,
|
|
48
|
+
isMemoryActionType,
|
|
49
|
+
isNonEmptyString,
|
|
50
|
+
isRowStatus,
|
|
51
|
+
resolveEvalTrajectoryRunConfig,
|
|
52
|
+
serializeEvalTrajectoryReport,
|
|
53
|
+
sha256Hex,
|
|
54
|
+
sortKeysDeep
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=eval-trajectory-contracts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EvalTrajectoryReport, UnifiedMemoryPromotionReport } from './eval-trajectory-contracts.js';
|
|
2
|
+
import './types-djxQlxJ7.js';
|
|
3
|
+
import './message-parts/index.js';
|
|
4
|
+
import './bounded-jsonl-state.js';
|
|
5
|
+
import './types-CM86alG1.js';
|
|
6
|
+
import './operator-doctor-types.js';
|
|
7
|
+
import './external-wiki-config.js';
|
|
8
|
+
import './contradiction-config.js';
|
|
9
|
+
import './graph-path-scoring-config.js';
|
|
10
|
+
import './causal-trajectory.js';
|
|
11
|
+
import './objective-state.js';
|
|
12
|
+
import './active-context-config.js';
|
|
13
|
+
import './types-continuity.js';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Issue #2345 — validation, redaction, persistence, and the promotion gate for
|
|
17
|
+
* trajectory-eval reports.
|
|
18
|
+
*
|
|
19
|
+
* Fail-closed by construction:
|
|
20
|
+
* - every report is redaction-scanned before it can be validated or written,
|
|
21
|
+
* - the content hash and row-derived aggregates are recomputed on read,
|
|
22
|
+
* - the checked reader rejects tampered, future-dated, and expired reports,
|
|
23
|
+
* - the promotion gate can only recommend; it never runs an action.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
declare function deriveUnifiedMemoryPromotionReport(report: EvalTrajectoryReport): UnifiedMemoryPromotionReport;
|
|
27
|
+
declare function assertEvalTrajectoryReportRedacted(value: unknown, label?: string): void;
|
|
28
|
+
declare function validateEvalTrajectoryReport(raw: unknown): EvalTrajectoryReport;
|
|
29
|
+
declare function writeEvalTrajectoryReport(options: {
|
|
30
|
+
memoryDir?: string;
|
|
31
|
+
evalStoreDir?: string;
|
|
32
|
+
report: EvalTrajectoryReport;
|
|
33
|
+
}): Promise<string>;
|
|
34
|
+
declare function readEvalTrajectoryReport(options: {
|
|
35
|
+
reportPath: string;
|
|
36
|
+
now?: string;
|
|
37
|
+
maxReportAgeMs?: number;
|
|
38
|
+
}): Promise<EvalTrajectoryReport>;
|
|
39
|
+
|
|
40
|
+
export { assertEvalTrajectoryReportRedacted, deriveUnifiedMemoryPromotionReport, readEvalTrajectoryReport, validateEvalTrajectoryReport, writeEvalTrajectoryReport };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertEvalTrajectoryReportRedacted,
|
|
3
|
+
deriveUnifiedMemoryPromotionReport,
|
|
4
|
+
readEvalTrajectoryReport,
|
|
5
|
+
validateEvalTrajectoryReport,
|
|
6
|
+
writeEvalTrajectoryReport
|
|
7
|
+
} from "./chunk-JCCWJHOP.js";
|
|
8
|
+
import "./chunk-ULM7JCDH.js";
|
|
9
|
+
import "./chunk-MCA2X4WH.js";
|
|
10
|
+
import "./chunk-P77QX3ID.js";
|
|
11
|
+
import "./chunk-PZ5AY32C.js";
|
|
12
|
+
export {
|
|
13
|
+
assertEvalTrajectoryReportRedacted,
|
|
14
|
+
deriveUnifiedMemoryPromotionReport,
|
|
15
|
+
readEvalTrajectoryReport,
|
|
16
|
+
validateEvalTrajectoryReport,
|
|
17
|
+
writeEvalTrajectoryReport
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=eval-trajectory-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EvalTrajectoryRunConfig, EvalActionInput, EvalOutcomeInput, EvalStaleUseEvidenceInput, EvalTrajectoryReport } from './eval-trajectory-contracts.js';
|
|
2
|
+
export { DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS, DEFAULT_EVAL_TRAJECTORY_MAX_ROWS, DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS, DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS, DEFAULT_EVAL_TRAJECTORY_WEIGHTS, EVAL_TRAJECTORY_PROMOTION_THRESHOLDS, EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION, EvalActionProjection, EvalOutcomeProjection, EvalStaleUseEvidence, EvalStaleUseLifecycleState, EvalStaleUseOutcome, EvalTrajectoryAggregates, EvalTrajectoryJoinKind, EvalTrajectoryMetricName, EvalTrajectoryOutcomeSource, EvalTrajectoryRejectionReason, EvalTrajectoryRowStatus, EvalTrajectoryTaskResult, EvalTrajectoryWeights, MAX_EVAL_TRAJECTORY_ROWS_LIMIT, UnifiedMemoryPromotionReport, UnifiedMemoryPromotionState, resolveEvalTrajectoryRunConfig, serializeEvalTrajectoryReport } from './eval-trajectory-contracts.js';
|
|
3
|
+
export { assertEvalTrajectoryReportRedacted, deriveUnifiedMemoryPromotionReport, readEvalTrajectoryReport, validateEvalTrajectoryReport, writeEvalTrajectoryReport } from './eval-trajectory-store.js';
|
|
4
|
+
import './types-djxQlxJ7.js';
|
|
5
|
+
import './message-parts/index.js';
|
|
6
|
+
import './bounded-jsonl-state.js';
|
|
7
|
+
import './types-CM86alG1.js';
|
|
8
|
+
import './operator-doctor-types.js';
|
|
9
|
+
import './external-wiki-config.js';
|
|
10
|
+
import './contradiction-config.js';
|
|
11
|
+
import './graph-path-scoring-config.js';
|
|
12
|
+
import './causal-trajectory.js';
|
|
13
|
+
import './objective-state.js';
|
|
14
|
+
import './active-context-config.js';
|
|
15
|
+
import './types-continuity.js';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Issue #2345 — privacy-safe action-to-outcome trajectory evaluator (offline slice).
|
|
19
|
+
*
|
|
20
|
+
* Pure, local, deterministic evaluator that joins sanitized action rows to
|
|
21
|
+
* delayed outcome rows inside ONE namespace and ONE bounded time window, then
|
|
22
|
+
* emits a redacted shadow artifact (digests, enums, numbers, counts only).
|
|
23
|
+
*
|
|
24
|
+
* This module never:
|
|
25
|
+
* - reads live stores (inputs are synthetic or caller-sanitized rows),
|
|
26
|
+
* - calls a model or network,
|
|
27
|
+
* - mutates memories, counters, utility runtime, or policy decisions.
|
|
28
|
+
*
|
|
29
|
+
* Delivery note (issue "Delivery order"): schema + offline path first. The
|
|
30
|
+
* live `EvalTrajectoryReader` projections and eval-queue wiring arrive with
|
|
31
|
+
* #2348; this module ships the contract they will feed.
|
|
32
|
+
*
|
|
33
|
+
* Contracts and shared helpers live in `eval-trajectory-contracts.ts`;
|
|
34
|
+
* validation, persistence, and the promotion gate live in
|
|
35
|
+
* `eval-trajectory-store.ts`. Both are re-exported here so consumers import
|
|
36
|
+
* one public surface.
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Future live-reader seam (#2348). Must receive a trusted principal and a
|
|
41
|
+
* resolved namespace, verify access, and return sanitized rows only.
|
|
42
|
+
*/
|
|
43
|
+
interface EvalTrajectoryReaderResult {
|
|
44
|
+
actions: EvalActionInput[];
|
|
45
|
+
outcomes: EvalOutcomeInput[];
|
|
46
|
+
staleUseEvidence: EvalStaleUseEvidenceInput[];
|
|
47
|
+
}
|
|
48
|
+
type EvalTrajectoryReader = (input: {
|
|
49
|
+
trustedPrincipal: string;
|
|
50
|
+
resolvedNamespace: string;
|
|
51
|
+
asOf: string;
|
|
52
|
+
}) => Promise<EvalTrajectoryReaderResult> | EvalTrajectoryReaderResult;
|
|
53
|
+
/** Synthetic reader over caller-supplied clean rows (tests, offline runs). */
|
|
54
|
+
declare function createSyntheticEvalTrajectoryReader(rows: EvalTrajectoryReaderResult): EvalTrajectoryReader;
|
|
55
|
+
interface BuildEvalTrajectoryReportOptions {
|
|
56
|
+
/** Single resolved namespace for the whole run. Never "all namespaces". */
|
|
57
|
+
namespace: string;
|
|
58
|
+
asOf: string;
|
|
59
|
+
/** Per-run salt. Required, never exported. */
|
|
60
|
+
salt: string;
|
|
61
|
+
actions: unknown[];
|
|
62
|
+
outcomes?: unknown[];
|
|
63
|
+
staleUseEvidence?: unknown[];
|
|
64
|
+
config?: Partial<EvalTrajectoryRunConfig>;
|
|
65
|
+
}
|
|
66
|
+
declare function buildEvalTrajectoryReport(options: BuildEvalTrajectoryReportOptions): EvalTrajectoryReport;
|
|
67
|
+
|
|
68
|
+
export { type BuildEvalTrajectoryReportOptions, EvalActionInput, EvalOutcomeInput, EvalStaleUseEvidenceInput, type EvalTrajectoryReader, type EvalTrajectoryReaderResult, EvalTrajectoryReport, EvalTrajectoryRunConfig, buildEvalTrajectoryReport, createSyntheticEvalTrajectoryReader };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildEvalTrajectoryReport,
|
|
3
|
+
createSyntheticEvalTrajectoryReader
|
|
4
|
+
} from "./chunk-W2UOAATB.js";
|
|
5
|
+
import {
|
|
6
|
+
assertEvalTrajectoryReportRedacted,
|
|
7
|
+
deriveUnifiedMemoryPromotionReport,
|
|
8
|
+
readEvalTrajectoryReport,
|
|
9
|
+
validateEvalTrajectoryReport,
|
|
10
|
+
writeEvalTrajectoryReport
|
|
11
|
+
} from "./chunk-JCCWJHOP.js";
|
|
12
|
+
import {
|
|
13
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS,
|
|
14
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_ROWS,
|
|
15
|
+
DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS,
|
|
16
|
+
DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,
|
|
17
|
+
DEFAULT_EVAL_TRAJECTORY_WEIGHTS,
|
|
18
|
+
EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,
|
|
19
|
+
EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,
|
|
20
|
+
MAX_EVAL_TRAJECTORY_ROWS_LIMIT,
|
|
21
|
+
resolveEvalTrajectoryRunConfig,
|
|
22
|
+
serializeEvalTrajectoryReport
|
|
23
|
+
} from "./chunk-ULM7JCDH.js";
|
|
24
|
+
import "./chunk-MCA2X4WH.js";
|
|
25
|
+
import "./chunk-P77QX3ID.js";
|
|
26
|
+
import "./chunk-PZ5AY32C.js";
|
|
27
|
+
export {
|
|
28
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_FUTURE_SKEW_MS,
|
|
29
|
+
DEFAULT_EVAL_TRAJECTORY_MAX_ROWS,
|
|
30
|
+
DEFAULT_EVAL_TRAJECTORY_OUTCOME_WINDOW_MS,
|
|
31
|
+
DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,
|
|
32
|
+
DEFAULT_EVAL_TRAJECTORY_WEIGHTS,
|
|
33
|
+
EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,
|
|
34
|
+
EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,
|
|
35
|
+
MAX_EVAL_TRAJECTORY_ROWS_LIMIT,
|
|
36
|
+
assertEvalTrajectoryReportRedacted,
|
|
37
|
+
buildEvalTrajectoryReport,
|
|
38
|
+
createSyntheticEvalTrajectoryReader,
|
|
39
|
+
deriveUnifiedMemoryPromotionReport,
|
|
40
|
+
readEvalTrajectoryReport,
|
|
41
|
+
resolveEvalTrajectoryRunConfig,
|
|
42
|
+
serializeEvalTrajectoryReport,
|
|
43
|
+
validateEvalTrajectoryReport,
|
|
44
|
+
writeEvalTrajectoryReport
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=eval-trajectory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildEventOrderRecallSection
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-LUPVCGYK.js";
|
|
3
|
+
} from "./chunk-645WOU5I.js";
|
|
5
4
|
import {
|
|
6
5
|
shouldRecallEventOrderEvidence
|
|
7
6
|
} from "./chunk-BUYVPUEM.js";
|
|
7
|
+
import "./chunk-LUPVCGYK.js";
|
|
8
8
|
import "./chunk-DGFU5MSX.js";
|
|
9
9
|
import "./chunk-C37ZRXX7.js";
|
|
10
10
|
import "./chunk-K2XUWZBM.js";
|