@remnic/core 9.69.56 → 9.69.58
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/abort-error.d.ts +5 -6
- package/dist/abort-error.d.ts.map +1 -0
- package/dist/abstraction-nodes.d.ts +12 -13
- package/dist/abstraction-nodes.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.d.ts +20 -153
- package/dist/access-admin-ops-surface.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.js +65 -60
- package/dist/access-audit.d.ts +6 -10
- package/dist/access-audit.d.ts.map +1 -0
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +7 -152
- package/dist/access-authorization-probe.d.ts.map +1 -0
- package/dist/access-authorization-probe.js +66 -61
- package/dist/access-boundary.d.ts +156 -145
- package/dist/access-boundary.d.ts.map +1 -0
- package/dist/access-boundary.js +65 -60
- package/dist/access-citation-namespace.d.ts +3 -3
- package/dist/access-citation-namespace.d.ts.map +1 -0
- package/dist/access-citation.d.ts +6 -7
- package/dist/access-citation.d.ts.map +1 -0
- package/dist/access-cli.d.ts +7 -7
- package/dist/access-cli.d.ts.map +1 -0
- package/dist/access-cli.js +157 -152
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +4 -23
- package/dist/access-coding-context-resolution.d.ts.map +1 -0
- package/dist/access-errors.d.ts +57 -5
- package/dist/access-errors.d.ts.map +1 -0
- package/dist/access-errors.js +13 -3
- package/dist/access-extraction-force-flush.d.ts +5 -150
- package/dist/access-extraction-force-flush.d.ts.map +1 -0
- package/dist/access-extraction-force-flush.js +65 -60
- package/dist/access-health-types.d.ts +7 -30
- package/dist/access-health-types.d.ts.map +1 -0
- package/dist/access-http-briefing.d.ts +5 -150
- package/dist/access-http-briefing.d.ts.map +1 -0
- package/dist/access-http-briefing.js +66 -61
- package/dist/access-http-lcm-compaction.d.ts +12 -156
- package/dist/access-http-lcm-compaction.d.ts.map +1 -0
- package/dist/access-http-lifecycle-flush.d.ts +6 -150
- package/dist/access-http-lifecycle-flush.d.ts.map +1 -0
- package/dist/access-http-offline-stream.d.ts +6 -151
- package/dist/access-http-offline-stream.d.ts.map +1 -0
- package/dist/access-http-query.d.ts +6 -26
- package/dist/access-http-query.d.ts.map +1 -0
- package/dist/access-http-query.js +67 -62
- package/dist/access-http.d.ts +22 -189
- package/dist/access-http.d.ts.map +1 -0
- package/dist/access-http.js +93 -89
- package/dist/access-idempotency.d.ts +5 -5
- package/dist/access-idempotency.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.d.ts +4 -115
- package/dist/access-identity-continuity-surface.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.js +65 -60
- package/dist/access-lcm-surface.d.ts +5 -151
- package/dist/access-lcm-surface.d.ts.map +1 -0
- package/dist/access-lcm-surface.js +65 -60
- package/dist/access-mcp-admin-tools.d.ts +4 -5
- package/dist/access-mcp-admin-tools.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.d.ts +2 -3
- package/dist/access-mcp-output-schemas.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp-shared-context-tools.d.ts +3 -150
- package/dist/access-mcp-shared-context-tools.d.ts.map +1 -0
- package/dist/access-mcp-sse.d.ts +3 -5
- package/dist/access-mcp-sse.d.ts.map +1 -0
- package/dist/access-mcp-tool-names.d.ts +9 -10
- package/dist/access-mcp-tool-names.d.ts.map +1 -0
- package/dist/access-mcp.d.ts +178 -145
- package/dist/access-mcp.d.ts.map +1 -0
- package/dist/access-mcp.js +80 -76
- package/dist/access-memory-search-fanout.d.ts +18 -37
- package/dist/access-memory-search-fanout.d.ts.map +1 -0
- package/dist/access-memory-search-fanout.js +2 -2
- package/dist/access-namespace-preflight.d.ts +18 -22
- package/dist/access-namespace-preflight.d.ts.map +1 -0
- package/dist/access-namespace-preflight.js +65 -60
- package/dist/access-observe-helpers.d.ts +4 -5
- package/dist/access-observe-helpers.d.ts.map +1 -0
- package/dist/access-observe-transcript.d.ts +5 -115
- package/dist/access-observe-transcript.d.ts.map +1 -0
- package/dist/access-observe-write-category.d.ts +5 -42
- package/dist/access-observe-write-category.d.ts.map +1 -0
- package/dist/access-observe-write-category.js +7 -7
- package/dist/access-observe-write-surface.d.ts +6 -151
- package/dist/access-observe-write-surface.d.ts.map +1 -0
- package/dist/access-observe-write-surface.js +65 -60
- package/dist/access-offline-manifest.d.ts +10 -124
- package/dist/access-offline-manifest.d.ts.map +1 -0
- package/dist/access-offline-manifest.js +7 -7
- package/dist/access-operations-batch.d.ts +12 -2
- package/dist/access-operations-batch.d.ts.map +1 -0
- package/dist/access-operations-batch.js +69 -66
- package/dist/access-operations.d.ts +66 -188
- package/dist/access-operations.d.ts.map +1 -0
- package/dist/access-operations.js +76 -73
- package/dist/access-recall-concurrency.d.ts +11 -156
- package/dist/access-recall-concurrency.d.ts.map +1 -0
- package/dist/access-recall-concurrency.js +65 -60
- package/dist/access-recall-diagnostics.d.ts +64 -0
- package/dist/access-recall-diagnostics.d.ts.map +1 -0
- package/dist/access-recall-diagnostics.js +26 -0
- package/dist/access-recall-response.d.ts +7 -151
- package/dist/access-recall-response.d.ts.map +1 -0
- package/dist/access-recall-response.js +65 -60
- package/dist/access-recall-surface.d.ts +11 -152
- package/dist/access-recall-surface.d.ts.map +1 -0
- package/dist/access-recall-surface.js +65 -60
- package/dist/access-schema.d.ts +203 -221
- package/dist/access-schema.d.ts.map +1 -0
- package/dist/access-schema.js +3 -3
- package/dist/access-service-helpers.d.ts +33 -145
- package/dist/access-service-helpers.d.ts.map +1 -0
- package/dist/access-service.d.ts +1825 -145
- package/dist/access-service.d.ts.map +1 -0
- package/dist/access-service.js +65 -60
- package/dist/access-surface-catalog.d.ts +7 -154
- package/dist/access-surface-catalog.d.ts.map +1 -0
- package/dist/access-surface-catalog.js +69 -62
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-token-capabilities.d.ts +19 -22
- package/dist/access-token-capabilities.d.ts.map +1 -0
- package/dist/access-token-capabilities.js +2 -2
- package/dist/access-wearables-meetings-surface.d.ts +14 -54
- package/dist/access-wearables-meetings-surface.d.ts.map +1 -0
- package/dist/action-confidence.d.ts +19 -40
- package/dist/action-confidence.d.ts.map +1 -0
- package/dist/active-context-config.d.ts +7 -8
- package/dist/active-context-config.d.ts.map +1 -0
- package/dist/active-context-transform.d.ts +31 -33
- package/dist/active-context-transform.d.ts.map +1 -0
- package/dist/active-memory-bridge.d.ts +10 -28
- package/dist/active-memory-bridge.d.ts.map +1 -0
- package/dist/active-recall.d.ts +11 -30
- package/dist/active-recall.d.ts.map +1 -0
- package/dist/active-recall.js +23 -23
- package/dist/activity/config.d.ts +24 -0
- package/dist/activity/config.d.ts.map +1 -0
- package/dist/activity/digest.d.ts +15 -35
- package/dist/activity/digest.d.ts.map +1 -0
- package/dist/activity/dwell.d.ts +14 -0
- package/dist/activity/dwell.d.ts.map +1 -0
- package/dist/activity/from-ms.d.ts +7 -0
- package/dist/activity/from-ms.d.ts.map +1 -0
- package/dist/activity/heading-level.d.ts +15 -0
- package/dist/activity/heading-level.d.ts.map +1 -0
- package/dist/activity/heading-title.d.ts +15 -0
- package/dist/activity/heading-title.d.ts.map +1 -0
- package/dist/activity/index.d.ts +46 -0
- package/dist/activity/index.d.ts.map +1 -0
- package/dist/activity/journal-extract.d.ts +68 -0
- package/dist/activity/journal-extract.d.ts.map +1 -0
- package/dist/activity/journal-heading.d.ts +26 -0
- package/dist/activity/journal-heading.d.ts.map +1 -0
- package/dist/activity/journal-path.d.ts +9 -0
- package/dist/activity/journal-path.d.ts.map +1 -0
- package/dist/activity/journal-read.d.ts +31 -0
- package/dist/activity/journal-read.d.ts.map +1 -0
- package/dist/activity/journal-section.d.ts +17 -0
- package/dist/activity/journal-section.d.ts.map +1 -0
- package/dist/activity/journal-source.d.ts +25 -0
- package/dist/activity/journal-source.d.ts.map +1 -0
- package/dist/activity/journal-state.d.ts +21 -0
- package/dist/activity/journal-state.d.ts.map +1 -0
- package/dist/activity/journal-state.lock-worker.d.ts +2 -0
- package/dist/activity/journal-state.lock-worker.d.ts.map +1 -0
- package/dist/activity/journal-strip.d.ts +6 -0
- package/dist/activity/journal-strip.d.ts.map +1 -0
- package/dist/activity/journal-vault-prereq.d.ts +23 -0
- package/dist/activity/journal-vault-prereq.d.ts.map +1 -0
- package/dist/activity/journal-vault-provenance.d.ts +12 -0
- package/dist/activity/journal-vault-provenance.d.ts.map +1 -0
- package/dist/activity/journal-vault-read.d.ts +32 -0
- package/dist/activity/journal-vault-read.d.ts.map +1 -0
- package/dist/activity/journal.d.ts +29 -0
- package/dist/activity/journal.d.ts.map +1 -0
- package/dist/activity/memory-gen.d.ts +71 -0
- package/dist/activity/memory-gen.d.ts.map +1 -0
- package/dist/activity/pipeline.d.ts +44 -0
- package/dist/activity/pipeline.d.ts.map +1 -0
- package/dist/activity/privacy-delete-plan.d.ts +22 -0
- package/dist/activity/privacy-delete-plan.d.ts.map +1 -0
- package/dist/activity/privacy-enabled.d.ts +16 -0
- package/dist/activity/privacy-enabled.d.ts.map +1 -0
- package/dist/activity/privacy-gate-resolve.d.ts +17 -0
- package/dist/activity/privacy-gate-resolve.d.ts.map +1 -0
- package/dist/activity/privacy-keys.d.ts +8 -0
- package/dist/activity/privacy-keys.d.ts.map +1 -0
- package/dist/activity/privacy-redact.d.ts +13 -0
- package/dist/activity/privacy-redact.d.ts.map +1 -0
- package/dist/activity/privacy-status.d.ts +30 -0
- package/dist/activity/privacy-status.d.ts.map +1 -0
- package/dist/activity/privacy-window.d.ts +15 -0
- package/dist/activity/privacy-window.d.ts.map +1 -0
- package/dist/activity/privacy.d.ts +17 -0
- package/dist/activity/privacy.d.ts.map +1 -0
- package/dist/activity/reindex.d.ts +23 -0
- package/dist/activity/reindex.d.ts.map +1 -0
- package/dist/activity/retain-days.d.ts +8 -0
- package/dist/activity/retain-days.d.ts.map +1 -0
- package/dist/activity/runner.d.ts +100 -0
- package/dist/activity/runner.d.ts.map +1 -0
- package/dist/activity/scheduler.d.ts +90 -0
- package/dist/activity/scheduler.d.ts.map +1 -0
- package/dist/activity/source-client.d.ts +24 -0
- package/dist/activity/source-client.d.ts.map +1 -0
- package/dist/activity/store.d.ts +53 -0
- package/dist/activity/store.d.ts.map +1 -0
- package/dist/activity/sync-registration.d.ts +83 -0
- package/dist/activity/sync-registration.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch.d.ts +12 -0
- package/dist/activity/timeline/analysis-batch.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-claim.d.ts +14 -0
- package/dist/activity/timeline/analysis-claim.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-dup.d.ts +8 -0
- package/dist/activity/timeline/analysis-dup.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-evidence.d.ts +12 -0
- package/dist/activity/timeline/analysis-evidence.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-failure.d.ts +19 -0
- package/dist/activity/timeline/analysis-failure.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-max.d.ts +8 -0
- package/dist/activity/timeline/analysis-max.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-metadata.d.ts +30 -0
- package/dist/activity/timeline/analysis-metadata.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-order.d.ts +8 -0
- package/dist/activity/timeline/analysis-order.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-overlap.d.ts +8 -0
- package/dist/activity/timeline/analysis-overlap.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-prompt.d.ts +13 -0
- package/dist/activity/timeline/analysis-prompt.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-provider.d.ts +84 -0
- package/dist/activity/timeline/analysis-provider.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-run.d.ts +40 -0
- package/dist/activity/timeline/analysis-run.d.ts.map +1 -0
- package/dist/activity/timeline/analysis.d.ts +63 -0
- package/dist/activity/timeline/analysis.d.ts.map +1 -0
- package/dist/activity/timeline/build.d.ts +50 -0
- package/dist/activity/timeline/build.d.ts.map +1 -0
- package/dist/activity/timeline/categories.d.ts +27 -0
- package/dist/activity/timeline/categories.d.ts.map +1 -0
- package/dist/activity/timeline/classify.d.ts +20 -0
- package/dist/activity/timeline/classify.d.ts.map +1 -0
- package/dist/activity/timeline/corrections.d.ts +37 -0
- package/dist/activity/timeline/corrections.d.ts.map +1 -0
- package/dist/activity/timeline/index.d.ts +35 -0
- package/dist/activity/timeline/index.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts +14 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap.d.ts +21 -0
- package/dist/activity/timeline/journal-recap.d.ts.map +1 -0
- package/dist/activity/timeline/publish-cli.d.ts +17 -0
- package/dist/activity/timeline/publish-cli.d.ts.map +1 -0
- package/dist/activity/timeline/query.d.ts +86 -0
- package/dist/activity/timeline/query.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-count.d.ts +7 -0
- package/dist/activity/timeline/recap-card-count.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-id.d.ts +14 -0
- package/dist/activity/timeline/recap-card-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-date.d.ts +15 -0
- package/dist/activity/timeline/recap-date.d.ts.map +1 -0
- package/dist/activity/timeline/recap-empty.d.ts +8 -0
- package/dist/activity/timeline/recap-empty.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export-range.d.ts +55 -0
- package/dist/activity/timeline/recap-export-range.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export.d.ts +48 -0
- package/dist/activity/timeline/recap-export.d.ts.map +1 -0
- package/dist/activity/timeline/recap-fallback.d.ts +47 -0
- package/dist/activity/timeline/recap-fallback.d.ts.map +1 -0
- package/dist/activity/timeline/recap-id.d.ts +8 -0
- package/dist/activity/timeline/recap-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-markdown.d.ts +15 -0
- package/dist/activity/timeline/recap-markdown.d.ts.map +1 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts +24 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts.map +1 -0
- package/dist/activity/timeline/recap-sort-key.d.ts +9 -0
- package/dist/activity/timeline/recap-sort-key.d.ts.map +1 -0
- package/dist/activity/timeline/recap-tz.d.ts +15 -0
- package/dist/activity/timeline/recap-tz.d.ts.map +1 -0
- package/dist/activity/timeline/recap-window.d.ts +19 -0
- package/dist/activity/timeline/recap-window.d.ts.map +1 -0
- package/dist/activity/timeline/regenerate.d.ts +84 -0
- package/dist/activity/timeline/regenerate.d.ts.map +1 -0
- package/dist/activity/timeline/types.d.ts +98 -0
- package/dist/activity/timeline/types.d.ts.map +1 -0
- package/dist/activity/timeline/week-config-hash.d.ts +13 -0
- package/dist/activity/timeline/week-config-hash.d.ts.map +1 -0
- package/dist/activity/timeline/week-count.d.ts +7 -0
- package/dist/activity/timeline/week-count.d.ts.map +1 -0
- package/dist/activity/timeline/week-dashboard.d.ts +79 -0
- package/dist/activity/timeline/week-dashboard.d.ts.map +1 -0
- package/dist/activity/timeline/week-days.d.ts +6 -0
- package/dist/activity/timeline/week-days.d.ts.map +1 -0
- package/dist/activity/timeline/week-export.d.ts +27 -0
- package/dist/activity/timeline/week-export.d.ts.map +1 -0
- package/dist/activity/timeline/week-iso.d.ts +16 -0
- package/dist/activity/timeline/week-iso.d.ts.map +1 -0
- package/dist/activity/timeline/week-monday.d.ts +3 -0
- package/dist/activity/timeline/week-monday.d.ts.map +1 -0
- package/dist/activity/timeline/week-previous.d.ts +39 -0
- package/dist/activity/timeline/week-previous.d.ts.map +1 -0
- package/dist/activity/timeline/week-range.d.ts +10 -0
- package/dist/activity/timeline/week-range.d.ts.map +1 -0
- package/dist/activity/timeline/week-recurring.d.ts +21 -0
- package/dist/activity/timeline/week-recurring.d.ts.map +1 -0
- package/dist/activity/timeline/week-snapshot.d.ts +17 -0
- package/dist/activity/timeline/week-snapshot.d.ts.map +1 -0
- package/dist/activity/timeline/week-span.d.ts +2 -0
- package/dist/activity/timeline/week-span.d.ts.map +1 -0
- package/dist/activity/timeline/week-sunday.d.ts +3 -0
- package/dist/activity/timeline/week-sunday.d.ts.map +1 -0
- package/dist/activity/timeline/weekly-persist.d.ts +18 -0
- package/dist/activity/timeline/weekly-persist.d.ts.map +1 -0
- package/dist/activity/timeline/weekly.d.ts +42 -0
- package/dist/activity/timeline/weekly.d.ts.map +1 -0
- package/dist/activity/to-ms.d.ts +7 -0
- package/dist/activity/to-ms.d.ts.map +1 -0
- package/dist/activity/types.d.ts +208 -0
- package/dist/activity/types.d.ts.map +1 -0
- package/dist/activity/vault-begin.d.ts +8 -0
- package/dist/activity/vault-begin.d.ts.map +1 -0
- package/dist/activity/vault-body-trim.d.ts +7 -0
- package/dist/activity/vault-body-trim.d.ts.map +1 -0
- package/dist/activity/vault-dry-run.d.ts +13 -0
- package/dist/activity/vault-dry-run.d.ts.map +1 -0
- package/dist/activity/vault-end.d.ts +8 -0
- package/dist/activity/vault-end.d.ts.map +1 -0
- package/dist/activity/vault-frontmatter.d.ts +41 -0
- package/dist/activity/vault-frontmatter.d.ts.map +1 -0
- package/dist/activity/vault-insert.d.ts +24 -0
- package/dist/activity/vault-insert.d.ts.map +1 -0
- package/dist/activity/vault-join.d.ts +2 -0
- package/dist/activity/vault-join.d.ts.map +1 -0
- package/dist/activity/vault-marker.d.ts +12 -0
- package/dist/activity/vault-marker.d.ts.map +1 -0
- package/dist/activity/vault-name-trim.d.ts +7 -0
- package/dist/activity/vault-name-trim.d.ts.map +1 -0
- package/dist/activity/vault-path.d.ts +20 -0
- package/dist/activity/vault-path.d.ts.map +1 -0
- package/dist/activity/vault-publish.d.ts +71 -0
- package/dist/activity/vault-publish.d.ts.map +1 -0
- package/dist/activity/vault-publisher.d.ts +58 -0
- package/dist/activity/vault-publisher.d.ts.map +1 -0
- package/dist/activity/vault-region-pair.d.ts +17 -0
- package/dist/activity/vault-region-pair.d.ts.map +1 -0
- package/dist/activity/vault-region.d.ts +24 -0
- package/dist/activity/vault-region.d.ts.map +1 -0
- package/dist/activity/vault-status.d.ts +32 -0
- package/dist/activity/vault-status.d.ts.map +1 -0
- package/dist/activity/vault-suffix.d.ts +7 -0
- package/dist/activity/vault-suffix.d.ts.map +1 -0
- package/dist/activity/vault-wikilink.d.ts +2 -0
- package/dist/activity/vault-wikilink.d.ts.map +1 -0
- package/dist/activity/window-order.d.ts +17 -0
- package/dist/activity/window-order.d.ts.map +1 -0
- package/dist/adapters/claude-code.d.ts +3 -5
- package/dist/adapters/claude-code.d.ts.map +1 -0
- package/dist/adapters/codex.d.ts +3 -5
- package/dist/adapters/codex.d.ts.map +1 -0
- package/dist/adapters/grok.d.ts +23 -0
- package/dist/adapters/grok.d.ts.map +1 -0
- package/dist/adapters/hermes.d.ts +3 -5
- package/dist/adapters/hermes.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +9 -51
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/opencode.d.ts +22 -0
- package/dist/adapters/opencode.d.ts.map +1 -0
- package/dist/adapters/registry.d.ts +3 -5
- package/dist/adapters/registry.d.ts.map +1 -0
- package/dist/adapters/registry.js +2 -2
- package/dist/adapters/replit.d.ts +3 -5
- package/dist/adapters/replit.d.ts.map +1 -0
- package/dist/adapters/types.d.ts +5 -6
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/admin/admin-surfaces.d.ts +362 -0
- package/dist/admin/admin-surfaces.d.ts.map +1 -0
- package/dist/ambient-provenance.d.ts +10 -30
- package/dist/ambient-provenance.d.ts.map +1 -0
- package/dist/archive-mutation-version.d.ts +8 -9
- package/dist/archive-mutation-version.d.ts.map +1 -0
- package/dist/artifact-search.d.ts +5 -25
- package/dist/artifact-search.d.ts.map +1 -0
- package/dist/auto-sync-CWSZDLLW.js +1 -1
- package/dist/background-generation-config.d.ts +3 -4
- package/dist/background-generation-config.d.ts.map +1 -0
- package/dist/background-generation.d.ts +5 -24
- package/dist/background-generation.d.ts.map +1 -0
- package/dist/behavior-learner.d.ts +6 -25
- package/dist/behavior-learner.d.ts.map +1 -0
- package/dist/behavior-signals.d.ts +5 -24
- package/dist/behavior-signals.d.ts.map +1 -0
- package/dist/binary-lifecycle/backend.d.ts +46 -0
- package/dist/binary-lifecycle/backend.d.ts.map +1 -0
- package/dist/binary-lifecycle/index.d.ts +13 -0
- package/dist/binary-lifecycle/index.d.ts.map +1 -0
- package/dist/binary-lifecycle/manifest.d.ts +22 -0
- package/dist/binary-lifecycle/manifest.d.ts.map +1 -0
- package/dist/binary-lifecycle/pipeline.d.ts +33 -0
- package/dist/binary-lifecycle/pipeline.d.ts.map +1 -0
- package/dist/binary-lifecycle/scanner.d.ts +21 -0
- package/dist/binary-lifecycle/scanner.d.ts.map +1 -0
- package/dist/binary-lifecycle/types.d.ts +70 -0
- package/dist/binary-lifecycle/types.d.ts.map +1 -0
- package/dist/bootstrap.d.ts +6 -115
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bounded-jsonl-state.d.ts +5 -5
- package/dist/bounded-jsonl-state.d.ts.map +1 -0
- package/dist/boxes.d.ts +9 -9
- package/dist/boxes.d.ts.map +1 -0
- package/dist/briefing-window.d.ts +8 -40
- package/dist/briefing-window.d.ts.map +1 -0
- package/dist/briefing.d.ts +28 -61
- package/dist/briefing.d.ts.map +1 -0
- package/dist/briefing.js +14 -14
- package/dist/buffer-surprise-report.d.ts +6 -26
- package/dist/buffer-surprise-report.d.ts.map +1 -0
- package/dist/buffer-surprise.d.ts +5 -6
- package/dist/buffer-surprise.d.ts.map +1 -0
- package/dist/buffer-turn-helpers.d.ts +32 -18
- package/dist/buffer-turn-helpers.d.ts.map +1 -0
- package/dist/buffer.d.ts +9 -41
- package/dist/buffer.d.ts.map +1 -0
- package/dist/buffer.js +3 -3
- package/dist/bulk-import/index.d.ts +4 -44
- package/dist/bulk-import/index.d.ts.map +1 -0
- package/dist/bulk-import/pipeline.d.ts +30 -0
- package/dist/bulk-import/pipeline.d.ts.map +1 -0
- package/dist/bulk-import/registry.d.ts +23 -0
- package/dist/bulk-import/registry.d.ts.map +1 -0
- package/dist/bulk-import/types.d.ts +83 -0
- package/dist/bulk-import/types.d.ts.map +1 -0
- package/dist/calibration.d.ts +14 -37
- package/dist/calibration.d.ts.map +1 -0
- package/dist/capabilities.d.ts +64 -84
- package/dist/capabilities.d.ts.map +1 -0
- package/dist/capsule-cli.d.ts +23 -24
- package/dist/capsule-cli.d.ts.map +1 -0
- package/dist/capsule-crypto-7FJQINUR.js +18 -0
- package/dist/causal-behavior.d.ts +9 -38
- package/dist/causal-behavior.d.ts.map +1 -0
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.d.ts +13 -17
- package/dist/causal-chain.d.ts.map +1 -0
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +10 -29
- package/dist/causal-consolidation.d.ts.map +1 -0
- package/dist/causal-consolidation.js +17 -17
- package/dist/causal-retrieval.d.ts +6 -11
- package/dist/causal-retrieval.d.ts.map +1 -0
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +7 -29
- package/dist/causal-trajectory-graph.d.ts.map +1 -0
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.d.ts +23 -25
- package/dist/causal-trajectory.d.ts.map +1 -0
- package/dist/causal-trajectory.js +1 -1
- package/dist/census-validation.d.ts +5 -6
- package/dist/census-validation.d.ts.map +1 -0
- package/dist/chat/chat-cli.d.ts +38 -0
- package/dist/chat/chat-cli.d.ts.map +1 -0
- package/dist/chat/chat-config.d.ts +25 -0
- package/dist/chat/chat-config.d.ts.map +1 -0
- package/dist/chat/chat-engine.d.ts +82 -0
- package/dist/chat/chat-engine.d.ts.map +1 -0
- package/dist/chat/chat-executor.d.ts +26 -0
- package/dist/chat/chat-executor.d.ts.map +1 -0
- package/dist/chat/chat-factory.d.ts +46 -0
- package/dist/chat/chat-factory.d.ts.map +1 -0
- package/dist/chat/chat-http.d.ts +83 -0
- package/dist/chat/chat-http.d.ts.map +1 -0
- package/dist/chat/chat-llm.d.ts +77 -0
- package/dist/chat/chat-llm.d.ts.map +1 -0
- package/dist/chat/chat-session.d.ts +118 -0
- package/dist/chat/chat-session.d.ts.map +1 -0
- package/dist/chat/chat-system-prompt.d.ts +23 -0
- package/dist/chat/chat-system-prompt.d.ts.map +1 -0
- package/dist/chat/chat-tools.d.ts +22 -0
- package/dist/chat/chat-tools.d.ts.map +1 -0
- package/dist/chat/chat-types.d.ts +134 -0
- package/dist/chat/chat-types.d.ts.map +1 -0
- package/dist/chunk-2CBWEIS4.js +1286 -0
- package/dist/chunk-2JQZSQXI.js +81 -0
- package/dist/chunk-2KHIBLO5.js +33 -0
- package/dist/chunk-2KHIBLO5.js.map +1 -0
- package/dist/chunk-2NLLXCJG.js +112 -0
- package/dist/chunk-2WMXZYMS.js +25 -0
- package/dist/chunk-34ZGBAGE.js +61 -0
- package/dist/chunk-36S7UHAW.js +623 -0
- package/dist/chunk-3JLWSFTV.js +801 -0
- package/dist/chunk-3MUKQQ7A.js +157 -0
- package/dist/chunk-3MUKQQ7A.js.map +1 -0
- package/dist/chunk-3RZOLUZT.js +140 -0
- package/dist/chunk-3SL52JKD.js +160 -0
- package/dist/chunk-4ALOINQ4.js +18512 -0
- package/dist/chunk-4ALOINQ4.js.map +1 -0
- package/dist/chunk-4QEZS7PK.js +502 -0
- package/dist/chunk-52VL6LCY.js +648 -0
- package/dist/chunk-52VL6LCY.js.map +1 -0
- package/dist/chunk-5HFVWYHL.js +111 -0
- package/dist/chunk-5HFVWYHL.js.map +1 -0
- package/dist/chunk-5QRYGLZN.js +35 -0
- package/dist/chunk-5R3C5LEZ.js +263 -0
- package/dist/chunk-634UKELB.js +77 -0
- package/dist/chunk-64JK4TL7.js +801 -0
- package/dist/chunk-6E5GYDIE.js +141 -0
- package/dist/chunk-6ISP2EN2.js +51 -0
- package/dist/chunk-6RD7MSIO.js +212 -0
- package/dist/chunk-6UDLN4IA.js +70 -0
- package/dist/chunk-754XN6LX.js +256 -0
- package/dist/chunk-7H2LEYYJ.js +256 -0
- package/dist/chunk-A7AISUJI.js +103 -0
- package/dist/chunk-AULKCNZW.js +727 -0
- package/dist/chunk-B7SSU55V.js +1686 -0
- package/dist/chunk-BICNRVEC.js +224 -0
- package/dist/chunk-BJI2D4SU.js +53 -0
- package/dist/chunk-BQB5ZMYO.js +28 -0
- package/dist/chunk-BSDBDFKZ.js +168 -0
- package/dist/chunk-BSDBDFKZ.js.map +1 -0
- package/dist/chunk-C5CPYMLX.js +315 -0
- package/dist/chunk-C6LRFPZL.js +4007 -0
- package/dist/chunk-C6LRFPZL.js.map +1 -0
- package/dist/chunk-CS2JO77A.js +95 -0
- package/dist/chunk-DTABICJ3.js +549 -0
- package/dist/chunk-DXODYQ7J.js +319 -0
- package/dist/chunk-DXODYQ7J.js.map +1 -0
- package/dist/chunk-E6UNM67F.js +432 -0
- package/dist/chunk-ENUI3IO7.js +271 -0
- package/dist/chunk-FF2XYADH.js +1084 -0
- package/dist/chunk-FF6N7BXC.js +389 -0
- package/dist/chunk-FNQEXI3D.js +22 -0
- package/dist/chunk-FNQEXI3D.js.map +1 -0
- package/dist/chunk-FSXD6Y4H.js +203 -0
- package/dist/chunk-GK6NOQE6.js +3400 -0
- package/dist/chunk-GRSFFLUY.js +43 -0
- package/dist/chunk-GWK7FEUL.js +761 -0
- package/dist/chunk-GWQVMKUJ.js +218 -0
- package/dist/chunk-H7O5L2IQ.js +3560 -0
- package/dist/chunk-H7O5L2IQ.js.map +1 -0
- package/dist/chunk-HKHZWJ3E.js +63 -0
- package/dist/chunk-IAZPYX6W.js +182 -0
- package/dist/chunk-IG747LRN.js +189 -0
- package/dist/chunk-IK63WA5A.js +30 -0
- package/dist/chunk-IRGQYQQ7.js +143 -0
- package/dist/chunk-IRGQYQQ7.js.map +1 -0
- package/dist/chunk-IUD6NLNM.js +24 -0
- package/dist/chunk-JSJZ2NXS.js +9782 -0
- package/dist/chunk-JUOJGZPV.js +566 -0
- package/dist/chunk-KA4U5GQN.js +960 -0
- package/dist/chunk-KQAFEZQX.js +264 -0
- package/dist/chunk-L4WBADKG.js +72 -0
- package/dist/chunk-LAL4B37X.js +275 -0
- package/dist/chunk-LELJRLPY.js +253 -0
- package/dist/chunk-LMMQKZK3.js +403 -0
- package/dist/chunk-LQ23DMTT.js +74 -0
- package/dist/chunk-LV6ZB6CA.js +285 -0
- package/dist/chunk-M5IJP3YW.js +5505 -0
- package/dist/chunk-MMMYRC7Q.js +606 -0
- package/dist/chunk-MMMYRC7Q.js.map +1 -0
- package/dist/chunk-MWZMVLXL.js +415 -0
- package/dist/chunk-MZUQVWVC.js +72 -0
- package/dist/chunk-MZUQVWVC.js.map +1 -0
- package/dist/chunk-N4VCHRLD.js +29 -0
- package/dist/chunk-NKXHCCLB.js +879 -0
- package/dist/chunk-NVCWA4QC.js +112 -0
- package/dist/chunk-ONWVMYHX.js +122 -0
- package/dist/chunk-P6P35FY4.js +54 -0
- package/dist/chunk-P7M22CYB.js +346 -0
- package/dist/chunk-QMWKENNK.js +111 -0
- package/dist/chunk-QOPB6KE3.js +1530 -0
- package/dist/chunk-RBULO7DO.js +223 -0
- package/dist/chunk-RDESQOEE.js +1008 -0
- package/dist/chunk-RMF763SX.js +115 -0
- package/dist/chunk-RN6ZCNM5.js +321 -0
- package/dist/chunk-S2OBXHMN.js +11341 -0
- package/dist/chunk-S3JPD4N7.js +216 -0
- package/dist/chunk-SF6RFI5Z.js +165 -0
- package/dist/chunk-SJV3AOZ2.js +2453 -0
- package/dist/chunk-SLULR4GC.js +202 -0
- package/dist/chunk-TFXXMTHV.js +1476 -0
- package/dist/chunk-TYP7GYRI.js +216 -0
- package/dist/chunk-TYZK56OA.js +2440 -0
- package/dist/chunk-VLDVNZQE.js +921 -0
- package/dist/chunk-W6YK672C.js +511 -0
- package/dist/chunk-X2NFFBTO.js +576 -0
- package/dist/chunk-X45KZOT2.js +1917 -0
- package/dist/chunk-X7Y7WX73.js +249 -0
- package/dist/chunk-XIXM6G7I.js +43 -0
- package/dist/chunk-XLXYARWC.js +210 -0
- package/dist/chunk-XVW52M6I.js +223 -0
- package/dist/chunk-YHU5XUF4.js +342 -0
- package/dist/chunk-YRH3C2OJ.js +73 -0
- package/dist/chunk-YXQE67A7.js +137 -0
- package/dist/chunk-ZHUVMSHI.js +731 -0
- package/dist/chunk-ZHXSOMYH.js +297 -0
- package/dist/chunk-ZIEZJMFW.js +768 -0
- package/dist/chunk-ZMT4ZVJU.js +31013 -0
- package/dist/chunk-ZMT4ZVJU.js.map +1 -0
- package/dist/chunk-ZOASYXBS.js +629 -0
- package/dist/chunk-ZOASYXBS.js.map +1 -0
- package/dist/chunk-ZSEFGDCI.js +98 -0
- package/dist/chunk-ZX5N5D6M.js +65 -0
- package/dist/chunking.d.ts +9 -10
- package/dist/chunking.d.ts.map +1 -0
- package/dist/citations.d.ts +8 -9
- package/dist/citations.d.ts.map +1 -0
- package/dist/cli/creation-ledger-commands.d.ts +24 -0
- package/dist/cli/creation-ledger-commands.d.ts.map +1 -0
- package/dist/cli/deep-recall-commands.d.ts +19 -0
- package/dist/cli/deep-recall-commands.d.ts.map +1 -0
- package/dist/cli/harmonic-search.d.ts +12 -0
- package/dist/cli/harmonic-search.d.ts.map +1 -0
- package/dist/cli/meetings-commands.d.ts +16 -0
- package/dist/cli/meetings-commands.d.ts.map +1 -0
- package/dist/cli/memory-browse-commands.d.ts +11 -0
- package/dist/cli/memory-browse-commands.d.ts.map +1 -0
- package/dist/cli/okf-commands.d.ts +5 -0
- package/dist/cli/okf-commands.d.ts.map +1 -0
- package/dist/cli/recall-navigation-commands.d.ts +11 -0
- package/dist/cli/recall-navigation-commands.d.ts.map +1 -0
- package/dist/cli/research-status-commands.d.ts +26 -0
- package/dist/cli/research-status-commands.d.ts.map +1 -0
- package/dist/cli/skills-commands.d.ts +14 -0
- package/dist/cli/skills-commands.d.ts.map +1 -0
- package/dist/cli/timeline-publish-commands.d.ts +11 -0
- package/dist/cli/timeline-publish-commands.d.ts.map +1 -0
- package/dist/cli-fallback.d.ts +13 -14
- package/dist/cli-fallback.d.ts.map +1 -0
- package/dist/cli.d.ts +1036 -165
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +120 -116
- package/dist/coding/action-gate.d.ts +176 -0
- package/dist/coding/action-gate.d.ts.map +1 -0
- package/dist/coding/architecture-card.d.ts +135 -0
- package/dist/coding/architecture-card.d.ts.map +1 -0
- package/dist/coding/architecture-surfaces.d.ts +166 -0
- package/dist/coding/architecture-surfaces.d.ts.map +1 -0
- package/dist/coding/codegraph-runtime.d.ts +321 -0
- package/dist/coding/codegraph-runtime.d.ts.map +1 -0
- package/dist/coding/codegraph-surfaces.d.ts +191 -0
- package/dist/coding/codegraph-surfaces.d.ts.map +1 -0
- package/dist/coding/coding-graph-types.d.ts +16 -17
- package/dist/coding/coding-graph-types.d.ts.map +1 -0
- package/dist/coding/coding-knowledge-config.d.ts +69 -0
- package/dist/coding/coding-knowledge-config.d.ts.map +1 -0
- package/dist/coding/coding-namespace.d.ts +214 -0
- package/dist/coding/coding-namespace.d.ts.map +1 -0
- package/dist/coding/decision-records.d.ts +120 -0
- package/dist/coding/decision-records.d.ts.map +1 -0
- package/dist/coding/decision-surfaces.d.ts +143 -0
- package/dist/coding/decision-surfaces.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.d.ts +9 -28
- package/dist/coding/export-okf-codegraph.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.js +13 -13
- package/dist/coding/git-context.d.ts +92 -0
- package/dist/coding/git-context.d.ts.map +1 -0
- package/dist/coding/optional-coding-graph.d.ts +9 -10
- package/dist/coding/optional-coding-graph.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.d.ts +58 -18
- package/dist/coding/pre-action-gate.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/coding/review-context.d.ts +147 -0
- package/dist/coding/review-context.d.ts.map +1 -0
- package/dist/coding/session-delta-surfaces.d.ts +138 -0
- package/dist/coding/session-delta-surfaces.d.ts.map +1 -0
- package/dist/coding/session-delta.d.ts +201 -0
- package/dist/coding/session-delta.d.ts.map +1 -0
- package/dist/coding/structural-context.d.ts +194 -0
- package/dist/coding/structural-context.d.ts.map +1 -0
- package/dist/coding/structural-subprocess-provider.d.ts +50 -0
- package/dist/coding/structural-subprocess-provider.d.ts.map +1 -0
- package/dist/commitment-ledger.d.ts +13 -14
- package/dist/commitment-ledger.d.ts.map +1 -0
- package/dist/compat/checks.d.ts +3 -5
- package/dist/compat/checks.d.ts.map +1 -0
- package/dist/compat/codex-cli-fallback.d.ts +15 -1
- package/dist/compat/codex-cli-fallback.d.ts.map +1 -0
- package/dist/compat/codex-thread-key.d.ts +15 -1
- package/dist/compat/codex-thread-key.d.ts.map +1 -0
- package/dist/compat/types.d.ts +7 -8
- package/dist/compat/types.d.ts.map +1 -0
- package/dist/compounding/engine.d.ts +11 -44
- package/dist/compounding/engine.d.ts.map +1 -0
- package/dist/compounding/engine.js +14 -14
- package/dist/compounding/preference-consolidator.d.ts +10 -37
- package/dist/compounding/preference-consolidator.d.ts.map +1 -0
- package/dist/compression-optimizer.d.ts +10 -29
- package/dist/compression-optimizer.d.ts.map +1 -0
- package/dist/config-discovery.d.ts +4 -5
- package/dist/config-discovery.d.ts.map +1 -0
- package/dist/config-qmd.d.ts +7 -8
- package/dist/config-qmd.d.ts.map +1 -0
- package/dist/config-record.d.ts +2 -3
- package/dist/config-record.d.ts.map +1 -0
- package/dist/config-security.d.ts +2 -3
- package/dist/config-security.d.ts.map +1 -0
- package/dist/config.d.ts +7 -26
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +23 -23
- package/dist/connectors/codex-marketplace.d.ts +124 -0
- package/dist/connectors/codex-marketplace.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.d.ts +7 -27
- package/dist/connectors/codex-materialize-runner.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.js +14 -14
- package/dist/connectors/codex-materialize.d.ts +23 -41
- package/dist/connectors/codex-materialize.d.ts.map +1 -0
- package/dist/connectors/coerce.d.ts +73 -0
- package/dist/connectors/coerce.d.ts.map +1 -0
- package/dist/connectors/droid-mcp.d.ts +122 -0
- package/dist/connectors/droid-mcp.d.ts.map +1 -0
- package/dist/connectors/hermes-shim.d.ts +135 -0
- package/dist/connectors/hermes-shim.d.ts.map +1 -0
- package/dist/connectors/index.d.ts +42 -247
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +20 -20
- package/dist/connectors/label.d.ts +19 -0
- package/dist/connectors/label.d.ts.map +1 -0
- package/dist/connectors/live/framework.d.ts +169 -0
- package/dist/connectors/live/framework.d.ts.map +1 -0
- package/dist/connectors/live/github.d.ts +156 -0
- package/dist/connectors/live/github.d.ts.map +1 -0
- package/dist/connectors/live/gmail.d.ts +253 -0
- package/dist/connectors/live/gmail.d.ts.map +1 -0
- package/dist/connectors/live/google-drive.d.ts +198 -0
- package/dist/connectors/live/google-drive.d.ts.map +1 -0
- package/dist/connectors/live/index.d.ts +20 -0
- package/dist/connectors/live/index.d.ts.map +1 -0
- package/dist/connectors/live/notion.d.ts +146 -0
- package/dist/connectors/live/notion.d.ts.map +1 -0
- package/dist/connectors/live/registry.d.ts +53 -0
- package/dist/connectors/live/registry.d.ts.map +1 -0
- package/dist/connectors/live/state-store.d.ts +120 -0
- package/dist/connectors/live/state-store.d.ts.map +1 -0
- package/dist/connectors/live/transient-errors.d.ts +45 -0
- package/dist/connectors/live/transient-errors.d.ts.map +1 -0
- package/dist/connectors/materialize-paths.d.ts +15 -0
- package/dist/connectors/materialize-paths.d.ts.map +1 -0
- package/dist/connectors/materialize-skills.d.ts +52 -0
- package/dist/connectors/materialize-skills.d.ts.map +1 -0
- package/dist/connectors/paths.d.ts +78 -0
- package/dist/connectors/paths.d.ts.map +1 -0
- package/dist/connectors/prime-agent.d.ts +13 -0
- package/dist/connectors/prime-agent.d.ts.map +1 -0
- package/dist/connectors-cli.d.ts +170 -2
- package/dist/connectors-cli.d.ts.map +1 -0
- package/dist/console/state.d.ts +154 -0
- package/dist/console/state.d.ts.map +1 -0
- package/dist/console/trace.d.ts +199 -0
- package/dist/console/trace.d.ts.map +1 -0
- package/dist/console/tui.d.ts +106 -0
- package/dist/console/tui.d.ts.map +1 -0
- package/dist/consolidation-operator.d.ts +8 -9
- package/dist/consolidation-operator.d.ts.map +1 -0
- package/dist/consolidation-provenance-check.d.ts +5 -40
- package/dist/consolidation-provenance-check.d.ts.map +1 -0
- package/dist/consolidation-undo.d.ts +10 -44
- package/dist/consolidation-undo.d.ts.map +1 -0
- package/dist/content-hash.d.ts +6 -7
- package/dist/content-hash.d.ts.map +1 -0
- package/dist/context-summary.d.ts +8 -9
- package/dist/context-summary.d.ts.map +1 -0
- package/dist/contradiction/contradiction-judge.d.ts +65 -0
- package/dist/contradiction/contradiction-judge.d.ts.map +1 -0
- package/dist/contradiction/contradiction-review.d.ts +117 -0
- package/dist/contradiction/contradiction-review.d.ts.map +1 -0
- package/dist/contradiction/contradiction-scan.d.ts +74 -0
- package/dist/contradiction/contradiction-scan.d.ts.map +1 -0
- package/dist/contradiction/index.d.ts +12 -41
- package/dist/contradiction/index.d.ts.map +1 -0
- package/dist/contradiction/index.js +11 -11
- package/dist/contradiction/resolution.d.ts +57 -0
- package/dist/contradiction/resolution.d.ts.map +1 -0
- package/dist/contradiction-config.d.ts +5 -6
- package/dist/contradiction-config.d.ts.map +1 -0
- package/dist/converge-config.d.ts +9 -28
- package/dist/converge-config.d.ts.map +1 -0
- package/dist/convergence-refresh.d.ts +5 -40
- package/dist/convergence-refresh.d.ts.map +1 -0
- package/dist/convergence-refresh.js +16 -16
- package/dist/conversation-index/backend.d.ts +12 -31
- package/dist/conversation-index/backend.d.ts.map +1 -0
- package/dist/conversation-index/chunker.d.ts +4 -23
- package/dist/conversation-index/chunker.d.ts.map +1 -0
- package/dist/conversation-index/cleanup.d.ts +2 -3
- package/dist/conversation-index/cleanup.d.ts.map +1 -0
- package/dist/conversation-index/faiss-adapter.d.ts +63 -22
- package/dist/conversation-index/faiss-adapter.d.ts.map +1 -0
- package/dist/conversation-index/indexer.d.ts +9 -31
- package/dist/conversation-index/indexer.d.ts.map +1 -0
- package/dist/conversation-index/search.d.ts +10 -22
- package/dist/conversation-index/search.d.ts.map +1 -0
- package/dist/corpus-read-cancellation.d.ts +3 -4
- package/dist/corpus-read-cancellation.d.ts.map +1 -0
- package/dist/corpus-watermark.d.ts +19 -40
- package/dist/corpus-watermark.d.ts.map +1 -0
- package/dist/corpus-watermark.js +18 -18
- package/dist/correction/correction-access-wiring.d.ts +129 -0
- package/dist/correction/correction-access-wiring.d.ts.map +1 -0
- package/dist/correction/correction-contract.d.ts +220 -0
- package/dist/correction/correction-contract.d.ts.map +1 -0
- package/dist/correction/correction-executor.d.ts +174 -0
- package/dist/correction/correction-executor.d.ts.map +1 -0
- package/dist/correction/correction-planner.d.ts +162 -0
- package/dist/correction/correction-planner.d.ts.map +1 -0
- package/dist/correction/correction-service.d.ts +124 -0
- package/dist/correction/correction-service.d.ts.map +1 -0
- package/dist/correction/index.d.ts +23 -0
- package/dist/correction/index.d.ts.map +1 -0
- package/dist/correction/passive-capture.d.ts +107 -0
- package/dist/correction/passive-capture.d.ts.map +1 -0
- package/dist/correction/passive-correction-detector.d.ts +60 -0
- package/dist/correction/passive-correction-detector.d.ts.map +1 -0
- package/dist/correction/passive-correction-notifications.d.ts +36 -0
- package/dist/correction/passive-correction-notifications.d.ts.map +1 -0
- package/dist/cross-lingual-recall.d.ts +10 -29
- package/dist/cross-lingual-recall.d.ts.map +1 -0
- package/dist/cross-namespace-budget.d.ts +9 -10
- package/dist/cross-namespace-budget.d.ts.map +1 -0
- package/dist/cue-anchors.d.ts +11 -12
- package/dist/cue-anchors.d.ts.map +1 -0
- package/dist/curation/index.d.ts +98 -0
- package/dist/curation/index.d.ts.map +1 -0
- package/dist/dashboard-runtime.d.ts +4 -5
- package/dist/dashboard-runtime.d.ts.map +1 -0
- package/dist/day-summary.d.ts +5 -24
- package/dist/day-summary.d.ts.map +1 -0
- package/dist/dedup/connector-scope.d.ts +28 -0
- package/dist/dedup/connector-scope.d.ts.map +1 -0
- package/dist/dedup/index.d.ts +78 -0
- package/dist/dedup/index.d.ts.map +1 -0
- package/dist/dedup/merge-content.d.ts +24 -0
- package/dist/dedup/merge-content.d.ts.map +1 -0
- package/dist/dedup/merge-count.d.ts +7 -0
- package/dist/dedup/merge-count.d.ts.map +1 -0
- package/dist/dedup/merge-decision.d.ts +26 -0
- package/dist/dedup/merge-decision.d.ts.map +1 -0
- package/dist/dedup/merge-dup.d.ts +8 -0
- package/dist/dedup/merge-dup.d.ts.map +1 -0
- package/dist/dedup/merge-empty.d.ts +15 -0
- package/dist/dedup/merge-empty.d.ts.map +1 -0
- package/dist/dedup/merge-id.d.ts +8 -0
- package/dist/dedup/merge-id.d.ts.map +1 -0
- package/dist/dedup/merge-judge.d.ts +33 -0
- package/dist/dedup/merge-judge.d.ts.map +1 -0
- package/dist/dedup/merge-min-score.d.ts +2 -0
- package/dist/dedup/merge-min-score.d.ts.map +1 -0
- package/dist/dedup/merge-on-write-wire.d.ts +17 -0
- package/dist/dedup/merge-on-write-wire.d.ts.map +1 -0
- package/dist/dedup/merge-on-write.d.ts +32 -0
- package/dist/dedup/merge-on-write.d.ts.map +1 -0
- package/dist/dedup/merge-pair.d.ts +8 -0
- package/dist/dedup/merge-pair.d.ts.map +1 -0
- package/dist/dedup/merge-provenance.d.ts +43 -0
- package/dist/dedup/merge-provenance.d.ts.map +1 -0
- package/dist/dedup/merge-score.d.ts +7 -0
- package/dist/dedup/merge-score.d.ts.map +1 -0
- package/dist/dedup/merge-self.d.ts +13 -0
- package/dist/dedup/merge-self.d.ts.map +1 -0
- package/dist/dedup/merge-threshold.d.ts +13 -0
- package/dist/dedup/merge-threshold.d.ts.map +1 -0
- package/dist/dedup/merge-tie.d.ts +8 -0
- package/dist/dedup/merge-tie.d.ts.map +1 -0
- package/dist/dedup/merge-unique.d.ts +7 -0
- package/dist/dedup/merge-unique.d.ts.map +1 -0
- package/dist/dedup/merge-verdict.d.ts +19 -0
- package/dist/dedup/merge-verdict.d.ts.map +1 -0
- package/dist/dedup/merge.d.ts +122 -0
- package/dist/dedup/merge.d.ts.map +1 -0
- package/dist/dedup/novelty-gate.d.ts +60 -0
- package/dist/dedup/novelty-gate.d.ts.map +1 -0
- package/dist/dedup/semantic.d.ts +86 -0
- package/dist/dedup/semantic.d.ts.map +1 -0
- package/dist/deep-recall-config.d.ts +7 -8
- package/dist/deep-recall-config.d.ts.map +1 -0
- package/dist/deep-recall-config.js +2 -2
- package/dist/deep-recall-http-glue.d.ts +5 -151
- package/dist/deep-recall-http-glue.d.ts.map +1 -0
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall-mcp-tools.d.ts +3 -150
- package/dist/deep-recall-mcp-tools.d.ts.map +1 -0
- package/dist/deep-recall-policy-llm.d.ts +6 -30
- package/dist/deep-recall-policy-llm.d.ts.map +1 -0
- package/dist/deep-recall-renderer.d.ts +3 -9
- package/dist/deep-recall-renderer.d.ts.map +1 -0
- package/dist/deep-recall-seeds.d.ts +7 -30
- package/dist/deep-recall-seeds.d.ts.map +1 -0
- package/dist/deep-recall.d.ts +15 -17
- package/dist/deep-recall.d.ts.map +1 -0
- package/dist/delinearize.d.ts +5 -25
- package/dist/delinearize.d.ts.map +1 -0
- package/dist/dependency-propagation-config.d.ts +3 -22
- package/dist/dependency-propagation-config.d.ts.map +1 -0
- package/dist/deterministic-order.d.ts +3 -4
- package/dist/deterministic-order.d.ts.map +1 -0
- package/dist/direct-answer-wiring.d.ts +8 -28
- package/dist/direct-answer-wiring.d.ts.map +1 -0
- package/dist/direct-answer.d.ts +10 -30
- package/dist/direct-answer.d.ts.map +1 -0
- package/dist/directory-sidecars.d.ts +17 -18
- package/dist/directory-sidecars.d.ts.map +1 -0
- package/dist/embedding-fallback.d.ts +6 -25
- package/dist/embedding-fallback.d.ts.map +1 -0
- package/dist/emit-legacy-tools.d.ts +3 -4
- package/dist/emit-legacy-tools.d.ts.map +1 -0
- package/dist/enrichment/audit.d.ts +27 -0
- package/dist/enrichment/audit.d.ts.map +1 -0
- package/dist/enrichment/index.d.ts +8 -177
- package/dist/enrichment/index.d.ts.map +1 -0
- package/dist/enrichment/pipeline.d.ts +15 -0
- package/dist/enrichment/pipeline.d.ts.map +1 -0
- package/dist/enrichment/provider-registry.d.ts +28 -0
- package/dist/enrichment/provider-registry.d.ts.map +1 -0
- package/dist/enrichment/types.d.ts +65 -0
- package/dist/enrichment/types.d.ts.map +1 -0
- package/dist/enrichment/web-search-provider.d.ts +26 -0
- package/dist/enrichment/web-search-provider.d.ts.map +1 -0
- package/dist/entity-id-normalization.d.ts +3 -4
- package/dist/entity-id-normalization.d.ts.map +1 -0
- package/dist/entity-origin-fields.d.ts +6 -24
- package/dist/entity-origin-fields.d.ts.map +1 -0
- package/dist/entity-recall-cancellation.d.ts +6 -7
- package/dist/entity-recall-cancellation.d.ts.map +1 -0
- package/dist/entity-retrieval-boundaries.d.ts +2 -3
- package/dist/entity-retrieval-boundaries.d.ts.map +1 -0
- package/dist/entity-retrieval-i18n.d.ts +5 -6
- package/dist/entity-retrieval-i18n.d.ts.map +1 -0
- package/dist/entity-retrieval.d.ts +8 -41
- package/dist/entity-retrieval.d.ts.map +1 -0
- package/dist/entity-retrieval.js +14 -14
- package/dist/entity-schema.d.ts +9 -28
- package/dist/entity-schema.d.ts.map +1 -0
- package/dist/episodic-context.d.ts +10 -30
- package/dist/episodic-context.d.ts.map +1 -0
- package/dist/eval-trajectory-contracts.d.ts +48 -68
- package/dist/eval-trajectory-contracts.d.ts.map +1 -0
- package/dist/eval-trajectory-store.d.ts +7 -28
- package/dist/eval-trajectory-store.d.ts.map +1 -0
- package/dist/eval-trajectory.d.ts +9 -30
- package/dist/eval-trajectory.d.ts.map +1 -0
- package/dist/evals.d.ts +29 -30
- package/dist/evals.d.ts.map +1 -0
- package/dist/event-order-query.d.ts +2 -3
- package/dist/event-order-query.d.ts.map +1 -0
- package/dist/event-order-recall.d.ts +6 -8
- package/dist/event-order-recall.d.ts.map +1 -0
- package/dist/event-time.d.ts +7 -8
- package/dist/event-time.d.ts.map +1 -0
- package/dist/evidence-pack.d.ts +7 -8
- package/dist/evidence-pack.d.ts.map +1 -0
- package/dist/experience/session-experience-config.d.ts +19 -0
- package/dist/experience/session-experience-config.d.ts.map +1 -0
- package/dist/experience/session-experience-mining.d.ts +31 -0
- package/dist/experience/session-experience-mining.d.ts.map +1 -0
- package/dist/experience/session-experience-recall.d.ts +19 -0
- package/dist/experience/session-experience-recall.d.ts.map +1 -0
- package/dist/experience/session-experience.d.ts +74 -0
- package/dist/experience/session-experience.d.ts.map +1 -0
- package/dist/explicit-capture.d.ts +20 -128
- package/dist/explicit-capture.d.ts.map +1 -0
- package/dist/explicit-capture.js +1 -1
- package/dist/explicit-cue-recall.d.ts +17 -19
- package/dist/explicit-cue-recall.d.ts.map +1 -0
- package/dist/external-wiki-access.d.ts +4 -152
- package/dist/external-wiki-access.d.ts.map +1 -0
- package/dist/external-wiki-access.js +66 -61
- package/dist/external-wiki-cli.d.ts +4 -5
- package/dist/external-wiki-cli.d.ts.map +1 -0
- package/dist/external-wiki-collection-registration.d.ts +7 -27
- package/dist/external-wiki-collection-registration.d.ts.map +1 -0
- package/dist/external-wiki-collection.d.ts +9 -29
- package/dist/external-wiki-collection.d.ts.map +1 -0
- package/dist/external-wiki-config.d.ts +3 -4
- package/dist/external-wiki-config.d.ts.map +1 -0
- package/dist/external-wiki-guard.d.ts +6 -7
- package/dist/external-wiki-guard.d.ts.map +1 -0
- package/dist/external-wiki-mcp-tools.d.ts +3 -149
- package/dist/external-wiki-mcp-tools.d.ts.map +1 -0
- package/dist/external-wiki-search.d.ts +12 -13
- package/dist/external-wiki-search.d.ts.map +1 -0
- package/dist/external-wiki.d.ts +12 -13
- package/dist/external-wiki.d.ts.map +1 -0
- package/dist/extraction-error-classification.d.ts +5 -24
- package/dist/extraction-error-classification.d.ts.map +1 -0
- package/dist/extraction-evidence-class.d.ts +13 -33
- package/dist/extraction-evidence-class.d.ts.map +1 -0
- package/dist/extraction-evidence-class.js +2 -2
- package/dist/extraction-faithfulness.d.ts +23 -46
- package/dist/extraction-faithfulness.d.ts.map +1 -0
- package/dist/extraction-judge-telemetry.d.ts +9 -36
- package/dist/extraction-judge-telemetry.d.ts.map +1 -0
- package/dist/extraction-judge-training.d.ts +9 -36
- package/dist/extraction-judge-training.d.ts.map +1 -0
- package/dist/extraction-judge.d.ts +20 -44
- package/dist/extraction-judge.d.ts.map +1 -0
- package/dist/extraction-liveness.d.ts +161 -18
- package/dist/extraction-liveness.d.ts.map +1 -0
- package/dist/extraction-normalization.d.ts +7 -26
- package/dist/extraction-normalization.d.ts.map +1 -0
- package/dist/extraction-prompt.d.ts +14 -34
- package/dist/extraction-prompt.d.ts.map +1 -0
- package/dist/extraction-redaction-rules.d.ts +6 -7
- package/dist/extraction-redaction-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding-helpers.d.ts +31 -32
- package/dist/extraction-source-grounding-helpers.d.ts.map +1 -0
- package/dist/extraction-source-grounding-rules.d.ts +6 -25
- package/dist/extraction-source-grounding-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding.d.ts +7 -25
- package/dist/extraction-source-grounding.d.ts.map +1 -0
- package/dist/extraction-source-grounding.js +3 -3
- package/dist/extraction-span-bench.d.ts +3 -4
- package/dist/extraction-span-bench.d.ts.map +1 -0
- package/dist/extraction-span-clip.d.ts +5 -6
- package/dist/extraction-span-clip.d.ts.map +1 -0
- package/dist/extraction-span-config.d.ts +40 -18
- package/dist/extraction-span-config.d.ts.map +1 -0
- package/dist/extraction-span-contains.d.ts +2 -3
- package/dist/extraction-span-contains.d.ts.map +1 -0
- package/dist/extraction-span-fallback.d.ts +5 -6
- package/dist/extraction-span-fallback.d.ts.map +1 -0
- package/dist/extraction-span-gap.d.ts +2 -3
- package/dist/extraction-span-gap.d.ts.map +1 -0
- package/dist/extraction-span-gate.d.ts +7 -8
- package/dist/extraction-span-gate.d.ts.map +1 -0
- package/dist/extraction-span-join.d.ts +5 -6
- package/dist/extraction-span-join.d.ts.map +1 -0
- package/dist/extraction-span-length.d.ts +2 -3
- package/dist/extraction-span-length.d.ts.map +1 -0
- package/dist/extraction-span-materialize.d.ts +18 -37
- package/dist/extraction-span-materialize.d.ts.map +1 -0
- package/dist/extraction-span-materialize.js +2 -2
- package/dist/extraction-span-overlap.d.ts +2 -3
- package/dist/extraction-span-overlap.d.ts.map +1 -0
- package/dist/extraction-span-provenance.d.ts +4 -5
- package/dist/extraction-span-provenance.d.ts.map +1 -0
- package/dist/extraction-span-shift.d.ts +2 -3
- package/dist/extraction-span-shift.d.ts.map +1 -0
- package/dist/extraction-span-slice.d.ts +2 -3
- package/dist/extraction-span-slice.d.ts.map +1 -0
- package/dist/extraction-span-source-hash.d.ts +5 -6
- package/dist/extraction-span-source-hash.d.ts.map +1 -0
- package/dist/extraction-span-tokens.d.ts +4 -5
- package/dist/extraction-span-tokens.d.ts.map +1 -0
- package/dist/extraction-span-validate.d.ts +5 -6
- package/dist/extraction-span-validate.d.ts.map +1 -0
- package/dist/extraction-span-wire.d.ts +5 -25
- package/dist/extraction-span-wire.d.ts.map +1 -0
- package/dist/extraction-span.d.ts +4 -5
- package/dist/extraction-span.d.ts.map +1 -0
- package/dist/extraction.d.ts +11 -44
- package/dist/extraction.d.ts.map +1 -0
- package/dist/extraction.js +26 -26
- package/dist/faithfulness-config.d.ts +3 -4
- package/dist/faithfulness-config.d.ts.map +1 -0
- package/dist/fallback-llm-codex-subscription.d.ts +23 -42
- package/dist/fallback-llm-codex-subscription.d.ts.map +1 -0
- package/dist/fallback-llm.d.ts +9 -30
- package/dist/fallback-llm.d.ts.map +1 -0
- package/dist/focused-list-recall.d.ts +5 -8
- package/dist/focused-list-recall.d.ts.map +1 -0
- package/dist/graph-append-error.d.ts +3 -27
- package/dist/graph-append-error.d.ts.map +1 -0
- package/dist/graph-dashboard-diff.d.ts +5 -28
- package/dist/graph-dashboard-diff.d.ts.map +1 -0
- package/dist/graph-dashboard-key.d.ts +3 -26
- package/dist/graph-dashboard-key.d.ts.map +1 -0
- package/dist/graph-dashboard-parser.d.ts +6 -29
- package/dist/graph-dashboard-parser.d.ts.map +1 -0
- package/dist/graph-edge-decay-ROSUPDX3.js +30 -0
- package/dist/graph-edge-reinforcement.d.ts +12 -36
- package/dist/graph-edge-reinforcement.d.ts.map +1 -0
- package/dist/graph-events.d.ts +13 -16
- package/dist/graph-events.d.ts.map +1 -0
- package/dist/graph-jsonl.d.ts +8 -31
- package/dist/graph-jsonl.d.ts.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-path-reconstruction.d.ts +22 -22
- package/dist/graph-path-reconstruction.d.ts.map +1 -0
- package/dist/graph-path-scoring-config.d.ts +3 -4
- package/dist/graph-path-scoring-config.d.ts.map +1 -0
- package/dist/graph-path-scoring.d.ts +8 -30
- package/dist/graph-path-scoring.d.ts.map +1 -0
- package/dist/graph-recall.d.ts +7 -10
- package/dist/graph-recall.d.ts.map +1 -0
- package/dist/graph-retrieval.d.ts +19 -20
- package/dist/graph-retrieval.d.ts.map +1 -0
- package/dist/graph-snapshot.d.ts +14 -38
- package/dist/graph-snapshot.d.ts.map +1 -0
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph-write-lock.d.ts +7 -10
- package/dist/graph-write-lock.d.ts.map +1 -0
- package/dist/graph.d.ts +325 -22
- package/dist/graph.d.ts.map +1 -0
- package/dist/graph.js +2 -2
- package/dist/harmonic-construction.d.ts +11 -13
- package/dist/harmonic-construction.d.ts.map +1 -0
- package/dist/harmonic-retrieval.d.ts +10 -12
- package/dist/harmonic-retrieval.d.ts.map +1 -0
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/himem.d.ts +3 -4
- package/dist/himem.d.ts.map +1 -0
- package/dist/host-embedding-provider.d.ts +7 -8
- package/dist/host-embedding-provider.d.ts.map +1 -0
- package/dist/http-retry.d.ts +9 -10
- package/dist/http-retry.d.ts.map +1 -0
- package/dist/hygiene.d.ts +4 -5
- package/dist/hygiene.d.ts.map +1 -0
- package/dist/identity-continuity.d.ts +9 -11
- package/dist/identity-continuity.d.ts.map +1 -0
- package/dist/importance.d.ts +6 -26
- package/dist/importance.d.ts.map +1 -0
- package/dist/importers/base.d.ts +261 -0
- package/dist/importers/base.d.ts.map +1 -0
- package/dist/importers/index.d.ts +3 -280
- package/dist/importers/index.d.ts.map +1 -0
- package/dist/importers/test-utils.d.ts +5 -24
- package/dist/importers/test-utils.d.ts.map +1 -0
- package/dist/in-flight-reads.d.ts +10 -29
- package/dist/in-flight-reads.d.ts.map +1 -0
- package/dist/included-memories.d.ts +6 -7
- package/dist/included-memories.d.ts.map +1 -0
- package/dist/index.d.ts +185 -9836
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +275 -229
- package/dist/inline-script.d.ts +2 -3
- package/dist/inline-script.d.ts.map +1 -0
- package/dist/intent.d.ts +7 -26
- package/dist/intent.d.ts.map +1 -0
- package/dist/json-extract.d.ts +3 -4
- package/dist/json-extract.d.ts.map +1 -0
- package/dist/json-store.d.ts +9 -9
- package/dist/json-store.d.ts.map +1 -0
- package/dist/lcm/archive.d.ts +11 -13
- package/dist/lcm/archive.d.ts.map +1 -0
- package/dist/lcm/dag.d.ts +5 -7
- package/dist/lcm/dag.d.ts.map +1 -0
- package/dist/lcm/engine.d.ts +10 -32
- package/dist/lcm/engine.d.ts.map +1 -0
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/evidence-identity.d.ts +20 -0
- package/dist/lcm/evidence-identity.d.ts.map +1 -0
- package/dist/lcm/index.d.ts +9 -52
- package/dist/lcm/index.d.ts.map +1 -0
- package/dist/lcm/index.js +13 -13
- package/dist/lcm/queue.d.ts +7 -10
- package/dist/lcm/queue.d.ts.map +1 -0
- package/dist/lcm/recall.d.ts +8 -13
- package/dist/lcm/recall.d.ts.map +1 -0
- package/dist/lcm/schema.d.ts +5 -8
- package/dist/lcm/schema.d.ts.map +1 -0
- package/dist/lcm/summarizer.d.ts +7 -11
- package/dist/lcm/summarizer.d.ts.map +1 -0
- package/dist/lcm/tools.d.ts +4 -30
- package/dist/lcm/tools.d.ts.map +1 -0
- package/dist/lcm-fallback-read.d.ts +4 -5
- package/dist/lcm-fallback-read.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts +21 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation.d.ts +97 -0
- package/dist/lifecycle/seed-graduation.d.ts.map +1 -0
- package/dist/lifecycle/tombstones.d.ts +389 -0
- package/dist/lifecycle/tombstones.d.ts.map +1 -0
- package/dist/lifecycle.d.ts +14 -33
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/live-connectors-runner.d.ts +11 -29
- package/dist/live-connectors-runner.d.ts.map +1 -0
- package/dist/local-llm-config.d.ts +5 -7
- package/dist/local-llm-config.d.ts.map +1 -0
- package/dist/local-llm-config.js +1 -1
- package/dist/local-llm-helpers.d.ts +102 -20
- package/dist/local-llm-helpers.d.ts.map +1 -0
- package/dist/local-llm-transport.d.ts +4 -6
- package/dist/local-llm-transport.d.ts.map +1 -0
- package/dist/local-llm.d.ts +145 -20
- package/dist/local-llm.d.ts.map +1 -0
- package/dist/local-model-endpoint.d.ts +10 -29
- package/dist/local-model-endpoint.d.ts.map +1 -0
- package/dist/location/access-operations.d.ts +9 -0
- package/dist/location/access-operations.d.ts.map +1 -0
- package/dist/location/backfill.d.ts +57 -0
- package/dist/location/backfill.d.ts.map +1 -0
- package/dist/location/cli.d.ts +67 -0
- package/dist/location/cli.d.ts.map +1 -0
- package/dist/location/config.d.ts +11 -0
- package/dist/location/config.d.ts.map +1 -0
- package/dist/location/http-glue.d.ts +20 -0
- package/dist/location/http-glue.d.ts.map +1 -0
- package/dist/location/index.d.ts +21 -534
- package/dist/location/index.d.ts.map +1 -0
- package/dist/location/index.js +17 -17
- package/dist/location/intervals.d.ts +61 -0
- package/dist/location/intervals.d.ts.map +1 -0
- package/dist/location/matching.d.ts +124 -0
- package/dist/location/matching.d.ts.map +1 -0
- package/dist/location/mcp-tools.d.ts +12 -0
- package/dist/location/mcp-tools.d.ts.map +1 -0
- package/dist/location/parse-companions.d.ts +7 -0
- package/dist/location/parse-companions.d.ts.map +1 -0
- package/dist/location/pipeline.d.ts +44 -0
- package/dist/location/pipeline.d.ts.map +1 -0
- package/dist/location/provider-setup.d.ts +33 -0
- package/dist/location/provider-setup.d.ts.map +1 -0
- package/dist/location/registry.d.ts +15 -0
- package/dist/location/registry.d.ts.map +1 -0
- package/dist/location/scheduler.d.ts +48 -0
- package/dist/location/scheduler.d.ts.map +1 -0
- package/dist/location/store.d.ts +95 -0
- package/dist/location/store.d.ts.map +1 -0
- package/dist/location/surfaces.d.ts +76 -0
- package/dist/location/surfaces.d.ts.map +1 -0
- package/dist/location/tagging.d.ts +116 -0
- package/dist/location/tagging.d.ts.map +1 -0
- package/dist/location/types.d.ts +109 -0
- package/dist/location/types.d.ts.map +1 -0
- package/dist/logger.d.ts +7 -8
- package/dist/logger.d.ts.map +1 -0
- package/dist/maintenance/archive-observations.d.ts +5 -5
- package/dist/maintenance/archive-observations.d.ts.map +1 -0
- package/dist/maintenance/atomic-file.d.ts +4 -5
- package/dist/maintenance/atomic-file.d.ts.map +1 -0
- package/dist/maintenance/backup-stamp.d.ts +2 -3
- package/dist/maintenance/backup-stamp.d.ts.map +1 -0
- package/dist/maintenance/day-summary-cron.d.ts +20 -0
- package/dist/maintenance/day-summary-cron.d.ts.map +1 -0
- package/dist/maintenance/dreams-ledger.d.ts +172 -0
- package/dist/maintenance/dreams-ledger.d.ts.map +1 -0
- package/dist/maintenance/first-start-migration.d.ts +61 -0
- package/dist/maintenance/first-start-migration.d.ts.map +1 -0
- package/dist/maintenance/forget.d.ts +59 -0
- package/dist/maintenance/forget.d.ts.map +1 -0
- package/dist/maintenance/graph-edge-decay.d.ts +122 -0
- package/dist/maintenance/graph-edge-decay.d.ts.map +1 -0
- package/dist/maintenance/memory-governance-cron.d.ts +9 -10
- package/dist/maintenance/memory-governance-cron.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.d.ts +25 -43
- package/dist/maintenance/memory-governance.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.js +14 -14
- package/dist/maintenance/migrate-observations.d.ts +4 -5
- package/dist/maintenance/migrate-observations.d.ts.map +1 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts +132 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts.map +1 -0
- package/dist/maintenance/namespace-planner.d.ts +96 -0
- package/dist/maintenance/namespace-planner.d.ts.map +1 -0
- package/dist/maintenance/observation-ledger-utils.d.ts +5 -6
- package/dist/maintenance/observation-ledger-utils.d.ts.map +1 -0
- package/dist/maintenance/pattern-reinforcement.d.ts +129 -0
- package/dist/maintenance/pattern-reinforcement.d.ts.map +1 -0
- package/dist/maintenance/projection-support.d.ts +76 -0
- package/dist/maintenance/projection-support.d.ts.map +1 -0
- package/dist/maintenance/purge.d.ts +85 -0
- package/dist/maintenance/purge.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts +24 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +11 -43
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
- package/dist/maintenance/rebuild-memory-projection.d.ts +14 -72
- package/dist/maintenance/rebuild-memory-projection.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-projection.js +15 -15
- package/dist/maintenance/rebuild-observations.d.ts +4 -5
- package/dist/maintenance/rebuild-observations.d.ts.map +1 -0
- package/dist/maintenance/tier-stats.d.ts +59 -0
- package/dist/maintenance/tier-stats.d.ts.map +1 -0
- package/dist/mcp-memory-inspector-app.d.ts +15 -158
- package/dist/mcp-memory-inspector-app.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.d.ts +2 -3
- package/dist/mcp-read-only-tools.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/meetings/build-scheduler.d.ts +43 -0
- package/dist/meetings/build-scheduler.d.ts.map +1 -0
- package/dist/meetings/build.d.ts +137 -0
- package/dist/meetings/build.d.ts.map +1 -0
- package/dist/meetings/cli.d.ts +37 -0
- package/dist/meetings/cli.d.ts.map +1 -0
- package/dist/meetings/config.d.ts +18 -0
- package/dist/meetings/config.d.ts.map +1 -0
- package/dist/meetings/day-source.d.ts +103 -0
- package/dist/meetings/day-source.d.ts.map +1 -0
- package/dist/meetings/detect.d.ts +33 -0
- package/dist/meetings/detect.d.ts.map +1 -0
- package/dist/meetings/errors.d.ts +10 -0
- package/dist/meetings/errors.d.ts.map +1 -0
- package/dist/meetings/fuse.d.ts +30 -0
- package/dist/meetings/fuse.d.ts.map +1 -0
- package/dist/meetings/http-glue.d.ts +37 -0
- package/dist/meetings/http-glue.d.ts.map +1 -0
- package/dist/meetings/index.d.ts +20 -0
- package/dist/meetings/index.d.ts.map +1 -0
- package/dist/meetings/mcp-tools.d.ts +10 -0
- package/dist/meetings/mcp-tools.d.ts.map +1 -0
- package/dist/meetings/memory-gen.d.ts +157 -0
- package/dist/meetings/memory-gen.d.ts.map +1 -0
- package/dist/meetings/memory-generator.d.ts +113 -0
- package/dist/meetings/memory-generator.d.ts.map +1 -0
- package/dist/meetings/service.d.ts +80 -0
- package/dist/meetings/service.d.ts.map +1 -0
- package/dist/meetings/store.d.ts +121 -0
- package/dist/meetings/store.d.ts.map +1 -0
- package/dist/meetings/summary-extractor.d.ts +96 -0
- package/dist/meetings/summary-extractor.d.ts.map +1 -0
- package/dist/meetings/types.d.ts +155 -0
- package/dist/meetings/types.d.ts.map +1 -0
- package/dist/memory-action-policy.d.ts +6 -25
- package/dist/memory-action-policy.d.ts.map +1 -0
- package/dist/memory-age.d.ts +16 -17
- package/dist/memory-age.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.d.ts +5 -151
- package/dist/memory-browse-http-glue.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.js +2 -2
- package/dist/memory-browse-mcp-tools.d.ts +3 -150
- package/dist/memory-browse-mcp-tools.d.ts.map +1 -0
- package/dist/memory-browse-operations.d.ts +11 -2
- package/dist/memory-browse-operations.d.ts.map +1 -0
- package/dist/memory-browse-operations.js +66 -61
- package/dist/memory-browse.d.ts +16 -36
- package/dist/memory-browse.d.ts.map +1 -0
- package/dist/memory-browse.js +4 -4
- package/dist/memory-cache.d.ts +27 -46
- package/dist/memory-cache.d.ts.map +1 -0
- package/dist/memory-controller.d.ts +29 -50
- package/dist/memory-controller.d.ts.map +1 -0
- package/dist/memory-corpus-version.d.ts +3 -4
- package/dist/memory-corpus-version.d.ts.map +1 -0
- package/dist/memory-extension/claude-code-publisher.d.ts +18 -0
- package/dist/memory-extension/claude-code-publisher.d.ts.map +1 -0
- package/dist/memory-extension/codex-publisher.d.ts +22 -0
- package/dist/memory-extension/codex-publisher.d.ts.map +1 -0
- package/dist/memory-extension/hermes-publisher.d.ts +18 -0
- package/dist/memory-extension/hermes-publisher.d.ts.map +1 -0
- package/dist/memory-extension/index.d.ts +57 -0
- package/dist/memory-extension/index.d.ts.map +1 -0
- package/dist/memory-extension/shared-instructions.d.ts +30 -0
- package/dist/memory-extension/shared-instructions.d.ts.map +1 -0
- package/dist/memory-extension/types.d.ts +88 -0
- package/dist/memory-extension/types.d.ts.map +1 -0
- package/dist/memory-extension-host/host-discovery.d.ts +38 -0
- package/dist/memory-extension-host/host-discovery.d.ts.map +1 -0
- package/dist/memory-extension-host/index.d.ts +7 -0
- package/dist/memory-extension-host/index.d.ts.map +1 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts +23 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts.map +1 -0
- package/dist/memory-extension-host/types.d.ts +20 -0
- package/dist/memory-extension-host/types.d.ts.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +19 -38
- package/dist/memory-lifecycle-ledger-utils.d.ts.map +1 -0
- package/dist/memory-projection-format.d.ts +3 -4
- package/dist/memory-projection-format.d.ts.map +1 -0
- package/dist/memory-projection-mutations.d.ts +3 -4
- package/dist/memory-projection-mutations.d.ts.map +1 -0
- package/dist/memory-projection-store.d.ts +35 -54
- package/dist/memory-projection-store.d.ts.map +1 -0
- package/dist/memory-provenance.d.ts +10 -29
- package/dist/memory-provenance.d.ts.map +1 -0
- package/dist/memory-snapshot.d.ts +3 -22
- package/dist/memory-snapshot.d.ts.map +1 -0
- package/dist/memory-subject-cli.d.ts +9 -156
- package/dist/memory-subject-cli.d.ts.map +1 -0
- package/dist/memory-subject.d.ts +132 -145
- package/dist/memory-subject.d.ts.map +1 -0
- package/dist/memory-worth-bench.d.ts +4 -5
- package/dist/memory-worth-bench.d.ts.map +1 -0
- package/dist/memory-worth-filter.d.ts +8 -11
- package/dist/memory-worth-filter.d.ts.map +1 -0
- package/dist/memory-worth-outcomes.d.ts +11 -45
- package/dist/memory-worth-outcomes.d.ts.map +1 -0
- package/dist/memory-worth.d.ts +4 -5
- package/dist/memory-worth.d.ts.map +1 -0
- package/dist/message-parts/index.d.ts +15 -16
- package/dist/message-parts/index.d.ts.map +1 -0
- package/dist/migrate/from-engram.d.ts +6 -7
- package/dist/migrate/from-engram.d.ts.map +1 -0
- package/dist/model-registry.d.ts +3 -4
- package/dist/model-registry.d.ts.map +1 -0
- package/dist/models-json.d.ts +5 -24
- package/dist/models-json.d.ts.map +1 -0
- package/dist/namespaces/catalog.d.ts +473 -0
- package/dist/namespaces/catalog.d.ts.map +1 -0
- package/dist/namespaces/identity.d.ts +5 -0
- package/dist/namespaces/identity.d.ts.map +1 -0
- package/dist/namespaces/migrate.d.ts +11 -46
- package/dist/namespaces/migrate.d.ts.map +1 -0
- package/dist/namespaces/migrate.js +15 -15
- package/dist/namespaces/path.d.ts +3 -0
- package/dist/namespaces/path.d.ts.map +1 -0
- package/dist/namespaces/principal.d.ts +9 -28
- package/dist/namespaces/principal.d.ts.map +1 -0
- package/dist/namespaces/scope-profile-config.d.ts +5 -0
- package/dist/namespaces/scope-profile-config.d.ts.map +1 -0
- package/dist/namespaces/scope-profiles.d.ts +46 -0
- package/dist/namespaces/scope-profiles.d.ts.map +1 -0
- package/dist/namespaces/search.d.ts +10 -28
- package/dist/namespaces/search.d.ts.map +1 -0
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +8 -41
- package/dist/namespaces/storage.d.ts.map +1 -0
- package/dist/namespaces/storage.js +14 -14
- package/dist/native-binding-hint.d.ts +3 -4
- package/dist/native-binding-hint.d.ts.map +1 -0
- package/dist/native-knowledge.d.ts +15 -34
- package/dist/native-knowledge.d.ts.map +1 -0
- package/dist/negative.d.ts +3 -4
- package/dist/negative.d.ts.map +1 -0
- package/dist/network/tailscale.d.ts +7 -8
- package/dist/network/tailscale.d.ts.map +1 -0
- package/dist/network/webdav.d.ts +9 -10
- package/dist/network/webdav.d.ts.map +1 -0
- package/dist/objective-state-writers.d.ts +8 -9
- package/dist/objective-state-writers.d.ts.map +1 -0
- package/dist/objective-state.d.ts +15 -16
- package/dist/objective-state.d.ts.map +1 -0
- package/dist/offline-sync-exclude-globs.d.ts +3 -4
- package/dist/offline-sync-exclude-globs.d.ts.map +1 -0
- package/dist/offline-sync-file-io.d.ts +8 -9
- package/dist/offline-sync-file-io.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.d.ts +8 -26
- package/dist/offline-sync-impression-drain.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.js +2 -2
- package/dist/offline-sync.d.ts +57 -58
- package/dist/offline-sync.d.ts.map +1 -0
- package/dist/okf/cli.d.ts +10 -0
- package/dist/okf/cli.d.ts.map +1 -0
- package/dist/okf/config.d.ts +11 -0
- package/dist/okf/config.d.ts.map +1 -0
- package/dist/okf/index-files.d.ts +7 -0
- package/dist/okf/index-files.d.ts.map +1 -0
- package/dist/okf/lint.d.ts +12 -0
- package/dist/okf/lint.d.ts.map +1 -0
- package/dist/okf/render.d.ts +29 -0
- package/dist/okf/render.d.ts.map +1 -0
- package/dist/okf/sweep.d.ts +9 -0
- package/dist/okf/sweep.d.ts.map +1 -0
- package/dist/okf/type-mapping.d.ts +30 -0
- package/dist/okf/type-mapping.d.ts.map +1 -0
- package/dist/onboarding/index.d.ts +63 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/openai-chat-compat.d.ts +6 -7
- package/dist/openai-chat-compat.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.d.ts +8 -29
- package/dist/operator-doctor-corpus.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.js +21 -21
- package/dist/operator-doctor-replica.d.ts +8 -29
- package/dist/operator-doctor-replica.d.ts.map +1 -0
- package/dist/operator-doctor-replica.js +4 -4
- package/dist/operator-doctor-types.d.ts +2 -3
- package/dist/operator-doctor-types.d.ts.map +1 -0
- package/dist/operator-toolkit.d.ts +43 -75
- package/dist/operator-toolkit.d.ts.map +1 -0
- package/dist/operator-toolkit.js +37 -37
- package/dist/opik-exporter.d.ts +6 -8
- package/dist/opik-exporter.d.ts.map +1 -0
- package/dist/orchestration/compression-guideline-coordinator.d.ts +6 -40
- package/dist/orchestration/compression-guideline-coordinator.d.ts.map +1 -0
- package/dist/orchestration/consolidation-run.d.ts +93 -0
- package/dist/orchestration/consolidation-run.d.ts.map +1 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts +102 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts.map +1 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts +99 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts +129 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts +15 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts +49 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts +25 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation.d.ts +64 -0
- package/dist/orchestration/dependency-propagation.d.ts.map +1 -0
- package/dist/orchestration/dependency-revalidation.d.ts +45 -0
- package/dist/orchestration/dependency-revalidation.d.ts.map +1 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts +64 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts.map +1 -0
- package/dist/orchestration/episodic-context-section.d.ts +30 -0
- package/dist/orchestration/episodic-context-section.d.ts.map +1 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts +20 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts.map +1 -0
- package/dist/orchestration/extraction-envelope.d.ts +40 -0
- package/dist/orchestration/extraction-envelope.d.ts.map +1 -0
- package/dist/orchestration/extraction-injection-gate.d.ts +51 -0
- package/dist/orchestration/extraction-injection-gate.d.ts.map +1 -0
- package/dist/orchestration/extraction-origin-context.d.ts +19 -0
- package/dist/orchestration/extraction-origin-context.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-deps.d.ts +76 -0
- package/dist/orchestration/extraction-persist-deps.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts +203 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist.d.ts +19 -0
- package/dist/orchestration/extraction-persist.d.ts.map +1 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts +103 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -0
- package/dist/orchestration/extraction-run-helpers.d.ts +123 -0
- package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -0
- package/dist/orchestration/extraction-run.d.ts +174 -0
- package/dist/orchestration/extraction-run.d.ts.map +1 -0
- package/dist/orchestration/extraction-shutdown.d.ts +6 -0
- package/dist/orchestration/extraction-shutdown.d.ts.map +1 -0
- package/dist/orchestration/extraction-watermark.d.ts +28 -0
- package/dist/orchestration/extraction-watermark.d.ts.map +1 -0
- package/dist/orchestration/generic-recall-paths.d.ts +36 -0
- package/dist/orchestration/generic-recall-paths.d.ts.map +1 -0
- package/dist/orchestration/graph-path-state-loader.d.ts +15 -0
- package/dist/orchestration/graph-path-state-loader.d.ts.map +1 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts +107 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts.map +1 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts +58 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts.map +1 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts +81 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts.map +1 -0
- package/dist/orchestration/maintenance.d.ts +229 -37
- package/dist/orchestration/maintenance.d.ts.map +1 -0
- package/dist/orchestration/maintenance.js +25 -25
- package/dist/orchestration/namespace-read-fanout.d.ts +95 -0
- package/dist/orchestration/namespace-read-fanout.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-helpers.d.ts +408 -0
- package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-init.d.ts +124 -0
- package/dist/orchestration/orchestrator-init.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts +19 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts.map +1 -0
- package/dist/orchestration/persistence-index.d.ts +141 -0
- package/dist/orchestration/persistence-index.d.ts.map +1 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts +21 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts.map +1 -0
- package/dist/orchestration/qmd-result-resolver.d.ts +75 -0
- package/dist/orchestration/qmd-result-resolver.d.ts.map +1 -0
- package/dist/orchestration/recall-background-writes.d.ts +3 -0
- package/dist/orchestration/recall-background-writes.d.ts.map +1 -0
- package/dist/orchestration/recall-entry.d.ts +78 -0
- package/dist/orchestration/recall-entry.d.ts.map +1 -0
- package/dist/orchestration/recall-internal-deps.d.ts +311 -0
- package/dist/orchestration/recall-internal-deps.d.ts.map +1 -0
- package/dist/orchestration/recall-internal.d.ts +30 -0
- package/dist/orchestration/recall-internal.d.ts.map +1 -0
- package/dist/orchestration/recall-introspection.d.ts +108 -0
- package/dist/orchestration/recall-introspection.d.ts.map +1 -0
- package/dist/orchestration/recall-profile-storage.d.ts +20 -0
- package/dist/orchestration/recall-profile-storage.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-index.d.ts +23 -0
- package/dist/orchestration/recall-recognition-index.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-search.d.ts +7 -0
- package/dist/orchestration/recall-recognition-search.d.ts.map +1 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts +126 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts.map +1 -0
- package/dist/orchestration/recall-result-formatter.d.ts +128 -0
- package/dist/orchestration/recall-result-formatter.d.ts.map +1 -0
- package/dist/orchestration/recall-search-pipeline.d.ts +284 -0
- package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -0
- package/dist/orchestration/recall-search-prefilter.d.ts +31 -0
- package/dist/orchestration/recall-search-prefilter.d.ts.map +1 -0
- package/dist/orchestration/recall-section-coordinator.d.ts +92 -0
- package/dist/orchestration/recall-section-coordinator.d.ts.map +1 -0
- package/dist/orchestration/self-deps.d.ts +27 -0
- package/dist/orchestration/self-deps.d.ts.map +1 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts +64 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts +193 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-persist.d.ts +318 -0
- package/dist/orchestration/semantic-merge-persist.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts +132 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts.map +1 -0
- package/dist/orchestration/session-context.d.ts +225 -0
- package/dist/orchestration/session-context.d.ts.map +1 -0
- package/dist/orchestration/startup-collection-checks.d.ts +23 -0
- package/dist/orchestration/startup-collection-checks.d.ts.map +1 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts +65 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts.map +1 -0
- package/dist/orchestration/turn-ingestion.d.ts +227 -0
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -0
- package/dist/orchestration/update-localization.d.ts +37 -0
- package/dist/orchestration/update-localization.d.ts.map +1 -0
- package/dist/orchestration/workspace-ops.d.ts +154 -0
- package/dist/orchestration/workspace-ops.d.ts.map +1 -0
- package/dist/orchestration/xray-capture-queue.d.ts +17 -0
- package/dist/orchestration/xray-capture-queue.d.ts.map +1 -0
- package/dist/orchestrator.d.ts +867 -109
- package/dist/orchestrator.d.ts.map +1 -0
- package/dist/orchestrator.js +157 -152
- package/dist/page-versioning.d.ts +16 -17
- package/dist/page-versioning.d.ts.map +1 -0
- package/dist/patterns-cli.d.ts +20 -40
- package/dist/patterns-cli.d.ts.map +1 -0
- package/dist/peers/index.d.ts +17 -327
- package/dist/peers/index.d.ts.map +1 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts +119 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts.map +1 -0
- package/dist/peers/profile-reasoner.d.ts +204 -0
- package/dist/peers/profile-reasoner.d.ts.map +1 -0
- package/dist/peers/storage.d.ts +163 -0
- package/dist/peers/storage.d.ts.map +1 -0
- package/dist/peers/types.d.ts +125 -0
- package/dist/peers/types.d.ts.map +1 -0
- package/dist/plugin-entry-resolver.d.ts +3 -4
- package/dist/plugin-entry-resolver.d.ts.map +1 -0
- package/dist/plugin-id.d.ts +4 -5
- package/dist/plugin-id.d.ts.map +1 -0
- package/dist/policy-runtime.d.ts +7 -26
- package/dist/policy-runtime.d.ts.map +1 -0
- package/dist/preferences/drift-config.d.ts +27 -0
- package/dist/preferences/drift-config.d.ts.map +1 -0
- package/dist/preferences/drift-recall.d.ts +74 -0
- package/dist/preferences/drift-recall.d.ts.map +1 -0
- package/dist/preferences/drift-types.d.ts +59 -0
- package/dist/preferences/drift-types.d.ts.map +1 -0
- package/dist/preferences/index.d.ts +12 -0
- package/dist/preferences/index.d.ts.map +1 -0
- package/dist/preferences/preference-drift.d.ts +144 -0
- package/dist/preferences/preference-drift.d.ts.map +1 -0
- package/dist/prioritized-embed.d.ts +3 -4
- package/dist/prioritized-embed.d.ts.map +1 -0
- package/dist/proactive-contention.d.ts +4 -24
- package/dist/proactive-contention.d.ts.map +1 -0
- package/dist/procedural/library-maintenance.d.ts +102 -0
- package/dist/procedural/library-maintenance.d.ts.map +1 -0
- package/dist/procedural/maintenance-config.d.ts +9 -0
- package/dist/procedural/maintenance-config.d.ts.map +1 -0
- package/dist/procedural/procedure-miner.d.ts +20 -0
- package/dist/procedural/procedure-miner.d.ts.map +1 -0
- package/dist/procedural/procedure-recall.d.ts +30 -0
- package/dist/procedural/procedure-recall.d.ts.map +1 -0
- package/dist/procedural/procedure-stats.d.ts +68 -0
- package/dist/procedural/procedure-stats.d.ts.map +1 -0
- package/dist/procedural/procedure-types.d.ts +26 -0
- package/dist/procedural/procedure-types.d.ts.map +1 -0
- package/dist/procedural/reinforcement-core.d.ts +39 -0
- package/dist/procedural/reinforcement-core.d.ts.map +1 -0
- package/dist/procedural/skill-io.d.ts +70 -0
- package/dist/procedural/skill-io.d.ts.map +1 -0
- package/dist/procedural/skill-projection.d.ts +98 -0
- package/dist/procedural/skill-projection.d.ts.map +1 -0
- package/dist/profiling.d.ts +10 -11
- package/dist/profiling.d.ts.map +1 -0
- package/dist/projection/index.d.ts +62 -0
- package/dist/projection/index.d.ts.map +1 -0
- package/dist/provenance.d.ts +13 -33
- package/dist/provenance.d.ts.map +1 -0
- package/dist/provenance.js +2 -2
- package/dist/providers/codex-subscription.d.ts +115 -0
- package/dist/providers/codex-subscription.d.ts.map +1 -0
- package/dist/qmd-preflight.d.ts +31 -21
- package/dist/qmd-preflight.d.ts.map +1 -0
- package/dist/qmd-recall-cache.d.ts +11 -30
- package/dist/qmd-recall-cache.d.ts.map +1 -0
- package/dist/qmd-status.d.ts +10 -11
- package/dist/qmd-status.d.ts.map +1 -0
- package/dist/qmd.d.ts +325 -21
- package/dist/qmd.d.ts.map +1 -0
- package/dist/reasoning-trace-recall.d.ts +7 -8
- package/dist/reasoning-trace-recall.d.ts.map +1 -0
- package/dist/reasoning-trace-types.d.ts +9 -10
- package/dist/reasoning-trace-types.d.ts.map +1 -0
- package/dist/recall-audit-anomaly.d.ts +11 -15
- package/dist/recall-audit-anomaly.d.ts.map +1 -0
- package/dist/recall-audit.d.ts +6 -8
- package/dist/recall-audit.d.ts.map +1 -0
- package/dist/recall-composition-decision.d.ts +9 -12
- package/dist/recall-composition-decision.d.ts.map +1 -0
- package/dist/recall-concurrency-config.d.ts +3 -22
- package/dist/recall-concurrency-config.d.ts.map +1 -0
- package/dist/recall-context-composition.d.ts +21 -22
- package/dist/recall-context-composition.d.ts.map +1 -0
- package/dist/recall-deep-access.d.ts +9 -12
- package/dist/recall-deep-access.d.ts.map +1 -0
- package/dist/recall-deep-budget-left.d.ts +2 -3
- package/dist/recall-deep-budget-left.d.ts.map +1 -0
- package/dist/recall-deep-budget.d.ts +2 -3
- package/dist/recall-deep-budget.d.ts.map +1 -0
- package/dist/recall-deep-expand-select.d.ts +4 -5
- package/dist/recall-deep-expand-select.d.ts.map +1 -0
- package/dist/recall-deep-expand.d.ts +2 -3
- package/dist/recall-deep-expand.d.ts.map +1 -0
- package/dist/recall-deep-frontier.d.ts +4 -5
- package/dist/recall-deep-frontier.d.ts.map +1 -0
- package/dist/recall-deep-policy.d.ts +5 -6
- package/dist/recall-deep-policy.d.ts.map +1 -0
- package/dist/recall-deep-query.d.ts +3 -4
- package/dist/recall-deep-query.d.ts.map +1 -0
- package/dist/recall-deep-refine.d.ts +2 -3
- package/dist/recall-deep-refine.d.ts.map +1 -0
- package/dist/recall-deep-render.d.ts +3 -6
- package/dist/recall-deep-render.d.ts.map +1 -0
- package/dist/recall-deep-rewrite.d.ts +4 -5
- package/dist/recall-deep-rewrite.d.ts.map +1 -0
- package/dist/recall-deep-step-count.d.ts +2 -3
- package/dist/recall-deep-step-count.d.ts.map +1 -0
- package/dist/recall-deep-stop-reason.d.ts +5 -6
- package/dist/recall-deep-stop-reason.d.ts.map +1 -0
- package/dist/recall-deep-stop.d.ts +6 -7
- package/dist/recall-deep-stop.d.ts.map +1 -0
- package/dist/recall-deep-trace-empty.d.ts +2 -3
- package/dist/recall-deep-trace-empty.d.ts.map +1 -0
- package/dist/recall-deep-working-set.d.ts +2 -3
- package/dist/recall-deep-working-set.d.ts.map +1 -0
- package/dist/recall-deep.d.ts +11 -12
- package/dist/recall-deep.d.ts.map +1 -0
- package/dist/recall-disclosure-escalation.d.ts +9 -29
- package/dist/recall-disclosure-escalation.d.ts.map +1 -0
- package/dist/recall-explain-renderer.d.ts +12 -38
- package/dist/recall-explain-renderer.d.ts.map +1 -0
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-handles.d.ts +23 -24
- package/dist/recall-handles.d.ts.map +1 -0
- package/dist/recall-memory-map.d.ts +8 -27
- package/dist/recall-memory-map.d.ts.map +1 -0
- package/dist/recall-mmr.d.ts +13 -14
- package/dist/recall-mmr.d.ts.map +1 -0
- package/dist/recall-navigate-access.d.ts +6 -27
- package/dist/recall-navigate-access.d.ts.map +1 -0
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-action.d.ts +5 -5
- package/dist/recall-navigate-action.d.ts.map +1 -0
- package/dist/recall-navigate-budget.d.ts +3 -4
- package/dist/recall-navigate-budget.d.ts.map +1 -0
- package/dist/recall-navigate-cost.d.ts +2 -3
- package/dist/recall-navigate-cost.d.ts.map +1 -0
- package/dist/recall-navigate-depth.d.ts +2 -3
- package/dist/recall-navigate-depth.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.d.ts +5 -25
- package/dist/recall-navigate-disclosure.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate-link.d.ts +5 -5
- package/dist/recall-navigate-link.d.ts.map +1 -0
- package/dist/recall-navigate-max-children.d.ts +2 -3
- package/dist/recall-navigate-max-children.d.ts.map +1 -0
- package/dist/recall-navigate-node.d.ts +3 -4
- package/dist/recall-navigate-node.d.ts.map +1 -0
- package/dist/recall-navigate-path.d.ts +2 -3
- package/dist/recall-navigate-path.d.ts.map +1 -0
- package/dist/recall-navigate-render.d.ts +3 -4
- package/dist/recall-navigate-render.d.ts.map +1 -0
- package/dist/recall-navigate-traverse.d.ts +5 -6
- package/dist/recall-navigate-traverse.d.ts.map +1 -0
- package/dist/recall-navigate-window.d.ts +5 -6
- package/dist/recall-navigate-window.d.ts.map +1 -0
- package/dist/recall-navigate.d.ts +13 -33
- package/dist/recall-navigate.d.ts.map +1 -0
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-config.d.ts +7 -8
- package/dist/recall-navigation-config.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.d.ts +5 -151
- package/dist/recall-navigation-http-glue.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.js +2 -2
- package/dist/recall-navigation-mcp-tools.d.ts +3 -150
- package/dist/recall-navigation-mcp-tools.d.ts.map +1 -0
- package/dist/recall-navigation-operations.d.ts +11 -2
- package/dist/recall-navigation-operations.d.ts.map +1 -0
- package/dist/recall-navigation-operations.js +66 -61
- package/dist/recall-navigation-renderer.d.ts +4 -28
- package/dist/recall-navigation-renderer.d.ts.map +1 -0
- package/dist/recall-navigation.d.ts +13 -34
- package/dist/recall-navigation.d.ts.map +1 -0
- package/dist/recall-navigation.js +65 -60
- package/dist/recall-pipeline-stages.d.ts +6 -9
- package/dist/recall-pipeline-stages.d.ts.map +1 -0
- package/dist/recall-planner-i18n.d.ts +13 -14
- package/dist/recall-planner-i18n.d.ts.map +1 -0
- package/dist/recall-planner-llm.d.ts +8 -30
- package/dist/recall-planner-llm.d.ts.map +1 -0
- package/dist/recall-qos.d.ts +13 -15
- package/dist/recall-qos.d.ts.map +1 -0
- package/dist/recall-query-policy.d.ts +9 -10
- package/dist/recall-query-policy.d.ts.map +1 -0
- package/dist/recall-recognition-tier.d.ts +27 -28
- package/dist/recall-recognition-tier.d.ts.map +1 -0
- package/dist/recall-state-view-admission.d.ts +7 -26
- package/dist/recall-state-view-admission.d.ts.map +1 -0
- package/dist/recall-state-view-admission.js +3 -3
- package/dist/recall-state-view-anchors.d.ts +10 -29
- package/dist/recall-state-view-anchors.d.ts.map +1 -0
- package/dist/recall-state-view-current.d.ts +4 -5
- package/dist/recall-state-view-current.d.ts.map +1 -0
- package/dist/recall-state-view-inject.d.ts +3 -7
- package/dist/recall-state-view-inject.d.ts.map +1 -0
- package/dist/recall-state-view-kind.d.ts +5 -5
- package/dist/recall-state-view-kind.d.ts.map +1 -0
- package/dist/recall-state-view-label.d.ts +3 -6
- package/dist/recall-state-view-label.d.ts.map +1 -0
- package/dist/recall-state-view-packet.d.ts +7 -9
- package/dist/recall-state-view-packet.d.ts.map +1 -0
- package/dist/recall-state-view-render.d.ts +4 -7
- package/dist/recall-state-view-render.d.ts.map +1 -0
- package/dist/recall-state-view-successor.d.ts +3 -4
- package/dist/recall-state-view-successor.d.ts.map +1 -0
- package/dist/recall-state-view-superseded.d.ts +3 -4
- package/dist/recall-state-view-superseded.d.ts.map +1 -0
- package/dist/recall-state-view-transition.d.ts +4 -5
- package/dist/recall-state-view-transition.d.ts.map +1 -0
- package/dist/recall-state-view-widen.d.ts +3 -6
- package/dist/recall-state-view-widen.d.ts.map +1 -0
- package/dist/recall-state-view-wire.d.ts +3 -6
- package/dist/recall-state-view-wire.d.ts.map +1 -0
- package/dist/recall-state-view-zero-diff.d.ts +4 -5
- package/dist/recall-state-view-zero-diff.d.ts.map +1 -0
- package/dist/recall-state-view.d.ts +16 -17
- package/dist/recall-state-view.d.ts.map +1 -0
- package/dist/recall-state.d.ts +17 -35
- package/dist/recall-state.d.ts.map +1 -0
- package/dist/recall-tag-filter.d.ts +10 -33
- package/dist/recall-tag-filter.d.ts.map +1 -0
- package/dist/recall-timings.d.ts +10 -29
- package/dist/recall-timings.d.ts.map +1 -0
- package/dist/recall-tokenization.d.ts +7 -8
- package/dist/recall-tokenization.d.ts.map +1 -0
- package/dist/recall-why-cli.d.ts +25 -0
- package/dist/recall-why-cli.d.ts.map +1 -0
- package/dist/recall-why-cli.js +9 -0
- package/dist/recall-why-cli.js.map +1 -0
- package/dist/recall-why-renderer.d.ts +25 -0
- package/dist/recall-why-renderer.d.ts.map +1 -0
- package/dist/recall-why-renderer.js +18 -0
- package/dist/recall-why-renderer.js.map +1 -0
- package/dist/recall-why-service.d.ts +49 -0
- package/dist/recall-why-service.d.ts.map +1 -0
- package/dist/recall-why-service.js +46 -0
- package/dist/recall-why-service.js.map +1 -0
- package/dist/recall-why.d.ts +175 -0
- package/dist/recall-why.d.ts.map +1 -0
- package/dist/recall-why.js +25 -0
- package/dist/recall-why.js.map +1 -0
- package/dist/recall-xray-cli.d.ts +7 -31
- package/dist/recall-xray-cli.d.ts.map +1 -0
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +9 -33
- package/dist/recall-xray-renderer.d.ts.map +1 -0
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +19 -39
- package/dist/recall-xray.d.ts.map +1 -0
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +15 -37
- package/dist/reconcile/cursor.d.ts.map +1 -0
- package/dist/reconcile/manifest.d.ts +19 -40
- package/dist/reconcile/manifest.d.ts.map +1 -0
- package/dist/reconcile/manifest.js +2 -2
- package/dist/reconcile/plan.d.ts +22 -42
- package/dist/reconcile/plan.d.ts.map +1 -0
- package/dist/reconstruct.d.ts +2 -3
- package/dist/reconstruct.d.ts.map +1 -0
- package/dist/relay/mission-access.d.ts +28 -0
- package/dist/relay/mission-access.d.ts.map +1 -0
- package/dist/relay/mission-fixture.d.ts +11 -0
- package/dist/relay/mission-fixture.d.ts.map +1 -0
- package/dist/relay/mission.d.ts +3952 -0
- package/dist/relay/mission.d.ts.map +1 -0
- package/dist/release-changelog.d.ts +3 -4
- package/dist/release-changelog.d.ts.map +1 -0
- package/dist/relevance.d.ts +3 -3
- package/dist/relevance.d.ts.map +1 -0
- package/dist/replay/normalizers/chatgpt.d.ts +3 -23
- package/dist/replay/normalizers/chatgpt.d.ts.map +1 -0
- package/dist/replay/normalizers/claude.d.ts +3 -23
- package/dist/replay/normalizers/claude.d.ts.map +1 -0
- package/dist/replay/normalizers/openclaw.d.ts +3 -23
- package/dist/replay/normalizers/openclaw.d.ts.map +1 -0
- package/dist/replay/normalizers/shared.d.ts +6 -25
- package/dist/replay/normalizers/shared.d.ts.map +1 -0
- package/dist/replay/runner.d.ts +10 -30
- package/dist/replay/runner.d.ts.map +1 -0
- package/dist/replay/types.d.ts +18 -37
- package/dist/replay/types.d.ts.map +1 -0
- package/dist/replica-divergence.d.ts +24 -45
- package/dist/replica-divergence.d.ts.map +1 -0
- package/dist/replica-divergence.js +3 -3
- package/dist/replica-peers-config.d.ts +50 -18
- package/dist/replica-peers-config.d.ts.map +1 -0
- package/dist/rerank.d.ts +8 -9
- package/dist/rerank.d.ts.map +1 -0
- package/dist/resolution-CHNISQJB.js +36 -0
- package/dist/resolution-CHNISQJB.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +9 -27
- package/dist/resolve-auth-token.d.ts.map +1 -0
- package/dist/resolve-provider-secret.d.ts +10 -11
- package/dist/resolve-provider-secret.d.ts.map +1 -0
- package/dist/response-guidance-recall.d.ts +5 -8
- package/dist/response-guidance-recall.d.ts.map +1 -0
- package/dist/resume-bundles.d.ts +9 -10
- package/dist/resume-bundles.d.ts.map +1 -0
- package/dist/resume-bundles.js +24 -24
- package/dist/retrieval-agents.d.ts +14 -36
- package/dist/retrieval-agents.d.ts.map +1 -0
- package/dist/retrieval-tiers.d.ts +4 -24
- package/dist/retrieval-tiers.d.ts.map +1 -0
- package/dist/retrieval.d.ts +5 -6
- package/dist/retrieval.d.ts.map +1 -0
- package/dist/review/frontmatter.d.ts +6 -0
- package/dist/review/frontmatter.d.ts.map +1 -0
- package/dist/review/index.d.ts +81 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/review-deck-http-base.d.ts +10 -0
- package/dist/review/review-deck-http-base.d.ts.map +1 -0
- package/dist/review/review-deck-mutation.d.ts +51 -0
- package/dist/review/review-deck-mutation.d.ts.map +1 -0
- package/dist/review/review-deck-snapshot.d.ts +10 -0
- package/dist/review/review-deck-snapshot.d.ts.map +1 -0
- package/dist/review/review-deck-surface.d.ts +33 -0
- package/dist/review/review-deck-surface.d.ts.map +1 -0
- package/dist/review/review-deck.d.ts +107 -0
- package/dist/review/review-deck.d.ts.map +1 -0
- package/dist/routing/engine.d.ts +12 -31
- package/dist/routing/engine.d.ts.map +1 -0
- package/dist/routing/store.d.ts +3 -23
- package/dist/routing/store.d.ts.map +1 -0
- package/dist/runtime/better-sqlite.d.ts +9 -10
- package/dist/runtime/better-sqlite.d.ts.map +1 -0
- package/dist/runtime/child-process.d.ts +5 -5
- package/dist/runtime/child-process.d.ts.map +1 -0
- package/dist/runtime/daemon-health.d.ts +2 -0
- package/dist/runtime/daemon-health.d.ts.map +1 -0
- package/dist/runtime/env.d.ts +5 -6
- package/dist/runtime/env.d.ts.map +1 -0
- package/dist/runtime/http-transport.d.ts +3 -4
- package/dist/runtime/http-transport.d.ts.map +1 -0
- package/dist/salvage-envelope.d.ts +3 -23
- package/dist/salvage-envelope.d.ts.map +1 -0
- package/dist/sanitize.d.ts +5 -7
- package/dist/sanitize.d.ts.map +1 -0
- package/dist/schemas.d.ts +205 -207
- package/dist/schemas.d.ts.map +1 -0
- package/dist/scopes/scope-plan.d.ts +258 -0
- package/dist/scopes/scope-plan.d.ts.map +1 -0
- package/dist/sdk-compat.d.ts +4 -5
- package/dist/sdk-compat.d.ts.map +1 -0
- package/dist/search/abort.d.ts +5 -0
- package/dist/search/abort.d.ts.map +1 -0
- package/dist/search/document-scanner.d.ts +3 -4
- package/dist/search/document-scanner.d.ts.map +1 -0
- package/dist/search/embed-helper.d.ts +8 -26
- package/dist/search/embed-helper.d.ts.map +1 -0
- package/dist/search/factory.d.ts +10 -31
- package/dist/search/factory.d.ts.map +1 -0
- package/dist/search/factory.js +4 -4
- package/dist/search/index.d.ts +11 -32
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +10 -10
- package/dist/search/lancedb-backend.d.ts +5 -26
- package/dist/search/lancedb-backend.d.ts.map +1 -0
- package/dist/search/meilisearch-backend.d.ts +4 -24
- package/dist/search/meilisearch-backend.d.ts.map +1 -0
- package/dist/search/noop-backend.d.ts +3 -23
- package/dist/search/noop-backend.d.ts.map +1 -0
- package/dist/search/orama-backend.d.ts +6 -27
- package/dist/search/orama-backend.d.ts.map +1 -0
- package/dist/search/orama-cjk-tokenizer.d.ts +53 -0
- package/dist/search/orama-cjk-tokenizer.d.ts.map +1 -0
- package/dist/search/port.d.ts +10 -29
- package/dist/search/port.d.ts.map +1 -0
- package/dist/search/remote-backend.d.ts +4 -24
- package/dist/search/remote-backend.d.ts.map +1 -0
- package/dist/secure-store/cipher.d.ts +127 -0
- package/dist/secure-store/cipher.d.ts.map +1 -0
- package/dist/secure-store/cli-handlers.d.ts +134 -0
- package/dist/secure-store/cli-handlers.d.ts.map +1 -0
- package/dist/secure-store/cli-renderer.d.ts +16 -0
- package/dist/secure-store/cli-renderer.d.ts.map +1 -0
- package/dist/secure-store/header.d.ts +137 -0
- package/dist/secure-store/header.d.ts.map +1 -0
- package/dist/secure-store/index.d.ts +23 -899
- package/dist/secure-store/index.d.ts.map +1 -0
- package/dist/secure-store/kdf.d.ts +101 -0
- package/dist/secure-store/kdf.d.ts.map +1 -0
- package/dist/secure-store/keyring.d.ts +58 -0
- package/dist/secure-store/keyring.d.ts.map +1 -0
- package/dist/secure-store/metadata.d.ts +104 -0
- package/dist/secure-store/metadata.d.ts.map +1 -0
- package/dist/secure-store/passphrase-reader.d.ts +40 -0
- package/dist/secure-store/passphrase-reader.d.ts.map +1 -0
- package/dist/secure-store/secure-fs.d.ts +227 -0
- package/dist/secure-store/secure-fs.d.ts.map +1 -0
- package/dist/security/audit-memory-cli.d.ts +9 -0
- package/dist/security/audit-memory-cli.d.ts.map +1 -0
- package/dist/security/audit-memory.d.ts +48 -0
- package/dist/security/audit-memory.d.ts.map +1 -0
- package/dist/security/injection-screen.d.ts +19 -0
- package/dist/security/injection-screen.d.ts.map +1 -0
- package/dist/security/origin-authority.d.ts +30 -0
- package/dist/security/origin-authority.d.ts.map +1 -0
- package/dist/security/types.d.ts +13 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/semantic-chunking.d.ts +13 -16
- package/dist/semantic-chunking.d.ts.map +1 -0
- package/dist/semantic-consolidation.d.ts +126 -22
- package/dist/semantic-consolidation.d.ts.map +1 -0
- package/dist/semantic-consolidation.js +15 -15
- package/dist/semantic-merge-config.d.ts +2 -3
- package/dist/semantic-merge-config.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.d.ts +7 -7
- package/dist/semantic-rule-promotion.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.js +14 -14
- package/dist/semantic-rule-verifier.d.ts +6 -25
- package/dist/semantic-rule-verifier.d.ts.map +1 -0
- package/dist/semantic-rule-verifier.js +14 -14
- package/dist/session-identity.d.ts +10 -11
- package/dist/session-identity.d.ts.map +1 -0
- package/dist/session-integrity.d.ts +14 -15
- package/dist/session-integrity.d.ts.map +1 -0
- package/dist/session-namespace-bindings.d.ts +10 -11
- package/dist/session-namespace-bindings.d.ts.map +1 -0
- package/dist/session-observer-bands.d.ts +4 -23
- package/dist/session-observer-bands.d.ts.map +1 -0
- package/dist/session-observer-state.d.ts +6 -25
- package/dist/session-observer-state.d.ts.map +1 -0
- package/dist/session-summaries/adapters.d.ts +5 -0
- package/dist/session-summaries/adapters.d.ts.map +1 -0
- package/dist/session-summaries/index.d.ts +7 -0
- package/dist/session-summaries/index.d.ts.map +1 -0
- package/dist/session-summaries/redaction.d.ts +8 -0
- package/dist/session-summaries/redaction.d.ts.map +1 -0
- package/dist/session-summaries/types.d.ts +113 -0
- package/dist/session-summaries/types.d.ts.map +1 -0
- package/dist/session-toggles.d.ts +4 -4
- package/dist/session-toggles.d.ts.map +1 -0
- package/dist/session-transcript-migration.d.ts +9 -10
- package/dist/session-transcript-migration.d.ts.map +1 -0
- package/dist/shared-context/authority-precedence.d.ts +22 -0
- package/dist/shared-context/authority-precedence.d.ts.map +1 -0
- package/dist/shared-context/authority.d.ts +18 -0
- package/dist/shared-context/authority.d.ts.map +1 -0
- package/dist/shared-context/claim-key.d.ts +14 -0
- package/dist/shared-context/claim-key.d.ts.map +1 -0
- package/dist/shared-context/contradictions.d.ts +20 -0
- package/dist/shared-context/contradictions.d.ts.map +1 -0
- package/dist/shared-context/curation-lint.d.ts +23 -0
- package/dist/shared-context/curation-lint.d.ts.map +1 -0
- package/dist/shared-context/envelope-actor.d.ts +14 -0
- package/dist/shared-context/envelope-actor.d.ts.map +1 -0
- package/dist/shared-context/envelope-at.d.ts +19 -0
- package/dist/shared-context/envelope-at.d.ts.map +1 -0
- package/dist/shared-context/envelope-id.d.ts +14 -0
- package/dist/shared-context/envelope-id.d.ts.map +1 -0
- package/dist/shared-context/envelope-io.d.ts +100 -0
- package/dist/shared-context/envelope-io.d.ts.map +1 -0
- package/dist/shared-context/envelope-required.d.ts +14 -0
- package/dist/shared-context/envelope-required.d.ts.map +1 -0
- package/dist/shared-context/envelope-ttl.d.ts +12 -0
- package/dist/shared-context/envelope-ttl.d.ts.map +1 -0
- package/dist/shared-context/governance.d.ts +28 -0
- package/dist/shared-context/governance.d.ts.map +1 -0
- package/dist/shared-context/iso-instant.d.ts +19 -0
- package/dist/shared-context/iso-instant.d.ts.map +1 -0
- package/dist/shared-context/manager.d.ts +21 -48
- package/dist/shared-context/manager.d.ts.map +1 -0
- package/dist/shared-context/provenance.d.ts +18 -0
- package/dist/shared-context/provenance.d.ts.map +1 -0
- package/dist/shared-context/staleness.d.ts +18 -0
- package/dist/shared-context/staleness.d.ts.map +1 -0
- package/dist/shared-context/supersession-chain.d.ts +41 -0
- package/dist/shared-context/supersession-chain.d.ts.map +1 -0
- package/dist/shared-context/trajectories.d.ts +24 -0
- package/dist/shared-context/trajectories.d.ts.map +1 -0
- package/dist/shared-context/write-output-controls.d.ts +4 -5
- package/dist/shared-context/write-output-controls.d.ts.map +1 -0
- package/dist/signal.d.ts +4 -23
- package/dist/signal.d.ts.map +1 -0
- package/dist/skills-registry.d.ts +4 -5
- package/dist/skills-registry.d.ts.map +1 -0
- package/dist/source-agent-qualifier.d.ts +8 -27
- package/dist/source-agent-qualifier.d.ts.map +1 -0
- package/dist/source-agent-qualifier.js +23 -23
- package/dist/source-attribution.d.ts +20 -21
- package/dist/source-attribution.d.ts.map +1 -0
- package/dist/spaces/index.d.ts +148 -0
- package/dist/spaces/index.d.ts.map +1 -0
- package/dist/standing-memory-block.d.ts +25 -26
- package/dist/standing-memory-block.d.ts.map +1 -0
- package/dist/standup/access-operations.d.ts +2 -0
- package/dist/standup/access-operations.d.ts.map +1 -0
- package/dist/standup/build.d.ts +6 -7
- package/dist/standup/build.d.ts.map +1 -0
- package/dist/standup/build.js +15 -15
- package/dist/standup/http-glue.d.ts +4 -0
- package/dist/standup/http-glue.d.ts.map +1 -0
- package/dist/standup/mcp-tools.d.ts +3 -0
- package/dist/standup/mcp-tools.d.ts.map +1 -0
- package/dist/storage/cas-revision-host.d.ts +34 -0
- package/dist/storage/cas-revision-host.d.ts.map +1 -0
- package/dist/storage/cas-revision-store.d.ts +176 -0
- package/dist/storage/cas-revision-store.d.ts.map +1 -0
- package/dist/storage/citation-hash-source.d.ts +3 -0
- package/dist/storage/citation-hash-source.d.ts.map +1 -0
- package/dist/storage/committed-invalidation.d.ts +9 -0
- package/dist/storage/committed-invalidation.d.ts.map +1 -0
- package/dist/storage/content-hash-index.d.ts +269 -0
- package/dist/storage/content-hash-index.d.ts.map +1 -0
- package/dist/storage/context-transform-ledger.d.ts +10 -0
- package/dist/storage/context-transform-ledger.d.ts.map +1 -0
- package/dist/storage/deletion-revision-store.d.ts +79 -0
- package/dist/storage/deletion-revision-store.d.ts.map +1 -0
- package/dist/storage/entity-alias-config.d.ts +2 -0
- package/dist/storage/entity-alias-config.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-lock.d.ts +4 -0
- package/dist/storage/entity-canonical-id-lock.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts +24 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts +16 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration.d.ts +44 -0
- package/dist/storage/entity-canonical-id-migration.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-references.d.ts +173 -0
- package/dist/storage/entity-canonical-id-references.d.ts.map +1 -0
- package/dist/storage/entity-id-safety.d.ts +2 -0
- package/dist/storage/entity-id-safety.d.ts.map +1 -0
- package/dist/storage/entity-ref-repair.d.ts +45 -0
- package/dist/storage/entity-ref-repair.d.ts.map +1 -0
- package/dist/storage/entity-store.d.ts +131 -0
- package/dist/storage/entity-store.d.ts.map +1 -0
- package/dist/storage/entity-timeline.d.ts +34 -0
- package/dist/storage/entity-timeline.d.ts.map +1 -0
- package/dist/storage/identity-continuity-store.d.ts +40 -0
- package/dist/storage/identity-continuity-store.d.ts.map +1 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts +4 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts.map +1 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts +194 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts.map +1 -0
- package/dist/storage/memory-migration-serialization.d.ts +5 -0
- package/dist/storage/memory-migration-serialization.d.ts.map +1 -0
- package/dist/storage/memory-read-store.d.ts +193 -0
- package/dist/storage/memory-read-store.d.ts.map +1 -0
- package/dist/storage/profile-header.d.ts +16 -0
- package/dist/storage/profile-header.d.ts.map +1 -0
- package/dist/storage/questions-file.d.ts +11 -0
- package/dist/storage/questions-file.d.ts.map +1 -0
- package/dist/storage/secure-line-reader.d.ts +53 -0
- package/dist/storage/secure-line-reader.d.ts.map +1 -0
- package/dist/storage/supersession-audit.d.ts +7 -0
- package/dist/storage/supersession-audit.d.ts.map +1 -0
- package/dist/storage/supersession-side-effects.d.ts +51 -0
- package/dist/storage/supersession-side-effects.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts +93 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts +53 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts +96 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts.map +1 -0
- package/dist/storage/tombstone-migration-sources.d.ts +24 -0
- package/dist/storage/tombstone-migration-sources.d.ts.map +1 -0
- package/dist/storage/windowed-memory-read.d.ts +28 -0
- package/dist/storage/windowed-memory-read.d.ts.map +1 -0
- package/dist/storage-contract/harness.d.ts +59 -0
- package/dist/storage-contract/harness.d.ts.map +1 -0
- package/dist/storage-guards.d.ts +6 -7
- package/dist/storage-guards.d.ts.map +1 -0
- package/dist/storage-paths.d.ts +8 -9
- package/dist/storage-paths.d.ts.map +1 -0
- package/dist/storage.d.ts +1362 -33
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +15 -15
- package/dist/store-contract.d.ts +9 -10
- package/dist/store-contract.d.ts.map +1 -0
- package/dist/structured-attributes.d.ts +6 -7
- package/dist/structured-attributes.d.ts.map +1 -0
- package/dist/subject-config.d.ts +4 -24
- package/dist/subject-config.d.ts.map +1 -0
- package/dist/summarizer.d.ts +7 -27
- package/dist/summarizer.d.ts.map +1 -0
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +6 -25
- package/dist/summary-snapshot.d.ts.map +1 -0
- package/dist/support-passport/access-http-base.d.ts +20 -0
- package/dist/support-passport/access-http-base.d.ts.map +1 -0
- package/dist/support-passport/access-http.d.ts +64 -0
- package/dist/support-passport/access-http.d.ts.map +1 -0
- package/dist/support-passport/access-operations.d.ts +197 -0
- package/dist/support-passport/access-operations.d.ts.map +1 -0
- package/dist/support-passport/access-service-base.d.ts +86 -0
- package/dist/support-passport/access-service-base.d.ts.map +1 -0
- package/dist/support-passport/access-surface.d.ts +118 -0
- package/dist/support-passport/access-surface.d.ts.map +1 -0
- package/dist/support-passport/card-projection.d.ts +83 -0
- package/dist/support-passport/card-projection.d.ts.map +1 -0
- package/dist/support-passport/card-replacement.d.ts +21 -0
- package/dist/support-passport/card-replacement.d.ts.map +1 -0
- package/dist/support-passport/card-service.d.ts +65 -0
- package/dist/support-passport/card-service.d.ts.map +1 -0
- package/dist/support-passport/card-state.d.ts +28 -0
- package/dist/support-passport/card-state.d.ts.map +1 -0
- package/dist/support-passport/config.d.ts +4 -0
- package/dist/support-passport/config.d.ts.map +1 -0
- package/dist/support-passport/contracts.d.ts +165 -0
- package/dist/support-passport/contracts.d.ts.map +1 -0
- package/dist/support-passport/errors.d.ts +7 -0
- package/dist/support-passport/errors.d.ts.map +1 -0
- package/dist/support-passport/generated-batch.d.ts +47 -0
- package/dist/support-passport/generated-batch.d.ts.map +1 -0
- package/dist/support-passport/grant-contracts.d.ts +443 -0
- package/dist/support-passport/grant-contracts.d.ts.map +1 -0
- package/dist/support-passport/grant-service.d.ts +48 -0
- package/dist/support-passport/grant-service.d.ts.map +1 -0
- package/dist/support-passport/grant-store.d.ts +84 -0
- package/dist/support-passport/grant-store.d.ts.map +1 -0
- package/dist/support-passport/index.d.ts +17 -571
- package/dist/support-passport/index.d.ts.map +1 -0
- package/dist/support-passport/index.js +75 -70
- package/dist/support-passport/mcp-tools.d.ts +16 -0
- package/dist/support-passport/mcp-tools.d.ts.map +1 -0
- package/dist/support-passport/model-adapter.d.ts +90 -0
- package/dist/support-passport/model-adapter.d.ts.map +1 -0
- package/dist/support-passport/model-audit.d.ts +115 -0
- package/dist/support-passport/model-audit.d.ts.map +1 -0
- package/dist/support-passport/model-bridge.d.ts +105 -0
- package/dist/support-passport/model-bridge.d.ts.map +1 -0
- package/dist/support-passport/model-contracts.d.ts +219 -0
- package/dist/support-passport/model-contracts.d.ts.map +1 -0
- package/dist/support-passport/model-service.d.ts +58 -0
- package/dist/support-passport/model-service.d.ts.map +1 -0
- package/dist/support-passport/offline-sync-guard.d.ts +46 -0
- package/dist/support-passport/offline-sync-guard.d.ts.map +1 -0
- package/dist/support-passport/owner-lock.d.ts +16 -0
- package/dist/support-passport/owner-lock.d.ts.map +1 -0
- package/dist/support-passport/private-file.d.ts +16 -0
- package/dist/support-passport/private-file.d.ts.map +1 -0
- package/dist/support-passport/public-http.d.ts +23 -0
- package/dist/support-passport/public-http.d.ts.map +1 -0
- package/dist/surfaces/dreams.d.ts +4 -5
- package/dist/surfaces/dreams.d.ts.map +1 -0
- package/dist/surfaces/heartbeat.d.ts +4 -5
- package/dist/surfaces/heartbeat.d.ts.map +1 -0
- package/dist/sync/index.d.ts +69 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/targeted-fact-recall.d.ts +5 -8
- package/dist/targeted-fact-recall.d.ts.map +1 -0
- package/dist/task-llm-config.d.ts +4 -5
- package/dist/task-llm-config.d.ts.map +1 -0
- package/dist/taxonomy/default-taxonomy.d.ts +7 -0
- package/dist/taxonomy/default-taxonomy.d.ts.map +1 -0
- package/dist/taxonomy/index.d.ts +11 -0
- package/dist/taxonomy/index.d.ts.map +1 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts +17 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts.map +1 -0
- package/dist/taxonomy/resolver.d.ts +25 -0
- package/dist/taxonomy/resolver.d.ts.map +1 -0
- package/dist/taxonomy/taxonomy-loader.d.ts +38 -0
- package/dist/taxonomy/taxonomy-loader.d.ts.map +1 -0
- package/dist/taxonomy/types.d.ts +49 -0
- package/dist/taxonomy/types.d.ts.map +1 -0
- package/dist/telemetry-transcript.d.ts +6 -7
- package/dist/telemetry-transcript.d.ts.map +1 -0
- package/dist/temporal-index-batch.d.ts +30 -1
- package/dist/temporal-index-batch.d.ts.map +1 -0
- package/dist/temporal-index-compat.d.ts +7 -267
- package/dist/temporal-index-compat.d.ts.map +1 -0
- package/dist/temporal-index.d.ts +230 -1
- package/dist/temporal-index.d.ts.map +1 -0
- package/dist/temporal-supersession.d.ts +14 -34
- package/dist/temporal-supersession.d.ts.map +1 -0
- package/dist/temporal-timeline-recall.d.ts +5 -24
- package/dist/temporal-timeline-recall.d.ts.map +1 -0
- package/dist/temporal-validity.d.ts +7 -27
- package/dist/temporal-validity.d.ts.map +1 -0
- package/dist/testing/lifecycle-matrix.d.ts +11 -12
- package/dist/testing/lifecycle-matrix.d.ts.map +1 -0
- package/dist/testing/orchestrator-lite.d.ts +80 -0
- package/dist/testing/orchestrator-lite.d.ts.map +1 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts +32 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts.map +1 -0
- package/dist/testing/tmp-dir.d.ts +9 -0
- package/dist/testing/tmp-dir.d.ts.map +1 -0
- package/dist/thread-key.d.ts +2 -3
- package/dist/thread-key.d.ts.map +1 -0
- package/dist/threading.d.ts +3 -23
- package/dist/threading.d.ts.map +1 -0
- package/dist/tier-migration.d.ts +10 -43
- package/dist/tier-migration.d.ts.map +1 -0
- package/dist/tier-routing.d.ts +8 -27
- package/dist/tier-routing.d.ts.map +1 -0
- package/dist/tmt.d.ts +18 -19
- package/dist/tmt.d.ts.map +1 -0
- package/dist/token-estimate.d.ts +2 -3
- package/dist/token-estimate.d.ts.map +1 -0
- package/dist/tokens.d.ts +15 -19
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +3 -3
- package/dist/tool-scoped-memory.d.ts +7 -8
- package/dist/tool-scoped-memory.d.ts.map +1 -0
- package/dist/topics.d.ts +4 -24
- package/dist/topics.d.ts.map +1 -0
- package/dist/training-export/converter.d.ts +18 -0
- package/dist/training-export/converter.d.ts.map +1 -0
- package/dist/training-export/date-parse.d.ts +38 -0
- package/dist/training-export/date-parse.d.ts.map +1 -0
- package/dist/training-export/index.d.ts +10 -0
- package/dist/training-export/index.d.ts.map +1 -0
- package/dist/training-export/registry.d.ts +27 -0
- package/dist/training-export/registry.d.ts.map +1 -0
- package/dist/training-export/types.d.ts +29 -0
- package/dist/training-export/types.d.ts.map +1 -0
- package/dist/transcript.d.ts +5 -24
- package/dist/transcript.d.ts.map +1 -0
- package/dist/transfer/autodetect.d.ts +3 -4
- package/dist/transfer/autodetect.d.ts.map +1 -0
- package/dist/transfer/backup.d.ts +3 -4
- package/dist/transfer/backup.d.ts.map +1 -0
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-crypto.d.ts +168 -0
- package/dist/transfer/capsule-crypto.d.ts.map +1 -0
- package/dist/transfer/capsule-export.d.ts +6 -9
- package/dist/transfer/capsule-export.d.ts.map +1 -0
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-fork.d.ts +117 -0
- package/dist/transfer/capsule-fork.d.ts.map +1 -0
- package/dist/transfer/capsule-import.d.ts +10 -13
- package/dist/transfer/capsule-import.d.ts.map +1 -0
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/capsule-merge.d.ts +124 -0
- package/dist/transfer/capsule-merge.d.ts.map +1 -0
- package/dist/transfer/conflict-policy.d.ts +5 -0
- package/dist/transfer/conflict-policy.d.ts.map +1 -0
- package/dist/transfer/constants.d.ts +4 -5
- package/dist/transfer/constants.d.ts.map +1 -0
- package/dist/transfer/exclusions.d.ts +8 -0
- package/dist/transfer/exclusions.d.ts.map +1 -0
- package/dist/transfer/export-json.d.ts +3 -4
- package/dist/transfer/export-json.d.ts.map +1 -0
- package/dist/transfer/export-md.d.ts +4 -5
- package/dist/transfer/export-md.d.ts.map +1 -0
- package/dist/transfer/export-okf.d.ts +11 -31
- package/dist/transfer/export-okf.d.ts.map +1 -0
- package/dist/transfer/export-okf.js +14 -14
- package/dist/transfer/export-sqlite.d.ts +3 -4
- package/dist/transfer/export-sqlite.d.ts.map +1 -0
- package/dist/transfer/fs-utils.d.ts +20 -21
- package/dist/transfer/fs-utils.d.ts.map +1 -0
- package/dist/transfer/import-json.d.ts +6 -7
- package/dist/transfer/import-json.d.ts.map +1 -0
- package/dist/transfer/import-md.d.ts +5 -6
- package/dist/transfer/import-md.d.ts.map +1 -0
- package/dist/transfer/import-sqlite.d.ts +5 -6
- package/dist/transfer/import-sqlite.d.ts.map +1 -0
- package/dist/transfer/integrity.d.ts +8 -0
- package/dist/transfer/integrity.d.ts.map +1 -0
- package/dist/transfer/sqlite-schema.d.ts +3 -4
- package/dist/transfer/sqlite-schema.d.ts.map +1 -0
- package/dist/transfer/types.d.ts +114 -116
- package/dist/transfer/types.d.ts.map +1 -0
- package/dist/trust-score-stage.d.ts +21 -40
- package/dist/trust-score-stage.d.ts.map +1 -0
- package/dist/trust-score.d.ts +15 -34
- package/dist/trust-score.d.ts.map +1 -0
- package/dist/trust-zones.d.ts +29 -30
- package/dist/trust-zones.d.ts.map +1 -0
- package/dist/types-continuity.d.ts +10 -11
- package/dist/types-continuity.d.ts.map +1 -0
- package/dist/types.d.ts +3500 -18
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -1
- package/dist/user-message-cleaning.d.ts +3 -4
- package/dist/user-message-cleaning.d.ts.map +1 -0
- package/dist/user-model.d.ts +17 -18
- package/dist/user-model.d.ts.map +1 -0
- package/dist/utility-learner.d.ts +10 -12
- package/dist/utility-learner.d.ts.map +1 -0
- package/dist/utility-runtime.d.ts +6 -27
- package/dist/utility-runtime.d.ts.map +1 -0
- package/dist/utility-telemetry.d.ts +12 -13
- package/dist/utility-telemetry.d.ts.map +1 -0
- package/dist/utils/category-dir.d.ts +45 -0
- package/dist/utils/category-dir.d.ts.map +1 -0
- package/dist/utils/errno.d.ts +4 -0
- package/dist/utils/errno.d.ts.map +1 -0
- package/dist/utils/iso-timestamp.d.ts +18 -0
- package/dist/utils/iso-timestamp.d.ts.map +1 -0
- package/dist/utils/path-containment.d.ts +50 -0
- package/dist/utils/path-containment.d.ts.map +1 -0
- package/dist/utils/path.d.ts +2 -3
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/script-aware-text.d.ts +27 -0
- package/dist/utils/script-aware-text.d.ts.map +1 -0
- package/dist/utils/serialize-mutations.d.ts +6 -7
- package/dist/utils/serialize-mutations.d.ts.map +1 -0
- package/dist/utils/yaml-scalar.d.ts +9 -0
- package/dist/utils/yaml-scalar.d.ts.map +1 -0
- package/dist/verified-recall.d.ts +5 -7
- package/dist/verified-recall.d.ts.map +1 -0
- package/dist/verified-recall.js +14 -14
- package/dist/version-utils.d.ts +3 -4
- package/dist/version-utils.d.ts.map +1 -0
- package/dist/wearables/auto-sync.d.ts +63 -0
- package/dist/wearables/auto-sync.d.ts.map +1 -0
- package/dist/wearables/cleanup.d.ts +39 -0
- package/dist/wearables/cleanup.d.ts.map +1 -0
- package/dist/wearables/cli.d.ts +24 -0
- package/dist/wearables/cli.d.ts.map +1 -0
- package/dist/wearables/config.d.ts +22 -0
- package/dist/wearables/config.d.ts.map +1 -0
- package/dist/wearables/corrections.d.ts +46 -0
- package/dist/wearables/corrections.d.ts.map +1 -0
- package/dist/wearables/day-store.d.ts +152 -0
- package/dist/wearables/day-store.d.ts.map +1 -0
- package/dist/wearables/errors.d.ts +19 -0
- package/dist/wearables/errors.d.ts.map +1 -0
- package/dist/wearables/fusion/cluster.d.ts +70 -0
- package/dist/wearables/fusion/cluster.d.ts.map +1 -0
- package/dist/wearables/fusion/fuse.d.ts +40 -0
- package/dist/wearables/fusion/fuse.d.ts.map +1 -0
- package/dist/wearables/fusion/index.d.ts +16 -0
- package/dist/wearables/fusion/index.d.ts.map +1 -0
- package/dist/wearables/fusion/reconcile.d.ts +52 -0
- package/dist/wearables/fusion/reconcile.d.ts.map +1 -0
- package/dist/wearables/fusion/reconstruct.d.ts +37 -0
- package/dist/wearables/fusion/reconstruct.d.ts.map +1 -0
- package/dist/wearables/fusion/store.d.ts +131 -0
- package/dist/wearables/fusion/store.d.ts.map +1 -0
- package/dist/wearables/fusion/types.d.ts +219 -0
- package/dist/wearables/fusion/types.d.ts.map +1 -0
- package/dist/wearables/http-glue.d.ts +12 -0
- package/dist/wearables/http-glue.d.ts.map +1 -0
- package/dist/wearables/index.d.ts +23 -0
- package/dist/wearables/index.d.ts.map +1 -0
- package/dist/wearables/mcp-tools.d.ts +12 -0
- package/dist/wearables/mcp-tools.d.ts.map +1 -0
- package/dist/wearables/memory-gen.d.ts +139 -0
- package/dist/wearables/memory-gen.d.ts.map +1 -0
- package/dist/wearables/pipeline.d.ts +81 -0
- package/dist/wearables/pipeline.d.ts.map +1 -0
- package/dist/wearables/redaction.d.ts +75 -0
- package/dist/wearables/redaction.d.ts.map +1 -0
- package/dist/wearables/registry.d.ts +47 -0
- package/dist/wearables/registry.d.ts.map +1 -0
- package/dist/wearables/service.d.ts +225 -0
- package/dist/wearables/service.d.ts.map +1 -0
- package/dist/wearables/speakers.d.ts +83 -0
- package/dist/wearables/speakers.d.ts.map +1 -0
- package/dist/wearables/sync-state.d.ts +52 -0
- package/dist/wearables/sync-state.d.ts.map +1 -0
- package/dist/wearables/text-language.d.ts +41 -0
- package/dist/wearables/text-language.d.ts.map +1 -0
- package/dist/wearables/trust.d.ts +93 -0
- package/dist/wearables/trust.d.ts.map +1 -0
- package/dist/wearables/types.d.ts +389 -0
- package/dist/wearables/types.d.ts.map +1 -0
- package/dist/whitespace.d.ts +7 -8
- package/dist/whitespace.d.ts.map +1 -0
- package/dist/who-knows-cli.d.ts +8 -155
- package/dist/who-knows-cli.d.ts.map +1 -0
- package/dist/who-knows-cli.js +16 -16
- package/dist/who-knows.d.ts +97 -145
- package/dist/who-knows.d.ts.map +1 -0
- package/dist/who-knows.js +15 -15
- package/dist/work/board.d.ts +8 -10
- package/dist/work/board.d.ts.map +1 -0
- package/dist/work/boundary.d.ts +5 -6
- package/dist/work/boundary.d.ts.map +1 -0
- package/dist/work/storage.d.ts +4 -6
- package/dist/work/storage.d.ts.map +1 -0
- package/dist/work/types.d.ts +11 -12
- package/dist/work/types.d.ts.map +1 -0
- package/dist/work-product-ledger.d.ts +12 -13
- package/dist/work-product-ledger.d.ts.map +1 -0
- package/dist/write-envelope.d.ts +23 -42
- package/dist/write-envelope.d.ts.map +1 -0
- package/dist/write-quarantine.d.ts +8 -9
- package/dist/write-quarantine.d.ts.map +1 -0
- package/dist/write-rate-limiter.d.ts +4 -4
- package/dist/write-rate-limiter.d.ts.map +1 -0
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +40 -19
- package/src/access-boundary.ts +1 -0
- package/src/access-errors.test.ts +182 -0
- package/src/access-errors.ts +252 -1
- package/src/access-http.ts +36 -103
- package/src/access-mcp-output-schemas.ts +1 -0
- package/src/access-mcp.ts +21 -2
- package/src/access-operations-batch.ts +8 -0
- package/src/access-recall-diagnostics.ts +236 -0
- package/src/access-service.ts +6 -0
- package/src/access-surface-catalog.ts +2 -0
- package/src/index.ts +11 -0
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/orchestration/orchestrator-helpers.ts +7 -0
- package/src/orchestration/recall-internal.ts +1 -1
- package/src/recall-degradation-sink.test.ts +144 -0
- package/src/recall-why-cli.ts +59 -0
- package/src/recall-why-renderer.ts +142 -0
- package/src/recall-why-service.test.ts +306 -0
- package/src/recall-why-service.ts +218 -0
- package/src/recall-why.test.ts +511 -0
- package/src/recall-why.ts +568 -0
- package/src/types.ts +1 -0
- package/dist/access-namespace-preflight-U9RAdxqZ.d.ts +0 -146
- package/dist/access-service-CUNM5RfA.d.ts +0 -4700
- package/dist/capsule-crypto-YO5QJ6L3.js +0 -18
- package/dist/catalog-BuMyYPUn.d.ts +0 -473
- package/dist/chunk-27MKMTBY.js +0 -342
- package/dist/chunk-2HJKAVAS.js +0 -216
- package/dist/chunk-2QZJ4P27.js +0 -203
- package/dist/chunk-2SIKTXWX.js +0 -502
- package/dist/chunk-2Z24E5W2.js +0 -22
- package/dist/chunk-2Z24E5W2.js.map +0 -1
- package/dist/chunk-3R23DDD3.js +0 -9782
- package/dist/chunk-3S6URXEH.js +0 -63
- package/dist/chunk-43IQRLEF.js +0 -256
- package/dist/chunk-4UVJ6EIT.js +0 -22
- package/dist/chunk-4UVJ6EIT.js.map +0 -1
- package/dist/chunk-5FAGCOZD.js +0 -761
- package/dist/chunk-75YZ5VAI.js +0 -140
- package/dist/chunk-7IRZK6MM.js +0 -256
- package/dist/chunk-7QVYVSEH.js +0 -285
- package/dist/chunk-7RGX7BMF.js +0 -103
- package/dist/chunk-7RKAE6Y4.js +0 -727
- package/dist/chunk-AH44WTLJ.js +0 -415
- package/dist/chunk-AHVJ6GLL.js +0 -95
- package/dist/chunk-AIVRD66I.js +0 -511
- package/dist/chunk-AQ55YKEV.js +0 -29
- package/dist/chunk-AQWGCHIV.js +0 -263
- package/dist/chunk-ARRKSBQU.js +0 -72
- package/dist/chunk-AYHNTYVG.js +0 -43
- package/dist/chunk-BSCNBIF4.js +0 -24
- package/dist/chunk-BXLOS5AJ.js +0 -112
- package/dist/chunk-BXOPUJ3W.js +0 -801
- package/dist/chunk-CEO4DONG.js +0 -28
- package/dist/chunk-CVILPI77.js +0 -432
- package/dist/chunk-D2N3PMAE.js +0 -51
- package/dist/chunk-D7VT2LED.js +0 -253
- package/dist/chunk-DAOMWGO2.js +0 -65
- package/dist/chunk-DGS34QSY.js +0 -141
- package/dist/chunk-DI52XAKG.js +0 -223
- package/dist/chunk-DQEMWVMT.js +0 -249
- package/dist/chunk-DZP2XMZC.js +0 -1084
- package/dist/chunk-EVQ33D3N.js +0 -731
- package/dist/chunk-FPB5LQWW.js +0 -71
- package/dist/chunk-FPB5LQWW.js.map +0 -1
- package/dist/chunk-FROKVQQY.js +0 -3997
- package/dist/chunk-FROKVQQY.js.map +0 -1
- package/dist/chunk-G7S37WD4.js +0 -801
- package/dist/chunk-GRDRVYXJ.js +0 -1917
- package/dist/chunk-H6WOFMOV.js +0 -346
- package/dist/chunk-HMDYSGY6.js +0 -54
- package/dist/chunk-HNHIHXSD.js +0 -879
- package/dist/chunk-HWLIMQE2.js +0 -165
- package/dist/chunk-IWO6QXWJ.js +0 -224
- package/dist/chunk-IYNCJKBM.js +0 -3602
- package/dist/chunk-IYNCJKBM.js.map +0 -1
- package/dist/chunk-J54B5DGD.js +0 -1530
- package/dist/chunk-JMZQS6OS.js +0 -81
- package/dist/chunk-K4KE5MYE.js +0 -648
- package/dist/chunk-K4KE5MYE.js.map +0 -1
- package/dist/chunk-KH2D26LQ.js +0 -2440
- package/dist/chunk-KIGC55FQ.js +0 -5505
- package/dist/chunk-KQVBR7BC.js +0 -1286
- package/dist/chunk-L63GFNKL.js +0 -403
- package/dist/chunk-LIAKZGOY.js +0 -25
- package/dist/chunk-LVFI5LG7.js +0 -576
- package/dist/chunk-MTWD4KMM.js +0 -223
- package/dist/chunk-MWVYHNSU.js +0 -623
- package/dist/chunk-MZWSOLMT.js +0 -189
- package/dist/chunk-NNEWBRUL.js +0 -271
- package/dist/chunk-NPX6WMFJ.js +0 -1686
- package/dist/chunk-O7OVWKT4.js +0 -768
- package/dist/chunk-PLJ2MQFT.js +0 -182
- package/dist/chunk-Q4AUIFUA.js +0 -111
- package/dist/chunk-QWQB7TOB.js +0 -11341
- package/dist/chunk-QZ4U67KO.js +0 -98
- package/dist/chunk-RMMVQQA6.js +0 -70
- package/dist/chunk-RSMNPYBM.js +0 -61
- package/dist/chunk-RUUJXAGT.js +0 -122
- package/dist/chunk-S45INSV3.js +0 -389
- package/dist/chunk-SCXURCVT.js +0 -218
- package/dist/chunk-SGUDMW2K.js +0 -3400
- package/dist/chunk-SLGD36MM.js +0 -53
- package/dist/chunk-SMBWBEE7.js +0 -73
- package/dist/chunk-SPFNGHHP.js +0 -115
- package/dist/chunk-SPWNCGSM.js +0 -77
- package/dist/chunk-SZ7IVZGD.js +0 -112
- package/dist/chunk-TJNDFNCU.js +0 -597
- package/dist/chunk-TJNDFNCU.js.map +0 -1
- package/dist/chunk-TQT4AOPO.js +0 -321
- package/dist/chunk-TTFJQ5B5.js +0 -43
- package/dist/chunk-U2SK45U3.js +0 -1476
- package/dist/chunk-UCH2RWFX.js +0 -216
- package/dist/chunk-UDJMJNBK.js +0 -549
- package/dist/chunk-UJBIWY5M.js +0 -212
- package/dist/chunk-ULQVG6G3.js +0 -275
- package/dist/chunk-VDX2J7OX.js +0 -264
- package/dist/chunk-VGO57TU7.js +0 -960
- package/dist/chunk-VUV472VH.js +0 -1008
- package/dist/chunk-VVX5PZFS.js +0 -297
- package/dist/chunk-WH7RINGG.js +0 -315
- package/dist/chunk-WUJD4CHZ.js +0 -137
- package/dist/chunk-X7WAM3IY.js +0 -30
- package/dist/chunk-XPFJSUOR.js +0 -921
- package/dist/chunk-XVZA6VXC.js +0 -160
- package/dist/chunk-XZRZJHBW.js +0 -31013
- package/dist/chunk-XZRZJHBW.js.map +0 -1
- package/dist/chunk-Y4G6LHJW.js +0 -35
- package/dist/chunk-Y7LZ5V7N.js +0 -202
- package/dist/chunk-YEIKOBOW.js +0 -628
- package/dist/chunk-YEIKOBOW.js.map +0 -1
- package/dist/chunk-YIIW2OH2.js +0 -566
- package/dist/chunk-ZBYVR5W4.js +0 -18504
- package/dist/chunk-ZBYVR5W4.js.map +0 -1
- package/dist/chunk-ZN7SMKAK.js +0 -210
- package/dist/chunk-ZP73EM2X.js +0 -74
- package/dist/chunk-ZXQPAYCS.js +0 -2453
- package/dist/cli-CCc34xV7.d.ts +0 -1136
- package/dist/conflict-policy-DyJ2wd-h.d.ts +0 -4
- package/dist/connectors-cli-2iaQ5tX2.d.ts +0 -263
- package/dist/dependency-propagation-delivery-BrhPjAHQ.d.ts +0 -41
- package/dist/faiss-adapter-BHecI1fF.d.ts +0 -73
- package/dist/framework-CNDn2164.d.ts +0 -170
- package/dist/generic-recall-paths-C0J1Oxb7.d.ts +0 -23
- package/dist/graph-DRkl22KE.d.ts +0 -347
- package/dist/graph-edge-decay-MKIRZ762.js +0 -30
- package/dist/index-B735x-tK.d.ts +0 -284
- package/dist/local-llm-BkkEK9rn.d.ts +0 -247
- package/dist/maintenance-CLBIvVxg.d.ts +0 -749
- package/dist/orchestrator-iexgVLow.d.ts +0 -2701
- package/dist/pipeline-DvtDtyo9.d.ts +0 -32
- package/dist/public-http-UWVcqMcb.d.ts +0 -25
- package/dist/qmd-CBYBJ6HW.d.ts +0 -353
- package/dist/resolution-LXFQQ4AE.js +0 -36
- package/dist/scope-profiles-BN1Dgfha.d.ts +0 -30
- package/dist/semantic-BalR6EXU.d.ts +0 -87
- package/dist/semantic-consolidation-D--qe0eE.d.ts +0 -180
- package/dist/service-VealHeqO.d.ts +0 -846
- package/dist/storage-BhS9gUx3.d.ts +0 -166
- package/dist/storage-CMm-3aD3.d.ts +0 -2421
- package/dist/tagging-BjsNFKWz.d.ts +0 -240
- package/dist/types-B1VHaf2w.d.ts +0 -126
- package/dist/types-DJhqDJUV.d.ts +0 -50
- package/dist/types-Du6VdoAg.d.ts +0 -5482
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-recall-diagnostics.js.map} +0 -0
- /package/dist/{graph-edge-decay-MKIRZ762.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-KQVBR7BC.js.map → chunk-2CBWEIS4.js.map} +0 -0
- /package/dist/{chunk-JMZQS6OS.js.map → chunk-2JQZSQXI.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-LIAKZGOY.js.map → chunk-2WMXZYMS.js.map} +0 -0
- /package/dist/{chunk-RSMNPYBM.js.map → chunk-34ZGBAGE.js.map} +0 -0
- /package/dist/{chunk-MWVYHNSU.js.map → chunk-36S7UHAW.js.map} +0 -0
- /package/dist/{chunk-G7S37WD4.js.map → chunk-3JLWSFTV.js.map} +0 -0
- /package/dist/{chunk-75YZ5VAI.js.map → chunk-3RZOLUZT.js.map} +0 -0
- /package/dist/{chunk-XVZA6VXC.js.map → chunk-3SL52JKD.js.map} +0 -0
- /package/dist/{chunk-2SIKTXWX.js.map → chunk-4QEZS7PK.js.map} +0 -0
- /package/dist/{chunk-Y4G6LHJW.js.map → chunk-5QRYGLZN.js.map} +0 -0
- /package/dist/{chunk-AQWGCHIV.js.map → chunk-5R3C5LEZ.js.map} +0 -0
- /package/dist/{chunk-SPWNCGSM.js.map → chunk-634UKELB.js.map} +0 -0
- /package/dist/{chunk-BXOPUJ3W.js.map → chunk-64JK4TL7.js.map} +0 -0
- /package/dist/{chunk-DGS34QSY.js.map → chunk-6E5GYDIE.js.map} +0 -0
- /package/dist/{chunk-D2N3PMAE.js.map → chunk-6ISP2EN2.js.map} +0 -0
- /package/dist/{chunk-UJBIWY5M.js.map → chunk-6RD7MSIO.js.map} +0 -0
- /package/dist/{chunk-RMMVQQA6.js.map → chunk-6UDLN4IA.js.map} +0 -0
- /package/dist/{chunk-7IRZK6MM.js.map → chunk-754XN6LX.js.map} +0 -0
- /package/dist/{chunk-43IQRLEF.js.map → chunk-7H2LEYYJ.js.map} +0 -0
- /package/dist/{chunk-7RGX7BMF.js.map → chunk-A7AISUJI.js.map} +0 -0
- /package/dist/{chunk-7RKAE6Y4.js.map → chunk-AULKCNZW.js.map} +0 -0
- /package/dist/{chunk-NPX6WMFJ.js.map → chunk-B7SSU55V.js.map} +0 -0
- /package/dist/{chunk-IWO6QXWJ.js.map → chunk-BICNRVEC.js.map} +0 -0
- /package/dist/{chunk-SLGD36MM.js.map → chunk-BJI2D4SU.js.map} +0 -0
- /package/dist/{chunk-CEO4DONG.js.map → chunk-BQB5ZMYO.js.map} +0 -0
- /package/dist/{chunk-WH7RINGG.js.map → chunk-C5CPYMLX.js.map} +0 -0
- /package/dist/{chunk-AHVJ6GLL.js.map → chunk-CS2JO77A.js.map} +0 -0
- /package/dist/{chunk-UDJMJNBK.js.map → chunk-DTABICJ3.js.map} +0 -0
- /package/dist/{chunk-CVILPI77.js.map → chunk-E6UNM67F.js.map} +0 -0
- /package/dist/{chunk-NNEWBRUL.js.map → chunk-ENUI3IO7.js.map} +0 -0
- /package/dist/{chunk-DZP2XMZC.js.map → chunk-FF2XYADH.js.map} +0 -0
- /package/dist/{chunk-S45INSV3.js.map → chunk-FF6N7BXC.js.map} +0 -0
- /package/dist/{chunk-2QZJ4P27.js.map → chunk-FSXD6Y4H.js.map} +0 -0
- /package/dist/{chunk-SGUDMW2K.js.map → chunk-GK6NOQE6.js.map} +0 -0
- /package/dist/{chunk-TTFJQ5B5.js.map → chunk-GRSFFLUY.js.map} +0 -0
- /package/dist/{chunk-5FAGCOZD.js.map → chunk-GWK7FEUL.js.map} +0 -0
- /package/dist/{chunk-SCXURCVT.js.map → chunk-GWQVMKUJ.js.map} +0 -0
- /package/dist/{chunk-3S6URXEH.js.map → chunk-HKHZWJ3E.js.map} +0 -0
- /package/dist/{chunk-PLJ2MQFT.js.map → chunk-IAZPYX6W.js.map} +0 -0
- /package/dist/{chunk-MZWSOLMT.js.map → chunk-IG747LRN.js.map} +0 -0
- /package/dist/{chunk-X7WAM3IY.js.map → chunk-IK63WA5A.js.map} +0 -0
- /package/dist/{chunk-BSCNBIF4.js.map → chunk-IUD6NLNM.js.map} +0 -0
- /package/dist/{chunk-3R23DDD3.js.map → chunk-JSJZ2NXS.js.map} +0 -0
- /package/dist/{chunk-YIIW2OH2.js.map → chunk-JUOJGZPV.js.map} +0 -0
- /package/dist/{chunk-VGO57TU7.js.map → chunk-KA4U5GQN.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-ARRKSBQU.js.map → chunk-L4WBADKG.js.map} +0 -0
- /package/dist/{chunk-ULQVG6G3.js.map → chunk-LAL4B37X.js.map} +0 -0
- /package/dist/{chunk-D7VT2LED.js.map → chunk-LELJRLPY.js.map} +0 -0
- /package/dist/{chunk-L63GFNKL.js.map → chunk-LMMQKZK3.js.map} +0 -0
- /package/dist/{chunk-ZP73EM2X.js.map → chunk-LQ23DMTT.js.map} +0 -0
- /package/dist/{chunk-7QVYVSEH.js.map → chunk-LV6ZB6CA.js.map} +0 -0
- /package/dist/{chunk-KIGC55FQ.js.map → chunk-M5IJP3YW.js.map} +0 -0
- /package/dist/{chunk-AH44WTLJ.js.map → chunk-MWZMVLXL.js.map} +0 -0
- /package/dist/{chunk-AQ55YKEV.js.map → chunk-N4VCHRLD.js.map} +0 -0
- /package/dist/{chunk-HNHIHXSD.js.map → chunk-NKXHCCLB.js.map} +0 -0
- /package/dist/{chunk-SZ7IVZGD.js.map → chunk-NVCWA4QC.js.map} +0 -0
- /package/dist/{chunk-RUUJXAGT.js.map → chunk-ONWVMYHX.js.map} +0 -0
- /package/dist/{chunk-HMDYSGY6.js.map → chunk-P6P35FY4.js.map} +0 -0
- /package/dist/{chunk-H6WOFMOV.js.map → chunk-P7M22CYB.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
- /package/dist/{chunk-J54B5DGD.js.map → chunk-QOPB6KE3.js.map} +0 -0
- /package/dist/{chunk-DI52XAKG.js.map → chunk-RBULO7DO.js.map} +0 -0
- /package/dist/{chunk-VUV472VH.js.map → chunk-RDESQOEE.js.map} +0 -0
- /package/dist/{chunk-SPFNGHHP.js.map → chunk-RMF763SX.js.map} +0 -0
- /package/dist/{chunk-TQT4AOPO.js.map → chunk-RN6ZCNM5.js.map} +0 -0
- /package/dist/{chunk-QWQB7TOB.js.map → chunk-S2OBXHMN.js.map} +0 -0
- /package/dist/{chunk-UCH2RWFX.js.map → chunk-S3JPD4N7.js.map} +0 -0
- /package/dist/{chunk-HWLIMQE2.js.map → chunk-SF6RFI5Z.js.map} +0 -0
- /package/dist/{chunk-ZXQPAYCS.js.map → chunk-SJV3AOZ2.js.map} +0 -0
- /package/dist/{chunk-Y7LZ5V7N.js.map → chunk-SLULR4GC.js.map} +0 -0
- /package/dist/{chunk-U2SK45U3.js.map → chunk-TFXXMTHV.js.map} +0 -0
- /package/dist/{chunk-2HJKAVAS.js.map → chunk-TYP7GYRI.js.map} +0 -0
- /package/dist/{chunk-KH2D26LQ.js.map → chunk-TYZK56OA.js.map} +0 -0
- /package/dist/{chunk-XPFJSUOR.js.map → chunk-VLDVNZQE.js.map} +0 -0
- /package/dist/{chunk-AIVRD66I.js.map → chunk-W6YK672C.js.map} +0 -0
- /package/dist/{chunk-LVFI5LG7.js.map → chunk-X2NFFBTO.js.map} +0 -0
- /package/dist/{chunk-GRDRVYXJ.js.map → chunk-X45KZOT2.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-AYHNTYVG.js.map → chunk-XIXM6G7I.js.map} +0 -0
- /package/dist/{chunk-ZN7SMKAK.js.map → chunk-XLXYARWC.js.map} +0 -0
- /package/dist/{chunk-MTWD4KMM.js.map → chunk-XVW52M6I.js.map} +0 -0
- /package/dist/{chunk-27MKMTBY.js.map → chunk-YHU5XUF4.js.map} +0 -0
- /package/dist/{chunk-SMBWBEE7.js.map → chunk-YRH3C2OJ.js.map} +0 -0
- /package/dist/{chunk-WUJD4CHZ.js.map → chunk-YXQE67A7.js.map} +0 -0
- /package/dist/{chunk-EVQ33D3N.js.map → chunk-ZHUVMSHI.js.map} +0 -0
- /package/dist/{chunk-VVX5PZFS.js.map → chunk-ZHXSOMYH.js.map} +0 -0
- /package/dist/{chunk-O7OVWKT4.js.map → chunk-ZIEZJMFW.js.map} +0 -0
- /package/dist/{chunk-QZ4U67KO.js.map → chunk-ZSEFGDCI.js.map} +0 -0
- /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
- /package/dist/{resolution-LXFQQ4AE.js.map → graph-edge-decay-ROSUPDX3.js.map} +0 -0
|
@@ -0,0 +1,1286 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SharedFeedbackEntrySchema,
|
|
3
|
+
resolveSharedContextDir
|
|
4
|
+
} from "./chunk-NZLFVLLJ.js";
|
|
5
|
+
import {
|
|
6
|
+
composeSalvagedEnvelope
|
|
7
|
+
} from "./chunk-6ET2VII7.js";
|
|
8
|
+
import {
|
|
9
|
+
StorageManager
|
|
10
|
+
} from "./chunk-S2OBXHMN.js";
|
|
11
|
+
import {
|
|
12
|
+
parseContinuityImprovementLoops
|
|
13
|
+
} from "./chunk-LDXUBPMO.js";
|
|
14
|
+
import {
|
|
15
|
+
sanitizeMemoryContent
|
|
16
|
+
} from "./chunk-5GKPFL3S.js";
|
|
17
|
+
import {
|
|
18
|
+
resolveConsolidationCapabilities,
|
|
19
|
+
resolveConversationContextCapabilities,
|
|
20
|
+
resolveQmdCapabilities
|
|
21
|
+
} from "./chunk-JUOZ62Y7.js";
|
|
22
|
+
import {
|
|
23
|
+
log
|
|
24
|
+
} from "./chunk-3WCASNQZ.js";
|
|
25
|
+
|
|
26
|
+
// src/compounding/engine.ts
|
|
27
|
+
import { createHash } from "crypto";
|
|
28
|
+
import { mkdir, readFile, readdir, unlink, writeFile } from "fs/promises";
|
|
29
|
+
import path from "path";
|
|
30
|
+
var COMPOUNDING_VERSION = 2;
|
|
31
|
+
var RETIREMENT_WINDOW_WEEKS = 8;
|
|
32
|
+
function stableSlug(value) {
|
|
33
|
+
return value.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 80) || "item";
|
|
34
|
+
}
|
|
35
|
+
function tokenizeRecallQuery(text) {
|
|
36
|
+
const seen = /* @__PURE__ */ new Set();
|
|
37
|
+
const out = [];
|
|
38
|
+
for (const token of text.toLowerCase().replace(/[^a-z0-9\s]+/g, " ").split(/\s+/).map((part) => part.trim()).filter((part) => part.length >= 3)) {
|
|
39
|
+
if (seen.has(token)) continue;
|
|
40
|
+
seen.add(token);
|
|
41
|
+
out.push(token);
|
|
42
|
+
}
|
|
43
|
+
return out;
|
|
44
|
+
}
|
|
45
|
+
function weekIdToIndex(weekId) {
|
|
46
|
+
const match = weekId.match(/^(\d{4})-W(\d{2})$/);
|
|
47
|
+
if (!match) return Number.POSITIVE_INFINITY;
|
|
48
|
+
const year = Number(match[1]);
|
|
49
|
+
const week = Number(match[2]);
|
|
50
|
+
if (!Number.isInteger(year) || !Number.isInteger(week) || week < 1 || week > 53) {
|
|
51
|
+
return Number.POSITIVE_INFINITY;
|
|
52
|
+
}
|
|
53
|
+
const jan4 = new Date(Date.UTC(year, 0, 4));
|
|
54
|
+
const jan4Day = jan4.getUTCDay() || 7;
|
|
55
|
+
const isoWeekOneStart = new Date(jan4);
|
|
56
|
+
isoWeekOneStart.setUTCDate(jan4.getUTCDate() - (jan4Day - 1));
|
|
57
|
+
const targetWeekStart = new Date(isoWeekOneStart);
|
|
58
|
+
targetWeekStart.setUTCDate(isoWeekOneStart.getUTCDate() + (week - 1) * 7);
|
|
59
|
+
return Math.floor(targetWeekStart.getTime() / (7 * 24 * 60 * 60 * 1e3));
|
|
60
|
+
}
|
|
61
|
+
function normalizeConfidence(value) {
|
|
62
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return null;
|
|
63
|
+
const clamped = Math.max(0, Math.min(1, value));
|
|
64
|
+
return Number(clamped.toFixed(3));
|
|
65
|
+
}
|
|
66
|
+
function normalizeTags(tags) {
|
|
67
|
+
if (!Array.isArray(tags)) return [];
|
|
68
|
+
return [...new Set(tags.map((tag) => String(tag).trim()).filter((tag) => tag.length > 0))].sort();
|
|
69
|
+
}
|
|
70
|
+
function normalizeEvidenceWindow(start, end) {
|
|
71
|
+
const safeStart = typeof start === "string" && start.trim().length > 0 ? start : null;
|
|
72
|
+
const safeEnd = typeof end === "string" && end.trim().length > 0 ? end : null;
|
|
73
|
+
return { start: safeStart, end: safeEnd };
|
|
74
|
+
}
|
|
75
|
+
function mergeEvidenceWindows(current, next) {
|
|
76
|
+
return {
|
|
77
|
+
start: current.start === null ? next.start : next.start === null ? current.start : current.start <= next.start ? current.start : next.start,
|
|
78
|
+
end: current.end === null ? next.end : next.end === null ? current.end : current.end >= next.end ? current.end : next.end
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function stableMistakeId(category, pattern, agent, workflow) {
|
|
82
|
+
return [
|
|
83
|
+
category,
|
|
84
|
+
agent ? stableSlug(agent) : "global",
|
|
85
|
+
workflow ? stableSlug(workflow) : "default",
|
|
86
|
+
stableSlug(pattern).slice(0, 48)
|
|
87
|
+
].join(":");
|
|
88
|
+
}
|
|
89
|
+
function stableRubricId(kind, subject) {
|
|
90
|
+
return `${kind}:${stableSlug(subject)}`;
|
|
91
|
+
}
|
|
92
|
+
function stablePromotionCandidateId(sourceType, subject, content) {
|
|
93
|
+
const digest = createHash("sha256").update(`${sourceType}\0${subject}\0${content}`).digest("hex").slice(0, 12);
|
|
94
|
+
return `${sourceType}:${digest}`;
|
|
95
|
+
}
|
|
96
|
+
function rubricArtifactFileName(entry, slugCollisions) {
|
|
97
|
+
const slug = stableSlug(entry.subject);
|
|
98
|
+
if ((slugCollisions.get(slug) ?? 0) <= 1) return `${slug}.md`;
|
|
99
|
+
const suffix = createHash("sha256").update(`${entry.kind}:${entry.subject}`).digest("hex").slice(0, 8);
|
|
100
|
+
return `${slug}-${suffix}.md`;
|
|
101
|
+
}
|
|
102
|
+
function inferLegacyMistakeScope(pattern) {
|
|
103
|
+
const separatorIndex = pattern.indexOf(":");
|
|
104
|
+
if (separatorIndex <= 0) return { agent: null, workflow: null };
|
|
105
|
+
const subject = pattern.slice(0, separatorIndex).trim();
|
|
106
|
+
return {
|
|
107
|
+
agent: subject.length > 0 ? subject : null,
|
|
108
|
+
workflow: null
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function inferLegacyMistakeMetadata(pattern) {
|
|
112
|
+
if (pattern.startsWith("memory-action/")) {
|
|
113
|
+
return {
|
|
114
|
+
category: "action",
|
|
115
|
+
agent: null,
|
|
116
|
+
workflow: "memory-actions"
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
const scope = inferLegacyMistakeScope(pattern);
|
|
120
|
+
return {
|
|
121
|
+
category: "feedback",
|
|
122
|
+
agent: scope.agent,
|
|
123
|
+
workflow: scope.workflow
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function normalizePromotionWhitespace(value) {
|
|
127
|
+
return value.replace(/\s+/g, " ").trim();
|
|
128
|
+
}
|
|
129
|
+
function stripTrailingPromotionPunctuation(value) {
|
|
130
|
+
let end = value.length;
|
|
131
|
+
while (end > 0) {
|
|
132
|
+
const ch = value[end - 1];
|
|
133
|
+
if (ch === "," || ch === ":" || ch === ";") end--;
|
|
134
|
+
else break;
|
|
135
|
+
}
|
|
136
|
+
return value.slice(0, end).trim();
|
|
137
|
+
}
|
|
138
|
+
function extractExplicitIfThenRule(value) {
|
|
139
|
+
const normalized = normalizePromotionWhitespace(value);
|
|
140
|
+
const match = normalized.match(/^if\b([\s\S]+?)\bthen\b([\s\S]+?)(?:[.!?])?$/i);
|
|
141
|
+
if (!match) return null;
|
|
142
|
+
const condition = stripTrailingPromotionPunctuation(normalizePromotionWhitespace(match[1] ?? ""));
|
|
143
|
+
const outcome = stripTrailingPromotionPunctuation(normalizePromotionWhitespace(match[2] ?? ""));
|
|
144
|
+
if (condition.length === 0 || outcome.length === 0) return null;
|
|
145
|
+
return `IF ${condition} THEN ${outcome}.`;
|
|
146
|
+
}
|
|
147
|
+
function normalizePromotedGuidanceContent(value) {
|
|
148
|
+
const explicitRule = extractExplicitIfThenRule(value);
|
|
149
|
+
if (explicitRule) return explicitRule;
|
|
150
|
+
const normalized = normalizePromotionWhitespace(value);
|
|
151
|
+
if (normalized.length === 0) return normalized;
|
|
152
|
+
return /[.!?]$/.test(normalized) ? normalized : `${normalized}.`;
|
|
153
|
+
}
|
|
154
|
+
function canonicalPromotionContentKey(value) {
|
|
155
|
+
return normalizePromotedGuidanceContent(value).toLowerCase();
|
|
156
|
+
}
|
|
157
|
+
function lessonContentFromPattern(pattern, agent) {
|
|
158
|
+
if (!agent) return normalizePromotionWhitespace(pattern);
|
|
159
|
+
const prefix = `${agent}:`;
|
|
160
|
+
if (!pattern.startsWith(prefix)) return normalizePromotionWhitespace(pattern);
|
|
161
|
+
const withoutPrefix = pattern.slice(prefix.length).trim();
|
|
162
|
+
return withoutPrefix.length > 0 ? normalizePromotionWhitespace(withoutPrefix) : normalizePromotionWhitespace(pattern);
|
|
163
|
+
}
|
|
164
|
+
function promotionCategoryForContent(content) {
|
|
165
|
+
return extractExplicitIfThenRule(content) ? "rule" : "principle";
|
|
166
|
+
}
|
|
167
|
+
function clampPromotionScore(value) {
|
|
168
|
+
if (!Number.isFinite(value)) return 0.65;
|
|
169
|
+
return Number(Math.max(0.65, Math.min(0.98, value)).toFixed(3));
|
|
170
|
+
}
|
|
171
|
+
function defaultTierMigrationCycleBudget(config, trigger) {
|
|
172
|
+
if (trigger === "extraction") {
|
|
173
|
+
const limit2 = 12;
|
|
174
|
+
return {
|
|
175
|
+
limit: limit2,
|
|
176
|
+
scanLimit: limit2 * 4,
|
|
177
|
+
minIntervalMs: 6e4
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
const limit = resolveQmdCapabilities(config).qmdTierAutoBackfill ? 200 : 50;
|
|
181
|
+
return {
|
|
182
|
+
limit,
|
|
183
|
+
scanLimit: limit * 4,
|
|
184
|
+
minIntervalMs: resolveQmdCapabilities(config).qmdTierAutoBackfill ? 12e4 : 3e5
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function isoWeekId(d) {
|
|
188
|
+
const dt = new Date(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate()));
|
|
189
|
+
const day = dt.getUTCDay() || 7;
|
|
190
|
+
dt.setUTCDate(dt.getUTCDate() + 4 - day);
|
|
191
|
+
const yearStart = new Date(Date.UTC(dt.getUTCFullYear(), 0, 1));
|
|
192
|
+
const week = Math.ceil(((dt.getTime() - yearStart.getTime()) / 864e5 + 1) / 7);
|
|
193
|
+
const yyyy = dt.getUTCFullYear();
|
|
194
|
+
return `${yyyy}-W${String(week).padStart(2, "0")}`;
|
|
195
|
+
}
|
|
196
|
+
function isoMonthId(d) {
|
|
197
|
+
return `${d.getUTCFullYear()}-${String(d.getUTCMonth() + 1).padStart(2, "0")}`;
|
|
198
|
+
}
|
|
199
|
+
function monthIdFromIsoWeek(weekId) {
|
|
200
|
+
const match = weekId.match(/^(\d{4})-W(\d{2})$/);
|
|
201
|
+
if (!match) return isoMonthId(/* @__PURE__ */ new Date());
|
|
202
|
+
const year = Number(match[1]);
|
|
203
|
+
const week = Number(match[2]);
|
|
204
|
+
const jan4 = new Date(Date.UTC(year, 0, 4));
|
|
205
|
+
const jan4Day = jan4.getUTCDay() || 7;
|
|
206
|
+
const isoWeekOneMonday = new Date(jan4);
|
|
207
|
+
isoWeekOneMonday.setUTCDate(jan4.getUTCDate() - (jan4Day - 1));
|
|
208
|
+
const monday = new Date(isoWeekOneMonday);
|
|
209
|
+
monday.setUTCDate(isoWeekOneMonday.getUTCDate() + (week - 1) * 7);
|
|
210
|
+
return isoMonthId(monday);
|
|
211
|
+
}
|
|
212
|
+
function cadenceStaleWindowMs(cadence) {
|
|
213
|
+
switch (cadence) {
|
|
214
|
+
case "daily":
|
|
215
|
+
return 2 * 24 * 60 * 60 * 1e3;
|
|
216
|
+
case "weekly":
|
|
217
|
+
return 10 * 24 * 60 * 60 * 1e3;
|
|
218
|
+
case "monthly":
|
|
219
|
+
return 45 * 24 * 60 * 60 * 1e3;
|
|
220
|
+
case "quarterly":
|
|
221
|
+
return 120 * 24 * 60 * 60 * 1e3;
|
|
222
|
+
default:
|
|
223
|
+
return 45 * 24 * 60 * 60 * 1e3;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
var CompoundingEngine = class {
|
|
227
|
+
constructor(config, storage = new StorageManager(config.memoryDir)) {
|
|
228
|
+
this.config = config;
|
|
229
|
+
this.storage = storage;
|
|
230
|
+
this.weeklyDir = path.join(config.memoryDir, "compounding", "weekly");
|
|
231
|
+
this.rubricsDir = path.join(config.memoryDir, "compounding", "rubrics");
|
|
232
|
+
this.rubricsIndexPath = path.join(this.rubricsDir, "index.json");
|
|
233
|
+
this.rubricsAgentsDir = path.join(this.rubricsDir, "agents");
|
|
234
|
+
this.rubricsWorkflowsDir = path.join(this.rubricsDir, "workflows");
|
|
235
|
+
this.rubricsPath = path.join(config.memoryDir, "compounding", "rubrics.md");
|
|
236
|
+
this.mistakesPath = path.join(config.memoryDir, "compounding", "mistakes.json");
|
|
237
|
+
this.feedbackInboxPath = path.join(resolveSharedContextDir(config), "feedback", "inbox.jsonl");
|
|
238
|
+
this.identityAuditWeeklyDir = path.join(config.memoryDir, "identity", "audits", "weekly");
|
|
239
|
+
this.identityAuditMonthlyDir = path.join(config.memoryDir, "identity", "audits", "monthly");
|
|
240
|
+
this.memoryActionEventsPath = path.join(config.memoryDir, "state", "memory-actions.jsonl");
|
|
241
|
+
}
|
|
242
|
+
config;
|
|
243
|
+
storage;
|
|
244
|
+
weeklyDir;
|
|
245
|
+
rubricsDir;
|
|
246
|
+
rubricsIndexPath;
|
|
247
|
+
rubricsAgentsDir;
|
|
248
|
+
rubricsWorkflowsDir;
|
|
249
|
+
rubricsPath;
|
|
250
|
+
mistakesPath;
|
|
251
|
+
feedbackInboxPath;
|
|
252
|
+
identityAuditWeeklyDir;
|
|
253
|
+
identityAuditMonthlyDir;
|
|
254
|
+
memoryActionEventsPath;
|
|
255
|
+
async ensureDirs() {
|
|
256
|
+
await mkdir(this.weeklyDir, { recursive: true });
|
|
257
|
+
await mkdir(path.dirname(this.mistakesPath), { recursive: true });
|
|
258
|
+
await mkdir(path.dirname(this.rubricsPath), { recursive: true });
|
|
259
|
+
await mkdir(this.rubricsDir, { recursive: true });
|
|
260
|
+
await mkdir(this.rubricsAgentsDir, { recursive: true });
|
|
261
|
+
await mkdir(this.rubricsWorkflowsDir, { recursive: true });
|
|
262
|
+
}
|
|
263
|
+
async synthesizeWeekly(opts) {
|
|
264
|
+
await this.ensureDirs();
|
|
265
|
+
const weekId = opts?.weekId ?? isoWeekId(/* @__PURE__ */ new Date());
|
|
266
|
+
const entries = await this.readFeedbackEntriesForWeek(weekId);
|
|
267
|
+
const actionEvents = await this.readActionEventsForWeek(weekId);
|
|
268
|
+
const actionPatterns = this.buildActionFailurePatterns(actionEvents);
|
|
269
|
+
const outcomeSummary = this.buildActionOutcomeSummary(actionEvents);
|
|
270
|
+
const previousMistakes = await this.readMistakes();
|
|
271
|
+
const mistakes = this.buildMistakes(entries, actionPatterns, weekId, previousMistakes?.registry ?? []);
|
|
272
|
+
const rubrics = this.buildRubricSnapshot(entries, outcomeSummary);
|
|
273
|
+
let promotionCandidates = resolveConsolidationCapabilities(this.config).compoundingSemantic ? this.derivePromotionCandidates(outcomeSummary, mistakes.registry, rubrics) : [];
|
|
274
|
+
if (resolveConversationContextCapabilities(this.config).cmcConsolidation) {
|
|
275
|
+
try {
|
|
276
|
+
const { deriveCausalPromotionCandidates, materializeAfterCausalConsolidation } = await import("./causal-consolidation.js");
|
|
277
|
+
const causalCandidates = await deriveCausalPromotionCandidates({
|
|
278
|
+
memoryDir: this.config.memoryDir,
|
|
279
|
+
causalTrajectoryStoreDir: this.config.causalTrajectoryStoreDir,
|
|
280
|
+
gatewayConfig: this.config.gatewayConfig,
|
|
281
|
+
gatewayAgentId: this.config.modelSource === "gateway" ? this.config.gatewayAgentId || void 0 : void 0,
|
|
282
|
+
modelChain: this.config.modelSource === "gateway" ? this.config.taskModelChain : void 0,
|
|
283
|
+
workspaceDir: this.config.workspaceDir,
|
|
284
|
+
pluginConfig: this.config,
|
|
285
|
+
config: {
|
|
286
|
+
minRecurrence: this.config.cmcConsolidationMinRecurrence,
|
|
287
|
+
minSessions: this.config.cmcConsolidationMinSessions,
|
|
288
|
+
successThreshold: this.config.cmcConsolidationSuccessThreshold
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
if (causalCandidates.length > 0) {
|
|
292
|
+
promotionCandidates = [...promotionCandidates, ...causalCandidates];
|
|
293
|
+
}
|
|
294
|
+
try {
|
|
295
|
+
await materializeAfterCausalConsolidation({
|
|
296
|
+
config: this.config,
|
|
297
|
+
memoryDir: this.config.memoryDir
|
|
298
|
+
});
|
|
299
|
+
} catch (materializeError) {
|
|
300
|
+
log.warn(
|
|
301
|
+
`[cmc] Codex materialize post-hook failed (non-fatal): ${materializeError instanceof Error ? materializeError.message : String(materializeError)}`
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
} catch (error) {
|
|
305
|
+
log.warn(`[cmc] causal consolidation in synthesizeWeekly failed (non-fatal): ${error instanceof Error ? error.message : String(error)}`);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
if (resolveConsolidationCapabilities(this.config).calibration) {
|
|
309
|
+
try {
|
|
310
|
+
const { runCalibrationConsolidation } = await import("./calibration.js");
|
|
311
|
+
const calRules = await runCalibrationConsolidation({
|
|
312
|
+
memoryDir: this.config.memoryDir,
|
|
313
|
+
gatewayConfig: this.config.gatewayConfig,
|
|
314
|
+
gatewayAgentId: this.config.modelSource === "gateway" ? this.config.gatewayAgentId || void 0 : void 0,
|
|
315
|
+
modelChain: this.config.modelSource === "gateway" ? this.config.taskModelChain : void 0,
|
|
316
|
+
workspaceDir: this.config.workspaceDir
|
|
317
|
+
});
|
|
318
|
+
log.debug(`[calibration] weekly synthesis produced ${calRules.length} calibration rule(s)`);
|
|
319
|
+
} catch (error) {
|
|
320
|
+
log.warn(`[calibration] weekly consolidation failed (non-fatal): ${error instanceof Error ? error.message : String(error)}`);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
const continuity = resolveConsolidationCapabilities(this.config).continuityAudit ? await this.readContinuityAuditReferences(weekId) : { monthId: monthIdFromIsoWeek(weekId), weeklyPath: null, monthlyPath: null };
|
|
324
|
+
const reportPath = path.join(this.weeklyDir, `${weekId}.md`);
|
|
325
|
+
const md = this.formatWeeklyReport(weekId, entries, mistakes.patterns, mistakes.details, continuity, outcomeSummary, promotionCandidates);
|
|
326
|
+
await writeFile(reportPath, md, "utf-8");
|
|
327
|
+
const reportJsonPath = path.join(this.weeklyDir, `${weekId}.json`);
|
|
328
|
+
const weeklyArtifact = {
|
|
329
|
+
version: COMPOUNDING_VERSION,
|
|
330
|
+
generatedAt: mistakes.updatedAt,
|
|
331
|
+
weekId,
|
|
332
|
+
feedback: {
|
|
333
|
+
count: entries.length,
|
|
334
|
+
byDecision: {
|
|
335
|
+
approved: entries.filter((wrapped) => wrapped.entry.decision === "approved").length,
|
|
336
|
+
approved_with_feedback: entries.filter((wrapped) => wrapped.entry.decision === "approved_with_feedback").length,
|
|
337
|
+
rejected: entries.filter((wrapped) => wrapped.entry.decision === "rejected").length
|
|
338
|
+
},
|
|
339
|
+
entries: entries.map((wrapped) => ({
|
|
340
|
+
agent: wrapped.entry.agent,
|
|
341
|
+
workflow: wrapped.entry.workflow ?? null,
|
|
342
|
+
decision: wrapped.entry.decision,
|
|
343
|
+
reason: wrapped.entry.reason,
|
|
344
|
+
learning: wrapped.entry.learning?.trim() || null,
|
|
345
|
+
outcome: wrapped.entry.outcome?.trim() || null,
|
|
346
|
+
severity: wrapped.entry.severity ?? null,
|
|
347
|
+
confidence: normalizeConfidence(wrapped.entry.confidence),
|
|
348
|
+
tags: normalizeTags(wrapped.entry.tags),
|
|
349
|
+
provenance: `${path.basename(wrapped.sourcePath)}:L${wrapped.sourceLine}#${wrapped.entryId}`,
|
|
350
|
+
evidenceWindow: normalizeEvidenceWindow(wrapped.entry.evidenceWindowStart, wrapped.entry.evidenceWindowEnd)
|
|
351
|
+
}))
|
|
352
|
+
},
|
|
353
|
+
mistakes: {
|
|
354
|
+
count: mistakes.patterns.length,
|
|
355
|
+
patterns: mistakes.patterns,
|
|
356
|
+
registry: mistakes.registry
|
|
357
|
+
},
|
|
358
|
+
rubrics,
|
|
359
|
+
outcomes: outcomeSummary,
|
|
360
|
+
promotionCandidates,
|
|
361
|
+
continuity
|
|
362
|
+
};
|
|
363
|
+
await writeFile(reportJsonPath, JSON.stringify(weeklyArtifact, null, 2) + "\n", "utf-8");
|
|
364
|
+
const rubricsMarkdown = this.formatRubrics(outcomeSummary, rubrics);
|
|
365
|
+
await writeFile(this.rubricsPath, rubricsMarkdown, "utf-8");
|
|
366
|
+
await writeFile(this.rubricsIndexPath, JSON.stringify(rubrics, null, 2) + "\n", "utf-8");
|
|
367
|
+
await this.syncRubricArtifacts(rubrics);
|
|
368
|
+
await writeFile(
|
|
369
|
+
this.mistakesPath,
|
|
370
|
+
JSON.stringify({
|
|
371
|
+
version: COMPOUNDING_VERSION,
|
|
372
|
+
updatedAt: mistakes.updatedAt,
|
|
373
|
+
patterns: mistakes.patterns,
|
|
374
|
+
registry: mistakes.registry
|
|
375
|
+
}, null, 2) + "\n",
|
|
376
|
+
"utf-8"
|
|
377
|
+
);
|
|
378
|
+
log.info(
|
|
379
|
+
`compounding: wrote weekly=${reportPath} weeklyJson=${reportJsonPath} rubrics=${this.rubricsPath} rubricsIndex=${this.rubricsIndexPath} mistakes=${this.mistakesPath}`
|
|
380
|
+
);
|
|
381
|
+
return {
|
|
382
|
+
weekId,
|
|
383
|
+
reportPath,
|
|
384
|
+
reportJsonPath,
|
|
385
|
+
rubricsPath: this.rubricsPath,
|
|
386
|
+
rubricsIndexPath: this.rubricsIndexPath,
|
|
387
|
+
mistakesCount: mistakes.patterns.length,
|
|
388
|
+
promotionCandidateCount: promotionCandidates.length
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
async promoteCandidate(opts) {
|
|
392
|
+
const report = {
|
|
393
|
+
enabled: resolveConsolidationCapabilities(this.config).compounding === true && resolveConsolidationCapabilities(this.config).compoundingSemantic === true,
|
|
394
|
+
dryRun: opts.dryRun === true,
|
|
395
|
+
weekId: opts.weekId,
|
|
396
|
+
promoted: [],
|
|
397
|
+
skipped: [],
|
|
398
|
+
tombstoneBlocked: []
|
|
399
|
+
};
|
|
400
|
+
if (!report.enabled) {
|
|
401
|
+
report.skipped.push({ weekId: opts.weekId, candidateId: opts.candidateId, reason: "disabled" });
|
|
402
|
+
return report;
|
|
403
|
+
}
|
|
404
|
+
const artifact = await this.readWeeklyArtifact(opts.weekId);
|
|
405
|
+
if (!artifact) {
|
|
406
|
+
report.skipped.push({ weekId: opts.weekId, candidateId: opts.candidateId, reason: "weekly-artifact-missing" });
|
|
407
|
+
return report;
|
|
408
|
+
}
|
|
409
|
+
const candidate = artifact.promotionCandidates.find((entry) => entry.id === opts.candidateId);
|
|
410
|
+
if (!candidate) {
|
|
411
|
+
report.skipped.push({ weekId: opts.weekId, candidateId: opts.candidateId, reason: "candidate-not-found" });
|
|
412
|
+
return report;
|
|
413
|
+
}
|
|
414
|
+
const content = normalizePromotedGuidanceContent(candidate.content);
|
|
415
|
+
const persistedContent = sanitizeMemoryContent(content).text;
|
|
416
|
+
const storage = opts.storage ?? new StorageManager(this.config.memoryDir);
|
|
417
|
+
const existing = (await storage.readAllMemories()).find(
|
|
418
|
+
(memory) => memory.frontmatter.category === candidate.category && memory.frontmatter.status !== "archived" && memory.frontmatter.status !== "forgotten" && canonicalPromotionContentKey(memory.content) === canonicalPromotionContentKey(persistedContent)
|
|
419
|
+
);
|
|
420
|
+
if (existing) {
|
|
421
|
+
report.skipped.push({
|
|
422
|
+
weekId: opts.weekId,
|
|
423
|
+
candidateId: opts.candidateId,
|
|
424
|
+
reason: "duplicate-guidance",
|
|
425
|
+
existingMemoryId: existing.frontmatter.id
|
|
426
|
+
});
|
|
427
|
+
return report;
|
|
428
|
+
}
|
|
429
|
+
const tags = [
|
|
430
|
+
"compounding",
|
|
431
|
+
"compounding-promotion",
|
|
432
|
+
`compounding-source-${candidate.sourceType}`,
|
|
433
|
+
...candidate.agent ? [`agent:${stableSlug(candidate.agent)}`] : [],
|
|
434
|
+
...candidate.workflow ? [`workflow:${stableSlug(candidate.workflow)}`] : []
|
|
435
|
+
];
|
|
436
|
+
const uniqueTags = [...new Set(tags)];
|
|
437
|
+
const lineage = [`compounding:${opts.weekId}:${opts.candidateId}`];
|
|
438
|
+
const confidence = clampPromotionScore(candidate.score);
|
|
439
|
+
if (opts.dryRun === true) {
|
|
440
|
+
report.promoted.push({
|
|
441
|
+
id: `dry-run:${opts.weekId}:${opts.candidateId}`,
|
|
442
|
+
candidateId: opts.candidateId,
|
|
443
|
+
category: candidate.category,
|
|
444
|
+
content: persistedContent,
|
|
445
|
+
confidence,
|
|
446
|
+
tags: uniqueTags,
|
|
447
|
+
lineage
|
|
448
|
+
});
|
|
449
|
+
return report;
|
|
450
|
+
}
|
|
451
|
+
const promotionInput = { content: persistedContent, category: candidate.category, confidence, tags: uniqueTags };
|
|
452
|
+
const { id, tombstoneBlocked } = await storage.writeSealedMemory(
|
|
453
|
+
composeSalvagedEnvelope("compounding-promotion", promotionInput, { source: "compounding-promotion" }),
|
|
454
|
+
{ lineage, memoryKind: "note" }
|
|
455
|
+
);
|
|
456
|
+
if (tombstoneBlocked) {
|
|
457
|
+
report.tombstoneBlocked.push({
|
|
458
|
+
id,
|
|
459
|
+
candidateId: opts.candidateId,
|
|
460
|
+
category: candidate.category,
|
|
461
|
+
content: persistedContent
|
|
462
|
+
});
|
|
463
|
+
return report;
|
|
464
|
+
}
|
|
465
|
+
report.promoted.push({
|
|
466
|
+
id,
|
|
467
|
+
candidateId: opts.candidateId,
|
|
468
|
+
category: candidate.category,
|
|
469
|
+
content: persistedContent,
|
|
470
|
+
confidence,
|
|
471
|
+
tags: uniqueTags,
|
|
472
|
+
lineage
|
|
473
|
+
});
|
|
474
|
+
return report;
|
|
475
|
+
}
|
|
476
|
+
async synthesizeContinuityAudit(opts) {
|
|
477
|
+
const period = opts?.period === "monthly" ? "monthly" : "weekly";
|
|
478
|
+
const key = opts?.key?.trim() || (period === "weekly" ? isoWeekId(/* @__PURE__ */ new Date()) : isoMonthId(/* @__PURE__ */ new Date()));
|
|
479
|
+
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
480
|
+
const [identityAnchor, improvementLoopsRaw, openIncidents, closedIncidents, mistakes] = await Promise.all([
|
|
481
|
+
this.readOptionalIdentityAnchorForAudit(),
|
|
482
|
+
this.readOptionalImprovementLoopsForAudit(),
|
|
483
|
+
this.readContinuityIncidentsForAudit(200, "open"),
|
|
484
|
+
this.readContinuityIncidentsForAudit(200, "closed"),
|
|
485
|
+
this.readMistakes()
|
|
486
|
+
]);
|
|
487
|
+
const anchorPresent = (identityAnchor ?? "").trim().length > 0;
|
|
488
|
+
const improvementLoops = improvementLoopsRaw ? parseContinuityImprovementLoops(improvementLoopsRaw) : [];
|
|
489
|
+
const activeLoops = improvementLoops.filter((loop) => loop.status === "active");
|
|
490
|
+
const staleActiveLoops = activeLoops.filter((loop) => {
|
|
491
|
+
const reviewedAt = Date.parse(loop.lastReviewed);
|
|
492
|
+
if (!Number.isFinite(reviewedAt)) return true;
|
|
493
|
+
return Date.now() - reviewedAt > cadenceStaleWindowMs(loop.cadence);
|
|
494
|
+
});
|
|
495
|
+
const hardeningCandidates = [];
|
|
496
|
+
if (!anchorPresent) {
|
|
497
|
+
hardeningCandidates.push("Create/update identity anchor baseline and verify recovery injection path.");
|
|
498
|
+
}
|
|
499
|
+
if (openIncidents.length > 0) {
|
|
500
|
+
hardeningCandidates.push(
|
|
501
|
+
`Close or downgrade ${openIncidents.length} open continuity incident${openIncidents.length === 1 ? "" : "s"}.`
|
|
502
|
+
);
|
|
503
|
+
}
|
|
504
|
+
if (improvementLoops.length === 0) {
|
|
505
|
+
hardeningCandidates.push("Initialize continuity improvement-loops register with cadence and kill conditions.");
|
|
506
|
+
} else if (staleActiveLoops.length > 0) {
|
|
507
|
+
hardeningCandidates.push(
|
|
508
|
+
`Review stale active continuity loop${staleActiveLoops.length === 1 ? "" : "s"}: ${staleActiveLoops.slice(0, 3).map((loop) => loop.id).join(", ")}.`
|
|
509
|
+
);
|
|
510
|
+
}
|
|
511
|
+
if ((mistakes?.patterns.length ?? 0) > 0) {
|
|
512
|
+
hardeningCandidates.push("Review latest compounding mistakes and convert one pattern into preventive continuity rule.");
|
|
513
|
+
}
|
|
514
|
+
const nextAction = hardeningCandidates[0] ?? "No critical drift detected; keep weekly/monthly continuity audit cadence.";
|
|
515
|
+
const lines = [
|
|
516
|
+
`# Continuity Audit \u2014 ${period} ${key}`,
|
|
517
|
+
"",
|
|
518
|
+
`Generated: ${nowIso}`,
|
|
519
|
+
`Scope: ${period}`,
|
|
520
|
+
"",
|
|
521
|
+
"## Signal Summary",
|
|
522
|
+
`- Identity anchor present: ${anchorPresent ? "yes" : "no"}`,
|
|
523
|
+
`- Improvement loops tracked: ${improvementLoops.length}`,
|
|
524
|
+
`- Active improvement loops: ${activeLoops.length}`,
|
|
525
|
+
`- Stale active loops: ${staleActiveLoops.length}`,
|
|
526
|
+
`- Open incidents: ${openIncidents.length}`,
|
|
527
|
+
`- Closed incidents: ${closedIncidents.length}`,
|
|
528
|
+
`- Compounding mistake patterns: ${mistakes?.patterns.length ?? 0}`,
|
|
529
|
+
"",
|
|
530
|
+
"## Drift Checks",
|
|
531
|
+
`- Identity anchor drift: ${anchorPresent ? "pass" : "needs attention"}`,
|
|
532
|
+
`- Incident backlog: ${openIncidents.length === 0 ? "pass" : "needs attention"}`,
|
|
533
|
+
`- Improvement-loop coverage: ${improvementLoops.length > 0 ? "pass" : "needs attention"}`,
|
|
534
|
+
`- Improvement-loop freshness: ${staleActiveLoops.length === 0 ? "pass" : "needs attention"}`,
|
|
535
|
+
"",
|
|
536
|
+
"## Stale Rule Detection",
|
|
537
|
+
`- Open incidents older than closure window: ${openIncidents.length > 0 ? "possible" : "none detected"}`,
|
|
538
|
+
`- Stale active continuity loops: ${staleActiveLoops.length > 0 ? staleActiveLoops.map((l) => l.id).join(", ") : "none detected"}`,
|
|
539
|
+
`- Preventive rule coverage on closed incidents: ${closedIncidents.some((i) => (i.preventiveRule ?? "").trim().length > 0) ? "present" : "not detected"}`,
|
|
540
|
+
"",
|
|
541
|
+
"## Next Hardening Action",
|
|
542
|
+
`- ${nextAction}`,
|
|
543
|
+
"",
|
|
544
|
+
"## Open Incident IDs",
|
|
545
|
+
...openIncidents.length > 0 ? openIncidents.slice(0, 20).map((i) => `- ${i.id}`) : ["- (none)"],
|
|
546
|
+
""
|
|
547
|
+
];
|
|
548
|
+
const reportPath = await this.storage.writeIdentityAudit(period, key, lines.join("\n"));
|
|
549
|
+
return { period, key, reportPath };
|
|
550
|
+
}
|
|
551
|
+
async readMistakes() {
|
|
552
|
+
try {
|
|
553
|
+
const raw = await readFile(this.mistakesPath, "utf-8");
|
|
554
|
+
const parsed = JSON.parse(raw);
|
|
555
|
+
if (!parsed || !Array.isArray(parsed.patterns)) return null;
|
|
556
|
+
if (!Array.isArray(parsed.registry)) {
|
|
557
|
+
const updatedAt = typeof parsed.updatedAt === "string" && parsed.updatedAt.length > 0 ? parsed.updatedAt : (/* @__PURE__ */ new Date(0)).toISOString();
|
|
558
|
+
parsed.registry = parsed.patterns.map((pattern) => {
|
|
559
|
+
const metadata = inferLegacyMistakeMetadata(pattern);
|
|
560
|
+
return {
|
|
561
|
+
id: stableMistakeId(metadata.category, pattern, metadata.agent, metadata.workflow),
|
|
562
|
+
pattern,
|
|
563
|
+
category: metadata.category,
|
|
564
|
+
status: "active",
|
|
565
|
+
agent: metadata.agent,
|
|
566
|
+
workflow: metadata.workflow,
|
|
567
|
+
tags: [],
|
|
568
|
+
severity: null,
|
|
569
|
+
confidence: null,
|
|
570
|
+
outcome: null,
|
|
571
|
+
provenance: [],
|
|
572
|
+
firstSeenAt: updatedAt,
|
|
573
|
+
lastSeenAt: updatedAt,
|
|
574
|
+
recurrenceCount: 1,
|
|
575
|
+
lastWeekId: isoWeekId(new Date(updatedAt)),
|
|
576
|
+
evidenceWindow: { start: null, end: null }
|
|
577
|
+
};
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
return parsed;
|
|
581
|
+
} catch {
|
|
582
|
+
return null;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
async readRubrics() {
|
|
586
|
+
try {
|
|
587
|
+
const raw = await readFile(this.rubricsIndexPath, "utf-8");
|
|
588
|
+
const parsed = JSON.parse(raw);
|
|
589
|
+
if (!parsed || !Array.isArray(parsed.agents) || !Array.isArray(parsed.workflows)) return null;
|
|
590
|
+
parsed.agents = parsed.agents.map((entry) => this.normalizeRubricEntry(entry));
|
|
591
|
+
parsed.workflows = parsed.workflows.map((entry) => this.normalizeRubricEntry(entry));
|
|
592
|
+
return parsed;
|
|
593
|
+
} catch {
|
|
594
|
+
return null;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
async readWeeklyArtifact(weekId) {
|
|
598
|
+
try {
|
|
599
|
+
const raw = await readFile(path.join(this.weeklyDir, `${weekId}.json`), "utf-8");
|
|
600
|
+
const parsed = JSON.parse(raw);
|
|
601
|
+
if (!parsed || parsed.weekId !== weekId || !Array.isArray(parsed.promotionCandidates)) {
|
|
602
|
+
return null;
|
|
603
|
+
}
|
|
604
|
+
return parsed;
|
|
605
|
+
} catch {
|
|
606
|
+
return null;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
async buildRecallSection(query, opts) {
|
|
610
|
+
const [mistakes, rubrics] = await Promise.all([
|
|
611
|
+
this.readMistakes(),
|
|
612
|
+
this.readRubrics()
|
|
613
|
+
]);
|
|
614
|
+
const maxPatterns = Math.max(0, Math.floor(opts?.maxPatterns ?? 40));
|
|
615
|
+
const maxRubrics = Math.max(0, Math.floor(opts?.maxRubrics ?? 4));
|
|
616
|
+
const queryTokens = tokenizeRecallQuery(query);
|
|
617
|
+
const activePatterns = (mistakes?.registry ?? []).filter((entry) => entry.status === "active").sort(
|
|
618
|
+
(a, b) => b.recurrenceCount - a.recurrenceCount || b.lastSeenAt.localeCompare(a.lastSeenAt) || a.pattern.localeCompare(b.pattern)
|
|
619
|
+
);
|
|
620
|
+
const topPatterns = activePatterns.slice(0, maxPatterns);
|
|
621
|
+
const allRubrics = [
|
|
622
|
+
...rubrics?.workflows ?? [],
|
|
623
|
+
...rubrics?.agents ?? []
|
|
624
|
+
];
|
|
625
|
+
const scoredRubrics = allRubrics.map((entry) => ({
|
|
626
|
+
entry,
|
|
627
|
+
score: this.scoreRubricForQuery(entry, queryTokens)
|
|
628
|
+
})).sort(
|
|
629
|
+
(a, b) => b.score - a.score || b.entry.observations.length - a.entry.observations.length || a.entry.subject.localeCompare(b.entry.subject)
|
|
630
|
+
);
|
|
631
|
+
const topRubrics = scoredRubrics.filter((item) => item.score > 0 || queryTokens.length === 0).slice(0, maxRubrics).map((item) => item.entry);
|
|
632
|
+
if (topPatterns.length === 0 && topRubrics.length === 0) return null;
|
|
633
|
+
const lines = [
|
|
634
|
+
"## Institutional Learning (Compounded)",
|
|
635
|
+
""
|
|
636
|
+
];
|
|
637
|
+
if (topPatterns.length > 0) {
|
|
638
|
+
lines.push("Avoid repeating these patterns:");
|
|
639
|
+
for (const entry of topPatterns) {
|
|
640
|
+
const scope = entry.workflow ?? entry.agent ?? null;
|
|
641
|
+
const metadata = [`recurrence=${entry.recurrenceCount}`];
|
|
642
|
+
if (scope) metadata.push(`scope=${scope}`);
|
|
643
|
+
lines.push(`- ${entry.pattern} _(${metadata.join(", ")})_`);
|
|
644
|
+
}
|
|
645
|
+
lines.push("");
|
|
646
|
+
}
|
|
647
|
+
if (topRubrics.length > 0) {
|
|
648
|
+
lines.push("Active rubrics:");
|
|
649
|
+
for (const rubric of topRubrics) {
|
|
650
|
+
const notes = rubric.observations.slice(0, 2).join("; ");
|
|
651
|
+
lines.push(`- ${rubric.kind} ${rubric.subject}: ${notes}`);
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
return lines.join("\n");
|
|
655
|
+
}
|
|
656
|
+
tierMigrationCycleBudget(trigger) {
|
|
657
|
+
return defaultTierMigrationCycleBudget(this.config, trigger);
|
|
658
|
+
}
|
|
659
|
+
async readFeedbackEntriesForWeek(weekId) {
|
|
660
|
+
const out = [];
|
|
661
|
+
try {
|
|
662
|
+
const raw = await readFile(this.feedbackInboxPath, "utf-8");
|
|
663
|
+
const lines = raw.split("\n");
|
|
664
|
+
for (let idx = 0; idx < lines.length; idx += 1) {
|
|
665
|
+
const line = lines[idx];
|
|
666
|
+
if (!line.trim()) continue;
|
|
667
|
+
try {
|
|
668
|
+
const obj = JSON.parse(line);
|
|
669
|
+
const parsed = SharedFeedbackEntrySchema.safeParse(obj);
|
|
670
|
+
if (!parsed.success) continue;
|
|
671
|
+
const d = new Date(parsed.data.date);
|
|
672
|
+
if (!Number.isFinite(d.getTime())) continue;
|
|
673
|
+
if (isoWeekId(d) !== weekId) continue;
|
|
674
|
+
const sourceLine = idx + 1;
|
|
675
|
+
out.push({
|
|
676
|
+
entry: parsed.data,
|
|
677
|
+
sourceLine,
|
|
678
|
+
sourcePath: this.feedbackInboxPath,
|
|
679
|
+
entryId: `${parsed.data.agent}-${parsed.data.date}-${sourceLine}`.replace(/[^a-zA-Z0-9._:-]/g, "_")
|
|
680
|
+
});
|
|
681
|
+
} catch {
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
} catch {
|
|
685
|
+
}
|
|
686
|
+
return out;
|
|
687
|
+
}
|
|
688
|
+
buildActionFailurePatterns(events) {
|
|
689
|
+
const out = [];
|
|
690
|
+
for (const event of events) {
|
|
691
|
+
const failed = event.outcome === "failed" || event.outcome === "skipped";
|
|
692
|
+
if (!failed && event.policyDecision === null) continue;
|
|
693
|
+
const suffix = event.reason && event.reason.trim().length > 0 ? ` - ${event.reason.trim().slice(0, 140)}` : "";
|
|
694
|
+
out.push(
|
|
695
|
+
`memory-action/${event.namespace}: ${event.action} ${event.outcome}${event.policyDecision ? `/${event.policyDecision}` : ""}${suffix}`
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
return out;
|
|
699
|
+
}
|
|
700
|
+
async readActionEventsForWeek(weekId) {
|
|
701
|
+
const out = [];
|
|
702
|
+
const rows = await this.storage.readMemoryActionEventRows(Number.MAX_SAFE_INTEGER);
|
|
703
|
+
for (const row of rows) {
|
|
704
|
+
const event = row.event;
|
|
705
|
+
const ts = new Date(event.timestamp);
|
|
706
|
+
if (!Number.isFinite(ts.getTime()) || isoWeekId(ts) !== weekId) continue;
|
|
707
|
+
out.push({
|
|
708
|
+
line: row.line,
|
|
709
|
+
action: event.action,
|
|
710
|
+
outcome: event.outcome,
|
|
711
|
+
policyDecision: event.policyDecision === "deny" || event.policyDecision === "defer" ? event.policyDecision : null,
|
|
712
|
+
namespace: typeof event.namespace === "string" && event.namespace.length > 0 ? event.namespace : "default",
|
|
713
|
+
reason: typeof event.reason === "string" ? event.reason : null
|
|
714
|
+
});
|
|
715
|
+
}
|
|
716
|
+
return out;
|
|
717
|
+
}
|
|
718
|
+
buildActionOutcomeSummary(events) {
|
|
719
|
+
const byAction = /* @__PURE__ */ new Map();
|
|
720
|
+
for (const event of events) {
|
|
721
|
+
const key = event.action;
|
|
722
|
+
const acc = byAction.get(key) ?? {
|
|
723
|
+
counts: { applied: 0, skipped: 0, failed: 0 },
|
|
724
|
+
provenance: /* @__PURE__ */ new Set()
|
|
725
|
+
};
|
|
726
|
+
if (event.outcome === "applied") acc.counts.applied += 1;
|
|
727
|
+
else if (event.outcome === "skipped") acc.counts.skipped += 1;
|
|
728
|
+
else acc.counts.failed += 1;
|
|
729
|
+
acc.provenance.add(`${path.basename(this.memoryActionEventsPath)}:L${event.line}`);
|
|
730
|
+
byAction.set(key, acc);
|
|
731
|
+
}
|
|
732
|
+
const out = [];
|
|
733
|
+
for (const [action, data] of byAction.entries()) {
|
|
734
|
+
const total = data.counts.applied + data.counts.skipped + data.counts.failed;
|
|
735
|
+
if (total <= 0) continue;
|
|
736
|
+
const weightedScore = Number(((data.counts.applied * 1 - data.counts.skipped * 0.5 - data.counts.failed * 1.5) / total).toFixed(3));
|
|
737
|
+
out.push({
|
|
738
|
+
action,
|
|
739
|
+
counts: data.counts,
|
|
740
|
+
total,
|
|
741
|
+
weightedScore,
|
|
742
|
+
provenance: [...data.provenance].sort().slice(0, 8)
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
out.sort((a, b) => b.total - a.total || b.weightedScore - a.weightedScore || a.action.localeCompare(b.action));
|
|
746
|
+
return out;
|
|
747
|
+
}
|
|
748
|
+
derivePromotionCandidates(summary, mistakes, rubrics) {
|
|
749
|
+
const deduped = /* @__PURE__ */ new Map();
|
|
750
|
+
const upsert = (candidate) => {
|
|
751
|
+
const key = `${candidate.category}:${canonicalPromotionContentKey(candidate.content)}`;
|
|
752
|
+
const existing = deduped.get(key);
|
|
753
|
+
if (!existing) {
|
|
754
|
+
deduped.set(key, candidate);
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
const mergedProvenance = [.../* @__PURE__ */ new Set([...existing.provenance, ...candidate.provenance])];
|
|
758
|
+
if (candidate.score > existing.score) {
|
|
759
|
+
deduped.set(key, {
|
|
760
|
+
...candidate,
|
|
761
|
+
provenance: mergedProvenance
|
|
762
|
+
});
|
|
763
|
+
return;
|
|
764
|
+
}
|
|
765
|
+
existing.provenance = mergedProvenance;
|
|
766
|
+
};
|
|
767
|
+
for (const item of summary) {
|
|
768
|
+
if (item.total < 3) continue;
|
|
769
|
+
if (item.weightedScore < 0.3) continue;
|
|
770
|
+
const content = normalizePromotedGuidanceContent(
|
|
771
|
+
`Prefer ${item.action} when the same workflow recurs; this week's outcomes were applied=${item.counts.applied}, skipped=${item.counts.skipped}, failed=${item.counts.failed}.`
|
|
772
|
+
);
|
|
773
|
+
upsert({
|
|
774
|
+
id: stablePromotionCandidateId("action-outcome", item.action, content),
|
|
775
|
+
sourceType: "action-outcome",
|
|
776
|
+
subject: item.action,
|
|
777
|
+
category: promotionCategoryForContent(content),
|
|
778
|
+
content,
|
|
779
|
+
score: item.weightedScore,
|
|
780
|
+
rationale: "High applied ratio with low failure/skips in weekly outcome telemetry.",
|
|
781
|
+
outcome: item.counts,
|
|
782
|
+
provenance: item.provenance,
|
|
783
|
+
agent: null,
|
|
784
|
+
workflow: "memory-actions"
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
for (const entry of mistakes) {
|
|
788
|
+
if (entry.status !== "active") continue;
|
|
789
|
+
if (entry.recurrenceCount < 2) continue;
|
|
790
|
+
const content = normalizePromotedGuidanceContent(lessonContentFromPattern(entry.pattern, entry.agent));
|
|
791
|
+
if (content.length === 0) continue;
|
|
792
|
+
const confidence = entry.confidence ?? 0.75;
|
|
793
|
+
const score = Number(Math.min(0.97, 0.45 + Math.min(entry.recurrenceCount, 6) * 0.08 + confidence * 0.15).toFixed(3));
|
|
794
|
+
upsert({
|
|
795
|
+
id: stablePromotionCandidateId("mistake-pattern", entry.id, content),
|
|
796
|
+
sourceType: "mistake-pattern",
|
|
797
|
+
subject: entry.pattern,
|
|
798
|
+
category: promotionCategoryForContent(content),
|
|
799
|
+
content,
|
|
800
|
+
score,
|
|
801
|
+
rationale: `Recurring lesson still active after ${entry.recurrenceCount} confirmations in the mistake registry.`,
|
|
802
|
+
outcome: null,
|
|
803
|
+
provenance: entry.provenance.length > 0 ? entry.provenance : [`mistakes.json#${entry.id}`],
|
|
804
|
+
agent: entry.agent,
|
|
805
|
+
workflow: entry.workflow
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
for (const rubric of [...rubrics.workflows, ...rubrics.agents]) {
|
|
809
|
+
for (const observation of this.getRubricObservationEntries(rubric)) {
|
|
810
|
+
if (this.isSyntheticOutcomeRubricObservation(observation.note)) continue;
|
|
811
|
+
const evidenceCount = observation.provenance.length;
|
|
812
|
+
if (evidenceCount < 2) continue;
|
|
813
|
+
const content = normalizePromotedGuidanceContent(observation.note);
|
|
814
|
+
if (content.length === 0) continue;
|
|
815
|
+
const score = Number(Math.min(0.95, 0.5 + Math.min(evidenceCount, 5) * 0.08).toFixed(3));
|
|
816
|
+
upsert({
|
|
817
|
+
id: stablePromotionCandidateId("rubric", `${rubric.id}:${observation.note}`, content),
|
|
818
|
+
sourceType: "rubric",
|
|
819
|
+
subject: `${rubric.kind}:${rubric.subject}`,
|
|
820
|
+
category: promotionCategoryForContent(content),
|
|
821
|
+
content,
|
|
822
|
+
score,
|
|
823
|
+
rationale: `Rubric guidance repeated across ${evidenceCount} supporting observations.`,
|
|
824
|
+
outcome: null,
|
|
825
|
+
provenance: observation.provenance,
|
|
826
|
+
agent: rubric.kind === "agent" ? rubric.subject : null,
|
|
827
|
+
workflow: rubric.kind === "workflow" ? rubric.subject : null
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
return [...deduped.values()].sort((a, b) => b.score - a.score || a.subject.localeCompare(b.subject)).slice(0, 10);
|
|
832
|
+
}
|
|
833
|
+
buildMistakes(entries, actionPatterns = [], weekId, previousRegistry = []) {
|
|
834
|
+
const patterns = [];
|
|
835
|
+
const evidenceByPattern = /* @__PURE__ */ new Map();
|
|
836
|
+
for (const wrapped of entries) {
|
|
837
|
+
const e = wrapped.entry;
|
|
838
|
+
const pattern = e.learning && e.learning.trim().length > 0 ? `${e.agent}: ${e.learning.trim()}` : e.decision === "rejected" ? `${e.agent}: ${e.reason.trim()}`.slice(0, 240) : null;
|
|
839
|
+
if (!pattern) continue;
|
|
840
|
+
const provenance = [`${path.basename(wrapped.sourcePath)}:L${wrapped.sourceLine}#${wrapped.entryId}`];
|
|
841
|
+
patterns.push({ pattern, provenance });
|
|
842
|
+
const previous = evidenceByPattern.get(pattern) ?? {
|
|
843
|
+
category: "feedback",
|
|
844
|
+
agent: e.agent,
|
|
845
|
+
workflow: e.workflow ?? null,
|
|
846
|
+
tags: /* @__PURE__ */ new Set(),
|
|
847
|
+
severity: e.severity ?? null,
|
|
848
|
+
confidence: normalizeConfidence(e.confidence),
|
|
849
|
+
outcome: e.outcome?.trim() || null,
|
|
850
|
+
timestamps: [],
|
|
851
|
+
evidenceWindow: normalizeEvidenceWindow(e.evidenceWindowStart, e.evidenceWindowEnd)
|
|
852
|
+
};
|
|
853
|
+
for (const tag of normalizeTags(e.tags)) previous.tags.add(tag);
|
|
854
|
+
previous.timestamps.push(e.date);
|
|
855
|
+
if (previous.workflow === null && e.workflow) previous.workflow = e.workflow;
|
|
856
|
+
if (previous.severity === null && e.severity) previous.severity = e.severity;
|
|
857
|
+
if (previous.confidence === null) previous.confidence = normalizeConfidence(e.confidence);
|
|
858
|
+
if (previous.outcome === null && e.outcome) previous.outcome = e.outcome.trim();
|
|
859
|
+
const nextEvidenceWindow = normalizeEvidenceWindow(e.evidenceWindowStart, e.evidenceWindowEnd);
|
|
860
|
+
previous.evidenceWindow = mergeEvidenceWindows(previous.evidenceWindow, nextEvidenceWindow);
|
|
861
|
+
evidenceByPattern.set(pattern, previous);
|
|
862
|
+
}
|
|
863
|
+
for (const pattern of actionPatterns) {
|
|
864
|
+
patterns.push({ pattern, provenance: [`${path.basename(this.memoryActionEventsPath)}:*`] });
|
|
865
|
+
const previous = evidenceByPattern.get(pattern) ?? {
|
|
866
|
+
category: "action",
|
|
867
|
+
agent: null,
|
|
868
|
+
workflow: "memory-actions",
|
|
869
|
+
tags: /* @__PURE__ */ new Set(),
|
|
870
|
+
severity: "medium",
|
|
871
|
+
confidence: null,
|
|
872
|
+
outcome: null,
|
|
873
|
+
timestamps: [],
|
|
874
|
+
evidenceWindow: { start: null, end: null }
|
|
875
|
+
};
|
|
876
|
+
evidenceByPattern.set(pattern, previous);
|
|
877
|
+
}
|
|
878
|
+
const byPattern = /* @__PURE__ */ new Map();
|
|
879
|
+
for (const item of patterns) {
|
|
880
|
+
const existing = byPattern.get(item.pattern) ?? /* @__PURE__ */ new Set();
|
|
881
|
+
for (const provenance of item.provenance) existing.add(provenance);
|
|
882
|
+
byPattern.set(item.pattern, existing);
|
|
883
|
+
}
|
|
884
|
+
const details = [...byPattern.entries()].map(([pattern, provenance]) => ({ pattern, provenance: [...provenance].sort() })).slice(0, 500);
|
|
885
|
+
const previousById = new Map(previousRegistry.map((entry) => [entry.id, entry]));
|
|
886
|
+
const previousByPattern = new Map(previousRegistry.map((entry) => [entry.pattern, entry]));
|
|
887
|
+
const registry = details.map((detail) => {
|
|
888
|
+
const evidence = evidenceByPattern.get(detail.pattern);
|
|
889
|
+
const id = stableMistakeId(
|
|
890
|
+
evidence?.category ?? "feedback",
|
|
891
|
+
detail.pattern,
|
|
892
|
+
evidence?.agent ?? null,
|
|
893
|
+
evidence?.workflow ?? null
|
|
894
|
+
);
|
|
895
|
+
const previous = previousById.get(id) ?? previousByPattern.get(detail.pattern);
|
|
896
|
+
const timestamps = (evidence?.timestamps ?? []).filter((value) => typeof value === "string" && value.length > 0).sort();
|
|
897
|
+
const firstSeenAt = previous?.firstSeenAt ?? timestamps[0] ?? (/* @__PURE__ */ new Date()).toISOString();
|
|
898
|
+
const lastSeenAt = timestamps[timestamps.length - 1] ?? previous?.lastSeenAt ?? firstSeenAt;
|
|
899
|
+
return {
|
|
900
|
+
id,
|
|
901
|
+
pattern: detail.pattern,
|
|
902
|
+
category: evidence?.category ?? "feedback",
|
|
903
|
+
status: "active",
|
|
904
|
+
agent: evidence?.agent ?? null,
|
|
905
|
+
workflow: evidence?.workflow ?? null,
|
|
906
|
+
tags: evidence ? [...evidence.tags].sort() : [],
|
|
907
|
+
severity: evidence?.severity ?? null,
|
|
908
|
+
confidence: evidence?.confidence ?? null,
|
|
909
|
+
outcome: evidence?.outcome ?? null,
|
|
910
|
+
provenance: detail.provenance,
|
|
911
|
+
firstSeenAt,
|
|
912
|
+
lastSeenAt,
|
|
913
|
+
recurrenceCount: previous?.lastWeekId === weekId ? previous.recurrenceCount : (previous?.recurrenceCount ?? 0) + 1,
|
|
914
|
+
lastWeekId: weekId,
|
|
915
|
+
evidenceWindow: evidence?.evidenceWindow ?? { start: null, end: null },
|
|
916
|
+
retiredAt: null
|
|
917
|
+
};
|
|
918
|
+
});
|
|
919
|
+
const seenIds = new Set(registry.map((entry) => entry.id));
|
|
920
|
+
const seenPatterns = new Set(registry.map((entry) => entry.pattern));
|
|
921
|
+
for (const previous of previousRegistry) {
|
|
922
|
+
if (seenIds.has(previous.id) || seenPatterns.has(previous.pattern)) continue;
|
|
923
|
+
const staleWeeks = weekIdToIndex(weekId) - weekIdToIndex(previous.lastWeekId);
|
|
924
|
+
registry.push({
|
|
925
|
+
...previous,
|
|
926
|
+
status: staleWeeks >= RETIREMENT_WINDOW_WEEKS ? "retired" : previous.status,
|
|
927
|
+
retiredAt: staleWeeks >= RETIREMENT_WINDOW_WEEKS ? previous.retiredAt ?? (/* @__PURE__ */ new Date()).toISOString() : previous.retiredAt ?? null
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
registry.sort(
|
|
931
|
+
(a, b) => Number(b.status === "active") - Number(a.status === "active") || b.recurrenceCount - a.recurrenceCount || b.lastSeenAt.localeCompare(a.lastSeenAt) || a.pattern.localeCompare(b.pattern)
|
|
932
|
+
);
|
|
933
|
+
return {
|
|
934
|
+
version: COMPOUNDING_VERSION,
|
|
935
|
+
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
936
|
+
patterns: details.map((d) => d.pattern),
|
|
937
|
+
details,
|
|
938
|
+
registry
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
formatWeeklyReport(weekId, entries, patterns, patternDetails, continuity, outcomeSummary, promotionCandidates) {
|
|
942
|
+
const byAgent = /* @__PURE__ */ new Map();
|
|
943
|
+
for (const wrapped of entries) {
|
|
944
|
+
const list = byAgent.get(wrapped.entry.agent) ?? [];
|
|
945
|
+
list.push(wrapped);
|
|
946
|
+
byAgent.set(wrapped.entry.agent, list);
|
|
947
|
+
}
|
|
948
|
+
const lines = [
|
|
949
|
+
`# Weekly Compounding \u2014 ${weekId}`,
|
|
950
|
+
"",
|
|
951
|
+
"This file is generated by Engram's compounding engine (v5.0).",
|
|
952
|
+
"",
|
|
953
|
+
"## Summary",
|
|
954
|
+
`- Feedback entries: ${entries.length}`,
|
|
955
|
+
`- Mistake patterns: ${patterns.length}`,
|
|
956
|
+
"",
|
|
957
|
+
"## By Agent"
|
|
958
|
+
];
|
|
959
|
+
if (byAgent.size === 0) {
|
|
960
|
+
lines.push("- (none)");
|
|
961
|
+
} else {
|
|
962
|
+
for (const [agent, list] of Array.from(byAgent.entries()).sort((a, b) => a[0].localeCompare(b[0]))) {
|
|
963
|
+
const approved = list.filter((e) => e.entry.decision === "approved").length;
|
|
964
|
+
const awf = list.filter((e) => e.entry.decision === "approved_with_feedback").length;
|
|
965
|
+
const rejected = list.filter((e) => e.entry.decision === "rejected").length;
|
|
966
|
+
lines.push(`### ${agent}`);
|
|
967
|
+
lines.push(`- approved: ${approved}`);
|
|
968
|
+
lines.push(`- approved_with_feedback: ${awf}`);
|
|
969
|
+
lines.push(`- rejected: ${rejected}`);
|
|
970
|
+
const provenance = list.slice(0, 3).map((e) => `${path.basename(e.sourcePath)}:L${e.sourceLine}#${e.entryId}`);
|
|
971
|
+
if (provenance.length > 0) {
|
|
972
|
+
lines.push(`- provenance: ${provenance.join(", ")}`);
|
|
973
|
+
}
|
|
974
|
+
lines.push("");
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
lines.push("## Patterns (Avoid / Prefer)");
|
|
978
|
+
if (patterns.length === 0) {
|
|
979
|
+
lines.push("- (none yet)");
|
|
980
|
+
} else {
|
|
981
|
+
const detailMap = new Map(patternDetails.map((d) => [d.pattern, d.provenance]));
|
|
982
|
+
for (const p of patterns.slice(0, 100)) {
|
|
983
|
+
const provenance = detailMap.get(p) ?? [];
|
|
984
|
+
if (provenance.length > 0) {
|
|
985
|
+
lines.push(`- ${p} _(source: ${provenance.join(", ")})_`);
|
|
986
|
+
} else {
|
|
987
|
+
lines.push(`- ${p}`);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
lines.push("");
|
|
992
|
+
lines.push("## Outcome Weighting");
|
|
993
|
+
if (outcomeSummary.length === 0) {
|
|
994
|
+
lines.push("- (no action outcomes recorded this week)");
|
|
995
|
+
} else {
|
|
996
|
+
for (const item of outcomeSummary.slice(0, 20)) {
|
|
997
|
+
lines.push(
|
|
998
|
+
`- ${item.action}: applied=${item.counts.applied}, skipped=${item.counts.skipped}, failed=${item.counts.failed}, weight=${item.weightedScore} _(source: ${item.provenance.join(", ")})_`
|
|
999
|
+
);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
lines.push("");
|
|
1003
|
+
if (resolveConsolidationCapabilities(this.config).compoundingSemantic) {
|
|
1004
|
+
lines.push("## Promotion Candidates (Advisory)");
|
|
1005
|
+
if (promotionCandidates.length === 0) {
|
|
1006
|
+
lines.push("- (no advisory promotion candidates this week)");
|
|
1007
|
+
} else {
|
|
1008
|
+
for (const candidate of promotionCandidates) {
|
|
1009
|
+
const outcomeSummaryText = candidate.outcome ? ` outcomes[a=${candidate.outcome.applied}, s=${candidate.outcome.skipped}, f=${candidate.outcome.failed}]` : "";
|
|
1010
|
+
lines.push(
|
|
1011
|
+
`- [${candidate.sourceType}] ${candidate.subject} -> ${candidate.content} (category=${candidate.category}, score=${candidate.score}, id=${candidate.id}): ${candidate.rationale}${outcomeSummaryText} _(source: ${candidate.provenance.join(", ")})_`
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
lines.push("");
|
|
1016
|
+
lines.push("_Advisory only: no automatic promotion write is performed by this report. Use `compounding_promote_candidate` or `openclaw engram compounding-promote` to persist one manually._");
|
|
1017
|
+
lines.push("");
|
|
1018
|
+
}
|
|
1019
|
+
if (resolveConsolidationCapabilities(this.config).continuityAudit) {
|
|
1020
|
+
lines.push("## Continuity Audits");
|
|
1021
|
+
if (continuity.weeklyPath) {
|
|
1022
|
+
lines.push(`- weekly: ${continuity.weeklyPath}`);
|
|
1023
|
+
} else {
|
|
1024
|
+
lines.push(`- weekly: (missing for ${weekId})`);
|
|
1025
|
+
}
|
|
1026
|
+
if (continuity.monthlyPath) {
|
|
1027
|
+
lines.push(`- monthly: ${continuity.monthlyPath}`);
|
|
1028
|
+
} else {
|
|
1029
|
+
lines.push(`- monthly: (missing for ${continuity.monthId})`);
|
|
1030
|
+
}
|
|
1031
|
+
lines.push("");
|
|
1032
|
+
}
|
|
1033
|
+
return lines.join("\n");
|
|
1034
|
+
}
|
|
1035
|
+
buildRubricSnapshot(entries, outcomeSummary) {
|
|
1036
|
+
const updatedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
1037
|
+
const byAgent = /* @__PURE__ */ new Map();
|
|
1038
|
+
const byWorkflow = /* @__PURE__ */ new Map();
|
|
1039
|
+
for (const wrapped of entries) {
|
|
1040
|
+
const note = (wrapped.entry.learning && wrapped.entry.learning.trim().length > 0 ? wrapped.entry.learning : wrapped.entry.decision === "rejected" ? wrapped.entry.reason : "").trim();
|
|
1041
|
+
if (!note) continue;
|
|
1042
|
+
const provenance = `${path.basename(wrapped.sourcePath)}:L${wrapped.sourceLine}#${wrapped.entryId}`;
|
|
1043
|
+
const agentEntry = byAgent.get(wrapped.entry.agent) ?? {
|
|
1044
|
+
id: stableRubricId("agent", wrapped.entry.agent),
|
|
1045
|
+
kind: "agent",
|
|
1046
|
+
subject: wrapped.entry.agent,
|
|
1047
|
+
observations: [],
|
|
1048
|
+
tags: [],
|
|
1049
|
+
provenance: [],
|
|
1050
|
+
observationEntries: [],
|
|
1051
|
+
updatedAt
|
|
1052
|
+
};
|
|
1053
|
+
this.addRubricObservation(agentEntry, note, provenance);
|
|
1054
|
+
agentEntry.tags = normalizeTags([...agentEntry.tags, ...normalizeTags(wrapped.entry.tags)]);
|
|
1055
|
+
byAgent.set(wrapped.entry.agent, agentEntry);
|
|
1056
|
+
const workflow = wrapped.entry.workflow?.trim();
|
|
1057
|
+
if (!workflow) continue;
|
|
1058
|
+
const workflowEntry = byWorkflow.get(workflow) ?? {
|
|
1059
|
+
id: stableRubricId("workflow", workflow),
|
|
1060
|
+
kind: "workflow",
|
|
1061
|
+
subject: workflow,
|
|
1062
|
+
observations: [],
|
|
1063
|
+
tags: [],
|
|
1064
|
+
provenance: [],
|
|
1065
|
+
observationEntries: [],
|
|
1066
|
+
updatedAt
|
|
1067
|
+
};
|
|
1068
|
+
this.addRubricObservation(workflowEntry, note, provenance);
|
|
1069
|
+
workflowEntry.tags = normalizeTags([...workflowEntry.tags, ...normalizeTags(wrapped.entry.tags)]);
|
|
1070
|
+
byWorkflow.set(workflow, workflowEntry);
|
|
1071
|
+
}
|
|
1072
|
+
for (const item of outcomeSummary) {
|
|
1073
|
+
const workflowEntry = byWorkflow.get(item.action) ?? {
|
|
1074
|
+
id: stableRubricId("workflow", item.action),
|
|
1075
|
+
kind: "workflow",
|
|
1076
|
+
subject: item.action,
|
|
1077
|
+
observations: [],
|
|
1078
|
+
tags: [],
|
|
1079
|
+
provenance: [],
|
|
1080
|
+
observationEntries: [],
|
|
1081
|
+
updatedAt
|
|
1082
|
+
};
|
|
1083
|
+
this.addRubricObservation(
|
|
1084
|
+
workflowEntry,
|
|
1085
|
+
`Outcome weight=${item.weightedScore} (applied=${item.counts.applied}, skipped=${item.counts.skipped}, failed=${item.counts.failed})`,
|
|
1086
|
+
...item.provenance
|
|
1087
|
+
);
|
|
1088
|
+
byWorkflow.set(item.action, workflowEntry);
|
|
1089
|
+
}
|
|
1090
|
+
return {
|
|
1091
|
+
updatedAt,
|
|
1092
|
+
agents: [...byAgent.values()].sort((a, b) => a.subject.localeCompare(b.subject)),
|
|
1093
|
+
workflows: [...byWorkflow.values()].sort((a, b) => a.subject.localeCompare(b.subject))
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
1096
|
+
formatRubrics(outcomeSummary, snapshot) {
|
|
1097
|
+
const lines = [
|
|
1098
|
+
"# Compounding Rubrics",
|
|
1099
|
+
"",
|
|
1100
|
+
`Generated: ${snapshot.updatedAt}`,
|
|
1101
|
+
"",
|
|
1102
|
+
"Stable, deterministic rubric snapshot generated from weekly feedback + action outcomes.",
|
|
1103
|
+
""
|
|
1104
|
+
];
|
|
1105
|
+
lines.push("## Agent Rubrics");
|
|
1106
|
+
if (snapshot.agents.length === 0) {
|
|
1107
|
+
lines.push("- (none yet)");
|
|
1108
|
+
} else {
|
|
1109
|
+
for (const rubric of snapshot.agents) {
|
|
1110
|
+
lines.push(`### ${rubric.subject}`);
|
|
1111
|
+
const observations = this.getRubricObservationEntries(rubric).slice(0, 8);
|
|
1112
|
+
if (observations.length === 0) {
|
|
1113
|
+
lines.push("- No rubric deltas this week.");
|
|
1114
|
+
} else {
|
|
1115
|
+
for (const observation of observations) {
|
|
1116
|
+
const provenance = observation.provenance.join(", ");
|
|
1117
|
+
lines.push(`- ${observation.note}${provenance ? ` _(source: ${provenance})_` : ""}`);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
lines.push("");
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
lines.push("## Workflow Rubrics");
|
|
1124
|
+
if (snapshot.workflows.length === 0) {
|
|
1125
|
+
lines.push("- (none yet)");
|
|
1126
|
+
} else {
|
|
1127
|
+
for (const rubric of snapshot.workflows) {
|
|
1128
|
+
lines.push(`### ${rubric.subject}`);
|
|
1129
|
+
for (const observation of this.getRubricObservationEntries(rubric).slice(0, 8)) {
|
|
1130
|
+
const provenance = observation.provenance.join(", ");
|
|
1131
|
+
lines.push(`- ${observation.note}${provenance ? ` _(source: ${provenance})_` : ""}`);
|
|
1132
|
+
}
|
|
1133
|
+
lines.push("");
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
lines.push("## Action Outcome Signals");
|
|
1137
|
+
if (outcomeSummary.length === 0) {
|
|
1138
|
+
lines.push("- (none yet)");
|
|
1139
|
+
} else {
|
|
1140
|
+
for (const item of outcomeSummary.slice(0, 20)) {
|
|
1141
|
+
lines.push(
|
|
1142
|
+
`- ${item.action}: weight=${item.weightedScore} (applied=${item.counts.applied}, skipped=${item.counts.skipped}, failed=${item.counts.failed})`
|
|
1143
|
+
);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
lines.push("");
|
|
1147
|
+
return lines.join("\n");
|
|
1148
|
+
}
|
|
1149
|
+
async syncRubricArtifacts(snapshot) {
|
|
1150
|
+
await this.replaceRubricDirectory(this.rubricsAgentsDir, snapshot.agents);
|
|
1151
|
+
await this.replaceRubricDirectory(this.rubricsWorkflowsDir, snapshot.workflows);
|
|
1152
|
+
}
|
|
1153
|
+
async replaceRubricDirectory(dir, entries) {
|
|
1154
|
+
await mkdir(dir, { recursive: true });
|
|
1155
|
+
try {
|
|
1156
|
+
const names = await readdir(dir);
|
|
1157
|
+
await Promise.all(
|
|
1158
|
+
names.filter((name) => name.endsWith(".md")).map((name) => unlink(path.join(dir, name)).catch(() => void 0))
|
|
1159
|
+
);
|
|
1160
|
+
} catch {
|
|
1161
|
+
}
|
|
1162
|
+
const slugCollisions = /* @__PURE__ */ new Map();
|
|
1163
|
+
for (const entry of entries) {
|
|
1164
|
+
const slug = stableSlug(entry.subject);
|
|
1165
|
+
slugCollisions.set(slug, (slugCollisions.get(slug) ?? 0) + 1);
|
|
1166
|
+
}
|
|
1167
|
+
await Promise.all(entries.map(async (entry) => {
|
|
1168
|
+
const observationEntries = this.getRubricObservationEntries(entry);
|
|
1169
|
+
const body = [
|
|
1170
|
+
`# ${entry.kind === "agent" ? "Agent" : "Workflow"} Rubric \u2014 ${entry.subject}`,
|
|
1171
|
+
"",
|
|
1172
|
+
`Updated: ${entry.updatedAt}`,
|
|
1173
|
+
"",
|
|
1174
|
+
"## Observations",
|
|
1175
|
+
...observationEntries.length > 0 ? observationEntries.map((item) => `- ${item.note}`) : ["- (none yet)"],
|
|
1176
|
+
"",
|
|
1177
|
+
"## Provenance",
|
|
1178
|
+
...entry.provenance.length > 0 ? entry.provenance.map((item) => `- ${item}`) : ["- (none yet)"],
|
|
1179
|
+
""
|
|
1180
|
+
].join("\n");
|
|
1181
|
+
const fileName = rubricArtifactFileName(entry, slugCollisions);
|
|
1182
|
+
await writeFile(path.join(dir, fileName), body, "utf-8");
|
|
1183
|
+
}));
|
|
1184
|
+
}
|
|
1185
|
+
scoreRubricForQuery(entry, queryTokens) {
|
|
1186
|
+
if (queryTokens.length === 0) return entry.observations.length;
|
|
1187
|
+
const haystack = [entry.subject, ...entry.observations, ...entry.tags].join(" ").toLowerCase();
|
|
1188
|
+
let score = 0;
|
|
1189
|
+
for (const token of queryTokens) {
|
|
1190
|
+
if (haystack.includes(token)) score += 2;
|
|
1191
|
+
if (entry.subject.toLowerCase().includes(token)) score += 2;
|
|
1192
|
+
}
|
|
1193
|
+
if (score === 0) return 0;
|
|
1194
|
+
return score + Math.min(entry.observations.length, 3);
|
|
1195
|
+
}
|
|
1196
|
+
normalizeRubricEntry(entry) {
|
|
1197
|
+
const normalizedEntries = this.getRubricObservationEntries(entry);
|
|
1198
|
+
return {
|
|
1199
|
+
...entry,
|
|
1200
|
+
observations: normalizedEntries.map((item) => item.note),
|
|
1201
|
+
provenance: [...new Set(normalizedEntries.flatMap((item) => item.provenance))],
|
|
1202
|
+
observationEntries: normalizedEntries
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
1205
|
+
getRubricObservationEntries(entry) {
|
|
1206
|
+
if (Array.isArray(entry.observationEntries) && entry.observationEntries.length > 0) {
|
|
1207
|
+
return entry.observationEntries.map((item) => ({
|
|
1208
|
+
note: item.note,
|
|
1209
|
+
provenance: [...new Set(item.provenance)].sort()
|
|
1210
|
+
}));
|
|
1211
|
+
}
|
|
1212
|
+
return entry.observations.map((note, index) => ({
|
|
1213
|
+
note,
|
|
1214
|
+
provenance: entry.provenance[index] ? [entry.provenance[index]] : entry.provenance[0] ? [entry.provenance[0]] : []
|
|
1215
|
+
}));
|
|
1216
|
+
}
|
|
1217
|
+
isSyntheticOutcomeRubricObservation(note) {
|
|
1218
|
+
return note.trimStart().startsWith("Outcome weight=");
|
|
1219
|
+
}
|
|
1220
|
+
addRubricObservation(entry, note, ...provenance) {
|
|
1221
|
+
const normalized = this.normalizeRubricEntry(entry);
|
|
1222
|
+
const existing = normalized.observationEntries?.find((item) => item.note === note);
|
|
1223
|
+
if (existing) {
|
|
1224
|
+
existing.provenance = [.../* @__PURE__ */ new Set([...existing.provenance, ...provenance])].sort();
|
|
1225
|
+
} else {
|
|
1226
|
+
normalized.observationEntries?.push({
|
|
1227
|
+
note,
|
|
1228
|
+
provenance: [...new Set(provenance)].sort()
|
|
1229
|
+
});
|
|
1230
|
+
}
|
|
1231
|
+
entry.observationEntries = normalized.observationEntries;
|
|
1232
|
+
entry.observations = normalized.observationEntries?.map((item) => item.note) ?? [];
|
|
1233
|
+
entry.provenance = [...new Set((normalized.observationEntries ?? []).flatMap((item) => item.provenance))];
|
|
1234
|
+
}
|
|
1235
|
+
async readOptionalIdentityAnchorForAudit() {
|
|
1236
|
+
try {
|
|
1237
|
+
return await this.storage.readIdentityAnchor();
|
|
1238
|
+
} catch {
|
|
1239
|
+
return null;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
async readOptionalImprovementLoopsForAudit() {
|
|
1243
|
+
try {
|
|
1244
|
+
return await this.storage.readIdentityImprovementLoops();
|
|
1245
|
+
} catch {
|
|
1246
|
+
return null;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
async readContinuityIncidentsForAudit(limit, state) {
|
|
1250
|
+
try {
|
|
1251
|
+
return await this.storage.readContinuityIncidents(limit, state);
|
|
1252
|
+
} catch {
|
|
1253
|
+
return [];
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
async readOptionalIdentityAuditForReference(period, key) {
|
|
1257
|
+
try {
|
|
1258
|
+
return await this.storage.readIdentityAudit(period, key);
|
|
1259
|
+
} catch {
|
|
1260
|
+
return null;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
async readContinuityAuditReferences(weekId) {
|
|
1264
|
+
const monthId = monthIdFromIsoWeek(weekId);
|
|
1265
|
+
const weeklyPath = path.join(this.identityAuditWeeklyDir, `${weekId}.md`);
|
|
1266
|
+
const monthlyPath = path.join(this.identityAuditMonthlyDir, `${monthId}.md`);
|
|
1267
|
+
const [weeklyAudit, monthlyAudit] = await Promise.all([
|
|
1268
|
+
this.readOptionalIdentityAuditForReference("weekly", weekId),
|
|
1269
|
+
this.readOptionalIdentityAuditForReference("monthly", monthId)
|
|
1270
|
+
]);
|
|
1271
|
+
const weeklyExists = (weeklyAudit ?? "").trim().length > 0;
|
|
1272
|
+
const monthlyExists = (monthlyAudit ?? "").trim().length > 0;
|
|
1273
|
+
return {
|
|
1274
|
+
weekId,
|
|
1275
|
+
monthId,
|
|
1276
|
+
weeklyPath: weeklyExists ? weeklyPath : null,
|
|
1277
|
+
monthlyPath: monthlyExists ? monthlyPath : null
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
export {
|
|
1283
|
+
defaultTierMigrationCycleBudget,
|
|
1284
|
+
CompoundingEngine
|
|
1285
|
+
};
|
|
1286
|
+
//# sourceMappingURL=chunk-2CBWEIS4.js.map
|