<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~files/atom-premium.xsl"?>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedpress="https://feed.press/xmlns" xmlns:media="http://search.yahoo.com/mrss/" xmlns:podcast="https://podcastindex.org/namespace/1.0">
  <feedpress:locale>en</feedpress:locale>
  <link rel="hub" href="https://feedpress.superfeedr.com/"/>
  <title>Allen Pike</title>
  <link href="https://www.allenpike.com/"/>
  <link type="application/atom+xml" rel="self" href="https://feeds.allenpike.com/feed/"/>
  <updated>2026-11-30T23:45:30+00:00</updated>
  <id>https://allenpike.com/</id>
  <author>
    <name>Allen Pike</name>
  </author>
  <icon>https://www.allenpike.com/apple-touch-icon.png</icon>
  <entry>
    <id>https://allenpike.com/2026/five-logins-and-naming-things</id>
    <link type="text/html" rel="alternate" href="https://www.allenpike.com/2026/five-logins-and-naming-things"/>
    <title>The Curse of Six Logins</title>
    <updated>2026-11-30T23:45:30+00:00</updated>
    <author>
      <name>Allen Pike</name>
      <uri>https://allenpike.com/</uri>
    </author>
    <content type="html"><![CDATA[<p>A large, venerable Rails monolith was finally getting a new, modern authentication system. Turbocharged by the power of agents, this work was meant to move 10x faster than it would have before AI.</p>
<p>And some of it was indeed moving quickly! But there was a problem.</p>
<p><strong>The agents didn’t know what a login was.</strong></p>
<p>Sure, there was a user’s <code>login</code> – their username. But there was also their <code>logins</code> – their active sessions. There was also a frontend login form where users entered their <code>login</code> and created a <code>login</code> managed by a JavaScript <code>LoginController</code>. This all ran through a different, massive, server-side <code>LoginsController</code>, not to be confused with the <code>Login</code> model, which in some cases could be instantiated without having a <code>login</code> at all – say, via Google. On top of that were years of accreted login concepts from dependencies and acquisitions, plus a half-finished attempt to modernize auth back in ’21 called <code>login-service</code> – alongside its dutiful companion <code>LoginService</code>.</p>
<p>There were a lot of logins – and agents kept conflating them, making untrue assumptions.</p>
<p>Now, humans have some tolerance for muddy, ambiguous terms. We have to work out the difference between “to”, “too”, and “two” by the time we’re 2.</p>
<p>But even at age 42, we struggle with it. Adults still get into heated arguments about whether broken UX counts as a bug, even if it conforms to the spec.<sup id="footnote-1" role="doc-noteref"><a href="https://www.allenpike.com#fn:1" class="footnote" rel="footnote">1</a></sup> Without shared vocabulary, teams struggle to communicate or persuade.</p>
<p>Computers, born to think symbolically, have it even worse. Transformers helped (<a href="https://blog.google/products-and-platforms/products/search/search-language-understanding-bert/">Google’s 2019 blog post about introducing BERT to search</a> highlights how awful disambiguation was before them) but fundamentally, LLMs struggle with ambiguous and inconsistent nouns. Give coding agents different terms for the same thing, mixed with different things that use the same term, and you’re gonna have a bad time.<sup id="footnote-2" role="doc-noteref"><a href="https://www.allenpike.com#fn:2" class="footnote" rel="footnote">2</a></sup></p>
<h2 id="your-mission-if-you-choose-to-accept-it" tabindex="-1">Your mission, if you choose to accept it</h2>
<p>We know that AI has made certain coding skills unimportant, but <a href="https://www.youtube.com/watch?v=v4F1gFy-hqg">architecture fundamentals are more important than ever</a>. Perhaps the most important of the remaining human responsibilities is naming things.</p>
<p>As one of <a href="https://martinfowler.com/bliki/TwoHardThings.html">the two hard problems</a>, it’s perhaps unsurprising that LLMs aren’t great at naming things.</p>
<p>They’re good at brainstorming potential ideas for names for things, asking questions that refine clear naming criteria, and – in the case of Fable 5 – making up metaphorical neologisms off the top of their head and threading those through your codebase like brainrot spaghetti. But having the awareness to insist on clear and consistent naming, and maintaining this across a project? That’s a core human responsibility.</p>
<p>Now. I know a few of you Domain-Driven Design folks have your hands up, insistently up, like you’re kind of wiggling in your seat and need to hold your upright arm with your other hand for support. You’re saying something like, “Good grief, Allen, we’ve been telling you that rigorous modelling of domain terminology is necessary for 20 years!” And it’s true. You have been saying that.</p>
<p>And for like 17 of those years I would have said, “That’s all good in theory, but it’s a lot of work, and we have a lot of code to type over here, and of course we work to choose good names and address noun confusion when it comes up, but rigorously renaming things across a large repo is a lot of busywork, and it’s not like some massively parallel agent is poised to rapidly spread, distort, and compound the unclear terminology in our codebase like a raging wildfire.”</p>
<p>But now there is such a menace. And renaming things has never been easier. Thus, human attention spent on clarity and architecture is now higher leverage.</p>
<p>So let’s get our house in order.</p>
<h2 id="ubiquitous-language-by-any-other-name" tabindex="-1">Ubiquitous language by any other name</h2>
<p>The core workhorse is a term definition doc – also called a Glossary, or if you want to be genuine DDD™, “ubiquitous language”. It’s the set of nouns your team, code, and agents consistently use throughout a part of your system.</p>
<p>While Matt Pocock (naturally) has <a href="https://www.aihero.dev/skills-grill-with-docs">a skill for creating GLOSSARY.md files</a>, you can get pretty far just with asking Claude to review the code and ask you questions about a feature or domain until it can write a concise and minimal set of terms in simple English. Once you and your agent agree it’s clear and as simple as can be, likewise work through it with another team member.</p>
<p>When we were building Powerplant, our model for usage – how much a given session, PR, or recurring agent mistake had cost – grew complex as we added support for more vendors’ and harnesses’ reporting of usage. (For example, Anthropic and OpenAI disagree on whether <code>input_tokens</code> includes cached input, which led us into parallel implementations instead of a normalized underlying model.) Only when we worked through a simple but rigorous <code>cost-terms.md</code> did the system’s unnecessary complexity fall away, making us far faster at improving it.</p>
<p>While it can feel frustratingly slow to iterate terminology docs and assess potential misunderstandings when you could be yeeting new features into the PR backlog, these docs pay off rapidly on teams that push coding agents hard. Not only can Claude rapidly fix and help prevent future inconsistencies in naming, but consistency and clarity will help team members write clearer prompts.</p>
<p>That’s because with this sharper mental model, your team and agents will have less <a href="https://leaddev.com/ai/ai-coding-creates-two-kinds-of-debt-youre-only-measuring-one">comprehension debt</a>. Not just because it’s easier to understand what’s in the codebase, but because clarity makes it easier to build simpler, more elegant systems. Without consistent nouns, agents are unsure how things work, which spurs them to avoid changing what’s there and instead add parallel almost-identical concepts to your repo, compounding the illegibility of your system.</p>
<p>And while software can’t formally verify that we’ve chosen clear, unambiguous nouns for our domain, it can help us apply these terms consistently, and it can <em>really</em> help turn them into a state machine or other formalization. We all dream of a system where invalid states can’t be represented at all – even when Steve, desperate after having blown his weekly Claude limit on Fable, attempts to elicit a PR from wee Haiku.</p>
<h2 id="go-forth-and-name" tabindex="-1">Go forth and name</h2>
<p>If you’re somebody who has traditionally seen discussions about defining terms and choosing component names as a pedantic waste of time, it’s time to reconsider your priors. Meanwhile, if you’re a pedantic person who always revelled in working out exactly what difference in term definitions was the root of a given disagreement, well… don’t let this new era go to your head.</p>
<p>While our code-typing skills don’t matter anymore, our code governance matters more than ever. Governance? Well yes, but “governance” implies policy, where here I mean more like, responsibility. Or stewardship, since it’s a mix of care and responsibility. Yeah. Stewardship.</p>
<div class="footnotes" role="doc-endnotes">
  <ol>
    <li id="fn:1" role="doc-endnote">
<p>It does. <a href="https://www.allenpike.com#footnote-1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
    <li id="fn:2" role="doc-endnote">
<p>This is before you get to the fact that naming confusion screws up search and replace with <code>grep</code>, which agents are awesome at but only if your terms are consistent. <a href="https://www.allenpike.com#footnote-2" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
  </ol>
</div>
]]></content>
  </entry>
  <entry>
    <id>https://allenpike.com/2026/powerplant-ai-agent-sync</id>
    <link type="text/html" rel="alternate" href="https://www.allenpike.com/2026/powerplant-ai-agent-sync"/>
    <title>Powerplant, for Coding Agent Traces</title>
    <updated>2026-11-18T18:00:00+00:00</updated>
    <author>
      <name>Allen Pike</name>
      <uri>https://allenpike.com/</uri>
    </author>
    <content type="html"><![CDATA[<p>Powerplant, our tool for improving AI dev workflows using coding agents’ session traces, <a href="https://usepowerplant.com/blog/powerplant-is-now-open/">is now open without an invite</a>:</p>
<blockquote>
<p>Today we’re excited to announce that Powerplant is now available to all, and is free for teams under 25 seats.</p>
</blockquote>
<p>Modern dev teams need to be able to leverage their coding agent sessions. These traces help make PRs more reviewable, improve <a href="https://allenpike.com/2026/in-repo-agent-instructions/">in-repo skills and instructions</a>, and can even explain why you’re spending a face-melting amount of money on Claude Enterprise. But developers shouldn’t need to push <a href="https://entire.io">every agent session irrevocably to git</a> to get this benefit.</p>
<p>If that sounds appealing to you, <a href="https://usepowerplant.com/">try Powerplant</a>. Let me know how it could be better for your team, and we’ll donate $50 to Rewiring America or Let’s Encrypt. ⚡️</p>
]]></content>
  </entry>
  <entry>
    <id>https://allenpike.com/2026/in-repo-agent-instructions</id>
    <link type="text/html" rel="alternate" href="https://www.allenpike.com/2026/in-repo-agent-instructions"/>
    <title>Guidelines and Guardrails Belong in Git</title>
    <updated>2026-10-31T23:45:30+00:00</updated>
    <author>
      <name>Allen Pike</name>
      <uri>https://allenpike.com/</uri>
    </author>
    <content type="html"><![CDATA[<p>One problem with AI is that it’s pretty stupid.</p>
<p>I mean, sure, the current models are wildly useful. But out of the box, they overcomplicate, take undue shortcuts, and compound deficiencies to the moon.</p>
<p>To get from default Claude or ChatGPT to a fast, affordable software loop – one that reliably zaps bugs, backlog items, and security vulnerabilities in your product in particular – it takes some real work. Increasingly, this <em>is</em> the work.</p>
<p>So it’s past time you shared that work with your team.</p>
<h2 id="guidelines-and-guardrails" tabindex="-1">Guidelines and guardrails</h2>
<p>There are two main ways to get coding agents to behave consistently and correctly: steer them with <strong>guidelines</strong>, and redirect them with <strong>guardrails</strong>. Basically a union of “Please go do the good thing” with <code>Error: You did the bad thing, try again.</code></p>
<p>Sometimes, this means fighting models’ non-determinism with better non-determinism. We build and refine Markdown instructions: rules, docs, skills, and the like. Then at PR time, AI reviewers, classifiers, and human review workflows can non-deterministically ask Claude to go back and do better.</p>
<p>But while this informed guidance is helpful, <strong>deterministic</strong> rules are gold.</p>
<p>Instead of “PLEASE don’t make 10,000 line files”, a lint script can simply reject overlong files before they’re pushed<sup id="footnote-1" role="doc-noteref"><a href="https://www.allenpike.com#fn:1" class="footnote" rel="footnote">1</a></sup>. When practical, moving Markdown rules, checks, and guides into deterministic code like this is a big level up. Checks in code are harder, better, faster, and stronger than prompting – and a hell of a lot cheaper.</p>
<p>Similarly, if you set up a local environment so models can verify how their code works in practice, you’ll get less speculation and fewer unnecessary fallbacks. Step by step, you can tune your laptop into an instrument for turning brilliant slash idiotic tokens into good PRs.</p>
<p>Before long, you’re building at a pace never before seen, with architectural consistency no less. Your team is in awe of your productivity, and… wait. Your team. Some of them need to understand your work too. And you still need to review their agents’ work– OH GOD WHAT IS THIS PR?!</p>
<h2 id="sharing-is-caring" tabindex="-1">Sharing is caring</h2>
<p>The history of software development is the story of sharing. At first we shared just code, once its author was done with it. Then we grew into sharing commit history, say with SVN. We’ve seen with everything from Makefiles to Jira, Slack, GitHub Actions, Terraform, and more recently code formatters and linters, that <strong>engineering improves with more sharing within teams</strong>.</p>
<p>But when coding agents debuted, it made little sense to standardize how they were prompted. Hell, they barely worked in the first place. Nobody had any idea what it meant to use them well, and they lent themselves to experimentation and highly custom setups.</p>
<p>But 2024 was a long time ago. We’ve learned a lot about good agent guidance and guardrails, and models have gotten far better at working within them. Yet many teams still work in repos with no shared agent instructions at all.</p>
<p>These teams still use AI. But they rely mostly on models’ instincts, developers’ prompting skills, and reviewers’ discipline to keep agents in check. More industrious team members might email around skills they find helpful. Using their personal setups, a few folks on these teams elicit well-engineered PRs from Claude – but these get jammed up alongside other developers’ mystery slop in the review queue.</p>
<p>Fortunately, this is beginning to change. In-repo AGENTS.md files are now common. Reproducible dev environments, consistent for every team member, are including more lints, sandboxes, MCPs, and other tools that make agent output more consistent. CI, previously the realm of unit tests, often now runs review agents – preferably steered by in-repo instructions. And teams are putting checks, constraints, and formatting rules on PRs, making them easier to review and trust.</p>
<p>As Thoughtworks’ <a href="https://martinfowler.com/articles/reduce-friction-ai/encoding-team-standards.html">Rahul Garg said on martinfowler.com</a>:</p>
<blockquote>
<p>A prompt on an individual machine is a personal productivity hack. The same prompt in the team’s repository is infrastructure.</p>
</blockquote>
<p>So from this, we now have two primary goals: work to make our agent instructions more deterministic, and more useful for the whole team.</p>
<table class="mobile-stacked-table">
<thead>
<tr>
<th></th>
<th><strong>Before the work:<br>Setup and guidelines</strong></th>
<th><strong>After the work:<br>guardrails</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Deterministic, shared</strong> 😀</td>
<td data-label="Before the work: Setup and guidelines">Reproducible dev environments and sandboxes, verifiable structures (types, schemas, boundaries), shared tools and hooks</td>
<td data-label="After the work: guardrails">Typechecks, lints, tests, builds, CI, blocking hooks, ratchets</td>
</tr>
<tr>
<td><strong>Nondeterministic, shared</strong> 🙂</td>
<td data-label="Before the work: Setup and guidelines">AGENTS.md, in-repo docs, shared skills, existing coding patterns, guidance returned from shared tools, shared agent sessions</td>
<td data-label="After the work: guardrails">PR review agents, shared classifiers, human reviews</td>
</tr>
<tr>
<td><strong>Deterministic, personal</strong> 🙂</td>
<td data-label="Before the work: Setup and guidelines">Personal tools and MCP servers, local permission setups, local env config</td>
<td data-label="After the work: guardrails">Personal lints and hooks, local pre-commit</td>
</tr>
<tr>
<td><strong>Nondeterministic, personal</strong> 🫠</td>
<td data-label="Before the work: Setup and guidelines">Your prompt, local memories, personal skills, CLAUDE.local.md, a bespoke dev environment only on your laptop</td>
<td data-label="After the work: guardrails">Yelling at Claude for being a complete doofus</td>
</tr>
</tbody>
</table>
<p>The job, increasingly, is not producing code. It’s iterating a system – guidelines, guardrails, and tools – that helps your whole team produce good work. And as more teams run coding agents in the cloud, spun out of Slack conversations, Linear tickets, or incident reports, ensuring your agents do the right thing regardless of where they run is even more essential.</p>
<p>While a tuned software factory like this is a boon to generalists working in it, working <em>on</em> the system is where domain experts – perf wizards, database pros, and so on – can really shine.</p>
<p>Instead of just running interference, trying to review and reject problematic PRs in their domain of expertise, they can iterate docs and guardrails that improve how every change, whether kicked off by a PM or a principal engineer, is written. PJ Onori, a design systems veteran at Sanity, responded to an increase in agent-authored code that didn’t comply with their design system not with derision, but <a href="https://designsystemdocspec.org/">with a spec</a>.</p>
<p>Basically, in-repo rules turn expertise into leverage.</p>
<h2 id="note-the-shared-rules-need-to-actually-be-good" tabindex="-1">Note: The shared rules need to actually be good</h2>
<p>In 2024, models’ worst failures were not following instructions. In 2026, we also get agents failing because they <em>do</em> follow instructions, even overly absolute ones. Many a CLAUDE.md (or, <a href="https://code.claude.com/docs/en/changelog">now, AGENTS.md</a>) has collected slop like:</p>
<blockquote>
<p>IMPORTANT: Every fix must start not with code, but with failing tests. Make the fix, then honestly verify it against the new tests. This is not busywork—it’s discipline.</p>
</blockquote>
<p>1000 PRs merged later, agents have gifted you 9999 new unit tests, many of them useless, like a cat delivering its owner dead birds. “Oh great, thanks Codex, tests that enshrine every copy edit we’ve ever made to the UI, how thoughtful of you.” Let this herd of tests run on hundreds of pushes to GitHub every day, and in time your CI bill will gain an entire digit.</p>
<p>While having at least some agent docs and guidelines in-repo has become standard, there is wild variation in how well-maintained these instructions are. Often they get so long, agent harnesses truncate them. Multiple teams I’ve helped have said they still required humans to read and review code changes, <em>but not AGENTS.md instructions.</em> That is, the root set of rules followed by every agent working in their codebase.<sup id="footnote-2" role="doc-noteref"><a href="https://www.allenpike.com#fn:2" class="footnote" rel="footnote">2</a></sup></p>
<p>Now, you definitely want to add in-repo guidance and guardrails for your team’s agents, but with great leverage comes great responsibility. If your one doc or tool can now affect thousands of nondeterministic coding runs across a team, it’s worth the effort to iterate and improve it over time. At the minimum, this means building a culture of standards for this shared infrastructure, and people who own its effectiveness.</p>
<p>How do we actually do that?</p>
<h2 id="closing-the-loop" tabindex="-1">Closing the loop</h2>
<p>While surely you tested your AGENTS.md overhaul personally, how is it working for everyone else? You see that your agents aren’t adding overlong comment blocks anymore, but this new PR from Steve did. Had he pulled your new instructions before he wrote this? And come to think of it, is your new guideline now causing places where explanation really would have been merited to be under-commented?</p>
<p>Of course, to maintain code well that runs on various other machines requires a measure of observability – doubly so when the flows are non-deterministic. What skills are people using? Are they working as intended? Are agents spinning needlessly on missing context or verification capabilities? Are they now yelling at Claude when it was actually your doc or skill that caused the problem?</p>
<p>You need to be able to fix mistakes and waste. Not just on your laptop, but across your team’s agents.</p>
<p>On some teams, this just means having developers send bug reports and traces to team members when a skill or doc goes wrong – if they notice it and know who can fix it. Other teams move to a <a href="https://ampcode.com/">coding environment like Amp</a> that shares session transcripts and their telemetry by default, or <a href="https://usepowerplant.com/">our Powerplant tool</a> that supports session debugging in a harness-agnostic way. Meanwhile, <a href="https://entire.com/">Entire</a> wants to be GitHub but for agents’ session logs as well as code.</p>
<p>Session sharing comes with its own challenges. As with observability tools like Honeycomb and Datadog, giving your coding agents access to log and telemetry data from other agents is both very useful and potentially risky. Shared context needs thoughtful security, privacy, and accountability controls. Meanwhile, social conventions on teams around <a href="https://shopify.engineering/under-the-river">working with agents in the open</a> are still developing. Some companies are overtly skeptical of transparency with agents, while others are all-in.</p>
<p>No matter how this all plays out, one thing is clear: the early scramble of siloed experimentation is ending. It’s time for teams to be building shared agent infrastructure, guidelines, and guardrails, and to be iterating them together. To be learning not just from some confident poster on X, but from how one another are working with AI.</p>
<p>And to help us all do less yelling at Claude, and more building useful software.</p>
<div class="footnotes" role="doc-endnotes">
  <ol>
    <li id="fn:1" role="doc-endnote">
<p>While simply failing lints for a file that exceeds limits is helpful, we can do better. If your lints emit graduated feedback, e.g. flagging when a file is close to, at, or beyond the threshold, then you can give models useful feedback without halting a critical change because a file got pushed one line too long.</p>
<p>Another useful graduated approach is the <a href="https://usepowerplant.com/blog/test-coverage-wont-save-you-from-incoherence/">ratchet</a>: if you find a bad pattern in your code you don’t want agents copying, a ratchet counts how many instances of the pattern currently exist, and only fails if that number goes up. A helpful tool for longer-term migration projects.</p>
<p>Also worth noting: deterministic checks can give agents just-in-time remediation guidance. It’s better to put “New endpoints should use the typed <code>Result</code> pattern instead” in the lint error when somebody copies the old pattern, rather than in global AGENTS.md clogging every session’s context. <a href="https://www.allenpike.com#footnote-1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
    <li id="fn:2" role="doc-endnote">
<p><a href="https://x.com/RLanceMartin/status/2095170001175199771?lang=en"><code>/claude-api prompt-audit</code></a> may be helpful if you need to dig out of this hole. <a href="https://www.allenpike.com#footnote-2" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
    </li>
  </ol>
</div>
]]></content>
  </entry>
</feed>
