mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 17:05:15 +00:00
* [EV-001] memory-core: filter memory_search session hits by visibility - Move session visibility + listSpawnedSessionKeys to plugin-sdk; sync test hook with sessions-resolution __testing.setDepsForTest - Extract loadCombinedSessionStoreForGateway to config/sessions; re-export from gateway session-utils - Add session-transcript-hit stem resolver for builtin + QMD paths - Post-filter memory_search results before citations/recall; fail closed when requester session key missing; optional corpus=sessions - Tests: stem extraction, visibility filter smoke, existing suites green * chore: sync plugin-sdk exports for session-transcript-hit and session-visibility Run pnpm plugin-sdk:sync-exports so package.json exports match scripts/lib/plugin-sdk-entrypoints.json. Fixes contract tests and lint:plugins:plugin-sdk-subpaths-exported for memory-core imports. * fix(EV-001): cross-agent session memory hits + hoist combined store load - resolveTranscriptStemToSessionKeys: stop filtering by requester agentId so keys from other agents reach createSessionVisibilityGuard (a2a + visibility=all). - Re-export loadCombinedSessionStoreForGateway from session-transcript-hit; filterMemorySearchHitsBySessionVisibility loads the combined store once per pass. - Drop unused agentId from filter params; extend tests (Greptile/Codex review). * fix(memory_search): honor corpus=sessions before maxResults cap Pass sources into MemoryIndexManager.search so FTS/vector queries add source IN (...) before ranking and top-N slice (Codex: non-session hits could fill the window). QMD path: oversample fetch limit for single-source recall, filter by source, then diversify/clamp to the requested maxResults. Wire corpus=sessions from tools; extend MemorySearchManager opts and wrappers. * fix(memory_search): apply corpus=memory source filter like sessions Pass sources: ["memory"] into manager.search so maxResults applies only within the memory index; post-filter for defense in depth. Document corpus=memory in the tool description. * fix: scope qmd session memory search * fix: enforce memory search session visibility (#70761) (thanks @nefainl) --------- Co-authored-by: NefAI <info@nefai.nl> Co-authored-by: Ayaan Zaidi <hi@obviy.us> |
||
|---|---|---|
| .. | ||
| ts-topology | ||
| arg-utils.mjs | ||
| bundled-extension-manifest.ts | ||
| bundled-plugin-build-entries-types.d.ts | ||
| bundled-plugin-build-entries.d.mts | ||
| bundled-plugin-build-entries.d.ts | ||
| bundled-plugin-build-entries.mjs | ||
| bundled-plugin-paths.mjs | ||
| bundled-plugin-root-runtime-mirrors.mjs | ||
| bundled-plugin-source-utils.mjs | ||
| bundled-runtime-sidecar-paths.json | ||
| callsite-guard.mjs | ||
| changed-extensions.mjs | ||
| channel-contract-test-plan.mjs | ||
| check-timing-summary.mjs | ||
| ci-node-test-plan.mjs | ||
| copy-assets.ts | ||
| dependency-ownership.json | ||
| docker-e2e-image.sh | ||
| docker-e2e-logs.sh | ||
| error-format.mjs | ||
| extension-import-boundary-checker.mjs | ||
| extension-package-boundary.ts | ||
| extension-source-classifier.d.mts | ||
| extension-source-classifier.mjs | ||
| extension-test-plan.mjs | ||
| format-generated-module.mjs | ||
| generated-output-utils.mjs | ||
| guard-inventory-utils.mjs | ||
| import-cycle-graph.ts | ||
| ios-version.ts | ||
| live-docker-auth.sh | ||
| live-docker-stage.sh | ||
| local-heavy-check-runtime.mjs | ||
| managed-child-process.mjs | ||
| mintlify-accordion.mjs | ||
| npm-pack-budget.d.mts | ||
| npm-pack-budget.mjs | ||
| npm-publish-plan.mjs | ||
| official-external-channel-catalog.json | ||
| optional-bundled-clusters-types.d.ts | ||
| optional-bundled-clusters.d.mts | ||
| optional-bundled-clusters.d.ts | ||
| optional-bundled-clusters.mjs | ||
| package-root-args.mjs | ||
| pairing-guard-context.mjs | ||
| plugin-clawhub-release.ts | ||
| plugin-npm-release.ts | ||
| plugin-sdk-doc-metadata.ts | ||
| plugin-sdk-entries.d.mts | ||
| plugin-sdk-entries.mjs | ||
| plugin-sdk-entrypoints.json | ||
| plugin-sdk-private-local-only-subpaths.json | ||
| record-shared.mjs | ||
| run-extension-oxlint.mjs | ||
| source-file-scan-cache.mjs | ||
| test-group-report.mjs | ||
| ts-guard-utils.mjs | ||
| tsgo-sparse-guard.mjs | ||
| vitest-batch-runner.mjs | ||
| vitest-local-scheduling.d.mts | ||
| vitest-local-scheduling.mjs | ||
| vitest-report-cli-utils.mjs | ||
| workspace-bootstrap-smoke.mjs | ||