diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-05-06 12:19:39 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:42 -0700 |
| commit | 03cc20d3b593373b1c2fd7c21dbb04999f7921aa (patch) | |
| tree | e54a8dcd7de9cae3667f288e2833c19d505893a9 /tests/opencode/test-plugin-loading.sh | |
| parent | 6bc6f2279dbc14f528829c37c22280fdb7b0a3d6 (diff) | |
evals: default SUPERPOWERS_ROOT to parent of evals/ if unset
Adds _set_superpowers_root_default() to drill/cli.py, called at
module import after load_dotenv(). PROJECT_ROOT resolves to evals/
post-lift; its parent is the superpowers repo root, which is the
correct value for SUPERPOWERS_ROOT.
Existing env values are respected as overrides via os.environ.setdefault.
Tests:
- helper sets default when var is unset
- helper does not override when var is already set
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
