Skip to content

The agent that grows with you

revert(pm): leave pm receipts where pm writes them

Tekniumc8ef5a0980ca
diff --git a/pm/receipt.py b/pm/receipt.py
index b20402aa6b9..34cca627827 100644
--- a/pm/receipt.py
+++ b/pm/receipt.py
@@ -123,11 +123,10 @@ def _utc_now_iso() -> str:
def _receipt_dir() -> Path:
"""The receipts dir — a pure path computation, NO mkdir side
- effect: readers (latest()) must not create state. The ROOT home, like the
- updater's receipts (hermes_cli.update_receipt): one dir whatever profile runs."""
- from hermes_constants import get_default_hermes_root
+ effect: readers (latest()) must not create state."""
+ from hermes_constants import get_hermes_home
- return get_default_hermes_root() / "logs" / "update_receipts"
+ return get_hermes_home() / "logs" / "update_receipts"
def begin(kind: str) -> contextvars.Token: