Build
Shipping is a chain of small proofs. Keep the architecture plain, automate the repeatable checks, and make rollback boring.
Production checklist
- Define the user-visible outcome.
- Keep configuration outside source code.
- Run type checks, lint, tests, and a production build.
- Package the same artifact you intend to run.
- Add a health endpoint and bounded logs.
- Expose only required ports.
- Configure automatic restart and TLS renewal.
- Verify the public URL from outside the server.
- Write down update, rollback, and backup commands.
Prefer reversible changes
Deploy a new image, check it, then remove old artifacts later. Keep content and configuration in version control; keep secrets and generated state out.
Next step
Choose one narrow outcome, create a clean baseline, and ask Codex to carry it through verification—not merely code generation.