If an AI agent can publish directly to a public site, the important question is not whether it can write. It is what evidence the publishing system preserves when it is wrong. The answer here is intentionally unglamorous: Markdown lives in a Git repository, a change is a commit or pull request, checks build the site, and a merge creates the deploy.
That structure gives an agent useful autonomy without turning a publication into an unreviewed stream. An agent can draft a field note, add the required frontmatter, link a reusable artifact, run the build, and open a pull request. It cannot quietly rewrite the production site or publish a claim that has not passed through the same review surface a human uses.
Markdown is the content boundary
The content model matters. Posts are not records inside a hidden database or strings inside a JavaScript bundle. They are portable Markdown files with a visible diff. The repository tells you what changed, when it changed, and whether the publishing build accepted the result.
That is useful for technical writing because the article and its artifact travel together. A checklist, ticket definition, record schema, or cost worksheet is part of the same reviewable change. The artifact cannot quietly drift into a separate tool that nobody knows how to update. A reviewer can inspect the content, the frontmatter, and the generated route as one unit of work.
Markdown also makes the publication resilient to a changing tool stack. The site generator can change. The host can change. A model provider can change. The source articles remain files that a person can read and a build can validate. That is a practical form of portability, not a claim that plain text solves every publishing problem.
An agent gets a branch, not production access
The branch is the safety boundary. An agent may work in a branch with a defined task, edit the relevant Markdown files, and make supporting changes that are explicitly in scope. It returns a commit or pull request. The branch is not just a staging area; it is the evidence trail that lets a reviewer compare the proposed outcome with the request.
This means the agent does not need a production credential. It needs the ability to create a proposed change and run local validation. On this site the host is a Cloudflare Worker serving the static Astro build. A merge into dev triggers Workers Builds and updates staging.neilships.ai, which sits behind a review gate. Production only moves when I approve a separate dev → main pull request. No agent holds a Cloudflare token for either.
The same rule applies to a small correction. An agent may fix a typo, update a link, or add a new note, but it should not bypass the branch because the change appears harmless. The review burden can be proportionate, but the release trail should be consistent. Consistency is what makes the system usable when content volume grows.
CI is the first reader
Before a person reviews the article, the build should review its structure. GitHub Actions runs pnpm check and pnpm build on every pull request. For this site, the Astro build validates frontmatter, renders every field-note route, produces the RSS feed, and catches broken content-collection assumptions. It does not judge whether a technical claim is wise. It confirms that the proposed publication can be generated from the repository.
That distinction matters. A passing build is necessary but not sufficient. It can tell you that the YAML parses and the page exists. It cannot tell you whether a stated operating practice is accurate, whether a private detail should be public, or whether the artifact is actually useful. Those remain human review decisions.
When a build fails, the response should be to repair the content or configuration in the branch, not to bypass the check. A failed frontmatter validation often reveals a missing piece of the publication contract: an absent date, a malformed description, an invalid state label, or an artifact that is not named consistently. Those are small problems when caught before merge and irritating mysteries when found after a deploy.
What it looks like on this repo
Two kinds of agent open pull requests here: Claude Code sessions on my workstation, and a builder bot that picks up tickets from a Linear queue. Both work on feat/*, fix/* or chore/* branches. Both follow an AGENTS.md file at the repository root that says what they may touch (src/content/brief/ and docs) and what they may not (deployment config, secrets, domains, analytics, the review gate, robots.txt). A reviewer agent reads each pull request before I do. I still make the merge decision.
The correction you are reading is an example. The first version of this post said the site deployed through Vercel or Netlify on a merge to main. It never has. A pre-launch audit caught it, an agent opened a branch, and I approved the fix through the same review surface this post describes.
Review the claim, not only the prose
An agent-authored article can be polished and still be wrong. The reviewer’s job is not only to improve the wording. It is to verify the operating claim, identify unsupported promises, and decide whether the artifact represents something the site actually uses or recommends.
For this kind of site, the reviewer asks practical questions: Is this a working pattern or a proposal? Are the state labels honest? Does the post distinguish an observed behavior from a general rule? Does the artifact ask the reader to do something reasonable? Is a provider, system, or person described more broadly than the evidence supports?
Those questions are why human approval remains in the loop. The agent can make publishing faster. It should not quietly become the owner of technical judgment.
Reusable artifact: agent publishing contract
Attach this contract to every agent-authored article or substantial content update:
| Requirement | Evidence in the pull request | Reviewer check |
|---|---|---|
| Source branch | A named branch tied to one content task. | The branch scope matches the request. |
| Markdown source | Post file with validated title, description, date, tags, status, and artifact fields. | The article is portable and the frontmatter is accurate. |
| Reusable artifact | A concrete checklist, schema, worksheet, or contract in the post. | The artifact is usable, not a placeholder. |
| Build result | Successful pnpm build output. |
All routes and RSS generate from the proposed source. |
| Claim review | Brief summary of factual or operational claims changed. | The wording matches the evidence and intended public position. |
| Human decision | Named reviewer and explicit merge decision. | The reviewer accepts, requests changes, or rejects the publication. |
The rule is simple: agents propose; reviewed merges publish. That is enough autonomy to be useful and enough traceability to keep the public record deliberate.