NousResearch/hermes-agent

Stale .pyc cache cleanup after updates

Cluster 6207 · agent. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

0open issues
0open PRs
6items grouped
Known?
Yes. 6 related items grouped here, 2 issues already closed.
Fix event
No fix has been merged to main. 4 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and fixes address TypeError errors caused by stale Python bytecode cache files (.pyc/__pycache__) persisting after code updates or merges, particularly on Windows. The work involves adding or expanding cache cleanup steps in bootstrap and update routines.

Open issues0

No open issues.

Open PRs0

No open pull requests.

4 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · superseded by another PR 1 · other 1

  • #6269 fix(update): clear __pycache__ after code update to prevent stale .pyc errors · duplicate → #3819
  • #7720 fix: auto-cleanup __pycache__ after post-merge · done elsewhere → c4cf20f, #6207
  • #18723 fix(update): expand .pyc cache cleanup to cover ~/.hermes/ user dirs · other → #3819
  • #46058 fix(bootstrap): clear stale Windows bytecode · superseded by another PR
Closed issues · 2
  • Closed#6207Bug: Stale .pyc cache causes TypeError after code update (max_result_size_chars)
  • Closed#45473bug: build_skills_system_prompt() TypeError with compact_categories on Windows post-upgrade
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.29: 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
agent
Closed issues
2
Attempts
4 PRs closed without merging

For your agent

The same facts, typed.