Created start_recovery.sh script with port availability checks
before starting services, preventing conflicts and startup failures.
Features:
- check_port() function validates ports 8080 and 5173
- Shows which process is using a port if occupied
- Provides clear instructions to kill processes
- Exits early if ports unavailable (fail-fast)
- Includes health endpoint URL in success message
Benefits:
- Prevents "address already in use" errors
- Clear error messages with remediation steps
- No silent failures or zombie processes
- Matches user's workflow (./start_recovery.sh)
Usage:
./start_recovery.sh
If ports in use:
kill $(lsof -t -i:8080 -i:5173)
Impact: Eliminates port conflict issues in development.
Fixes: P2.4 from audit AUDIT_TEMP_29_01_2026.md