mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
The earlier project-root-import refactor (9f62f9bb0) replaced the local
get_project_root() helper with `from . import PROJECT_ROOT`, but the
constant was never actually defined in cli/meta/runtime/__init__.py —
the import resolved against the package being initialized, producing a
circular ImportError at runtime that broke `make up` in CI.
Define PROJECT_ROOT directly via `Path(__file__).resolve().parents[3]`,
matching the pattern used in sibling packages (e.g. cli/build/tree).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>