# NousResearch/hermes-agent · Deleted profile directories being recreated by TUI gateway and writers

## Open now

- 1 issue, 2 PRs open on GitHub.
- #97347: \[Bug\]: Deleted profile directory keeps being recreated by TUI gateway
- PR #97367: fix(tui_gateway): reject deleted profile homes
- PR #162859: fix(profiles): late lease, mailbox and cron writers never re-create a deleted profile

These items concern a deleted profile directory being recreated, reportedly by the TUI gateway and by late lease, mailbox, and cron writers. Two of the members are fixes aimed at rejecting deleted profile homes and preventing such writers from recreating them; one is a bug report describing the behavior.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #97347: \[Bug\]: Deleted profile directory keeps being recreated by TUI gateway

## Prior & competing PRs

- **#97367: fix(tui_gateway): reject deleted profile homes**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/tui_gateway/test_compute_host.py`, `tui_gateway/compute_host.py`, `tui_gateway/server.py`
- **#162859: fix(profiles): late lease, mailbox and cron writers never re-create a deleted profile**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `bots/live_delivery.py`, `cron/cancellation.py`, `cron/job_args.py`, `cron/jobs.py`, `cron/scheduler.py`, `cron/scheduler_authority.py`, `cron/scheduler_provider.py`, `hermes_cli/active_sessions.py`, `tests/cron/test_cron_live_bot_delivery.py`, `tests/cron/test_jobs.py`, `tests/hermes_cli/test_deleted_profile_tombstone.py`, `tests/tui_gateway/test_idle_desktop_lease_release.py`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
- Kind: `bug` (from the open issues' GitHub type labels).
