USER_OWNED_EXCLUDE incorrectly filtering nested directories

NousResearch/hermes-agent · cluster 31033 · hermes cli

Data as of

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

The short answer

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

A bug where USER_OWNED_EXCLUDE entries are applied at all directory levels during profile distribution copy, causing nested directories with matching names to be silently dropped. Multiple fixes scope this exclusion to the root level only.

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.

  • #41651 fix: batch salvage of 10 low-risk fixes (@islam666)

    merged to main

    files: agent/context_compressor.py, agent/image_routing.py, agent/model_metadata.py, gateway/platforms/weixin.py, hermes_cli/gateway.py, hermes_cli/profile_distribution.py, hermes_cli/profiles.py, hermes_cli/web_server.py, plugins/google_meet/meet_bot.py, plugins/model-providers/xiaomi/__init__.py, providers/base.py, run_agent.py, scripts/release.py, tests/agent/test_custom_providers_vision.py, tests/agent/test_model_metadata.py, tests/gateway/test_weixin_typing.py, tests/hermes_cli/test_profile_distribution.py, tests/hermes_cli/test_systemd_optional_directives.py, tests/hermes_cli/test_web_server.py, tests/run_agent/test_infinite_compaction_loop.py (+2 more)

4 PRs closed without merging

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

  • #31123 fix(cli): scope USER_OWNED_EXCLUDE to root in profile distribution copy · done elsewhere → e53b74c
  • #37958 fix(profile-dist): restrict USER_OWNED_EXCLUDE copytree ignore to root level · done elsewhere → e53b74c, #37954, #37998
  • #37998 fix: only apply USER_OWNED_EXCLUDE at staged-tree root in copytree (#37954) · done elsewhere → e53b74c, #37958
  • #38063 fix(dist): stop USER_OWNED_EXCLUDE from filtering nested directories during install · merged via another change → #41651
Closed issues · 2
  • Closed#31033[Bug]: hermes profile install --force deletes nested distribution-owned files under skills/<category>/hermes-agent/
  • Closed#37954[Bug]: distribution install/update silently drops nested directories whose names match USER_OWNED_EXCLUDE entries (bin, logs, cache, etc.)
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.26: 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
hermes cli
Merged PRs
#41651
Closed issues
2
Attempts
4 PRs closed without merging
Fix link checked
8 Jun 2026

For your agent

The same facts, typed.