diff --git a/pm/receipt.py b/pm/receipt.py index b20402aa6b..34cca62782 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: