Before deployment
- Confirm the change is approved.
- Check that Git status is clean or any differences are explained.
- Run relevant tests and build commands.
- Take a backup or snapshot before risky changes.
- Make sure server-owned environment files are not overwritten.
During deployment
- Deploy a known version from Git or a controlled release.
- Install only necessary dependencies.
- Run database changes carefully and with backup when needed.
- Restart or rebuild only the services that need it when possible.
After deployment
- Confirm that services are running.
- Open the live URL and test the main flow.
- Check relevant status or health pages.
- Read the agent's report and note any manual checks.
The agent can help: ask it to create the deployment plan, perform approved steps, read safe status output, and summarize verification.