Prevent atomic writers from recreating deleted profiles

NousResearch/hermes-agent · cluster 112592

Data as of

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

The short answer

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

These issues and pull requests address a bug where atomic write operations (such as late cache saves) would recreate a named profile's home directory after it had been deleted. Multiple fix attempts and related changes are grouped here.

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.

  • #112653 Profile rename migrates session/routing identity; deleted profiles are not re-created by atomic writers (#111926, #112592; salvage #111927 #112594 #112601 #112596)

    merged to main

    files: agent/models_dev.py, agent/secret_sources/_cache.py, cli.py, gateway/control_socket.py, gateway/lifecycle_ledger.py, gateway/run.py, gateway/run_profile_reconcile.py, gateway/session.py, gateway/shutdown_flush.py, hermes_cli/auth.py, hermes_cli/auth_oauth_grants.py, hermes_cli/install_identity.py, hermes_cli/local_runtime/supervisor.py, hermes_cli/models.py, hermes_cli/personality.py, hermes_cli/plugin_catalog.py, hermes_cli/process_identity.py, hermes_cli/profile_cmd.py, hermes_cli/profile_identity.py, hermes_cli/profiles.py (+26 more)

4 PRs closed without merging

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

  • #112594 fix: prevent deleted profiles from being recreated by atomic writes · merged via another change → 9085ef9, #112653
  • #112596 fix(profiles): atomic writers no longer re-create a deleted named profile home · merged via another change → 9085ef9, #112653
  • #112597 fix(utils): atomic writers refuse to resurrect a deleted named profile home · done elsewhere → 9085ef9, #112653, #112594, #112601, #112596
  • #112601 fix(utils): atomic writers and their callers refuse to resurrect a deleted named profile home · merged via another change → 9085ef9, #112653
Closed issues · 1
  • Closed#112592Atomic writers re-create a deleted named profile home (late cache save after hermes profile delete)
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

Merged PRs
#112653
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
16 Sep 2026

For your agent

The same facts, typed.