feat: port multi-path holographic recall (#1011) #1028

Open
Rockachopa wants to merge 188 commits from fix/1011 into main
Owner

Closes #1011

Summary:

  • replace the single-path holographic search path with four independently toggleable retrieval lanes: lexical, semantic, graph, and temporal
  • fuse lane outputs with Reciprocal Rank Fusion and keep per-lane contribution traces for inspectable recall debugging
  • expose retrieval traces through provider prefetch and fact_store(action="trace") without adding any mandatory cloud dependency
  • add a prompt-matrix benchmark helper/report that compares fused recall against the legacy Hermes-native path

Benchmark:

  • prompt matrix benchmark improved from baseline_top1_hits=1 to fused_top1_hits=3 (improvement=2) on the new long-horizon fixture set

Verification:

  • PYTHONPATH=/tmp/BURN-7-1 python3 -m pytest -q tests/plugins/memory
  • python3 -m py_compile plugins/memory/holographic/retrieval.py plugins/memory/holographic/init.py plugins/memory/holographic/store.py tests/plugins/memory/test_holographic_retrieval.py
Closes #1011 Summary: - replace the single-path holographic search path with four independently toggleable retrieval lanes: lexical, semantic, graph, and temporal - fuse lane outputs with Reciprocal Rank Fusion and keep per-lane contribution traces for inspectable recall debugging - expose retrieval traces through provider prefetch and fact_store(action="trace") without adding any mandatory cloud dependency - add a prompt-matrix benchmark helper/report that compares fused recall against the legacy Hermes-native path Benchmark: - prompt matrix benchmark improved from baseline_top1_hits=1 to fused_top1_hits=3 (improvement=2) on the new long-horizon fixture set Verification: - PYTHONPATH=/tmp/BURN-7-1 python3 -m pytest -q tests/plugins/memory - python3 -m py_compile plugins/memory/holographic/retrieval.py plugins/memory/holographic/__init__.py plugins/memory/holographic/store.py tests/plugins/memory/test_holographic_retrieval.py
Rockachopa added 3 commits 2026-04-22 15:12:44 +00:00
- add prompt matrix fixture for semantic, graph, and temporal recall
- add failing tests for lane traces, benchmark report, and provider trace access
- add lexical, semantic, graph, and temporal retrieval lanes with RRF fusion
- store retrieval traces on fused searches and expose them through the provider
- add benchmark helpers for prompt-matrix before/after evaluation
fix: tune rerank scoring for temporal recall (#1011)
All checks were successful
Lint / lint (pull_request) Successful in 9s
77be46d9c0
- use temporal lane support during rerank
- prefer explicit correction facts when fused scores are close
- preserve top-1 improvements on the holographic prompt matrix benchmark
All checks were successful
Lint / lint (pull_request) Successful in 9s
This pull request has changes conflicting with the target branch.
  • cli.py
  • gateway/platforms/api_server.py
  • hermes_cli/models.py
  • hermes_cli/web_server.py
  • run_agent.py
  • tests/hermes_cli/test_web_server.py
  • tests/test_batch_executor.py
  • tools/batch_executor.py
  • tools/browser_tool.py
  • tools/file_tools.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/1011:fix/1011
git checkout fix/1011
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#1028