# NousResearch/hermes-agent · Session archive cascade confirmation and audit logging

## Open now

- 1 issue, 1 PR open on GitHub.
- #70185: Desktop sessions silently archived via CTE cascade — session_key=NULL prevents resume
- PR #152027: fix(sessions): gate archive cascade behind explicit confirm + audit log

Two members share the same title proposing to gate the sessions archive cascade behind explicit confirmation plus an audit log. A third reports desktop sessions being silently archived through a CTE cascade, with session_key=NULL preventing resume; the titles suggest these are related, but their contents aren't shown.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 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 `1.00`: 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

- #70185: Desktop sessions silently archived via CTE cascade — session_key=NULL prevents resume

## Prior & competing PRs

- **#134002: fix(sessions): gate archive cascade behind explicit confirm + audit log**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#152027: fix(sessions): gate archive cascade behind explicit confirm + audit log**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `376d76d5af44fefa8722e4224aa702450441cf81`, `366d8341d0486849c3c22cf7d71f6c711f71f716`, `#152027`
  - files: `apps/shared/src/gateway-contract.generated.ts`, `apps/shared/src/gateway-contract.openrpc.json`, `gateway/platforms/api_server.py`, `gateway/platforms/api_server_session_flags.py`, `hermes_cli/web_models.py`, `hermes_cli/web_routers/sessions.py`, `hermes_state.py`, `hermes_state_sessions.py`, `hermes_state_sessions_archive.py`, `tests/gateway/test_session_api.py`, `tests/hermes_cli/test_web_server_archive_cascade_gate.py`, `tests/hermes_state/test_session_archive_cascade_gate.py`, `tests/tui_gateway/test_session_archive_cascade_gate.py`, `tui_gateway/contracts/sessions.py`, `tui_gateway/methods_session.py`, `tui_gateway/methods_session_archive.py`

## Fix status

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