diff --git a/wizard-work/forge/verify_selftest_sweep_q93_refactor.py b/wizard-work/forge/verify_selftest_sweep_q93_refactor.py index 6fbda82..971430d 100644 --- a/wizard-work/forge/verify_selftest_sweep_q93_refactor.py +++ b/wizard-work/forge/verify_selftest_sweep_q93_refactor.py @@ -48,7 +48,13 @@ import subprocess import sys import time -REPO = "/root/troupe-standup" +# Resolve the repo root from this file so the gate grades the tree it is run +# from, not a hardcoded host path. The old literal `REPO = "/root/troupe-standup"` +# made a poison check out of reach: a clone at another path still graded +# /root/troupe-standup and read VERDICT TRUE rc 0 (Q106 portability fault; the +# same fix b4720ab applied to verify_scan_dry_refactor.py). This file lives at +# /wizard-work/forge/, so three dirnames land on the repo root. +REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) SRC = "tools/selftest_sweep.py" FULL = os.path.join(REPO, SRC)