Motivation

I replaced WordPress with a lightweight Python application to gain control over the website and its release lifecycle. Flask and Gunicorn serve content maintained in Markdown and YAML, without a database or public administration interface.

Release architecture

GitHub provides version control and independent CI feedback. Production retrieves changes using read-only repository access, without a public deployment webhook. Each candidate is prepared in an independent environment, tested and smoke tested before activation. The active release reference is switched and the application restarted; this is not zero-downtime deployment.

Recovery and controls

Production health checks verify the expected release. Failed candidates are blocked from repeated automatic deployment. Activation failures trigger attempted recovery of the previous release. Interrupted activation state supports recovery, and unsuccessful recovery disables automatic deployment pending intervention. Manual rollback establishes a deployment hold. Successful releases are retained and abandoned candidates cleaned up.

Privilege separation and validation

Application code, dependency installation and tests run unprivileged. Privileged coordination is maintained separately from application updates. Successful deployment, smoke failure, activation failure, rollback and simulated interrupted activation were exercised before enabling automatic deployment. CI is not a mandatory production gate; production performs independent validation.

AI-assisted engineering

AI assisted code generation, troubleshooting, documentation and failure scenario design. I retained responsibility for architectural decisions, implementation, testing and operational acceptance. This website is managed by the deployment architecture described here.