@remnic/core 9.65.5 → 9.65.7
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 +11 -11
- package/dist/access-admin-ops-surface.js +26 -26
- package/dist/access-authorization-probe.d.ts +11 -11
- package/dist/access-authorization-probe.js +27 -27
- package/dist/access-boundary.d.ts +11 -11
- package/dist/access-boundary.js +26 -26
- package/dist/access-cli.js +110 -104
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +1 -1
- package/dist/access-extraction-force-flush.d.ts +11 -11
- package/dist/access-extraction-force-flush.js +26 -26
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-lcm-compaction.d.ts +11 -11
- package/dist/access-http-lifecycle-flush.d.ts +11 -11
- package/dist/access-http-offline-stream.d.ts +11 -11
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +28 -28
- package/dist/access-http.d.ts +13 -18
- package/dist/access-http.js +46 -44
- package/dist/access-identity-continuity-surface.d.ts +9 -9
- package/dist/access-identity-continuity-surface.js +26 -26
- package/dist/access-lcm-surface.d.ts +11 -11
- package/dist/access-lcm-surface.js +26 -26
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +11 -11
- package/dist/access-mcp.js +37 -35
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-D_6mo8ms.d.ts → access-namespace-preflight-8VYKmRX0.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +26 -26
- package/dist/access-observe-write-surface.d.ts +11 -11
- package/dist/access-observe-write-surface.js +26 -26
- package/dist/access-offline-manifest.d.ts +9 -9
- package/dist/access-operations-batch.js +29 -29
- package/dist/access-operations.d.ts +12 -12
- package/dist/access-operations.js +34 -32
- package/dist/access-recall-concurrency.d.ts +11 -11
- package/dist/access-recall-concurrency.js +26 -26
- package/dist/access-recall-response.d.ts +11 -11
- package/dist/access-recall-response.js +26 -26
- package/dist/access-recall-surface.d.ts +11 -11
- package/dist/access-recall-surface.js +26 -26
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-sbiNS5UB.d.ts → access-service-Crk__Git.d.ts} +8 -8
- package/dist/access-service-helpers.d.ts +11 -11
- package/dist/access-service.d.ts +11 -11
- package/dist/access-service.js +26 -26
- package/dist/access-surface-catalog.d.ts +11 -11
- package/dist/access-surface-catalog.js +38 -28
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +3 -3
- 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 -4
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -9
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +8 -8
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-DO_7zfkv.d.ts → catalog-DybwVNW3.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 +11 -11
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-NZPFCP5A.js → chunk-2PSX5BJU.js} +2 -2
- package/dist/chunk-3BCULS4U.js +1093 -0
- package/dist/chunk-3BCULS4U.js.map +1 -0
- package/dist/{chunk-IIRCHGWD.js → chunk-3RI5Y7KU.js} +2 -2
- package/dist/{chunk-H7BZBSP6.js → chunk-52II7PB6.js} +4 -4
- package/dist/{chunk-J3ATBB7M.js → chunk-5DH6PG4B.js} +2 -2
- package/dist/{chunk-M4AHBM72.js → chunk-5HERQ5FX.js} +10 -10
- package/dist/{chunk-W675UJCZ.js → chunk-5HK3CJAR.js} +2 -2
- package/dist/{chunk-2MVTAIL3.js → chunk-5S4LQOPE.js} +2 -2
- package/dist/{chunk-OZDFB22S.js → chunk-5VPQSRQO.js} +3 -3
- package/dist/{chunk-YZJM6CLF.js → chunk-6CPUQ5D6.js} +10 -10
- package/dist/{chunk-2IXQSGCU.js → chunk-7F27PCSN.js} +2 -2
- package/dist/{chunk-OWQNJJY2.js → chunk-7TCGNUVP.js} +2 -2
- package/dist/{chunk-3NH3VP3U.js → chunk-7WR462EM.js} +2 -2
- package/dist/{chunk-NH6LC57D.js → chunk-A32YEQAM.js} +2 -2
- package/dist/{chunk-HF5BUTI6.js → chunk-ACOC27BB.js} +2 -2
- package/dist/{chunk-N56GVOWR.js → chunk-AFR6AIM4.js} +144 -78
- package/dist/chunk-AFR6AIM4.js.map +1 -0
- package/dist/{chunk-LYBIHM4N.js → chunk-ANJXPFRS.js} +47 -26
- package/dist/chunk-ANJXPFRS.js.map +1 -0
- package/dist/{chunk-FC7TIRFS.js → chunk-AX7UXCHJ.js} +6 -1
- package/dist/chunk-AX7UXCHJ.js.map +1 -0
- package/dist/{chunk-THVI4Y7X.js → chunk-BJTHRFFC.js} +6 -6
- package/dist/chunk-BWGCOLEL.js +61 -0
- package/dist/chunk-BWGCOLEL.js.map +1 -0
- package/dist/{chunk-BW4GAF57.js → chunk-CFGU52XJ.js} +2 -2
- package/dist/{chunk-DPNXADEI.js → chunk-D4QVPP3G.js} +2 -2
- package/dist/{chunk-BK5G2MHO.js → chunk-EOHKUWXW.js} +2 -2
- package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
- package/dist/{chunk-ZK4BFABK.js → chunk-F635GAL7.js} +4 -4
- package/dist/{chunk-IURMJBGP.js → chunk-F6QHHRWP.js} +2 -2
- package/dist/{chunk-BA2GLSIP.js → chunk-FMQ4MOQO.js} +91 -28
- package/dist/chunk-FMQ4MOQO.js.map +1 -0
- package/dist/{chunk-LDBFXD4F.js → chunk-FP7YTTVO.js} +3 -1
- package/dist/chunk-FP7YTTVO.js.map +1 -0
- package/dist/{chunk-TJFI3K2O.js → chunk-GEPACVWN.js} +2 -2
- package/dist/{chunk-PP7R754B.js → chunk-GPFZFCRN.js} +1 -1
- package/dist/{chunk-UCKG36HO.js → chunk-GTSVEEP3.js} +2 -2
- package/dist/{chunk-KTPXXVDQ.js → chunk-I4343FIA.js} +79 -6
- package/dist/chunk-I4343FIA.js.map +1 -0
- package/dist/{chunk-DPGH6LHQ.js → chunk-I7EX6KSH.js} +57 -57
- package/dist/{chunk-JPAKBNTM.js → chunk-IP4ZNT4U.js} +2 -2
- package/dist/{chunk-AXGFOFNY.js → chunk-IY7UXD3J.js} +2 -2
- package/dist/{chunk-YHCBJULX.js → chunk-JAQXUGLN.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/chunk-JCCWJHOP.js +240 -0
- package/dist/chunk-JCCWJHOP.js.map +1 -0
- package/dist/{chunk-VDX2J7OX.js → chunk-KQAFEZQX.js} +2 -2
- package/dist/{chunk-D2YNNDML.js → chunk-KWIGDKM2.js} +2 -2
- package/dist/{chunk-YB4GBWBU.js → chunk-LLQCM2U2.js} +81 -81
- package/dist/{chunk-OLBZ2WGG.js → chunk-LTBKKSCX.js} +2 -2
- package/dist/{chunk-DORFF5N5.js → chunk-NG3MBQV4.js} +2 -2
- package/dist/{chunk-DUEDOYZD.js → chunk-OPGL46PX.js} +2 -2
- package/dist/{chunk-OUKBMQ2O.js → chunk-PD66CVSD.js} +2 -2
- package/dist/{chunk-CQBIN77D.js → chunk-PDDSFELN.js} +2 -2
- package/dist/{chunk-6433HV72.js → chunk-PMVPCZJZ.js} +2 -2
- package/dist/{chunk-DJZWNKFO.js → chunk-RGCF4XNH.js} +7 -7
- package/dist/{chunk-CV3GNPOE.js → chunk-RQE4TITU.js} +29 -24
- package/dist/chunk-RQE4TITU.js.map +1 -0
- package/dist/{chunk-4JSF7UUP.js → chunk-S3K2CIK5.js} +2 -2
- package/dist/chunk-SDEPLF7V.js +325 -0
- package/dist/chunk-SDEPLF7V.js.map +1 -0
- package/dist/{chunk-OCCHUEZB.js → chunk-SEA6M7SS.js} +2 -2
- package/dist/{chunk-KOO37E4Y.js → chunk-SVVIASVX.js} +2 -2
- package/dist/{chunk-4K7IW3F7.js → chunk-UD7UNYRD.js} +34 -3
- package/dist/chunk-UD7UNYRD.js.map +1 -0
- package/dist/chunk-ULM7JCDH.js +154 -0
- package/dist/chunk-ULM7JCDH.js.map +1 -0
- package/dist/{chunk-FBR7PIL4.js → chunk-VKCAHCBI.js} +2 -2
- package/dist/{chunk-WDXD6ITO.js → chunk-VXVZ2GM3.js} +2 -2
- package/dist/chunk-W2UOAATB.js +521 -0
- package/dist/chunk-W2UOAATB.js.map +1 -0
- package/dist/{chunk-DUZARALI.js → chunk-WTOZBZNN.js} +3 -3
- package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-2EPOGPKO.js → chunk-YKWFK7XA.js} +5 -5
- package/dist/{chunk-BIJAWZYW.js → chunk-YMOPYG3K.js} +6 -6
- package/dist/{chunk-UFR6HX7A.js → chunk-YRVAKONL.js} +1 -1
- package/dist/{chunk-ECLJ4LA2.js → chunk-YWSQD2IB.js} +2 -2
- package/dist/{chunk-NLEH4RTB.js → chunk-Z4U3UN56.js} +2 -2
- package/dist/{chunk-YDKF4MSJ.js → chunk-ZAOHJDKH.js} +3 -3
- package/dist/{chunk-KFIOPZ25.js → chunk-ZIJDI4CP.js} +2 -2
- package/dist/{cli-BqdqPdG_.d.ts → cli-B322UMvB.d.ts} +6 -6
- package/dist/cli.d.ts +14 -14
- package/dist/cli.js +73 -72
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +8 -8
- 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 -4
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +8 -8
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +8 -8
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +3 -3
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +10 -10
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +10 -10
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-D23_x-s5.d.ts → dependency-propagation-delivery-BGcNairQ.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-origin-fields.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +8 -8
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/eval-trajectory-contracts.d.ts +256 -0
- package/dist/eval-trajectory-contracts.js +56 -0
- package/dist/eval-trajectory-store.d.ts +39 -0
- package/dist/eval-trajectory-store.js +19 -0
- package/dist/eval-trajectory-store.js.map +1 -0
- package/dist/eval-trajectory.d.ts +67 -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 +9 -9
- package/dist/external-wiki-access.d.ts +11 -11
- package/dist/external-wiki-access.js +27 -27
- package/dist/external-wiki-collection-registration.d.ts +1 -1
- package/dist/external-wiki-collection.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +11 -11
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-prompt.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +10 -10
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/{graph-edge-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 +1 -1
- package/dist/graph-path-reconstruction.d.ts +1 -1
- package/dist/graph-path-scoring.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +1 -1
- package/dist/graph.js +3 -3
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/{index--QhGIXF2.d.ts → index-By2QUAMh.d.ts} +2 -2
- package/dist/index.d.ts +27 -23
- package/dist/index.js +199 -141
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +10 -10
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/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 +1 -1
- package/dist/maintenance/memory-governance.js +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/{maintenance-PFvY1Pw_.d.ts → maintenance-Dm2McrIx.d.ts} +4 -3
- package/dist/mcp-memory-inspector-app.d.ts +11 -11
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-controller.d.ts +203 -0
- package/dist/memory-controller.js +23 -0
- package/dist/memory-controller.js.map +1 -0
- 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-snapshot.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +11 -11
- package/dist/memory-subject.d.ts +11 -11
- package/dist/memory-worth-outcomes.d.ts +47 -3
- package/dist/memory-worth-outcomes.js +5 -3
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +9 -9
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +8 -8
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +11 -11
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +22 -22
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +16 -14
- package/dist/{orchestrator-4wzJrPVm.d.ts → orchestrator-Co1DyfuP.d.ts} +8 -8
- package/dist/orchestrator.d.ts +9 -9
- package/dist/orchestrator.js +110 -104
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-CgXgdIrF.d.ts → pipeline-DotMnb6y.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{public-http-BP3VQDl5.d.ts → public-http-PJRtnSi-.d.ts} +1 -1
- package/dist/{qmd-BppGGxsi.d.ts → qmd-BP0n11fR.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.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-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/manifest.d.ts +1 -1
- package/dist/reconcile/plan.d.ts +1 -1
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +5 -5
- package/dist/retrieval-agents.d.ts +2 -2
- 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/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-ChZUtxDU.d.ts → scope-profiles-6ChZKTy-.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 +4 -4
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +10 -10
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-mSPwQSmF.d.ts → semantic-consolidation-DziYcW5J.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +9 -9
- package/dist/semantic-rule-promotion.js +8 -8
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/{service-BICWLwSP.d.ts → service-C7rIBuK_.d.ts} +2 -2
- 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/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +8 -8
- package/dist/{storage-B7urx1K3.d.ts → storage-B1hEx8Xg.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +7 -7
- package/dist/subject-config.d.ts +1 -1
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +14 -14
- package/dist/support-passport/index.js +29 -29
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.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 +2 -2
- 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 +2 -2
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-ETU5N6nB.d.ts → types-BHDNxGTT.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +8 -8
- package/dist/who-knows-cli.d.ts +11 -11
- package/dist/who-knows-cli.js +9 -9
- package/dist/who-knows.d.ts +11 -11
- package/dist/who-knows.js +8 -8
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -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/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 +5 -0
- 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-controller.test.ts +347 -0
- package/src/memory-controller.ts +547 -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/wearables/http-glue.ts +28 -0
- package/dist/chunk-4K7IW3F7.js.map +0 -1
- package/dist/chunk-BA2GLSIP.js.map +0 -1
- package/dist/chunk-CV3GNPOE.js.map +0 -1
- package/dist/chunk-FC7TIRFS.js.map +0 -1
- package/dist/chunk-KTPXXVDQ.js.map +0 -1
- package/dist/chunk-LDBFXD4F.js.map +0 -1
- package/dist/chunk-LYBIHM4N.js.map +0 -1
- package/dist/chunk-N56GVOWR.js.map +0 -1
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-NZPFCP5A.js.map → chunk-2PSX5BJU.js.map} +0 -0
- /package/dist/{chunk-IIRCHGWD.js.map → chunk-3RI5Y7KU.js.map} +0 -0
- /package/dist/{chunk-H7BZBSP6.js.map → chunk-52II7PB6.js.map} +0 -0
- /package/dist/{chunk-J3ATBB7M.js.map → chunk-5DH6PG4B.js.map} +0 -0
- /package/dist/{chunk-M4AHBM72.js.map → chunk-5HERQ5FX.js.map} +0 -0
- /package/dist/{chunk-W675UJCZ.js.map → chunk-5HK3CJAR.js.map} +0 -0
- /package/dist/{chunk-2MVTAIL3.js.map → chunk-5S4LQOPE.js.map} +0 -0
- /package/dist/{chunk-OZDFB22S.js.map → chunk-5VPQSRQO.js.map} +0 -0
- /package/dist/{chunk-YZJM6CLF.js.map → chunk-6CPUQ5D6.js.map} +0 -0
- /package/dist/{chunk-2IXQSGCU.js.map → chunk-7F27PCSN.js.map} +0 -0
- /package/dist/{chunk-OWQNJJY2.js.map → chunk-7TCGNUVP.js.map} +0 -0
- /package/dist/{chunk-3NH3VP3U.js.map → chunk-7WR462EM.js.map} +0 -0
- /package/dist/{chunk-NH6LC57D.js.map → chunk-A32YEQAM.js.map} +0 -0
- /package/dist/{chunk-HF5BUTI6.js.map → chunk-ACOC27BB.js.map} +0 -0
- /package/dist/{chunk-THVI4Y7X.js.map → chunk-BJTHRFFC.js.map} +0 -0
- /package/dist/{chunk-BW4GAF57.js.map → chunk-CFGU52XJ.js.map} +0 -0
- /package/dist/{chunk-DPNXADEI.js.map → chunk-D4QVPP3G.js.map} +0 -0
- /package/dist/{chunk-BK5G2MHO.js.map → chunk-EOHKUWXW.js.map} +0 -0
- /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
- /package/dist/{chunk-ZK4BFABK.js.map → chunk-F635GAL7.js.map} +0 -0
- /package/dist/{chunk-IURMJBGP.js.map → chunk-F6QHHRWP.js.map} +0 -0
- /package/dist/{chunk-TJFI3K2O.js.map → chunk-GEPACVWN.js.map} +0 -0
- /package/dist/{chunk-PP7R754B.js.map → chunk-GPFZFCRN.js.map} +0 -0
- /package/dist/{chunk-UCKG36HO.js.map → chunk-GTSVEEP3.js.map} +0 -0
- /package/dist/{chunk-DPGH6LHQ.js.map → chunk-I7EX6KSH.js.map} +0 -0
- /package/dist/{chunk-JPAKBNTM.js.map → chunk-IP4ZNT4U.js.map} +0 -0
- /package/dist/{chunk-AXGFOFNY.js.map → chunk-IY7UXD3J.js.map} +0 -0
- /package/dist/{chunk-YHCBJULX.js.map → chunk-JAQXUGLN.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-D2YNNDML.js.map → chunk-KWIGDKM2.js.map} +0 -0
- /package/dist/{chunk-YB4GBWBU.js.map → chunk-LLQCM2U2.js.map} +0 -0
- /package/dist/{chunk-OLBZ2WGG.js.map → chunk-LTBKKSCX.js.map} +0 -0
- /package/dist/{chunk-DORFF5N5.js.map → chunk-NG3MBQV4.js.map} +0 -0
- /package/dist/{chunk-DUEDOYZD.js.map → chunk-OPGL46PX.js.map} +0 -0
- /package/dist/{chunk-OUKBMQ2O.js.map → chunk-PD66CVSD.js.map} +0 -0
- /package/dist/{chunk-CQBIN77D.js.map → chunk-PDDSFELN.js.map} +0 -0
- /package/dist/{chunk-6433HV72.js.map → chunk-PMVPCZJZ.js.map} +0 -0
- /package/dist/{chunk-DJZWNKFO.js.map → chunk-RGCF4XNH.js.map} +0 -0
- /package/dist/{chunk-4JSF7UUP.js.map → chunk-S3K2CIK5.js.map} +0 -0
- /package/dist/{chunk-OCCHUEZB.js.map → chunk-SEA6M7SS.js.map} +0 -0
- /package/dist/{chunk-KOO37E4Y.js.map → chunk-SVVIASVX.js.map} +0 -0
- /package/dist/{chunk-FBR7PIL4.js.map → chunk-VKCAHCBI.js.map} +0 -0
- /package/dist/{chunk-WDXD6ITO.js.map → chunk-VXVZ2GM3.js.map} +0 -0
- /package/dist/{chunk-DUZARALI.js.map → chunk-WTOZBZNN.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-2EPOGPKO.js.map → chunk-YKWFK7XA.js.map} +0 -0
- /package/dist/{chunk-BIJAWZYW.js.map → chunk-YMOPYG3K.js.map} +0 -0
- /package/dist/{chunk-UFR6HX7A.js.map → chunk-YRVAKONL.js.map} +0 -0
- /package/dist/{chunk-ECLJ4LA2.js.map → chunk-YWSQD2IB.js.map} +0 -0
- /package/dist/{chunk-NLEH4RTB.js.map → chunk-Z4U3UN56.js.map} +0 -0
- /package/dist/{chunk-YDKF4MSJ.js.map → chunk-ZAOHJDKH.js.map} +0 -0
- /package/dist/{chunk-KFIOPZ25.js.map → chunk-ZIJDI4CP.js.map} +0 -0
- /package/dist/{graph-edge-decay-FXGELBFA.js.map → eval-trajectory-contracts.js.map} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
openclawReplayNormalizer
|
|
3
|
+
} from "./chunk-H4CKS5B2.js";
|
|
1
4
|
import {
|
|
2
5
|
chatgptReplayNormalizer
|
|
3
6
|
} from "./chunk-MMACM5G2.js";
|
|
@@ -5,20 +8,14 @@ import {
|
|
|
5
8
|
claudeReplayNormalizer
|
|
6
9
|
} from "./chunk-54BGIBCR.js";
|
|
7
10
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
exportSqlite
|
|
12
|
+
} from "./chunk-BV2TIZ4F.js";
|
|
10
13
|
import {
|
|
11
14
|
importMarkdownBundle
|
|
12
15
|
} from "./chunk-HDDRVXX4.js";
|
|
13
16
|
import {
|
|
14
17
|
importSqlite
|
|
15
18
|
} from "./chunk-PYHOAXTI.js";
|
|
16
|
-
import {
|
|
17
|
-
exportJsonBundle
|
|
18
|
-
} from "./chunk-UP6MOYCB.js";
|
|
19
|
-
import {
|
|
20
|
-
exportSqlite
|
|
21
|
-
} from "./chunk-BV2TIZ4F.js";
|
|
22
19
|
import {
|
|
23
20
|
detectImportFormat
|
|
24
21
|
} from "./chunk-OZKVVUJB.js";
|
|
@@ -27,16 +24,13 @@ import {
|
|
|
27
24
|
} from "./chunk-2DL3OFLD.js";
|
|
28
25
|
import {
|
|
29
26
|
backupMemoryDir
|
|
30
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2NLLXCJG.js";
|
|
31
28
|
import {
|
|
32
29
|
exportMarkdownBundle
|
|
33
30
|
} from "./chunk-765K3SAT.js";
|
|
34
31
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
WebDavServer
|
|
39
|
-
} from "./chunk-PYIFUBRK.js";
|
|
32
|
+
exportJsonBundle
|
|
33
|
+
} from "./chunk-UP6MOYCB.js";
|
|
40
34
|
import {
|
|
41
35
|
buildReplayNormalizerRegistry,
|
|
42
36
|
clampBatchSize,
|
|
@@ -47,29 +41,35 @@ import {
|
|
|
47
41
|
normalizeReplaySessionKey
|
|
48
42
|
} from "./chunk-AJVLDJU6.js";
|
|
49
43
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
44
|
+
RoutingRulesStore
|
|
45
|
+
} from "./chunk-TBUEE7XF.js";
|
|
52
46
|
import {
|
|
53
47
|
TailscaleHelper
|
|
54
48
|
} from "./chunk-EEC4PCG5.js";
|
|
49
|
+
import {
|
|
50
|
+
WebDavServer
|
|
51
|
+
} from "./chunk-PYIFUBRK.js";
|
|
55
52
|
import {
|
|
56
53
|
migrateObservations
|
|
57
54
|
} from "./chunk-IIFFC3RL.js";
|
|
58
55
|
import {
|
|
59
56
|
rebuildMemoryLifecycleLedger
|
|
60
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7WR462EM.js";
|
|
58
|
+
import {
|
|
59
|
+
rebuildObservations
|
|
60
|
+
} from "./chunk-DQTCGVFK.js";
|
|
61
61
|
import {
|
|
62
62
|
archiveObservations
|
|
63
63
|
} from "./chunk-YLBE6PLR.js";
|
|
64
|
-
import {
|
|
65
|
-
runCompatChecks
|
|
66
|
-
} from "./chunk-CDKHKZL5.js";
|
|
67
64
|
import {
|
|
68
65
|
getBulkImportSource,
|
|
69
66
|
listBulkImportSources,
|
|
70
67
|
registerBulkImportSource,
|
|
71
68
|
runBulkImportPipeline
|
|
72
69
|
} from "./chunk-HSSERO3E.js";
|
|
70
|
+
import {
|
|
71
|
+
runCompatChecks
|
|
72
|
+
} from "./chunk-CDKHKZL5.js";
|
|
73
73
|
import {
|
|
74
74
|
getUtilityLearningStatus,
|
|
75
75
|
learnUtilityPromotionWeights
|
|
@@ -80,21 +80,21 @@ import {
|
|
|
80
80
|
} from "./chunk-6FC3IZ26.js";
|
|
81
81
|
import {
|
|
82
82
|
searchVerifiedEpisodes
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-YWSQD2IB.js";
|
|
84
84
|
import {
|
|
85
85
|
ThreadingManager
|
|
86
86
|
} from "./chunk-OJP3N7UK.js";
|
|
87
87
|
import {
|
|
88
88
|
promoteSemanticRuleFromMemory
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-5DH6PG4B.js";
|
|
90
90
|
import {
|
|
91
91
|
searchVerifiedSemanticRules
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-SEA6M7SS.js";
|
|
93
93
|
import {
|
|
94
94
|
buildResumeBundleFromState,
|
|
95
95
|
getResumeBundleStatus,
|
|
96
96
|
recordResumeBundle
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-IY7UXD3J.js";
|
|
98
98
|
import {
|
|
99
99
|
getWorkProductLedgerStatus,
|
|
100
100
|
recordWorkProductLedgerEntry,
|
|
@@ -106,19 +106,6 @@ import {
|
|
|
106
106
|
import {
|
|
107
107
|
parseXrayCliOptions
|
|
108
108
|
} from "./chunk-R2MZCYA6.js";
|
|
109
|
-
import {
|
|
110
|
-
collectPatternMemories,
|
|
111
|
-
explainPatternMemory,
|
|
112
|
-
parsePatternsExplainOptions,
|
|
113
|
-
parsePatternsListOptions,
|
|
114
|
-
parseStrictCliDate,
|
|
115
|
-
renderPatternExplain,
|
|
116
|
-
renderPatternsList
|
|
117
|
-
} from "./chunk-3T74IZB3.js";
|
|
118
|
-
import {
|
|
119
|
-
readRuntimePolicySnapshot,
|
|
120
|
-
sanitizeRuntimePolicyValues
|
|
121
|
-
} from "./chunk-2LA3H54D.js";
|
|
122
109
|
import {
|
|
123
110
|
formatNamespaceMaintenanceHealthText,
|
|
124
111
|
runBenchmarkRecall,
|
|
@@ -127,12 +114,25 @@ import {
|
|
|
127
114
|
runOperatorInventory,
|
|
128
115
|
runOperatorRepair,
|
|
129
116
|
runOperatorSetup
|
|
130
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-6CPUQ5D6.js";
|
|
131
118
|
import {
|
|
132
119
|
analyzeSessionIntegrity,
|
|
133
120
|
applySessionRepair,
|
|
134
121
|
planSessionRepair
|
|
135
122
|
} from "./chunk-KFY3SGN7.js";
|
|
123
|
+
import {
|
|
124
|
+
collectPatternMemories,
|
|
125
|
+
explainPatternMemory,
|
|
126
|
+
parsePatternsExplainOptions,
|
|
127
|
+
parsePatternsListOptions,
|
|
128
|
+
parseStrictCliDate,
|
|
129
|
+
renderPatternExplain,
|
|
130
|
+
renderPatternsList
|
|
131
|
+
} from "./chunk-3T74IZB3.js";
|
|
132
|
+
import {
|
|
133
|
+
readRuntimePolicySnapshot,
|
|
134
|
+
sanitizeRuntimePolicyValues
|
|
135
|
+
} from "./chunk-2LA3H54D.js";
|
|
136
136
|
import {
|
|
137
137
|
GITHUB_CONNECTOR_ID,
|
|
138
138
|
GMAIL_CONNECTOR_ID,
|
|
@@ -150,12 +150,12 @@ import {
|
|
|
150
150
|
import {
|
|
151
151
|
listConnectorStates
|
|
152
152
|
} from "./chunk-6GUG4YNM.js";
|
|
153
|
-
import {
|
|
154
|
-
searchHarmonicRetrieval
|
|
155
|
-
} from "./chunk-UFR6HX7A.js";
|
|
156
153
|
import {
|
|
157
154
|
rescoreMemoryImportance
|
|
158
155
|
} from "./chunk-UOBPK2OS.js";
|
|
156
|
+
import {
|
|
157
|
+
searchHarmonicRetrieval
|
|
158
|
+
} from "./chunk-YRVAKONL.js";
|
|
159
159
|
import {
|
|
160
160
|
createEvalBaselineSnapshot,
|
|
161
161
|
getEvalHarnessStatus,
|
|
@@ -170,12 +170,12 @@ import {
|
|
|
170
170
|
} from "./chunk-ACPCA4NO.js";
|
|
171
171
|
import {
|
|
172
172
|
GraphDashboardServer
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-EZ25VE3G.js";
|
|
174
174
|
import {
|
|
175
175
|
rebuildMemoryProjection,
|
|
176
176
|
repairMemoryProjection,
|
|
177
177
|
verifyMemoryProjection
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-WTOZBZNN.js";
|
|
179
179
|
import {
|
|
180
180
|
buildConnectorRowsFromDefinitions,
|
|
181
181
|
parseConnectorsListOptions,
|
|
@@ -196,11 +196,11 @@ import {
|
|
|
196
196
|
} from "./chunk-6TBIWIAG.js";
|
|
197
197
|
import {
|
|
198
198
|
parseConfig
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-D4QVPP3G.js";
|
|
200
200
|
import {
|
|
201
201
|
EngramAccessHttpServer,
|
|
202
202
|
MeetingsInputError
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-FMQ4MOQO.js";
|
|
204
204
|
import {
|
|
205
205
|
WearablesInputError
|
|
206
206
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -210,13 +210,13 @@ import {
|
|
|
210
210
|
loadChatSession,
|
|
211
211
|
processChatMessage,
|
|
212
212
|
sessionBelongsToPrincipal
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-I4343FIA.js";
|
|
214
214
|
import {
|
|
215
215
|
getAbstractionNodeStoreStatus
|
|
216
216
|
} from "./chunk-DJUKBGAD.js";
|
|
217
217
|
import {
|
|
218
218
|
EngramAccessService
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-RQE4TITU.js";
|
|
220
220
|
import {
|
|
221
221
|
WorkStorage
|
|
222
222
|
} from "./chunk-GDB4J2H3.js";
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
} from "./chunk-YOXVZJFM.js";
|
|
237
237
|
import {
|
|
238
238
|
readAggregateExtractionWatermark
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-5S4LQOPE.js";
|
|
240
240
|
import {
|
|
241
241
|
getObjectiveStateStoreStatus
|
|
242
242
|
} from "./chunk-HTP6XRUI.js";
|
|
@@ -245,23 +245,23 @@ import {
|
|
|
245
245
|
readMemoryGovernanceRunArtifact,
|
|
246
246
|
restoreMemoryGovernanceRun,
|
|
247
247
|
runMemoryGovernance
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-SVVIASVX.js";
|
|
249
249
|
import {
|
|
250
250
|
listNamespaces,
|
|
251
251
|
runNamespaceMigration,
|
|
252
252
|
verifyNamespaces
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-5VPQSRQO.js";
|
|
254
254
|
import {
|
|
255
255
|
analyzeGraphHealth
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-YMOPYG3K.js";
|
|
257
257
|
import {
|
|
258
258
|
resolveNamespaceChildRoot
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-GEPACVWN.js";
|
|
260
260
|
import {
|
|
261
261
|
OKF_RESERVED_BASENAMES,
|
|
262
262
|
meetingIdDate,
|
|
263
263
|
okfTypeForCategory
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-BJTHRFFC.js";
|
|
265
265
|
import {
|
|
266
266
|
isValidTranscriptDate
|
|
267
267
|
} from "./chunk-UHVXE24Y.js";
|
|
@@ -302,7 +302,7 @@ import {
|
|
|
302
302
|
} from "./chunk-QDW3E4RD.js";
|
|
303
303
|
import {
|
|
304
304
|
getCausalTrajectoryStoreStatus
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-GPFZFCRN.js";
|
|
306
306
|
import {
|
|
307
307
|
padEndDisplay,
|
|
308
308
|
truncateGraphemeSafe
|
|
@@ -5394,7 +5394,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5394
5394
|
}
|
|
5395
5395
|
}
|
|
5396
5396
|
if (sourceArchive.endsWith(".enc")) {
|
|
5397
|
-
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-
|
|
5397
|
+
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-7FJQINUR.js");
|
|
5398
5398
|
const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
|
|
5399
5399
|
if (encDetected) {
|
|
5400
5400
|
throw new Error(
|
|
@@ -5557,7 +5557,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5557
5557
|
const { parseExportBundle } = await import("./transfer/types.js");
|
|
5558
5558
|
let decryptedBuf;
|
|
5559
5559
|
try {
|
|
5560
|
-
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-
|
|
5560
|
+
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-7FJQINUR.js");
|
|
5561
5561
|
decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
|
|
5562
5562
|
} catch (decErr) {
|
|
5563
5563
|
const msg = decErr instanceof Error ? decErr.message : String(decErr);
|
|
@@ -8811,4 +8811,4 @@ export {
|
|
|
8811
8811
|
listMemoryMarkdownFilePaths,
|
|
8812
8812
|
registerCli
|
|
8813
8813
|
};
|
|
8814
|
-
//# sourceMappingURL=chunk-
|
|
8814
|
+
//# sourceMappingURL=chunk-I7EX6KSH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rebuildMemoryProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WTOZBZNN.js";
|
|
4
4
|
|
|
5
5
|
// src/convergence-refresh.ts
|
|
6
6
|
async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, getStorage, searchEnabled) {
|
|
@@ -32,4 +32,4 @@ async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, get
|
|
|
32
32
|
export {
|
|
33
33
|
refreshConvergedNamespaces
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-IP4ZNT4U.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-NOB2T2FC.js";
|
|
12
12
|
import {
|
|
13
13
|
parseConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-D4QVPP3G.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveObjectiveStateStoreDir,
|
|
17
17
|
validateObjectiveStateSnapshot
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
recordResumeBundle,
|
|
269
269
|
getResumeBundleStatus
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-IY7UXD3J.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSearchBackend
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RGCF4XNH.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceIdentityToken,
|
|
6
6
|
normalizeNamespaceIdentity
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
NamespaceSearchRouter,
|
|
471
471
|
normalizeQmdResultPath
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-JAQXUGLN.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReplitAdapter
|
|
3
|
+
} from "./chunk-TMSXWOBZ.js";
|
|
1
4
|
import {
|
|
2
5
|
ClaudeCodeAdapter
|
|
3
6
|
} from "./chunk-J64TK33U.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
HermesAdapter
|
|
9
12
|
} from "./chunk-42NQ7AVG.js";
|
|
10
|
-
import {
|
|
11
|
-
ReplitAdapter
|
|
12
|
-
} from "./chunk-TMSXWOBZ.js";
|
|
13
13
|
|
|
14
14
|
// src/adapters/registry.ts
|
|
15
15
|
var AdapterRegistry = class {
|
|
@@ -53,4 +53,4 @@ var AdapterRegistry = class {
|
|
|
53
53
|
export {
|
|
54
54
|
AdapterRegistry
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-JBPKEARU.js.map
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,
|
|
3
|
+
DESTRUCTIVE_ACTION_TYPES,
|
|
4
|
+
EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,
|
|
5
|
+
EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,
|
|
6
|
+
canonicalJson,
|
|
7
|
+
compareRows,
|
|
8
|
+
isFiniteNumber,
|
|
9
|
+
isHexSha256,
|
|
10
|
+
isIsoTimestamp,
|
|
11
|
+
isMemoryActionType,
|
|
12
|
+
isRowStatus,
|
|
13
|
+
resolveEvalTrajectoryRunConfig,
|
|
14
|
+
serializeEvalTrajectoryReport,
|
|
15
|
+
sha256Hex
|
|
16
|
+
} from "./chunk-ULM7JCDH.js";
|
|
17
|
+
import {
|
|
18
|
+
resolveEvalStoreDir
|
|
19
|
+
} from "./chunk-MCA2X4WH.js";
|
|
20
|
+
|
|
21
|
+
// src/eval-trajectory-store.ts
|
|
22
|
+
import { mkdir, readFile, rename, rm, writeFile } from "fs/promises";
|
|
23
|
+
import path from "path";
|
|
24
|
+
function deriveUnifiedMemoryPromotionReport(report) {
|
|
25
|
+
const { aggregates } = report;
|
|
26
|
+
const trustViolations = report.rows.reduce(
|
|
27
|
+
(sum, row) => sum + (row.status === "joined" && row.trustViolation === 1 ? 1 : 0),
|
|
28
|
+
0
|
|
29
|
+
);
|
|
30
|
+
const staleHarms = report.rows.reduce(
|
|
31
|
+
(sum, row) => sum + (row.status === "joined" && row.staleMemoryHarm > 0 ? 1 : 0),
|
|
32
|
+
0
|
|
33
|
+
);
|
|
34
|
+
const destructiveJoinedRows = aggregates.byAction.filter((group) => DESTRUCTIVE_ACTION_TYPES[group.action] === true).reduce((sum, group) => sum + group.rowCount, 0);
|
|
35
|
+
const reasons = [];
|
|
36
|
+
let state;
|
|
37
|
+
if (trustViolations > 0 || staleHarms > 0) {
|
|
38
|
+
state = "demote_to_shadow";
|
|
39
|
+
reasons.push("safety_fault_present");
|
|
40
|
+
} else if (aggregates.coverage.joined < EVAL_TRAJECTORY_PROMOTION_THRESHOLDS.minJoinedRows) {
|
|
41
|
+
state = "insufficient_evidence";
|
|
42
|
+
reasons.push("insufficient_joined_rows");
|
|
43
|
+
} else if (aggregates.coverage.reach !== null && aggregates.coverage.reach < EVAL_TRAJECTORY_PROMOTION_THRESHOLDS.minReach) {
|
|
44
|
+
state = "shadow_eligible";
|
|
45
|
+
reasons.push("reach_below_floor");
|
|
46
|
+
} else if (destructiveJoinedRows > 0) {
|
|
47
|
+
state = "active_destructive_review_only";
|
|
48
|
+
reasons.push("destructive_actions_present");
|
|
49
|
+
} else if (aggregates.metricMeans.actionConditionedUtility === null) {
|
|
50
|
+
state = "shadow_eligible";
|
|
51
|
+
reasons.push("utility_mean_unavailable");
|
|
52
|
+
} else {
|
|
53
|
+
state = "active_reversible_eligible";
|
|
54
|
+
}
|
|
55
|
+
const draft = {
|
|
56
|
+
schemaVersion: 1,
|
|
57
|
+
sourceReportId: report.reportId,
|
|
58
|
+
namespaceDigest: report.namespaceDigest,
|
|
59
|
+
asOf: report.asOf,
|
|
60
|
+
inputFingerprint: report.inputFingerprint,
|
|
61
|
+
state,
|
|
62
|
+
reasons,
|
|
63
|
+
evidence: {
|
|
64
|
+
joinedRows: aggregates.coverage.joined,
|
|
65
|
+
reach: aggregates.coverage.reach,
|
|
66
|
+
meanUtility: aggregates.metricMeans.actionConditionedUtility,
|
|
67
|
+
trustViolations,
|
|
68
|
+
staleHarms,
|
|
69
|
+
destructiveJoinedRows
|
|
70
|
+
},
|
|
71
|
+
contentHash: ""
|
|
72
|
+
};
|
|
73
|
+
draft.contentHash = sha256Hex(canonicalJson({ ...draft, contentHash: void 0 }));
|
|
74
|
+
return draft;
|
|
75
|
+
}
|
|
76
|
+
var FORBIDDEN_EXPORT_KEYS = {
|
|
77
|
+
inputSummary: true,
|
|
78
|
+
goal: true,
|
|
79
|
+
actionSummary: true,
|
|
80
|
+
observationSummary: true,
|
|
81
|
+
outcomeSummary: true,
|
|
82
|
+
prompt: true,
|
|
83
|
+
promptText: true,
|
|
84
|
+
promptHash: true,
|
|
85
|
+
memoryText: true,
|
|
86
|
+
noteText: true,
|
|
87
|
+
sessionKey: true,
|
|
88
|
+
sourceSessionKey: true,
|
|
89
|
+
filePath: true,
|
|
90
|
+
path: true,
|
|
91
|
+
storeDir: true,
|
|
92
|
+
memoryDir: true,
|
|
93
|
+
actionId: true,
|
|
94
|
+
trajectoryId: true,
|
|
95
|
+
memoryId: true,
|
|
96
|
+
outcomeId: true,
|
|
97
|
+
namespace: true,
|
|
98
|
+
salt: true,
|
|
99
|
+
rationale: true,
|
|
100
|
+
summary: true,
|
|
101
|
+
content: true,
|
|
102
|
+
text: true
|
|
103
|
+
};
|
|
104
|
+
function assertEvalTrajectoryReportRedacted(value, label = "report") {
|
|
105
|
+
const scan = (node, trail) => {
|
|
106
|
+
if (Array.isArray(node)) {
|
|
107
|
+
node.forEach((item, index) => scan(item, `${trail}[${index}]`));
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
if (typeof node === "object" && node !== null) {
|
|
111
|
+
for (const [key, child] of Object.entries(node)) {
|
|
112
|
+
if (FORBIDDEN_EXPORT_KEYS[key] === true) {
|
|
113
|
+
throw new Error(`${label} contains forbidden field '${key}' at ${trail} \u2014 redaction fails closed`);
|
|
114
|
+
}
|
|
115
|
+
scan(child, `${trail}.${key}`);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
scan(value, "$");
|
|
120
|
+
}
|
|
121
|
+
function validateEvalTrajectoryReport(raw) {
|
|
122
|
+
if (typeof raw !== "object" || raw === null) throw new Error("eval trajectory report must be an object");
|
|
123
|
+
assertEvalTrajectoryReportRedacted(raw, "eval trajectory report");
|
|
124
|
+
const report = raw;
|
|
125
|
+
if (report.schemaVersion !== EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION) {
|
|
126
|
+
throw new Error("eval trajectory report schemaVersion must be 1");
|
|
127
|
+
}
|
|
128
|
+
if (!isHexSha256(report.reportId) || !isHexSha256(report.namespaceDigest) || !isHexSha256(report.inputFingerprint)) {
|
|
129
|
+
throw new Error("eval trajectory report ids and digests must be sha256 hex");
|
|
130
|
+
}
|
|
131
|
+
if (!isIsoTimestamp(report.asOf)) throw new Error("eval trajectory report asOf must be an ISO timestamp");
|
|
132
|
+
if (!Array.isArray(report.rows)) throw new Error("eval trajectory report rows must be an array");
|
|
133
|
+
const contentHash = report.contentHash;
|
|
134
|
+
if (!isHexSha256(contentHash)) throw new Error("eval trajectory report contentHash must be sha256 hex");
|
|
135
|
+
const expectedHash = sha256Hex(canonicalJson({ ...report, contentHash: void 0 }));
|
|
136
|
+
if (contentHash !== expectedHash) {
|
|
137
|
+
throw new Error("eval trajectory report contentHash mismatch \u2014 tampered or corrupted report");
|
|
138
|
+
}
|
|
139
|
+
resolveEvalTrajectoryRunConfig(report.config);
|
|
140
|
+
for (const row of report.rows) {
|
|
141
|
+
if (typeof row !== "object" || row === null) throw new Error("report rows must be objects");
|
|
142
|
+
const candidate = row;
|
|
143
|
+
if (candidate.schemaVersion !== 1 || !isHexSha256(candidate.actionDigest)) {
|
|
144
|
+
throw new Error("report row has invalid schemaVersion or actionDigest");
|
|
145
|
+
}
|
|
146
|
+
if (!isRowStatus(candidate.status)) throw new Error("report row has invalid status");
|
|
147
|
+
if (candidate.outcomeDigest !== null && candidate.outcomeDigest !== void 0 && !isHexSha256(candidate.outcomeDigest)) {
|
|
148
|
+
throw new Error("report row outcomeDigest must be sha256 hex or null");
|
|
149
|
+
}
|
|
150
|
+
if (candidate.status === "joined" && (candidate.outcomeDigest == null || candidate.join == null) || candidate.status !== "joined" && candidate.actionConditionedUtility !== null) {
|
|
151
|
+
throw new Error("report row join/utility invariants violated");
|
|
152
|
+
}
|
|
153
|
+
for (const metric of ["taskOutcome", "contextTokenCost", "actionConditionedUtility"]) {
|
|
154
|
+
const value = candidate[metric];
|
|
155
|
+
if (value !== null && value !== void 0 && !isFiniteNumber(value)) {
|
|
156
|
+
throw new Error(`report row ${metric} must be numeric or null`);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (candidate.trustViolation !== 0 && candidate.trustViolation !== 1) {
|
|
160
|
+
throw new Error("report row trustViolation must be 0 or 1");
|
|
161
|
+
}
|
|
162
|
+
if (candidate.staleMemoryHarm !== 0 && candidate.staleMemoryHarm !== 0.5 && candidate.staleMemoryHarm !== 1) {
|
|
163
|
+
throw new Error("report row staleMemoryHarm must be 0, 0.5, or 1");
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
for (let index = 1; index < report.rows.length; index += 1) {
|
|
167
|
+
if (compareRows(report.rows[index - 1], report.rows[index]) > 0) {
|
|
168
|
+
throw new Error("report rows must be sorted by (outcomeRecordedAt, actionDigest)");
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
const rows = report.rows;
|
|
172
|
+
const statusCounts = {
|
|
173
|
+
joined: 0,
|
|
174
|
+
ambiguous: 0,
|
|
175
|
+
late_outcome: 0,
|
|
176
|
+
future_outcome: 0,
|
|
177
|
+
missing_within_window: 0
|
|
178
|
+
};
|
|
179
|
+
for (const row of rows) statusCounts[row.status] += 1;
|
|
180
|
+
const joinedRows = rows.filter((row) => row.status === "joined");
|
|
181
|
+
const mean = (values) => values.length === 0 ? null : values.reduce((sum, value) => sum + value, 0) / values.length;
|
|
182
|
+
const aggregates = report.aggregates;
|
|
183
|
+
if (typeof aggregates !== "object" || aggregates === null || aggregates.rowCount !== rows.length || canonicalJson(aggregates.statusCounts) !== canonicalJson(statusCounts) || aggregates.coverage.joined !== statusCounts.joined || aggregates.coverage.missingWithinWindow !== statusCounts.missing_within_window || aggregates.coverage.lateOutcome !== statusCounts.late_outcome || aggregates.coverage.futureOutcome !== statusCounts.future_outcome || aggregates.coverage.ambiguous !== statusCounts.ambiguous || aggregates.coverage.excludedFromMeans !== rows.length - statusCounts.joined || aggregates.metricMeans.taskOutcome !== mean(joinedRows.map((row) => row.taskOutcome).filter(isFiniteNumber)) || aggregates.metricMeans.actionConditionedUtility !== mean(joinedRows.map((row) => row.actionConditionedUtility).filter(isFiniteNumber)) || !Array.isArray(aggregates.byAction) || !aggregates.byAction.every((group) => isMemoryActionType(group.action))) {
|
|
184
|
+
throw new Error("eval trajectory report aggregates do not match rows \u2014 tampered or corrupted report");
|
|
185
|
+
}
|
|
186
|
+
return raw;
|
|
187
|
+
}
|
|
188
|
+
function assertPathWithin(rootDir, targetPath, field) {
|
|
189
|
+
const relative = path.relative(path.resolve(rootDir), path.resolve(targetPath));
|
|
190
|
+
if (relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative)) return;
|
|
191
|
+
throw new Error(`${field} must stay within ${rootDir}`);
|
|
192
|
+
}
|
|
193
|
+
async function writeEvalTrajectoryReport(options) {
|
|
194
|
+
const validated = validateEvalTrajectoryReport(options.report);
|
|
195
|
+
if (!options.memoryDir && !options.evalStoreDir) {
|
|
196
|
+
throw new Error("writeEvalTrajectoryReport requires memoryDir or evalStoreDir");
|
|
197
|
+
}
|
|
198
|
+
const rootDir = resolveEvalStoreDir(options.memoryDir ?? "", options.evalStoreDir);
|
|
199
|
+
const trajectoryDir = path.join(rootDir, "trajectory", validated.asOf.slice(0, 10));
|
|
200
|
+
const targetPath = path.join(trajectoryDir, `${validated.reportId}.json`);
|
|
201
|
+
assertPathWithin(rootDir, targetPath, "eval trajectory report path");
|
|
202
|
+
const payload = serializeEvalTrajectoryReport(validated);
|
|
203
|
+
const tmpPath = `${targetPath}.tmp-${process.pid}-${Math.random().toString(36).slice(2)}`;
|
|
204
|
+
await mkdir(trajectoryDir, { recursive: true });
|
|
205
|
+
try {
|
|
206
|
+
await writeFile(tmpPath, payload, "utf8");
|
|
207
|
+
await rename(tmpPath, targetPath);
|
|
208
|
+
} catch (error) {
|
|
209
|
+
await rm(tmpPath, { force: true }).catch(() => {
|
|
210
|
+
});
|
|
211
|
+
throw error;
|
|
212
|
+
}
|
|
213
|
+
return targetPath;
|
|
214
|
+
}
|
|
215
|
+
async function readEvalTrajectoryReport(options) {
|
|
216
|
+
const raw = await readFile(options.reportPath, "utf8");
|
|
217
|
+
let parsed;
|
|
218
|
+
try {
|
|
219
|
+
parsed = JSON.parse(raw);
|
|
220
|
+
} catch {
|
|
221
|
+
throw new Error("eval trajectory report file is not valid JSON");
|
|
222
|
+
}
|
|
223
|
+
const report = validateEvalTrajectoryReport(parsed);
|
|
224
|
+
const nowMs = options.now !== void 0 ? Date.parse(options.now) : Date.now();
|
|
225
|
+
if (!Number.isFinite(nowMs)) throw new Error("now must be a parseable timestamp");
|
|
226
|
+
const maxAgeMs = options.maxReportAgeMs ?? DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS;
|
|
227
|
+
const asOfMs = Date.parse(report.asOf);
|
|
228
|
+
if (nowMs < asOfMs) throw new Error("eval trajectory report is dated after now \u2014 rejected");
|
|
229
|
+
if (nowMs - asOfMs > maxAgeMs) throw new Error("eval trajectory report is expired \u2014 rejected");
|
|
230
|
+
return report;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export {
|
|
234
|
+
deriveUnifiedMemoryPromotionReport,
|
|
235
|
+
assertEvalTrajectoryReportRedacted,
|
|
236
|
+
validateEvalTrajectoryReport,
|
|
237
|
+
writeEvalTrajectoryReport,
|
|
238
|
+
readEvalTrajectoryReport
|
|
239
|
+
};
|
|
240
|
+
//# sourceMappingURL=chunk-JCCWJHOP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/eval-trajectory-store.ts"],"sourcesContent":["/**\n * Issue #2345 — validation, redaction, persistence, and the promotion gate for\n * trajectory-eval reports.\n *\n * Fail-closed by construction:\n * - every report is redaction-scanned before it can be validated or written,\n * - the content hash and row-derived aggregates are recomputed on read,\n * - the checked reader rejects tampered, future-dated, and expired reports,\n * - the promotion gate can only recommend; it never runs an action.\n */\n\nimport { mkdir, readFile, rename, rm, writeFile } from \"node:fs/promises\";\nimport path from \"node:path\";\nimport {\n DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS,\n DESTRUCTIVE_ACTION_TYPES,\n EVAL_TRAJECTORY_PROMOTION_THRESHOLDS,\n EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION,\n type EvalActionOutcomeRow,\n type EvalTrajectoryReport,\n type EvalTrajectoryRowStatus,\n type EvalTrajectoryRunConfig,\n type UnifiedMemoryPromotionReport,\n type UnifiedMemoryPromotionState,\n canonicalJson,\n compareRows,\n isFiniteNumber,\n isHexSha256,\n isIsoTimestamp,\n isMemoryActionType,\n isRowStatus,\n resolveEvalTrajectoryRunConfig,\n serializeEvalTrajectoryReport,\n sha256Hex,\n} from \"./eval-trajectory-contracts.js\";\nimport { resolveEvalStoreDir } from \"./evals.js\";\n\n// ---------------------------------------------------------------------------\n// Promotion gate derivation (#2348 consumes this; it never runs actions here)\n// ---------------------------------------------------------------------------\n\nexport function deriveUnifiedMemoryPromotionReport(report: EvalTrajectoryReport): UnifiedMemoryPromotionReport {\n const { aggregates } = report;\n const trustViolations = report.rows.reduce(\n (sum, row) => sum + (row.status === \"joined\" && row.trustViolation === 1 ? 1 : 0),\n 0\n );\n const staleHarms = report.rows.reduce(\n (sum, row) => sum + (row.status === \"joined\" && row.staleMemoryHarm > 0 ? 1 : 0),\n 0\n );\n const destructiveJoinedRows = aggregates.byAction\n .filter((group) => DESTRUCTIVE_ACTION_TYPES[group.action] === true)\n .reduce((sum, group) => sum + group.rowCount, 0);\n\n const reasons: string[] = [];\n let state: UnifiedMemoryPromotionState;\n if (trustViolations > 0 || staleHarms > 0) {\n state = \"demote_to_shadow\";\n reasons.push(\"safety_fault_present\");\n } else if (aggregates.coverage.joined < EVAL_TRAJECTORY_PROMOTION_THRESHOLDS.minJoinedRows) {\n state = \"insufficient_evidence\";\n reasons.push(\"insufficient_joined_rows\");\n } else if (\n aggregates.coverage.reach !== null &&\n aggregates.coverage.reach < EVAL_TRAJECTORY_PROMOTION_THRESHOLDS.minReach\n ) {\n state = \"shadow_eligible\";\n reasons.push(\"reach_below_floor\");\n } else if (destructiveJoinedRows > 0) {\n state = \"active_destructive_review_only\";\n reasons.push(\"destructive_actions_present\");\n } else if (aggregates.metricMeans.actionConditionedUtility === null) {\n state = \"shadow_eligible\";\n reasons.push(\"utility_mean_unavailable\");\n } else {\n state = \"active_reversible_eligible\";\n }\n\n const draft: UnifiedMemoryPromotionReport = {\n schemaVersion: 1,\n sourceReportId: report.reportId,\n namespaceDigest: report.namespaceDigest,\n asOf: report.asOf,\n inputFingerprint: report.inputFingerprint,\n state,\n reasons,\n evidence: {\n joinedRows: aggregates.coverage.joined,\n reach: aggregates.coverage.reach,\n meanUtility: aggregates.metricMeans.actionConditionedUtility,\n trustViolations,\n staleHarms,\n destructiveJoinedRows,\n },\n contentHash: \"\",\n };\n draft.contentHash = sha256Hex(canonicalJson({ ...draft, contentHash: undefined }));\n return draft;\n}\n\n// ---------------------------------------------------------------------------\n// Redaction (fail closed) + validation\n// ---------------------------------------------------------------------------\n\nconst FORBIDDEN_EXPORT_KEYS: Record<string, true> = {\n inputSummary: true,\n goal: true,\n actionSummary: true,\n observationSummary: true,\n outcomeSummary: true,\n prompt: true,\n promptText: true,\n promptHash: true,\n memoryText: true,\n noteText: true,\n sessionKey: true,\n sourceSessionKey: true,\n filePath: true,\n path: true,\n storeDir: true,\n memoryDir: true,\n actionId: true,\n trajectoryId: true,\n memoryId: true,\n outcomeId: true,\n namespace: true,\n salt: true,\n rationale: true,\n summary: true,\n content: true,\n text: true,\n};\n\nexport function assertEvalTrajectoryReportRedacted(value: unknown, label = \"report\"): void {\n const scan = (node: unknown, trail: string): void => {\n if (Array.isArray(node)) {\n node.forEach((item, index) => scan(item, `${trail}[${index}]`));\n return;\n }\n if (typeof node === \"object\" && node !== null) {\n for (const [key, child] of Object.entries(node as Record<string, unknown>)) {\n if (FORBIDDEN_EXPORT_KEYS[key] === true) {\n throw new Error(`${label} contains forbidden field '${key}' at ${trail} — redaction fails closed`);\n }\n scan(child, `${trail}.${key}`);\n }\n }\n };\n scan(value, \"$\");\n}\n\nexport function validateEvalTrajectoryReport(raw: unknown): EvalTrajectoryReport {\n if (typeof raw !== \"object\" || raw === null) throw new Error(\"eval trajectory report must be an object\");\n assertEvalTrajectoryReportRedacted(raw, \"eval trajectory report\");\n const report = raw as Partial<EvalTrajectoryReport> & Record<string, unknown>;\n if (report.schemaVersion !== EVAL_TRAJECTORY_REPORT_SCHEMA_VERSION) {\n throw new Error(\"eval trajectory report schemaVersion must be 1\");\n }\n if (!isHexSha256(report.reportId) || !isHexSha256(report.namespaceDigest) || !isHexSha256(report.inputFingerprint)) {\n throw new Error(\"eval trajectory report ids and digests must be sha256 hex\");\n }\n if (!isIsoTimestamp(report.asOf)) throw new Error(\"eval trajectory report asOf must be an ISO timestamp\");\n if (!Array.isArray(report.rows)) throw new Error(\"eval trajectory report rows must be an array\");\n const contentHash = report.contentHash;\n if (!isHexSha256(contentHash)) throw new Error(\"eval trajectory report contentHash must be sha256 hex\");\n const expectedHash = sha256Hex(canonicalJson({ ...report, contentHash: undefined }));\n if (contentHash !== expectedHash) {\n throw new Error(\"eval trajectory report contentHash mismatch — tampered or corrupted report\");\n }\n // Bounds-check the embedded config through the same parser builders use.\n resolveEvalTrajectoryRunConfig(report.config as Partial<EvalTrajectoryRunConfig>);\n\n for (const row of report.rows) {\n if (typeof row !== \"object\" || row === null) throw new Error(\"report rows must be objects\");\n const candidate = row as Partial<EvalActionOutcomeRow>;\n if (candidate.schemaVersion !== 1 || !isHexSha256(candidate.actionDigest)) {\n throw new Error(\"report row has invalid schemaVersion or actionDigest\");\n }\n if (!isRowStatus(candidate.status)) throw new Error(\"report row has invalid status\");\n if (\n candidate.outcomeDigest !== null &&\n candidate.outcomeDigest !== undefined &&\n !isHexSha256(candidate.outcomeDigest)\n ) {\n throw new Error(\"report row outcomeDigest must be sha256 hex or null\");\n }\n if (\n (candidate.status === \"joined\" && (candidate.outcomeDigest == null || candidate.join == null)) ||\n (candidate.status !== \"joined\" && candidate.actionConditionedUtility !== null)\n ) {\n throw new Error(\"report row join/utility invariants violated\");\n }\n for (const metric of [\"taskOutcome\", \"contextTokenCost\", \"actionConditionedUtility\"] as const) {\n const value = candidate[metric];\n if (value !== null && value !== undefined && !isFiniteNumber(value)) {\n throw new Error(`report row ${metric} must be numeric or null`);\n }\n }\n if (candidate.trustViolation !== 0 && candidate.trustViolation !== 1) {\n throw new Error(\"report row trustViolation must be 0 or 1\");\n }\n if (candidate.staleMemoryHarm !== 0 && candidate.staleMemoryHarm !== 0.5 && candidate.staleMemoryHarm !== 1) {\n throw new Error(\"report row staleMemoryHarm must be 0, 0.5, or 1\");\n }\n }\n for (let index = 1; index < report.rows.length; index += 1) {\n if (compareRows(report.rows[index - 1] as EvalActionOutcomeRow, report.rows[index] as EvalActionOutcomeRow) > 0) {\n throw new Error(\"report rows must be sorted by (outcomeRecordedAt, actionDigest)\");\n }\n }\n\n // Derivable-aggregate verification: recompute from rows so tampering fails closed.\n const rows = report.rows as EvalActionOutcomeRow[];\n const statusCounts: Record<EvalTrajectoryRowStatus, number> = {\n joined: 0,\n ambiguous: 0,\n late_outcome: 0,\n future_outcome: 0,\n missing_within_window: 0,\n };\n for (const row of rows) statusCounts[row.status] += 1;\n const joinedRows = rows.filter((row) => row.status === \"joined\");\n const mean = (values: number[]): number | null =>\n values.length === 0 ? null : values.reduce((sum, value) => sum + value, 0) / values.length;\n const aggregates = report.aggregates;\n if (\n typeof aggregates !== \"object\" ||\n aggregates === null ||\n aggregates.rowCount !== rows.length ||\n canonicalJson(aggregates.statusCounts) !== canonicalJson(statusCounts) ||\n aggregates.coverage.joined !== statusCounts.joined ||\n aggregates.coverage.missingWithinWindow !== statusCounts.missing_within_window ||\n aggregates.coverage.lateOutcome !== statusCounts.late_outcome ||\n aggregates.coverage.futureOutcome !== statusCounts.future_outcome ||\n aggregates.coverage.ambiguous !== statusCounts.ambiguous ||\n aggregates.coverage.excludedFromMeans !== rows.length - statusCounts.joined ||\n aggregates.metricMeans.taskOutcome !== mean(joinedRows.map((row) => row.taskOutcome).filter(isFiniteNumber)) ||\n aggregates.metricMeans.actionConditionedUtility !==\n mean(joinedRows.map((row) => row.actionConditionedUtility).filter(isFiniteNumber)) ||\n !Array.isArray(aggregates.byAction) ||\n !aggregates.byAction.every((group) => isMemoryActionType(group.action))\n ) {\n throw new Error(\"eval trajectory report aggregates do not match rows — tampered or corrupted report\");\n }\n\n return raw as EvalTrajectoryReport;\n}\n\n// ---------------------------------------------------------------------------\n// Persistence (atomic write beside the existing shadow artifacts)\n// ---------------------------------------------------------------------------\n\nfunction assertPathWithin(rootDir: string, targetPath: string, field: string): void {\n const relative = path.relative(path.resolve(rootDir), path.resolve(targetPath));\n if (relative === \"\" || (!relative.startsWith(\"..\") && !path.isAbsolute(relative))) return;\n throw new Error(`${field} must stay within ${rootDir}`);\n}\n\nexport async function writeEvalTrajectoryReport(options: {\n memoryDir?: string;\n evalStoreDir?: string;\n report: EvalTrajectoryReport;\n}): Promise<string> {\n const validated = validateEvalTrajectoryReport(options.report);\n if (!options.memoryDir && !options.evalStoreDir) {\n throw new Error(\"writeEvalTrajectoryReport requires memoryDir or evalStoreDir\");\n }\n const rootDir = resolveEvalStoreDir(options.memoryDir ?? \"\", options.evalStoreDir);\n const trajectoryDir = path.join(rootDir, \"trajectory\", validated.asOf.slice(0, 10));\n const targetPath = path.join(trajectoryDir, `${validated.reportId}.json`);\n assertPathWithin(rootDir, targetPath, \"eval trajectory report path\");\n const payload = serializeEvalTrajectoryReport(validated);\n const tmpPath = `${targetPath}.tmp-${process.pid}-${Math.random().toString(36).slice(2)}`;\n await mkdir(trajectoryDir, { recursive: true });\n try {\n await writeFile(tmpPath, payload, \"utf8\");\n await rename(tmpPath, targetPath);\n } catch (error) {\n await rm(tmpPath, { force: true }).catch(() => {});\n throw error;\n }\n return targetPath;\n}\n\nexport async function readEvalTrajectoryReport(options: {\n reportPath: string;\n now?: string;\n maxReportAgeMs?: number;\n}): Promise<EvalTrajectoryReport> {\n const raw = await readFile(options.reportPath, \"utf8\");\n let parsed: unknown;\n try {\n parsed = JSON.parse(raw);\n } catch {\n throw new Error(\"eval trajectory report file is not valid JSON\");\n }\n const report = validateEvalTrajectoryReport(parsed);\n const nowMs = options.now !== undefined ? Date.parse(options.now) : Date.now();\n if (!Number.isFinite(nowMs)) throw new Error(\"now must be a parseable timestamp\");\n const maxAgeMs = options.maxReportAgeMs ?? DEFAULT_EVAL_TRAJECTORY_REPORT_MAX_AGE_MS;\n const asOfMs = Date.parse(report.asOf);\n if (nowMs < asOfMs) throw new Error(\"eval trajectory report is dated after now — rejected\");\n if (nowMs - asOfMs > maxAgeMs) throw new Error(\"eval trajectory report is expired — rejected\");\n return report;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,OAAO,UAAU,QAAQ,IAAI,iBAAiB;AACvD,OAAO,UAAU;AA6BV,SAAS,mCAAmC,QAA4D;AAC7G,QAAM,EAAE,WAAW,IAAI;AACvB,QAAM,kBAAkB,OAAO,KAAK;AAAA,IAClC,CAAC,KAAK,QAAQ,OAAO,IAAI,WAAW,YA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KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AACvF,QAAM,MAAM,eAAe,EAAE,WAAW,KAAK,CAAC;AAC9C,MAAI;AACF,UAAM,UAAU,SAAS,SAAS,MAAM;AACxC,UAAM,OAAO,SAAS,UAAU;AAAA,EAClC,SAAS,OAAO;AACd,UAAM,GAAG,SAAS,EAAE,OAAO,KAAK,CAAC,EAAE,MAAM,MAAM;AAAA,IAAC,CAAC;AACjD,UAAM;AAAA,EACR;AACA,SAAO;AACT;AAEA,eAAsB,yBAAyB,SAIb;AAChC,QAAM,MAAM,MAAM,SAAS,QAAQ,YAAY,MAAM;AACrD,MAAI;AACJ,MAAI;AACF,aAAS,KAAK,MAAM,GAAG;AAAA,EACzB,QAAQ;AACN,UAAM,IAAI,MAAM,+CAA+C;AAAA,EACjE;AACA,QAAM,SAAS,6BAA6B,MAAM;AAClD,QAAM,QAAQ,QAAQ,QAAQ,SAAY,KAAK,MAAM,QAAQ,GAAG,IAAI,KAAK,IAAI;AAC7E,MAAI,CAAC,OAAO,SAAS,KAAK,EAAG,OAAM,IAAI,MAAM,mCAAmC;AAChF,QAAM,WAAW,QAAQ,kBAAkB;AAC3C,QAAM,SAAS,KAAK,MAAM,OAAO,IAAI;AACrC,MAAI,QAAQ,OAAQ,OAAM,IAAI,MAAM,2DAAsD;AAC1F,MAAI,QAAQ,SAAS,SAAU,OAAM,IAAI,MAAM,mDAA8C;AAC7F,SAAO;AACT;","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-WEHSQBFR.js";
|
|
7
7
|
import {
|
|
8
8
|
encryptCapsuleFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X7Y7WX73.js";
|
|
10
10
|
import {
|
|
11
11
|
CAPSULE_SCHEMA_VERSION,
|
|
12
12
|
EXPORT_FORMAT
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
exportCapsule,
|
|
262
262
|
isValidCapsuleSince
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-KQAFEZQX.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
readCausalTrajectoryRecordsStrict,
|
|
3
3
|
readCausalTrajectoryRevisionToken,
|
|
4
4
|
resolveCausalTrajectoryStoreDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GPFZFCRN.js";
|
|
6
6
|
|
|
7
7
|
// src/coding/pre-action-gate.ts
|
|
8
8
|
import { createHash } from "crypto";
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
normalizeActionIntent,
|
|
222
222
|
PreActionFailureGate
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-KWIGDKM2.js.map
|