restores api + cli to clean state after isolating the v0.4.0 phase 2 deploy issue (web app needed an explicit coolify deploy trigger — it does not auto-deploy from gitea-vps push the way the broker does). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>