Fix dict mutation during iteration in file state

NousResearch/hermes-agent · cluster 36643 · agent

Data as of

4 open items. Fix attempted, not merged.

The short answer

1open issue
3open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 3 PRs.

These issues and pull requests address a bug where dictionary cap helpers mutate or evict entries while iterating over them. The fixes involve snapshotting keys or caps before performing mutations to avoid unsafe concurrent modification.

Open issues1

  • Issue#36643Dictionary cap helpers should not mutate dicts during active iteration

Open PRs3

  • PR#36695fix(file): avoid mutating dict caps during iteration
  • PR#36696fix(file-state): snapshot keys before mutating in _cap_dict
  • PR#36829fix: snapshot dict cap evictions
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.50: 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
0
Attempts
0 PRs closed without merging

For your agent

The same facts, typed.