Bot chat performance: capability epoch and skill indexing fixes

NousResearch/hermes-agent · cluster 117788 · skills

Data as of

Nothing open on GitHub. Fix merged in #118962. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #118962. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #118962. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and pull requests address performance problems where archived skills incorrectly influenced the capability epoch, causing unnecessary system prompt rebuilds, and optimize skill indexing using iter_skill_index_files. Additional improvements include reducing SQLite connections and deduplicating memory-context bullets.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #118962 perf: one SQLite connection per delivered reply, memory-context bullets stated once, capability epoch ignores archived skills (salvage #117399, #117789, #117951)

    merged to main

    files: agent/memory_manager.py, gateway/delivery_ledger.py, tests/agent/test_memory_context_dedupe.py, tests/gateway/test_delivery_ledger.py, tests/gateway/test_delivery_ledger_single_connection.py, tests/tools/test_capability_fingerprint_skill_scope.py, tools/bot_mode_probe.py

3 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1 · other 1

  • #117789 perf(bot-mode): the capability epoch counts the skills the model can invoke, not archived ones · done elsewhere → 28bd8cc, 6df4571, eccc9ab, 1238dbc, #118962
  • #117912 perf: use iter_skill_index_files in capability_fingerprint · merged via another change → #117789, #117788
  • #119577 perf: use iter_skill_index_files in capability_fingerprint (closes #117788) · other → #117788
Closed issues · 1
  • Closed#117788[Perf]: the capability epoch counts archived skills, so archiving one rebuilds every Bot Chat's system prompt
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
skills
Merged PRs
#118962
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
22 Sep 2026

For your agent

The same facts, typed.