#!/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 t48 \ --project /root/edit/project.friction --desktop /root/Desktop \ --reference /tests/friction_audit/references/t48/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"