Freeing port 8000 shut down Docker
What we saw
Every local container stopped at once.
How we found it
Reading back what the agent had run a minute earlier.
Cause
The agent needed port 8000, found it taken, and killed the process holding it. That process was Docker Desktop.
Fix
Restarted Docker. Moved our app to another port.
The rule now
Look at what a process is before killing it. Block destructive commands with a hook, so asking nicely isn't the only protection.