Research-Stack/4-Infrastructure/shim/utils/paths.py
allaun 5f80fd8429 chore(repo): push local 768-commit branch state onto clean remote baseline
This squashes all local history (768 commits) onto the scrubbed PR #90
baseline. Individual commits were lost during filter-repo corruption;
the working tree content is preserved intact.

Build: N/A (working tree state only)
2026-06-15 22:46:50 -05:00

10 lines
306 B
Python

from pathlib import Path
def resolve_repo_root(marker: str = ".git") -> Path:
cur = Path(__file__).resolve().parent.parent.parent
while cur.parent != cur:
if (cur / marker).exists():
return cur
cur = cur.parent
return Path(__file__).resolve().parent.parent.parent