refactor(paths): v3 design - explicit initialize_paths + frozen PathsConfig singleton

This commit is contained in:
ed
2026-06-19 09:40:01 -04:00
parent 3fb9f9ff8e
commit 327b388800
11 changed files with 338 additions and 251 deletions
+3 -3
View File
@@ -7,13 +7,13 @@ from src import paths
from src import project_manager
def test_get_conductor_dir_default():
paths.reset_resolved()
paths.reset_paths()
# Should return absolute path to "conductor" in project root
expected = Path(__file__).resolve().parent.parent / "conductor"
assert paths.get_conductor_dir() == expected
def test_get_conductor_dir_project_specific_with_toml(tmp_path):
paths.reset_resolved()
paths.reset_paths()
project_root = tmp_path / "my_project"
project_root.mkdir()
@@ -31,7 +31,7 @@ def test_get_conductor_dir_project_specific_with_toml(tmp_path):
assert res == project_root / "custom_tracks"
def test_get_all_tracks_project_specific(tmp_path):
paths.reset_resolved()
paths.reset_paths()
project_root = tmp_path / "my_project"
project_root.mkdir()