ADR 001: This site is static Markdown on Cloudflare Pages
Why the site you are reading is plain Markdown files built by Astro and served from Cloudflare Pages, and what I gave up for that.
Context
I wanted somewhere to publish essays, decision records and longer papers about agentic engineering. Requirements, in order:
- Writing a post is creating a Markdown file. No admin panel, no database.
- Agents can draft, edit and lint posts in the same repo and workflow I use for code.
- Free or close to it, fast everywhere, and nothing to patch.
- Structured enough that decisions and papers can have their own fields (status, abstract) without a CMS.
Decision
Astro with content collections, built to static HTML, deployed to Cloudflare Pages.
- Every piece of writing is a Markdown file in
src/content/writing/with atypeofessay,decisionorpaper. The schema is validated at build time, so a decision with no status fails the build instead of rendering wrong. - Callouts like
> [!trap]are a 40-line remark plugin, not a component library. - Fonts are self-hosted. There is no client-side JavaScript on any page.
- Cloudflare Pages builds on push to
main. Preview deploys come free with every branch, which is where agent-drafted posts get reviewed.
Alternatives considered
| Option | Why not |
|---|---|
| Hosted blog platform | Content lives in someone else’s editor, not my repo. Agents cannot work on it like code. |
| Next.js | More framework than a mostly static blog needs, and I would be fighting it to ship zero JavaScript. |
| Hugo | Fast and proven, but Go templates are a worse fit for how I build UI everywhere else. |
| Angular, my day-job stack | Built for applications, not documents. |
Consequences
- No comments, no newsletter signup and no search for now. Each one is a deliberate later decision, not a default.
- Draft posts use
draft: trueand are excluded from production builds, so an agent can open a PR with a draft without it going live. - If I outgrow static, Astro can add server routes on Cloudflare without a rewrite.