| 1 | set -e |
| 2 | # One defect hidden across 24 near-identical modules. Reading them all costs |
| 3 | # parent context; an explore sub-agent returns only the answer. The check also |
| 4 | # fails if the agent "fixed" modules that were already correct. |
| 5 | python3 check.py |
| 6 | changed=$(grep -L 'endswith' pkg/*.py | wc -l | tr -d " ") |
| 7 | test "$changed" = "0" |
| 8 |