Files
computer-playbook/cli/meta/runtime
kevinveenbirkenbachandClaude Opus 4.7 553d51fb4c fix(cli): define PROJECT_ROOT in cli.meta.runtime to break circular self-import
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>
2026-05-07 22:28:30 +02:00
..