fix: isolate review-mutation ledger from host session-state (Closes #590) #592

Merged
sysadmin merged 2 commits from fix/issue-590-ledger-isolation into master 2026-07-09 16:32:03 -05:00
Showing only changes of commit 008cd3fd74 - Show all commits
+3
View File
@@ -74,6 +74,9 @@ def _reset_mutation_authority(monkeypatch):
monkeypatch.setattr(mcp_server, "_preflight_capability_baseline_porcelain", None)
monkeypatch.setattr(mcp_server, "_preflight_resolved_task", None)
monkeypatch.setattr(mcp_server, "_preflight_reviewer_violation_files", [])
# Unit tests must not depend on live host MCP process health. Tests that
# use patch.dict(..., clear=True) drop PYTEST_CURRENT_TEST, which would
# otherwise re-enable the stale-runtime probe against operator daemons.
monkeypatch.setattr(
mcp_server,
"_check_mcp_runtimes_diagnostics",