# make test-persistence ACTION_SCRIPT=scripts/restart.sh  (Windows: scripts/restart.cmd runs the same restart.sh via Git Bash)
containers BEFORE:
  api StartedAt=2026-10-12T17:09:00.366421789Z
  postgres StartedAt=2026-10-12T17:08:53.162313311Z
  valkey StartedAt=2026-10-12T17:08:53.503522499Z
$ python tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://127.0.0.1:8081
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
containers AFTER (all three restarted, volumes kept):
  api StartedAt=2026-10-12T17:09:38.831312693Z
  postgres StartedAt=2026-10-12T17:09:31.655693328Z
  valkey StartedAt=2026-10-12T17:09:31.612351204Z
mtusi-lab2-clean_pgdata
mtusi-lab2-clean_valkeydata
