Overview
This website is maintained mostly by an AI agent, and reviewed by me. Claude Code makes the edits: new pages, case studies, frontmatter, layouts, and fixes. I decide what is published. The point of the design is that the agent can do a large amount of careful work without anything reaching the public site that I have not seen.
The colophon describes the content model and the principle behind it: AI proposes, humans decide. This page describes how that is carried out in practice.
Context
A personal site that tries to be an accurate public record has a maintenance problem. The record is large, it changes as work happens, and it has to stay consistent: the same facts, the same voice, the same naming across many pages. Handing it to an agent without structure would trade one problem for another: fast edits in an inconsistent voice, with claims nobody checked.
The site also has a second audience. AI systems read it to answer questions about me and my work, so it needs to publish its content in forms those systems can use directly.
The System
The system has four parts: written guidance for the agent, a ticket per session, a review path, and automated checks.
Written guidance. The repository’s agent instructions file tells the agent how the site is built, how content is organized, how media is handled, and how deploys work. A voice guide, distilled from the style pages I keep in Confluence, sets the reasoning pattern for all copy: state the point first, show the structure, explain the mechanism, keep trade-offs visible, end with what the reader can do. A content policy covers what stays off the site, such as client names without permission and metrics under NDA. A separate reference file tells the agent where the related work lives in Jira, Confluence, Slack, and Google Drive.
One ticket per session. Every working session has its own Jira ticket in the website’s topic, linked to the standing strategy for the site. Findings and decisions are recorded on the ticket, and every commit message ends with the ticket key. A change can be traced from the commit to the ticket that explains it.
Review before production. The agent works on the staging branch. Pushing to staging deploys the staging site automatically. I review staging, and the change reaches production only through a pull request to main that I approve. The agent does not deploy by hand; the project instructions say so, and the manual deploy script refuses to run without an explicit override flag.
Automated checks. A validation workflow in GitHub Actions runs on every pull request. It builds the site with Hugo, checks every internal link with htmltest, and checks that every URL listed in the site’s llms.txt resolves in the built output. The deploy workflows rebuild the Pagefind search index on each build, so search always matches the published pages.
Publishing for AI readers. The site publishes a curated /llms.txt index and a generated /llms-full.txt file that holds the original Markdown of every content page. The full file is produced by a Hugo output format on every build, so it cannot fall behind the pages.
Provenance for generated media. Many pages open with a short looping video generated with ComfyUI on my own hardware. A data file in the repository records each placement: which generation run it came from, which header it replaced, and where the source files are backed up. It also lists loops I reviewed and declined, so a later session does not propose them again. The colophon discloses that these headers are generated.
The main trade-off is review time. Every change waits for me, so the speed of the agent does not translate directly into the speed of publishing. I accept that because an accurate record is the purpose of the site.
Components and Why I Chose Them
If terms such as agent, context file or CI are new to you, How my AI stack fits together explains how the pieces connect.
| Component | What it does here | Why I chose it |
|---|---|---|
| Hugo (tool page) | Builds the site from Markdown files, including the /llms-full.txt output |
The output is static files with no server to run, and every page is a plain Markdown file in Git that an agent can read and edit |
| Ananke theme | Base theme, loaded as a Git submodule | A maintained starting point; the site’s own layouts override it, so the theme itself stays unmodified and can be updated on its own |
| GitHub Actions (tool page) | Validates every pull request; builds, indexes and deploys on pushes to staging and main | Deploying only from CI means the live site always matches a commit, the search index is always rebuilt, and no deploy depends on credentials on my laptop |
| Amazon S3 (tool page) and Amazon CloudFront | Store and serve the built site, with separate staging and production targets | Static hosting with nothing to patch, and hugo deploy publishes to both directly |
| Pagefind | Site search, from an index built after each Hugo build | The index is static files deployed with the site, and search makes no requests to outside services |
| htmltest | Checks every internal link in the built site | A broken link fails the pull request instead of reaching readers |
| Claude Code (tool page) | Makes the edits, under the repository’s instructions file and voice guide | It works directly in the repository, reads the project instructions at the start of each session, and runs the same build and link checks that CI runs |
| Jira (tool page) | One ticket per working session | The ticket key on each commit connects every change to the reason for it |
Outcomes
The site is kept current by sessions that each leave a ticket, a set of commits, and a staging review behind them. Voice and naming stay consistent across pages written in different sessions because each session works from the same written guidance. Broken internal links and dead llms.txt entries fail the build instead of reaching readers.
Artifacts
The site itself is the artifact. The colophon documents the content model. /llms.txt and /llms-full.txt are the AI-readable versions, and you can compare either with the pages you are reading.
Example Configuration
This is a simplified excerpt of the staging deploy workflow. The Hugo install step is left out, and the host name is a placeholder.
on:
push:
branches: [staging]
jobs:
deploy-staging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@vN
with:
submodules: recursive # the theme is a Git submodule
- name: Build site
run: hugo --baseURL "https://staging.example.com/"
- name: Build search index # must run after the build, before the deploy
run: npx --yes pagefind --site public
- name: Deploy
run: hugo deploy --target staging
env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
The production workflow is the same, triggered by pushes to main and deploying to the production target.
Patterns Worth Reusing
Write the voice down before delegating the writing. An agent produces a consistent voice only if the voice is written as rules and a checklist, not as examples alone.
Give each session a ticket. A ticket key on every commit connects each change to the reason for it, which is what makes a large volume of agent edits reviewable.
Make the deploy path the review path. When pushing a branch deploys staging and only an approved pull request reaches production, review cannot be skipped by accident.
Record provenance for generated media. A record of where each generated file came from, and which ones were declined, keeps later sessions from repeating or contradicting earlier decisions.