ClaudeAISecurityTypeScript3 MIN READ
04.09.2026
.md

Trying out autonomous agents

Last updated: 04.09.2026

🎧

Trying out autonomous agents

Audio Narration

A carefully built sandcastle standing intact in a wooden sandbox in early morning light.

The setup in one paragraph

Sandcastle is Matt Pocock's loop for running a coding agent unattended. It puts Claude Code in a Docker container, points it at a git worktree, gives it one GitHub issue, then merges the commits back to your branch. The init command scaffolds the whole thing in about a minute. Issues go in, branches come out.

Wayfinder charts the map

The scaffold gives you a loop. It does not give you anything for the loop to eat. That is the part I underestimated.

Wayfinder is a planning skill that takes an idea too big for one session and turns it into a map issue with child decision tickets. Each ticket holds one question whose answer is a decision, not a slice of the build. You work them one at a time until nothing is left to decide.

That output is exactly what Sandcastle wants: small, self-contained, labelled issues. I did not plan the pairing, it just fell out. My first attempt without a map was three vague issues, and I got three vague pull requests back.

Grill me before you commit

Before anything went in the queue I ran the grilling skill against the plan. It asks hard questions and does not accept the first answer. Ten uncomfortable minutes.

Then consider the alternative. A question you did not answer becomes a guess the agent makes at 3am, and you find out over coffee that it guessed wrong. A bad assumption caught at the keyboard costs one sentence. Caught in the morning it costs the whole run.

Varlock so nothing lands on disk

The default is a plaintext .env file next to the config. I did not want credentials sitting on my laptop, so I used varlock instead.

You commit a .env.schema holding the shape of each variable and where to find it, never the value. Mine resolves through Doppler. The loop then runs behind varlock, which puts the resolved values in process.env for the length of the run and nowhere else.

Declaring a secret in the schema does not forward it into the container. That still needs its own line in main.mts. I learned this twice.

Would I do it again

Yes, with the same caveat every time. The loop is only as good as the tickets. Sandcastle is solid infrastructure, and the thinking is still mine. It just moved earlier, into the map and the grilling, before any container starts.

I read every diff. So far that has been easy, because I only gave it small, tightly scoped tasks and sat and watched the runs while they happened. Unattended overnight is the pitch, and I am not there yet. But it did the work I handed it, and I did not have to type any of it.

Continue Reading
A closed notebook with a wrench, a magnifying glass and a ruler tucked under its elastic band.
AI3 MIN

My blog has tools now: WebMCP for browser agents

The blog builds on its Markdown-first approach by adding WebMCP, a draft W3C technology that lets web pages expose structured tools to browser-based agents. Rather than forcing an agent to inspect pages, infer URLs, and construct requests, WebMCP provides a concise list of callable tools registered through `document.modelContext.registerTool()`. Chrome supports it experimentally through an origin trial beginning with version 149. Every page on the blog offers three read-only tools: `list_posts`, which returns recent posts with optional category and limit filters; `get_post`, which retrieves a post’s full Markdown by slug; and `list_categories`, which lists categories and post counts. These tools simply fetch existing public Markdown endpoints, so the same information remains accessible without WebMCP. Users can inspect and invoke the tools in Chrome DevTools under Application > WebMCP or query them from the console. Agents can also access them through Chrome DevTools MCP, while an inspector extension supports prompting with Gemini. However, current access depends on flags, experimental options, or an origin trial, and tools are visible only while a page is open. Keeping them as thin wrappers ensures the blog remains functional if WebMCP changes or disappears.

Read post
A school report card with a pie chart, 68 shaded in teal and the rest filled in with red pen to make 100.
AISEOClaude4 MIN

From 68 to 100: making my blog readable for AI agents

Is Agentic is a free tool that evaluates how accessible a website is to AI agents. It scans a URL, assigns a score out of 100, provides supporting evidence, and recommends fixes across essential, recommended, and bonus checks. The author’s blog initially scored 68. Using the report and Claude Code, the author added Markdown versions of posts, listings, the homepage, and error pages so agents could access content and recover from broken links more easily. Other improvements included structured data identifying the site and author, a clearer title, properly ordered headings, and an updated llms.txt file explaining when the personal blog is an appropriate source. Reviewing the site from an agent’s perspective also revealed a hidden linking bug: Markdown posts pointed to nonexistent /post/ URLs instead of /posts/. After fixes, the site scored 100, although that total included bonus points and concealed two recommended-check gaps. Contact and Privacy pages were added, while one search-ranking check remains unresolved because its results differ from Google’s. Website owners can test their own sites at is-agentic.com, prioritize failed essential checks, implement fixes, and rescan. Reports retain the same shareable URL while displaying the latest results.

Read post