hermes-agent/plugins
spfcraze 89f74d58f6 perf(memory): hoist loop-invariant HRR encodes out of retrieval loops
FactRetriever.search() re-encoded the query vector once per candidate,
related() re-encoded both role atoms once per fact row, and probe()
re-encoded the role-content atom once per row. All three encoders are
deterministic (SHA-256 counter blocks), so the hoisted vectors are
bit-identical to the per-iteration values they replace.

Measured (300-fact store, dim=1024, median of 30 calls): search()
11.62 -> 1.46 ms/call (8.0x; encode_text 30 -> 1 per call), related()
63.08 -> 16.17 ms/call (3.9x; encode_atom 601 -> 3 per call), probe()
431.93 -> 389.36 ms/call (1.1x; dominated by per-fact content encoding,
which is inherent to the algorithm and unchanged).

Tests: call-count regression tests for each hoist plus a bit-exact
parity test of search() against the pre-fix per-candidate loop.
2026-08-02 21:16:34 +05:30
..
browser fix(browser): replace expired cloud sessions 2026-08-02 11:18:41 +05:30
context_engine
…
cron_providers fix(cron): set headers for chronos JWKS requests 2026-07-31 10:17:30 -04:00
dashboard_auth fix(dashboard): set headers for Nous JWKS requests 2026-07-31 10:17:30 -04:00
disk-cleanup fix(disk-cleanup): re-validate stale test entries and protect new dirs from sweep 2026-07-31 22:36:04 -07:00
google_meet
…
hermes-achievements
…
image_gen
…
kanban feat(kanban): expose the per-task reasoning effort over REST 2026-08-01 16:10:03 -05:00
memory perf(memory): hoist loop-invariant HRR encodes out of retrieval loops 2026-08-02 21:16:34 +05:30
model-providers Revert "remove Vercel AI Gateway and Vercel Sandbox (#33067)" 2026-07-29 19:48:37 -07:00
observability
…
platforms refactor(discord): extract shared reply-reference helpers; fix PartialMessage comment 2026-08-02 21:14:36 +05:30
security-guidance
…
spotify
…
teams_pipeline
…
video_gen
…
web
…
__init__.py
…
plugin_utils.py
…