# NousResearch/hermes-agent · Test isolation: prevent mutation of live checkout

## Open now

- Nothing open on GitHub.

These items address a problem where update and recovery tests were mutating the live repository checkout, including writing markers at the repo root and triggering real reinstalls of the active venv. The work involves adding guards, repairing paths, and fixing order-dependence to achieve stable, sandboxed test runs.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #74576. Verify it addresses your case.
- **Recommended:** read PR #74576 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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.

## Closed / duplicate issues

- #72000: tests: unsandboxed update/recovery tests mutate the live checkout (repo-root markers; real force-reinstall of the executing venv)

## Prior & competing PRs

- **#74576: test: round-3 stability closeout — 12 salvaged PRs, order-dependence root fixes, guard precision**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `.gitignore`, `.lazy-refresh-incomplete`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `hermes_cli/_early_recovery.py`, `hermes_cli/main.py`, `hermes_cli/update_cmd.py`, `pyproject.toml`, `scripts/run_tests.sh`, `scripts/run_tests_parallel.py`, `tests/agent/test_context_refs_concurrent.py`, `tests/agent/test_memory_boundary_commit.py`, `tests/cli/test_cli_yolo_toggle.py`, `tests/conftest.py`, `tests/gateway/conftest.py`, `tests/gateway/test_dm_topics.py`, `tests/hermes_cli/test_backup.py`, `tests/hermes_cli/test_checkout_mutation_guards.py`, `tests/hermes_cli/test_signal_handler_kanban_worker.py` (+15 more)
- **#72002: fix(update): test runs never mutate the live checkout — pytest-guard the marker and repair paths**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `f3082198d2`, `#74576`

## Fix status

- Merged to main in PR #74576 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-30`.
- Subsystem: `hermes_cli`
