File size: 768 Bytes
e33425b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
legacy_status=0
/bin/sh /tests/test.pre-friction-audit-v1.sh || legacy_status=$?
# FRICTION_TUTORIAL_AUDIT_V1
# Shadow diagnostics: original reward above remains authoritative.
# Dependency failures are surfaced as a separate report, never an agent zero.
if ! python3 /tests/friction_audit/cli.py --task t49 \
--project /root/edit/project.friction --desktop /root/Desktop \
--reference /tests/friction_audit/references/t49/reference.json --out /logs/verifier/artifacts/friction-audit-v1; then
mkdir -p /logs/verifier/artifacts/friction-audit-v1
printf '%s\n' '{"status":"verifier_error","reason":"New audit runner failed; existing reward preserved"}' \
> /logs/verifier/artifacts/friction-audit-v1/runner-error.json
fi
exit "$legacy_status"
|