Profile deletion fixes: log locks and cleanup

NousResearch/hermes-agent · cluster 112538

Data as of

Nothing open on GitHub. Fix merged in #113311. 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 #113311. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #113363. That is separate from the fix event.
Still open
Nothing open on GitHub.

Multiple fixes addressing profile deletion on Windows, particularly releasing held log file locks before deletion proceeds. Also includes related cleanup of session/routing identity on profile deletion.

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.

  • #113311 fix(profiles): deleting a profile purges its session/routing identity (#112727, salvage #112728)

    merged to main

    files: gateway/control_socket.py, gateway/run.py, gateway/run_profile_reconcile.py, gateway/session.py, hermes_cli/profile_cmd.py, hermes_cli/profile_identity.py, hermes_cli/profiles.py, hermes_cli/subcommands/profile.py, hermes_cli/web_routers/profiles.py, hermes_state_gateway.py, tests/gateway/test_profile_identity_purge.py, tests/gateway/test_purge_profile_routing.py, tests/hermes_cli/test_profile_identity_purge_cmd.py, tests/hermes_cli/test_profiles.py, tests/hermes_cli/test_web_profile_delete_settlement.py, tests/hermes_state/test_purge_profile_state.py, website/docs/reference/profile-commands.md, website/docs/user-guide/profiles.md

  • #113363 fix(profiles): renamed profile keeps rollback history, Windows delete releases its log locks, stopped profile is not 'Start failed', mirror follows the active profile (#112973 #112538 #112517 #112844)

    merged to main

    files: gateway/mirror.py, gateway/status.py, hermes_cli/profile_identity.py, hermes_cli/profiles.py, hermes_cli/web_routers/messaging.py, hermes_cli/web_routers/status.py, hermes_logging.py, tests/gateway/test_mirror.py, tests/hermes_cli/test_profile_delete_log_handlers.py, tests/hermes_cli/test_profile_rename_checkpoints.py, tests/hermes_cli/test_web_server_messaging_stale_runtime.py, tests/hermes_cli/test_web_server_profile_unification.py, tests/test_hermes_logging.py, tools/checkpoint_manager_profile_rename.py, website/docs/reference/profile-commands.md

3 PRs closed without merging

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

  • #112542 fix(profiles): release routed log locks before deletion · merged via another change → 3b5456e, #113363
  • #112543 fix(profiles): release routed log handlers held by this process before deleting a profile · merged via another change → 3b5456e, #113363
  • #113087 fix(profiles): Desktop profile delete on Windows no longer fails on held log locks (#112538, salvage #112542, #112543) · done elsewhere → 43e2855, #113363, #113311, #112538
Closed issues · 1
  • Closed#112538Windows: Desktop profile delete fails with WinError 32 on logs/.__agent.lock held by the deleting serve process
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.33: 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
#113311, #113363
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
16 Sep 2026

For your agent

The same facts, typed.