mattrguerra/meridian-outreach-vaultmainPrivate on GitHub, published here in full

paths.py

Language Python813 B21 lines

07-Automation/partner_pipeline/paths.py

  1. """Vault paths and the run clock."""
  2. from __future__ import annotations
  3. import datetime as dt
  4. from pathlib import Path
  5. SCRIPT_DIR = Path(__file__).resolve().parent.parent # …/07-Automation
  6. VAULT_ROOT = SCRIPT_DIR.parent # vault root
  7. CONFIG_MD = SCRIPT_DIR / "partner-thresholds.md"
  8. DATA_DIR = SCRIPT_DIR / "data"
  9. HISTORY = DATA_DIR / "order_history.json"
  10. MERGE_REGISTRY = DATA_DIR / "merge_registry.json"
  11. SUPPRESSION = DATA_DIR / "suppression_list.json"
  12. CLIENTS_DIR = VAULT_ROOT / "03-Clients" / "client-stubs"
  13. XML_MAP = VAULT_ROOT / "03-Clients" / "partner-client-master-list.xml"
  14. OUT_DIR = VAULT_ROOT / "05-Outputs" / "partner-runs"
  15. TOUCH_CACHE = DATA_DIR / "outreach_touch_cache.json"
  16. TODAY = dt.date.today().isoformat()
  17. NOW = dt.datetime.now().isoformat(timespec="seconds")