<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://sepractioners.github.io/not-yet-clear/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sepractioners.github.io/not-yet-clear/" rel="alternate" type="text/html" /><updated>2026-11-24T13:46:49+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/feed.xml</id><title type="html">Engineer’s Diary</title><subtitle>Notes on Building Software and Systems</subtitle><entry><title type="html">Where agent SDKs break</title><link href="https://sepractioners.github.io/not-yet-clear/where-agent-sdks-break/" rel="alternate" type="text/html" title="Where agent SDKs break" /><published>2026-11-24T00:00:00+00:00</published><updated>2026-11-24T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/where-agent-sdks-break</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/where-agent-sdks-break/"><![CDATA[<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Where agent SDKs break</title>
<meta name="description" content="Fourteen pain points from GitHub issues, security advisories and developer discussions about four popular agent frameworks, each explained in plain language with a diagram of what goes wrong.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
<style>
:root{color-scheme:light;--bg:#FFFFFF;--paper:#FFFFFF;--ink:#202124;--muted:#5F6368;--line:#DADCE0;--rule:#E8EAED;--bad:#D93025;--bad-bg:#FCE8E6;--good:#1E8E3E;--good-bg:#E6F4EA;--acc:#1A73E8;--acc-bg:#E8F0FE;--mute-bg:#F1F3F4;--font:'Inter',-apple-system,'Segoe UI',Roboto,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.65 var(--font)}
.wrap{max-width:980px;margin:0 auto;padding:56px 24px 80px}
.back{display:inline-block;font-family:var(--font);font-size:13px;color:var(--muted);text-decoration:none;margin-bottom:18px;border-bottom:1px solid var(--rule);padding-bottom:2px}
.back:hover{color:var(--acc);border-color:var(--acc)}
.kicker,.repo,.lbl,.refs,nav,figcaption,.fix span,.num,svg text{font-family:var(--font)}
.kicker{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--acc);font-weight:600}
h1{font-size:clamp(34px,5vw,52px);line-height:1.08;margin:.3em 0 .4em;letter-spacing:-.01em}
.dek{font-size:20px;color:var(--muted);max-width:720px}
nav{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0 8px;font-size:14px}nav a{border:1px solid var(--rule);border-radius:999px;padding:6px 14px;color:var(--ink);text-decoration:none;background:var(--paper)}nav a:hover{border-color:var(--acc)}
section{margin-top:64px}.sh{display:flex;gap:16px;align-items:center;border-top:2px solid var(--ink);padding-top:18px}
.num{font-size:15px;font-weight:700;width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;flex:none}
h2{margin:0;font-size:30px;line-height:1.2}.repo{font-size:13px;color:var(--muted)}.intro{color:var(--muted);max-width:760px}
.issue{background:var(--paper);border:1px solid var(--rule);border-radius:14px;padding:26px 28px;margin:26px 0}
.issue header{display:flex;justify-content:space-between;gap:16px;align-items:baseline;flex-wrap:wrap;border-bottom:1px solid var(--rule);padding-bottom:12px;margin-bottom:14px}
h3{margin:0;font-size:22px;line-height:1.3}.refs{font-size:13px;color:var(--muted)}.refs a{color:var(--acc);font-weight:600;margin-left:6px}
.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:28px;align-items:start}
@media (max-width:820px){.cols{grid-template-columns:1fr}}
.lbl{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:0 0 2px}.cols p{margin:0 0 14px}
figure{margin:0}svg{width:100%;height:auto;display:block}figcaption{font-size:13px;color:var(--muted);margin-top:8px}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.84em;background:var(--mute-bg);padding:1px 5px;border-radius:4px}
.fix{margin:6px 0 0;padding:12px 14px;border-left:3px solid var(--good);background:var(--good-bg);border-radius:0 8px 8px 0;font-size:15.5px}
.fix span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--good);margin-right:6px}
.bx{stroke-width:1.25}.bx.n{fill:var(--paper);stroke:var(--line)}.bx.bad{fill:var(--bad-bg);stroke:var(--bad);stroke-width:1.75}.bx.good{fill:var(--good-bg);stroke:var(--good)}.bx.acc{fill:var(--acc-bg);stroke:var(--acc)}.bx.mute{fill:var(--mute-bg);stroke:var(--rule)}
svg text{fill:var(--ink);font-size:13px}svg .b{font-weight:600}svg .m{font-family:ui-monospace,Menlo,monospace;font-size:12.5px}svg .s{font-size:12.5px;fill:var(--muted)}svg .s.b{fill:var(--ink)}svg .s.bad{fill:var(--bad)}
.ln{fill:none;stroke-width:1.4}.ln.n{stroke:var(--line)}.ln.bad{stroke:var(--bad)}.ln.good{stroke:var(--good)}.ln.da{stroke-dasharray:5 4}
.ah.n{fill:var(--line)}.ah.bad{fill:var(--bad)}.ah.good{fill:var(--good)}
.under{background:var(--paper);border:1px dashed var(--line);border-radius:12px;padding:16px 20px;margin:18px 0 8px;font-size:15.5px}.under p{margin:0 0 6px}.under ul{margin:0;padding-left:20px}.under li{margin:3px 0}
.uh{font-family:var(--font);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:-4px 0 14px;font-family:var(--font);font-size:12px}.tl{color:var(--muted);font-weight:600;margin-right:2px}
.tag{padding:2px 10px;border-radius:999px;font-weight:600;border:1px solid}.tag.sdk{color:var(--acc);background:var(--acc-bg);border-color:var(--acc)}.tag.store{color:#8a5a00;background:#fbf1dc;border-color:#c99a3b}.tag.model{color:#6b3fa0;background:#f1eafa;border-color:#9b76c9}.tag.host{color:var(--bad);background:var(--bad-bg);border-color:var(--bad)}
.legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-family:var(--font);font-size:13px;color:var(--muted);margin-top:14px}
.close{margin-top:64px;border-top:2px solid var(--ink);padding-top:18px}.close ul{padding-left:20px}.close li{margin-bottom:8px}
.note{font-size:14px;color:var(--muted);margin-top:40px;font-family:var(--font)}
a{color:var(--acc)}
</style></head><body><div class="wrap">
<a class="back" href="/not-yet-clear/">&larr; all articles</a>
<div class="kicker">Field notes &middot; Agent frameworks</div>
<h1>Where agent SDKs break</h1>
<p class="dek">Fourteen pain points from GitHub issues, security advisories and developer discussions about four popular agent frameworks, each explained in plain language with a diagram of what goes wrong.</p>
<div class="legend">Each issue is tagged with the layer where it breaks: <span class="tag sdk">SDK</span><span class="tag store">Storage service</span><span class="tag model">Model API</span><span class="tag host">Hosted platform</span></div>
<nav><a href="#agentcore">Amazon Bedrock AgentCore SDK</a><a href="#adk">Google Agent Development Kit</a><a href="#langgraph">LangGraph</a><a href="#crewai">CrewAI</a><a href="#patterns">Common patterns</a></nav>
<section id="agentcore"><div class="sh"><span class="num">1</span><div><h2>Amazon Bedrock AgentCore SDK</h2><div class="repo"><code>aws/bedrock-agentcore-sdk-python</code></div></div></div><p class="intro">Most AgentCore pain sits in one place: the memory layer that persists conversation turns between stateless requests. When it slips, agents forget, lose work, or silently store nothing.</p><aside class="under"><div class="uh">Where the code runs</div><p><code>AgentCoreMemorySessionManager</code> is a session-manager plugin for the Strands Agents framework. It stores data in <strong>AgentCore Memory</strong>, a managed AWS service.</p><ul><li>Each conversation turn is written as an <em>event</em> (<code>CreateEvent</code>), scoped by memory ID, actor ID and session ID.</li><li>History is reloaded with <code>ListEvents</code>, which is paginated. Long-term memory is extracted from events by the service.</li><li>Writes are buffered and flushed. Using the manager as a context manager flushes pending messages on exit.</li><li>AWS doesn't document the physical database underneath.</li></ul></aside><article class="issue"><header><h3>Intermittent history amnesia</h3><div class="refs"><a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/564">#564</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span><span class="tag store">Storage service</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Stateless deployments often create a fresh <code>AgentCoreMemorySessionManager</code> for every request. Because the memory store is eventually consistent, that new manager can read history before the previous turn's write is visible.</p><p class="lbl">Why it hurts</p><p>The agent forgets what the user said a moment ago. It happens only sometimes, which makes it hard to reproduce and easy to blame on the model.</p></div>
<figure><svg viewBox="0 0 720 320" role="img" aria-label="Fresh session manager reads memory before the previous write is visible"><defs><marker id="f1-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f1-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f1-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx n" x="20" y="30" width="150" height="56" rx="8"/><text class="t b" x="95.0" y="54.0" text-anchor="middle">Request 1</text><text class="t" x="95.0" y="71.0" text-anchor="middle">&#8220;I&#x27;m Ana.&#8221;</text><rect class="bx n" x="230" y="30" width="170" height="56" rx="8"/><text class="t b" x="315.0" y="54.0" text-anchor="middle">Session manager #1</text><text class="t" x="315.0" y="71.0" text-anchor="middle">saves the turn</text><rect class="bx acc" x="470" y="70" width="230" height="90" rx="8"/><text class="t b" x="585.0" y="102.5" text-anchor="middle">Memory store</text><text class="t" x="585.0" y="119.5" text-anchor="middle">write accepted&#8230;</text><text class="t" x="585.0" y="136.5" text-anchor="middle">&#8230;not yet readable</text><rect class="bx n" x="20" y="170" width="150" height="56" rx="8"/><text class="t b" x="95.0" y="194.0" text-anchor="middle">Request 2</text><text class="t" x="95.0" y="211.0" text-anchor="middle">&#8220;What&#x27;s my name?&#8221;</text><rect class="bx n" x="230" y="170" width="170" height="56" rx="8"/><text class="t b" x="315.0" y="194.0" text-anchor="middle">Session manager #2</text><text class="t" x="315.0" y="211.0" text-anchor="middle">fresh, reloads history</text><rect class="bx bad" x="230" y="256" width="170" height="50" rx="8"/><text class="t b" x="315.0" y="277.0" text-anchor="middle">Agent</text><text class="t" x="315.0" y="294.0" text-anchor="middle">&#8220;Sorry, who are you?&#8221;</text><path class="ln n" d="M170 58 L226 58" marker-end="url(#f1-n)"/><path class="ln n" d="M400 58 L466 90" marker-end="url(#f1-n)"/><path class="ln n" d="M170 198 L226 198" marker-end="url(#f1-n)"/><path class="ln bad da" d="M400 198 L466 145" marker-end="url(#f1-bad)"/><path class="ln bad" d="M315 226 L315 252" marker-end="url(#f1-bad)"/><text class="s bad" x="470" y="196" text-anchor="start">reads before the write is visible</text><text class="s bad" x="470" y="214" text-anchor="start">&rarr; history comes back incomplete</text></svg><figcaption>The read from request 2 can beat the write from request 1.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Keep the last turn or two in the request payload or a short-lived cache as a fallback, and treat a suspiciously short reload as a retry signal.</p></article><article class="issue"><header><h3>Large tool outputs crash the entire turn</h3><div class="refs"><a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/646">#646</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag store">Storage service limit</span><span class="tag sdk">SDK error handling</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>When a tool returns a big payload (a multi-megabyte document, for example), memory persistence hits an undocumented <code>413</code> error and aborts the whole execution.</p><p class="lbl">Why it hurts</p><p>The failure isn't contained to the oversized step. Every earlier step in the turn is thrown away too, including tool calls that succeeded and may have cost real time or money.</p></div>
<figure><svg viewBox="0 0 720 230" role="img" aria-label="A single oversized tool output aborts the whole turn"><defs><marker id="f2-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f2-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f2-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx good" x="20" y="40" width="152" height="56" rx="8"/><text class="t b" x="96.0" y="64.0" text-anchor="middle">Step 1: Tool A</text><text class="t" x="96.0" y="81.0" text-anchor="middle">&#10003; done</text><path class="ln n" d="M172 68 L188 68" marker-end="url(#f2-n)"/><rect class="bx good" x="192" y="40" width="152" height="56" rx="8"/><text class="t b" x="268.0" y="64.0" text-anchor="middle">Step 2: Tool B</text><text class="t" x="268.0" y="81.0" text-anchor="middle">&#10003; done</text><path class="ln n" d="M344 68 L360 68" marker-end="url(#f2-n)"/><rect class="bx acc" x="364" y="40" width="152" height="56" rx="8"/><text class="t b" x="440.0" y="64.0" text-anchor="middle">Step 3: Tool C</text><text class="t" x="440.0" y="81.0" text-anchor="middle">returns multi-MB doc</text><path class="ln n" d="M516 68 L532 68" marker-end="url(#f2-n)"/><rect class="bx n" x="536" y="40" width="152" height="56" rx="8"/><text class="t b" x="612.0" y="64.0" text-anchor="middle">Persist to memory</text><text class="t" x="612.0" y="81.0" text-anchor="middle">save the turn</text><rect class="bx bad" x="536" y="140" width="152" height="56" rx="8"/><text class="t b" x="612.0" y="164.0" text-anchor="middle">413 error</text><text class="t" x="612.0" y="181.0" text-anchor="middle">undocumented</text><path class="ln bad" d="M612 96 L612 136" marker-end="url(#f2-bad)"/><rect class="bx bad" x="20" y="140" width="480" height="56" rx="8"/><text class="t b" x="260.0" y="164.0" text-anchor="middle">Entire turn aborted</text><text class="t" x="260.0" y="181.0" text-anchor="middle">Tool A and Tool B results are thrown away too</text><path class="ln bad" d="M536 168 L504 168" marker-end="url(#f2-bad)"/></svg><figcaption>One oversized result takes the earlier, successful steps down with it.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Offload big tool results to object storage and keep only a reference (ID, size, summary) in the conversation.</p></article><article class="issue"><header><h3>End-of-turn state loss on sliding windows</h3><div class="refs"><a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/698">#698</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>v1.23.1 changed the order in which state is flushed at <code>AfterInvocationEvent</code>. With sliding-window conversation managers and interrupt workflows, the final saved <code>SessionAgent</code> state can be lost.</p><p class="lbl">Why it hurts</p><p>It's a regression from an upgrade, so pipelines that worked before quietly start resuming from stale state.</p></div>
<figure><svg viewBox="0 0 720 250" role="img" aria-label="A changed flush order loses the final saved agent state"><defs><marker id="f3-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f3-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f3-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><text class="s b" x="20" y="72" text-anchor="start">Expected</text><text class="s b" x="20" y="182" text-anchor="start">From v1.23.1</text><rect class="bx n" x="130" y="40" width="170" height="52" rx="8"/><text class="t b" x="215.0" y="70.5" text-anchor="middle">Agent finishes turn</text><rect class="bx good" x="330" y="40" width="170" height="52" rx="8"/><text class="t b" x="415.0" y="70.5" text-anchor="middle">Final state flushed</text><rect class="bx good" x="530" y="40" width="170" height="52" rx="8"/><text class="t b" x="615.0" y="62.0" text-anchor="middle">Next turn resumes</text><text class="t" x="615.0" y="79.0" text-anchor="middle">from final state</text><path class="ln n" d="M300 66 L326 66" marker-end="url(#f3-n)"/><path class="ln good" d="M500 66 L526 66" marker-end="url(#f3-good)"/><rect class="bx n" x="130" y="150" width="170" height="52" rx="8"/><text class="t b" x="215.0" y="180.5" text-anchor="middle">Agent finishes turn</text><rect class="bx acc" x="330" y="150" width="170" height="52" rx="8"/><text class="t b" x="415.0" y="172.0" text-anchor="middle">Flush order changed</text><text class="t" x="415.0" y="189.0" text-anchor="middle">at AfterInvocationEvent</text><rect class="bx bad" x="530" y="150" width="170" height="52" rx="8"/><text class="t b" x="615.0" y="172.0" text-anchor="middle">Final SessionAgent</text><text class="t" x="615.0" y="189.0" text-anchor="middle">state is lost</text><path class="ln n" d="M300 176 L326 176" marker-end="url(#f3-n)"/><path class="ln bad" d="M500 176 L526 176" marker-end="url(#f3-bad)"/><text class="s" x="130" y="232" text-anchor="start">Shows up in sliding-window conversation managers and interrupt workflows.</text></svg><figcaption>Same turn, different flush order, different saved state.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Pin the SDK version and add a test that checks the saved state after an interrupted or windowed turn.</p></article><article class="issue"><header><h3>Broken pagination and missing voice transcripts</h3><div class="refs"><a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/727">#727</a> <a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/743">#743</a> <a href="https://github.com/aws/bedrock-agentcore-sdk-python/issues/716">#716</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK persistence code</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Three separate persistence gaps: deleting memory records only removes the first 10 items (#727). Sessions made of plain-text events restore an empty history (#743). Bidirectional <code>BidiAgent</code> voice transcripts are never stored (#716).</p><p class="lbl">Why it hurts</p><p>Each one fails quietly. Deletes look successful, restores look valid, and voice sessions look complete, so the gaps tend to surface in audits or user complaints rather than in tests.</p></div>
<figure><svg viewBox="0 0 720 240" role="img" aria-label="Three memory persistence gaps: partial deletes, empty restores, missing transcripts"><defs><marker id="f4-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f4-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f4-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><text class="s b" x="127" y="30" text-anchor="middle">Delete pagination &middot; #727</text><rect class="bx n" x="20" y="48" width="214" height="50" rx="8"/><text class="t b" x="127.0" y="77.5" text-anchor="middle">Delete all records</text><text class="s b" x="360" y="30" text-anchor="middle">Plain-text events &middot; #743</text><rect class="bx n" x="253" y="48" width="214" height="50" rx="8"/><text class="t b" x="360.0" y="77.5" text-anchor="middle">Save plain-text events</text><rect class="bx bad" x="253" y="150" width="214" height="64" rx="8"/><text class="t b" x="360.0" y="178.0" text-anchor="middle">Restore session</text><text class="t" x="360.0" y="195.0" text-anchor="middle">history = [ ]</text><path class="ln bad" d="M360 98 L360 146" marker-end="url(#f4-bad)"/><text class="s b" x="593" y="30" text-anchor="middle">Voice transcripts &middot; #716</text><rect class="bx n" x="486" y="48" width="214" height="50" rx="8"/><text class="t b" x="593.0" y="77.5" text-anchor="middle">BidiAgent voice session</text><rect class="bx bad" x="486" y="150" width="214" height="64" rx="8"/><text class="t b" x="593.0" y="178.0" text-anchor="middle">Transcript</text><text class="t" x="593.0" y="195.0" text-anchor="middle">never stored</text><path class="ln bad" d="M593 98 L593 146" marker-end="url(#f4-bad)"/><rect class="bx good" x="20" y="150" width="100" height="64" rx="8"/><text class="t b" x="70.0" y="178.0" text-anchor="middle">First 10</text><text class="t" x="70.0" y="195.0" text-anchor="middle">deleted</text><rect class="bx bad" x="134" y="150" width="100" height="64" rx="8"/><text class="t b" x="184.0" y="178.0" text-anchor="middle">The rest</text><text class="t" x="184.0" y="195.0" text-anchor="middle">remain</text><path class="ln good" d="M90 98 L70 146" marker-end="url(#f4-good)"/><path class="ln bad" d="M150 98 L184 146" marker-end="url(#f4-bad)"/></svg><figcaption>Three ways memory looks fine but isn't.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Verify after you write: re-list after deletes, assert non-empty history after restores, and check that transcripts exist after voice sessions.</p></article></section><section id="adk"><div class="sh"><span class="num">2</span><div><h2>Google Agent Development Kit</h2><div class="repo"><code>google/adk-python</code></div></div></div><p class="intro">ADK's trouble is mostly about composition: tools and agents that work on their own break when you combine them in a hierarchy.</p><aside class="under"><div class="uh">Where the code runs</div><p>Agents, <code>AgentTool</code> and sub-agents are <strong>in-process Python</strong>. The backend that matters most here is the <strong>Gemini model API</strong>.</p><ul><li>The <code>400 INVALID_ARGUMENT</code> comes from Gemini, not ADK. Gemini 2.x models appear to accept only one kind of tool per request.</li><li>Session state and history live in a pluggable <code>SessionService</code>: in-memory, a SQL database (SQLite, MySQL, PostgreSQL) or Vertex AI Agent Engine.</li></ul></aside><article class="issue"><header><h3>Mixing tool types across sub-agents throws 400 errors</h3><div class="refs"><a href="https://github.com/google/adk-python/issues/899">#899</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag model">Model API (Gemini)</span><span class="tag sdk">ADK tool merging</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Give one sub-agent <code>VertexAiSearchTool</code> and another a custom Python function under the same root, and the API rejects the call with <em>Multiple tools are supported only when they are all search tools</em>.</p><p class="lbl">Why it hurts</p><p>The tools sit on different agents, so most people assume they're isolated from each other. The error only appears at runtime, after the architecture is already built.</p></div>
<figure><svg viewBox="0 0 720 290" role="img" aria-label="Mixing a search tool and a function tool across sub-agents triggers a 400"><defs><marker id="f5-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f5-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f5-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx acc" x="260" y="20" width="200" height="50" rx="8"/><text class="t b" x="360.0" y="49.5" text-anchor="middle">Root agent</text><rect class="bx n" x="60" y="110" width="240" height="56" rx="8"/><text class="t b" x="180.0" y="134.0" text-anchor="middle">Sub-agent A</text><text class="t" x="180.0" y="151.0" text-anchor="middle">VertexAiSearchTool</text><rect class="bx n" x="420" y="110" width="240" height="56" rx="8"/><text class="t b" x="540.0" y="134.0" text-anchor="middle">Sub-agent B</text><text class="t" x="540.0" y="151.0" text-anchor="middle">custom Python function</text><path class="ln n" d="M300 70 L220 106" marker-end="url(#f5-n)"/><path class="ln n" d="M420 70 L500 106" marker-end="url(#f5-n)"/><rect class="bx bad" x="150" y="206" width="420" height="72" rx="8"/><text class="t b" x="360.0" y="229.5" text-anchor="middle">400 INVALID_ARGUMENT</text><text class="t" x="360.0" y="246.5" text-anchor="middle">&#8220;Multiple tools are supported only</text><text class="t" x="360.0" y="263.5" text-anchor="middle">when they are all search tools&#8221;</text><path class="ln bad" d="M180 166 L250 202" marker-end="url(#f5-bad)"/><path class="ln bad" d="M540 166 L470 202" marker-end="url(#f5-bad)"/></svg><figcaption>Tools on separate sub-agents still collide in one request.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Isolate each search tool in its own agent wrapped as an <code>AgentTool</code>, and check the ADK tool limitations page for your version. It says v1.16.0+ includes a built-in workaround for Search.</p></article><article class="issue"><header><h3>Built-in tools break inside standard sub-agents</h3><div class="refs"><a href="https://github.com/google/adk-python/issues/413">#413</a> &middot; <a href="https://google.github.io/adk-docs/tools/limitations/">ADK tool limitations</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag model">Model API</span><span class="tag sdk">SDK</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Built-in tools such as Google Search can't run normally inside a sub-agent. You have to wrap them in an <code>AgentTool</code> or pass <code>bypass_multi_tools_limit=True</code>.</p><p class="lbl">Why it hurts</p><p>The obvious design, a sub-agent that does search, doesn't work. The fixes change how the agent is called, which affects routing and context.</p></div>
<figure><svg viewBox="0 0 720 236" role="img" aria-label="Built-in tools need a wrapper or a flag to run inside sub-agents"><defs><marker id="f6-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f6-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f6-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><text class="s b" x="127" y="28" text-anchor="middle">Plain sub-agent</text><rect class="bx n" x="20" y="44" width="214" height="44" rx="8"/><text class="t b" x="127.0" y="70.5" text-anchor="middle">Root agent</text><rect class="bx bad" x="20" y="124" width="214" height="90" rx="8"/><text class="t b" x="127.0" y="156.5" text-anchor="middle">Sub-agent with</text><text class="t" x="127.0" y="173.5" text-anchor="middle">Google Search</text><text class="t" x="127.0" y="190.5" text-anchor="middle">&#10007; fails</text><path class="ln bad" d="M127 88 L127 120" marker-end="url(#f6-bad)"/><text class="s b" x="360" y="28" text-anchor="middle">Workaround 1: AgentTool</text><rect class="bx n" x="253" y="44" width="214" height="44" rx="8"/><text class="t b" x="360.0" y="70.5" text-anchor="middle">Root agent</text><rect class="bx good" x="253" y="124" width="214" height="90" rx="8"/><text class="t b" x="360.0" y="156.5" text-anchor="middle">AgentTool(search_agent)</text><text class="t" x="360.0" y="173.5" text-anchor="middle">called like a tool</text><text class="t" x="360.0" y="190.5" text-anchor="middle">&#10003; works</text><path class="ln good" d="M360 88 L360 120" marker-end="url(#f6-good)"/><text class="s b" x="593" y="28" text-anchor="middle">Workaround 2: bypass flag</text><rect class="bx n" x="486" y="44" width="214" height="44" rx="8"/><text class="t b" x="593.0" y="70.5" text-anchor="middle">Root agent</text><rect class="bx good" x="486" y="124" width="214" height="90" rx="8"/><text class="t b" x="593.0" y="148.0" text-anchor="middle">Search tool with</text><text class="t" x="593.0" y="165.0" text-anchor="middle">bypass_multi_tools_limit</text><text class="t" x="593.0" y="182.0" text-anchor="middle">=True</text><text class="t" x="593.0" y="199.0" text-anchor="middle">&#10003; works</text><path class="ln good" d="M593 88 L593 120" marker-end="url(#f6-good)"/></svg><figcaption>The obvious design fails, and both workarounds change how the agent is called.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Use <code>AgentTool</code> wrappers for built-in tools by default, and write down which workaround each agent relies on.</p></article><article class="issue"><header><h3>Inconsistent context and multimodal drops</h3><div class="refs"><a href="https://github.com/google/adk-python/issues/3878">#3878</a> <a href="https://github.com/google/adk-python/issues/729">#729</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p><code>AgentTool</code> copies state but drops conversation history (#3878) and turns image outputs into empty strings (<code>{{'result': ''}}</code>). <code>SubAgent</code> keeps image data but takes over control flow (#729).</p><p class="lbl">Why it hurts</p><p>Neither option gives you everything, so the choice between them decides what your agent quietly loses.</p></div>
<figure><svg viewBox="0 0 720 286" role="img" aria-label="AgentTool and SubAgent each lose something different"><defs><marker id="f7-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f7-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f7-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx acc" x="20" y="20" width="330" height="40" rx="8"/><text class="t b" x="185.0" y="44.5" text-anchor="middle">AgentTool</text><rect class="bx acc" x="370" y="20" width="330" height="40" rx="8"/><text class="t b" x="535.0" y="44.5" text-anchor="middle">SubAgent</text><rect class="bx good" x="20" y="76" width="330" height="40" rx="8"/><text class="t b" x="185.0" y="100.5" text-anchor="middle">Session state &rarr; copied &#10003;</text><rect class="bx bad" x="20" y="126" width="330" height="40" rx="8"/><text class="t b" x="185.0" y="150.5" text-anchor="middle">Conversation history &rarr; dropped &#10007;</text><rect class="bx bad" x="20" y="176" width="330" height="40" rx="8"/><text class="t b" x="185.0" y="200.5" text-anchor="middle">Image output &rarr; {&#x27;result&#x27;: &#x27;&#x27;} &#10007;</text><rect class="bx good" x="20" y="226" width="330" height="40" rx="8"/><text class="t b" x="185.0" y="250.5" text-anchor="middle">Control returns to the parent &#10003;</text><rect class="bx good" x="370" y="76" width="330" height="40" rx="8"/><text class="t b" x="535.0" y="100.5" text-anchor="middle">Image output &rarr; preserved &#10003;</text><rect class="bx bad" x="370" y="126" width="330" height="40" rx="8"/><text class="t b" x="535.0" y="150.5" text-anchor="middle">Control flow &rarr; taken over &#10007;</text><text class="s" x="535" y="216" text-anchor="middle">Pick one: keep your images,</text><text class="s" x="535" y="234" text-anchor="middle">or keep control of the turn.</text></svg><figcaption>Each delegation style loses something different.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Pass the history you need explicitly, and return images by reference (an artifact or URL) instead of inline output.</p></article><article class="issue"><header><h3>Over-abstracted agent class hierarchy</h3><div class="refs">r/LangChain discussion</div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK design</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Developers on r/LangChain say that wiring <code>LlmAgent</code>, Sequential, Parallel and Loop agent classes together takes a lot of boilerplate compared with ordinary control flow in code.</p><p class="lbl">Why it hurts</p><p>Simple orchestration logic ends up spread across nested classes, which makes it harder to read, debug and change.</p></div>
<figure><svg viewBox="0 0 720 250" role="img" aria-label="Nested agent classes versus plain control flow"><defs><marker id="f8-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f8-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f8-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx mute" x="20" y="20" width="330" height="210" rx="8"/><text class="s b" x="34" y="42" text-anchor="start">SequentialAgent</text><rect class="bx n" x="36" y="54" width="298" height="92" rx="8"/><text class="s b" x="50" y="74" text-anchor="start">ParallelAgent</text><rect class="bx acc" x="50" y="86" width="130" height="44" rx="8"/><text class="t b" x="115.0" y="112.5" text-anchor="middle">LlmAgent</text><rect class="bx acc" x="192" y="86" width="130" height="44" rx="8"/><text class="t b" x="257.0" y="112.5" text-anchor="middle">LlmAgent</text><rect class="bx n" x="36" y="156" width="298" height="62" rx="8"/><text class="s b" x="50" y="176" text-anchor="start">LoopAgent</text><rect class="bx acc" x="170" y="166" width="152" height="44" rx="8"/><text class="t b" x="246.0" y="192.5" text-anchor="middle">LlmAgent (refine)</text><rect class="bx n" x="380" y="20" width="320" height="210" rx="8"/><text class="s b" x="396" y="44" text-anchor="start">Plain control flow</text><text class="t m" x="396" y="74" xml:space="preserve">research, outline = await gather(</text><text class="t m" x="396" y="96" xml:space="preserve">    research(q), outline(q))</text><text class="t m" x="396" y="118" xml:space="preserve">draft = write(research, outline)</text><text class="t m" x="396" y="140" xml:space="preserve">for _ in range(3):</text><text class="t m" x="396" y="162" xml:space="preserve">    draft = await refine(draft)</text><text class="t m" x="396" y="184" xml:space="preserve">return draft</text><text class="s b" x="365" y="130" text-anchor="middle">vs</text></svg><figcaption>The same pipeline as nested agent classes and as a few lines of code.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Use workflow agents where they help with tracing or deployment. For bespoke logic, plain async code calling agents is often clearer.</p></article></section><section id="langgraph"><div class="sh"><span class="num">3</span><div><h2>LangGraph</h2><div class="repo"><code>langchain-ai/langgraph</code></div></div></div><p class="intro">LangGraph's issues come from state: how it's copied, merged and scoped as graphs grow.</p><aside class="under"><div class="uh">Where the code runs</div><p>Graph execution and reducers are <strong>in-process</strong>. Persistence goes through a <strong>checkpointer</strong> you choose, plus an optional <strong>Store</strong>.</p><ul><li>Checkpointers: <code>InMemorySaver</code> (RAM, lost on restart), <code>SqliteSaver</code> (local file), <code>PostgresSaver</code> (production), or community libraries.</li><li>A checkpointer tracks the current thread. A Store keeps durable data across threads.</li><li>On LangGraph's Agent Server, persistence is managed for you.</li></ul></aside><article class="issue"><header><h3>Checkpoint serialization bloats storage by up to 85%</h3><div class="refs"><a href="https://github.com/langchain-ai/langgraph/issues/7714">#7714</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span><span class="tag store">Checkpoint storage</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>LangGraph serializes and writes state to several places: the checkpointer, subgraph <code>Send()</code> payloads, stream sinks and stores. In long-running graphs these redundant copies inflate storage and payloads by up to 85%.</p><p class="lbl">Why it hurts</p><p>Storage costs and latency grow with graph length, and the duplication can't be seen from your own code.</p></div>
<figure><svg viewBox="0 0 720 270" role="img" aria-label="The same state is serialized to four surfaces"><defs><marker id="f9-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f9-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f9-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx acc" x="20" y="98" width="160" height="64" rx="8"/><text class="t b" x="100.0" y="126.0" text-anchor="middle">Graph state</text><text class="t" x="100.0" y="143.0" text-anchor="middle">one logical copy</text><rect class="bx n" x="290" y="20" width="220" height="44" rx="8"/><text class="t b" x="400.0" y="46.5" text-anchor="middle">Checkpointer</text><path class="ln n" d="M180 130 L286 42" marker-end="url(#f9-n)"/><path class="ln bad" d="M510 42 L556 130" marker-end="url(#f9-bad)"/><rect class="bx n" x="290" y="80" width="220" height="44" rx="8"/><text class="t b" x="400.0" y="106.5" text-anchor="middle">Subgraph Send() payloads</text><path class="ln n" d="M180 130 L286 102" marker-end="url(#f9-n)"/><path class="ln bad" d="M510 102 L556 130" marker-end="url(#f9-bad)"/><rect class="bx n" x="290" y="140" width="220" height="44" rx="8"/><text class="t b" x="400.0" y="166.5" text-anchor="middle">Stream sinks</text><path class="ln n" d="M180 130 L286 162" marker-end="url(#f9-n)"/><path class="ln bad" d="M510 162 L556 130" marker-end="url(#f9-bad)"/><rect class="bx n" x="290" y="200" width="220" height="44" rx="8"/><text class="t b" x="400.0" y="226.5" text-anchor="middle">Store</text><path class="ln n" d="M180 130 L286 222" marker-end="url(#f9-n)"/><path class="ln bad" d="M510 222 L556 130" marker-end="url(#f9-bad)"/><rect class="bx bad" x="560" y="78" width="140" height="104" rx="8"/><text class="t b" x="630.0" y="117.5" text-anchor="middle">Storage</text><text class="t" x="630.0" y="134.5" text-anchor="middle">redundant copies</text><text class="t" x="630.0" y="151.5" text-anchor="middle">up to 85% bloat</text></svg><figcaption>One state, four serialization surfaces.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Keep large blobs out of state (store references), set checkpoint TTLs, and measure checkpoint size per step.</p></article><article class="issue"><header><h3>Tedious custom reducer boilerplate</h3><div class="refs"><a href="https://github.com/langchain-ai/langgraph/issues/7271">#7271</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>By default, when parallel nodes write the same state field, the last write wins. Combining nested dictionaries or distinct lists safely means writing a custom merge function each time.</p><p class="lbl">Why it hurts</p><p>Data from one branch disappears without an error, and the fix is repetitive code for every field that's at risk.</p></div>
<figure><svg viewBox="0 0 720 250" role="img" aria-label="Parallel writes overwrite each other unless you write a reducer"><defs><marker id="f10-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f10-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f10-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx n" x="20" y="40" width="170" height="56" rx="8"/><text class="t b" x="105.0" y="64.0" text-anchor="middle">Node A</text><text class="t" x="105.0" y="81.0" text-anchor="middle">tags: [&quot;a&quot;]</text><rect class="bx n" x="20" y="150" width="170" height="56" rx="8"/><text class="t b" x="105.0" y="174.0" text-anchor="middle">Node B</text><text class="t" x="105.0" y="191.0" text-anchor="middle">tags: [&quot;b&quot;]</text><rect class="bx acc" x="280" y="40" width="190" height="56" rx="8"/><text class="t b" x="375.0" y="64.0" text-anchor="middle">Default reducer</text><text class="t" x="375.0" y="81.0" text-anchor="middle">last write wins</text><rect class="bx acc" x="280" y="150" width="190" height="56" rx="8"/><text class="t b" x="375.0" y="174.0" text-anchor="middle">Custom reducer</text><text class="t" x="375.0" y="191.0" text-anchor="middle">you write the merge</text><rect class="bx bad" x="540" y="40" width="160" height="56" rx="8"/><text class="t b" x="620.0" y="64.0" text-anchor="middle">tags = [&quot;b&quot;]</text><text class="t" x="620.0" y="81.0" text-anchor="middle">A&#x27;s update lost</text><rect class="bx good" x="540" y="150" width="160" height="56" rx="8"/><text class="t b" x="620.0" y="174.0" text-anchor="middle">tags = [&quot;a&quot;, &quot;b&quot;]</text><text class="t" x="620.0" y="191.0" text-anchor="middle">both kept</text><path class="ln n" d="M190 68 L276 68" marker-end="url(#f10-n)"/><path class="ln n" d="M190 178 L276 72" marker-end="url(#f10-n)"/><path class="ln n da" d="M190 72 L276 174" marker-end="url(#f10-n)"/><path class="ln n da" d="M190 178 L276 178" marker-end="url(#f10-n)"/><path class="ln bad" d="M470 68 L536 68" marker-end="url(#f10-bad)"/><path class="ln good" d="M470 178 L536 178" marker-end="url(#f10-good)"/><text class="s" x="280" y="236" text-anchor="start">&#8230;repeated for every nested dict or list field that parallel nodes touch.</text></svg><figcaption>Without a reducer, one branch's update disappears.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Keep a small shared library of reducers (dict-merge, unique-list) and annotate every field that parallel nodes write.</p></article><article class="issue"><header><h3>Subgraph state reducer surprises</h3><div class="refs"><a href="https://github.com/langchain-ai/langgraph/issues/3587">#3587</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Pushing and popping stack-like state keys inside nested subgraphs can produce state histories that differ from the same operations at the parent level.</p><p class="lbl">Why it hurts</p><p>Logic that's correct in the parent graph behaves differently once you move it into a subgraph, which undercuts the point of composing graphs.</p></div>
<figure><svg viewBox="0 0 720 220" role="img" aria-label="Identical stack updates produce different histories in a subgraph"><defs><marker id="f11-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f11-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f11-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><text class="s b" x="20" y="62" text-anchor="start">Parent graph</text><text class="s b" x="20" y="162" text-anchor="start">Nested subgraph</text><rect class="bx n" x="150" y="30" width="160" height="50" rx="8"/><text class="t b" x="230.0" y="59.5" text-anchor="middle">Stack push / pop</text><rect class="bx n" x="340" y="30" width="140" height="50" rx="8"/><text class="t b" x="410.0" y="59.5" text-anchor="middle">Reducer</text><rect class="bx good" x="510" y="30" width="190" height="50" rx="8"/><text class="t b" x="605.0" y="59.5" text-anchor="middle">History as expected</text><rect class="bx n" x="150" y="130" width="160" height="50" rx="8"/><text class="t b" x="230.0" y="159.5" text-anchor="middle">Same push / pop</text><rect class="bx n" x="340" y="130" width="140" height="50" rx="8"/><text class="t b" x="410.0" y="159.5" text-anchor="middle">Reducer</text><rect class="bx bad" x="510" y="130" width="190" height="50" rx="8"/><text class="t b" x="605.0" y="151.0" text-anchor="middle">History differs</text><text class="t" x="605.0" y="168.0" text-anchor="middle">from the parent</text><path class="ln n" d="M310 55 L336 55" marker-end="url(#f11-n)"/><path class="ln good" d="M480 55 L506 55" marker-end="url(#f11-good)"/><path class="ln n" d="M310 155 L336 155" marker-end="url(#f11-n)"/><path class="ln bad" d="M480 155 L506 155" marker-end="url(#f11-bad)"/></svg><figcaption>Same updates, different history once nested.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Test subgraphs on their own and when embedded, and compare their state histories.</p></article></section><section id="crewai"><div class="sh"><span class="num">4</span><div><h2>CrewAI</h2><div class="repo"><code>crewAIInc/crewAI</code></div></div></div><p class="intro">CrewAI's problems span orchestration (who does the work), runaway loops, and one serious platform security incident.</p><aside class="under"><div class="uh">Where the code runs</div><p>Crews, managers and tool loops run in CrewAI's <strong>in-process executor</strong> against whichever <strong>LLM provider</strong> you configure.</p><ul><li>Memory uses a unified <code>Memory</code> class backed by embedded <strong>LanceDB</strong> by default (older versions used ChromaDB plus SQLite). A custom backend can be plugged in.</li><li>The token leak was in CrewAI's <strong>hosted deployment platform</strong>, not the open-source library.</li></ul></aside><article class="issue"><header><h3>Manager agents fail to delegate</h3><div class="refs"><a href="https://github.com/crewAIInc/crewAI/issues/4783">#4783</a> &middot; CrewAI Community Forum</div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK orchestration</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>In hierarchical crews with dynamically created managers, the manager's coworker lookup sometimes finds only itself. The result is either a <em>No agent found</em> error or a manager that does every subtask alone.</p><p class="lbl">Why it hurts</p><p>The specialist agents you designed never run, so output quality drops while the crew still looks like it succeeded.</p></div>
<figure><svg viewBox="0 0 720 270" role="img" aria-label="The manager only finds itself, so nothing gets delegated"><defs><marker id="f12-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f12-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f12-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx acc" x="260" y="20" width="200" height="56" rx="8"/><text class="t b" x="360.0" y="44.0" text-anchor="middle">Manager (dynamic)</text><text class="t" x="360.0" y="61.0" text-anchor="middle">looks up coworkers</text><rect class="bx mute" x="20" y="120" width="170" height="50" rx="8"/><text class="t b" x="105.0" y="141.0" text-anchor="middle">Researcher</text><text class="t" x="105.0" y="158.0" text-anchor="middle">never called</text><rect class="bx mute" x="530" y="120" width="170" height="50" rx="8"/><text class="t b" x="615.0" y="141.0" text-anchor="middle">Writer</text><text class="t" x="615.0" y="158.0" text-anchor="middle">never called</text><rect class="bx bad" x="260" y="120" width="200" height="50" rx="8"/><text class="t b" x="360.0" y="141.0" text-anchor="middle">Coworkers found:</text><text class="t" x="360.0" y="158.0" text-anchor="middle">only itself</text><path class="ln bad" d="M360 76 L360 116" marker-end="url(#f12-bad)"/><path class="ln bad da" d="M260 48 L105 48 L105 116" marker-end="url(#f12-bad)"/><path class="ln bad da" d="M460 48 L615 48 L615 116" marker-end="url(#f12-bad)"/><rect class="bx bad" x="150" y="204" width="420" height="54" rx="8"/><text class="t b" x="360.0" y="227.0" text-anchor="middle">&#8220;No agent found&#8221; error</text><text class="t" x="360.0" y="244.0" text-anchor="middle">or the manager does every task itself</text><path class="ln bad" d="M360 170 L360 200" marker-end="url(#f12-bad)"/></svg><figcaption>The specialists sit idle while the manager does everything.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Log every delegation and assert that each specialist gets at least one task in integration tests.</p></article><article class="issue"><header><h3>Infinite tool-call loops burn tokens</h3><div class="refs"><a href="https://github.com/crewAIInc/crewAI/issues/6414">#6414</a></div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag sdk">SDK orchestration</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Nothing deterministically checks the agent's trajectory. An agent that repeats the exact same (role, tool, arguments) call relies on the LLM to notice it's stuck, or runs until a blunt <code>max_iter</code> cutoff.</p><p class="lbl">Why it hurts</p><p>Loops waste tokens, and a <code>max_iter</code> cutoff strict enough to stop them also kills legitimate long workflows.</p></div>
<figure><svg viewBox="0 0 720 250" role="img" aria-label="Identical tool calls loop until tokens or max_iter run out"><defs><marker id="f13-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f13-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f13-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx acc" x="20" y="100" width="150" height="56" rx="8"/><text class="t b" x="95.0" y="132.5" text-anchor="middle">Agent</text><rect class="bx n" x="240" y="100" width="230" height="56" rx="8"/><text class="t b" x="355.0" y="124.0" text-anchor="middle">search(query=&quot;pricing&quot;)</text><text class="t" x="355.0" y="141.0" text-anchor="middle">same role &middot; tool &middot; args</text><path class="ln n" d="M170 128 L236 128" marker-end="url(#f13-n)"/><path class="ln n" d="M355 100 C355 50 95 50 95 96" marker-end="url(#f13-n)"/><text class="s bad" x="225" y="46" text-anchor="middle">call #1, #2, #3 &#8230; #N, nothing notices the repeat</text><rect class="bx bad" x="540" y="40" width="160" height="56" rx="8"/><text class="t b" x="620.0" y="64.0" text-anchor="middle">Tokens burned</text><text class="t" x="620.0" y="81.0" text-anchor="middle">every iteration</text><rect class="bx bad" x="540" y="140" width="160" height="72" rx="8"/><text class="t b" x="620.0" y="163.5" text-anchor="middle">max_iter cutoff</text><text class="t" x="620.0" y="180.5" text-anchor="middle">also kills valid</text><text class="t" x="620.0" y="197.5" text-anchor="middle">long workflows</text><path class="ln bad" d="M470 118 L536 72" marker-end="url(#f13-bad)"/><path class="ln bad" d="M470 140 L536 170" marker-end="url(#f13-bad)"/><text class="s" x="20" y="236" text-anchor="start">Missing: a deterministic check for repeated (role, tool, arguments) calls.</text></svg><figcaption>The repeated call is never caught. Only the budget ends it.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Fingerprint each (role, tool, args) call and stop or redirect after N identical repeats, separately from <code>max_iter</code>.</p></article><article class="issue"><header><h3>Cloud deployment exception leak (&#8220;Uncrew&#8221;)</h3><div class="refs">Noma Labs disclosure &middot; CVSS 9.2</div></header><div class="tags"><span class="tl">Where it breaks</span><span class="tag host">Hosted platform</span></div>
<div class="cols"><div><p class="lbl">What happens</p><p>Noma Labs found that bad exception handling during CrewAI deployment provisioning returned an error response whose <code>repo_clone_url</code> field contained an internal GitHub token with admin access.</p><p class="lbl">Why it hurts</p><p>Anyone who triggered the error could get admin access to CrewAI's private repositories, which is a supply-chain risk. CrewAI revoked the token and patched the issue within hours of disclosure.</p></div>
<figure><svg viewBox="0 0 720 240" role="img" aria-label="A provisioning error response leaked an admin GitHub token"><defs><marker id="f14-n" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah n"/></marker><marker id="f14-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah bad"/></marker><marker id="f14-good" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10z" class="ah good"/></marker></defs><rect class="bx n" x="20" y="40" width="150" height="56" rx="8"/><text class="t b" x="95.0" y="64.0" text-anchor="middle">User</text><text class="t" x="95.0" y="81.0" text-anchor="middle">starts deployment</text><rect class="bx acc" x="210" y="40" width="170" height="56" rx="8"/><text class="t b" x="295.0" y="64.0" text-anchor="middle">Provisioning</text><text class="t" x="295.0" y="81.0" text-anchor="middle">fails</text><rect class="bx bad" x="420" y="20" width="280" height="96" rx="8"/><text class="t b" x="560.0" y="55.5" text-anchor="middle">Exception response (JSON)</text><text class="t" x="560.0" y="72.5" text-anchor="middle">repo_clone_url: https://</text><text class="t" x="560.0" y="89.5" text-anchor="middle">&#8249;admin GitHub token&#8250;@&#8230;</text><rect class="bx bad" x="420" y="156" width="280" height="56" rx="8"/><text class="t b" x="560.0" y="180.0" text-anchor="middle">Admin access to private repos</text><text class="t" x="560.0" y="197.0" text-anchor="middle">&rarr; supply-chain risk</text><rect class="bx good" x="20" y="156" width="360" height="56" rx="8"/><text class="t b" x="200.0" y="180.0" text-anchor="middle">Fix: token revoked, exception</text><text class="t" x="200.0" y="197.0" text-anchor="middle">handling patched within hours</text><path class="ln n" d="M170 68 L206 68" marker-end="url(#f14-n)"/><path class="ln bad" d="M380 68 L416 68" marker-end="url(#f14-bad)"/><path class="ln bad" d="M560 116 L560 152" marker-end="url(#f14-bad)"/></svg><figcaption>An error path turned into a credential leak.</figcaption></figure></div>
<p class="fix"><span>Mitigation idea</span> Treat error paths as places secrets can leak: scrub credentials from user-facing errors and use short-lived, narrowly scoped tokens.</p></article></section>
<section class="close" id="patterns"><h2>Common patterns</h2>
<ul>
<li><strong>Persistence is where agents are most fragile.</strong> Amnesia, lost final state, empty restores and storage bloat all happen at the boundary where state is written out and read back.</li>
<li><strong>Composition doesn't come for free.</strong> Tools and agents that work alone collide in hierarchies (ADK tool limits, CrewAI delegation, LangGraph subgraph reducers).</li>
<li><strong>Most failures are silent.</strong> Partial deletes, dropped images and overwritten branches return no error, so verifying after you write and asserting in tests matter more than catching exceptions.</li>
<li><strong>Error paths are part of the attack surface.</strong> The CrewAI token leak came from a failure response, not the happy path.</li>
</ul></section>
<p class="note">Issue numbers and descriptions come from the source notes this article is based on. Issues may have been fixed or reworded since they were reported, so check each linked issue for its current status before acting on it. The mitigation ideas are general engineering suggestions, not official guidance from the projects.</p>
</div></body></html>]]></content><author><name></name></author><category term="agent architecture" /><category term="ai agents" /><summary type="html"><![CDATA[Fourteen pain points from GitHub issues, security advisories and developer discussions about four popular agent frameworks, each explained in plain language with a diagram of what goes wrong.]]></summary></entry><entry><title type="html">Cookie Cutters in Software</title><link href="https://sepractioners.github.io/not-yet-clear/cookie-cutters-in-software/" rel="alternate" type="text/html" title="Cookie Cutters in Software" /><published>2026-11-20T00:00:00+00:00</published><updated>2026-11-20T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/cookie-cutters-in-software</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/cookie-cutters-in-software/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cookie Cutters in Software</title>
<meta name="description" content="A fixed way of doing things, instead of keeping it open for the developer community: what it gives you and what it costs.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  margin:0;
  padding:3.5rem 1.5rem 4rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}
.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2rem,5vw,2.6rem);
  line-height:1.1;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 0.8rem;
}
.dek{
  font-size:1.15rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 1.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.7rem 0;
  margin:0 0 2rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}
p{margin:0 0 1rem;max-width:66ch;color:var(--ink-soft);}
p b, td b, li b{color:var(--ink);font-weight:600;}
ol{margin:0 0 1rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.4rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}
.tablewrap{overflow-x:auto;margin:1.25rem 0 1.5rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:0;font-size:13.5px;}
thead th{
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--slate);
  text-align:left;
  padding:9px 12px;
  background:var(--paper-raised);
  border-bottom:0.5px solid var(--rule-strong);
  white-space:nowrap;
}
tbody td{padding:8px 12px;border-bottom:0.5px solid var(--rule);color:var(--ink-soft);vertical-align:top;}
tbody tr:last-child td{border-bottom:none;}
tr.grp td{background:var(--paper-raised);color:var(--ink);font-weight:600;font-size:12.5px;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}
.src{font-size:12.5px;color:var(--slate);border-top:0.5px solid var(--rule);padding-top:0.9rem;margin-top:1.75rem;}
.src a{color:var(--slate);}
.src a:hover{color:var(--amber-ink);}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
h2{font-size:1.3rem;line-height:1.3;letter-spacing:-0.01em;font-weight:600;margin:2rem 0 0.7rem;color:var(--ink);}
ul{margin:0 0 1rem;padding-left:1.3rem;max-width:63ch;}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<h1>Cookie Cutters in Software</h1>
<p class="dek">A fixed way of doing things, instead of keeping it open for the developer community. When does that help, and when does it hurt?</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>5 min read</span></div>

<p>A cookie cutter gives every cookie the same shape. In software, it's a fixed way of doing something: a standard project template, one approved stack, one platform everyone has to use. The alternative is keeping it open for the developer community, with no single fixed answer, where ideas and tools come from many people. Neither is always right. Here is what I think each side gets you.</p>

<h2>What the cutter gives you</h2>
<ul>
<li><b>A fast start.</b> According to Spotify's Backstage learning material, its templates cut the time to a first "Hello World" to a few clicks, and the templates are the base of its "Golden Paths," the standard ways to build things there [1]. Spotify also reports that the time for a new hire to merge their 10th pull request fell 55% two years after it rolled out Backstage, the platform those templates live in [2]. That number is for the whole platform, not templates alone.</li>
<li><b>Fewer decisions.</b> Nobody has to argue about folder layout or logging again. Spotify says its templates are maintained and reviewed by experts in each area, so good practices come built in [1].</li>
<li><b>Things look the same.</b> When every service has the same shape, anyone can find their way around one they didn't write. That one is my view, not a measured result.</li>
</ul>

<h2>What it costs you</h2>
<ul>
<li><b>It gets old.</b> A template is copied once. After that, the project changes and the template changes, and they drift apart. Tools like cruft, which builds on Cookiecutter, exist because projects fall behind the template they came from. Its <code>cruft check</code> command just tells you whether a project is behind [3].</li>
<li><b>The shape can stop fitting.</b> In February 2025 the React team deprecated Create React App, one of the best-known starter templates in web development. They said it was easy to start with, but its limits made it hard to build fast production apps, and the project had no active maintainers [4]. Anyone who used that cutter was left with its shape.</li>
<li><b>Odd cases get squeezed.</b> A fixed shape fits the common case and fights everything else. This is also my view.</li>
<li><b>People stop asking why.</b> If the template decides everything, it's easy to copy it without knowing the reason behind each choice. My view again.</li>
</ul>

<h2>The agent factory era</h2>
<p>Coding agents change this picture. Some people now describe software delivery as a factory: agents write, review and test changes, while people set the direction and approve the results. Addy Osmani puts it as building the factory that builds your software, not just writing code [6]. The New Stack makes a similar point: engineers become process engineers who design the pipelines and the human checks [7]. Sonar, a vendor with its own view, defines an agentic software factory as a repeatable delivery system where agents do the coordinated work and people set the intent, the constraints and the approval rules [8].</p>
<p>In a factory, the cookie cutter isn't a side tool. It is the factory. The templates, the standard checks and the rules agents must follow decide what comes off the line. That raises the stakes both ways. A fixed shape gives agents clear limits, and people are only needed where a mistake is expensive and the call takes judgment [7]. But a flaw in the cutter is now copied at machine speed, and drift happens faster. Faster code also tends to move the bottleneck to review, testing and release, so the checks matter more than the shape of the starter project. That last part is my reading, not something these sources test.</p>

<h2>Where I land</h2>
<p>Red Hat's advice on golden paths is that they should be optional, not the only way things are done [5]. I agree. Use a cookie cutter for the boring, repeated parts, where being different adds nothing. Keep it owned and updated like a product. Make it cheap to step off the path when there is a good reason. And if nobody can explain why the cutter has the shape it has, that's the sign to check it again. In the agent factory era this matters more, because the cutter now shapes what the agents produce. It needs careful owners, and a way for the developer community to keep improving it.</p>

<p class="src"><b>References</b><br>
[1] Spotify, <i>Onboarding Software to Backstage</i>, Spotify Software Templates. <a href="https://backstage.spotify.com/learn/onboarding-software-to-backstage/11-spotify-templates" target="_blank" rel="noopener">backstage.spotify.com</a><br>
[2] Spotify, <i>How we measure Backstage success at Spotify</i>. <a href="https://backstage.spotify.com/discover/blog/how-we-measure-backstage-success-at-spotify/" target="_blank" rel="noopener">backstage.spotify.com</a><br>
[3] cruft, a tool for keeping Cookiecutter projects in sync with their template. <a href="https://github.com/cruft/cruft" target="_blank" rel="noopener">github.com/cruft/cruft</a><br>
[4] React team, <i>Sunsetting Create React App</i>, February 14, 2025 (Japanese version). <a href="https://ja.react.dev/blog/2025/02/14/sunsetting-create-react-app" target="_blank" rel="noopener">ja.react.dev</a><br>
[5] Red Hat, <i>Designing golden paths</i>. <a href="https://www.redhat.com/en/blog/designing-golden-paths" target="_blank" rel="noopener">redhat.com</a><br>
[6] Addy Osmani, <i>The Factory Model: How Coding Agents Changed Software Engineering</i>. <a href="https://addyosmani.com/blog/factory-model/" target="_blank" rel="noopener">addyosmani.com</a><br>
[7] The New Stack, <i>Engineers become process engineers</i>. <a href="https://thenewstack.io/engineers-become-process-engineers/?p=22843121" target="_blank" rel="noopener">thenewstack.io</a><br>
[8] Sonar, <i>What is an agentic software factory?</i> <a href="https://www.sonarsource.com/resources/library/what-is-an-agentic-software-factory/" target="_blank" rel="noopener">sonarsource.com</a></p>

</div>
</body>
</html>]]></content><author><name></name></author><category term="software delivery" /><category term="platform engineering" /><summary type="html"><![CDATA[A fixed way of doing things, instead of keeping it open for the developer community: what it gives you and what it costs.]]></summary></entry><entry><title type="html">Privacy and Agents</title><link href="https://sepractioners.github.io/not-yet-clear/privacy-and-agents/" rel="alternate" type="text/html" title="Privacy and Agents" /><published>2026-11-20T00:00:00+00:00</published><updated>2026-11-20T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/privacy-and-agents</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/privacy-and-agents/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Privacy and Agents</title>
<meta name="description" content="A new draft guide lists the ways an AI agent can leak or misuse your personal information, and how to tell what really happened.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  margin:0;
  padding:3.5rem 1.5rem 4rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}
.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2rem,5vw,2.6rem);
  line-height:1.1;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 0.8rem;
}
.dek{
  font-size:1.15rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 1.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.7rem 0;
  margin:0 0 2rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}
p{margin:0 0 1rem;max-width:66ch;color:var(--ink-soft);}
p b, td b, li b{color:var(--ink);font-weight:600;}
ol{margin:0 0 1rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.4rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}
.tablewrap{overflow-x:auto;margin:1.25rem 0 1.5rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:0;font-size:13.5px;}
thead th{
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--slate);
  text-align:left;
  padding:9px 12px;
  background:var(--paper-raised);
  border-bottom:0.5px solid var(--rule-strong);
  white-space:nowrap;
}
tbody td{padding:8px 12px;border-bottom:0.5px solid var(--rule);color:var(--ink-soft);vertical-align:top;}
tbody tr:last-child td{border-bottom:none;}
tr.grp td{background:var(--paper-raised);color:var(--ink);font-weight:600;font-size:12.5px;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}
.src{font-size:12.5px;color:var(--slate);border-top:0.5px solid var(--rule);padding-top:0.9rem;margin-top:1.75rem;}
.src a{color:var(--slate);}
.src a:hover{color:var(--amber-ink);}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<h1>Privacy and Agents</h1>
<p class="dek">A new research guide lists how that can go wrong.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>3 min read</span></div>

<p>An AI agent is an AI that does jobs for you. It reads your email, browses websites and uses apps, mostly on its own. To do that, it sees a lot of your personal information. So what could go wrong?</p>

<p>I read a first draft of a guide that tries to answer exactly that. It comes from MLCommons and was published in September 2026 [1]. It's research, and it's still a draft, so the authors say they want feedback.</p>

<p>The authors start from older privacy research, like Daniel Solove's list of privacy harms [2] and the U.S. government's risk guides from NIST [3, 4]. Their point is that those were written for software that follows fixed steps. Agents don't. They remember things, run code and talk to other agents, so the old guides need stretching [1].</p>

<p>The guide lists 25 risks in five groups. These are its own names for them [1]:</p>

<div class="tablewrap">
<table>
<thead><tr><th>ID</th><th>Risk</th></tr></thead>
<tbody>
<tr class="grp"><td colspan="2">1. Data Ingestion Risks</td></tr>
<tr><td class="lead">R1.1</td><td>Agent ingests data through continuous tracking</td></tr>
<tr><td class="lead">R1.2</td><td>Unintended or unexpected data collection</td></tr>
<tr><td class="lead">R1.3</td><td>Logging of agent trajectories</td></tr>
<tr><td class="lead">R1.4</td><td>Compounding risks due to persistence across sessions</td></tr>
<tr><td class="lead">R1.5</td><td>Failure of traditional PII redaction techniques</td></tr>
<tr><td class="lead">R1.6</td><td>Untrusted content/tool/agent</td></tr>
<tr><td class="lead">R1.7</td><td>Over-privileged inter-agent data handshakes</td></tr>
<tr class="grp"><td colspan="2">2. Data Aggregation, Use &amp; Sharing Risks</td></tr>
<tr><td class="lead">R2.1</td><td>Mosaic effect</td></tr>
<tr><td class="lead">R2.2</td><td>Excessive data use by Agents</td></tr>
<tr><td class="lead">R2.3</td><td>Unintended or unexpected data sharing, and deletion</td></tr>
<tr><td class="lead">R2.4</td><td>Agentic supply chain manipulation</td></tr>
<tr><td class="lead">R2.5</td><td>Unauthorized access to data due to unexpected dynamic code execution</td></tr>
<tr><td class="lead">R2.6</td><td>Adversarial context and memory poisoning</td></tr>
<tr><td class="lead">R2.7</td><td>Agent actions reveal sensitive information</td></tr>
<tr><td class="lead">R2.8</td><td>Out-of-Context, model-originated sensitive information disclosure</td></tr>
<tr><td class="lead">R2.9</td><td>Out-of-Context, model-originated inferred protected attributes</td></tr>
<tr class="grp"><td colspan="2">3. Inconsistent Privacy Practices across Agents</td></tr>
<tr><td class="lead">R3.1</td><td>Fragmented privacy behavior in A2A interactions</td></tr>
<tr><td class="lead">R3.2</td><td>Cross-agent data rights propagation failure</td></tr>
<tr><td class="lead">R3.3</td><td>Cross-agent privacy failure propagation</td></tr>
<tr class="grp"><td colspan="2">4. Failure of legacy consent systems</td></tr>
<tr><td class="lead">R4.1</td><td>Limitations in inferring and adhering to consent</td></tr>
<tr><td class="lead">R4.2</td><td>Consent fatigue</td></tr>
<tr><td class="lead">R4.3</td><td>The transparency deficit</td></tr>
<tr><td class="lead">R4.4</td><td>Manipulation</td></tr>
<tr class="grp"><td colspan="2">5. Accountability and Governance Risks</td></tr>
<tr><td class="lead">R5.1</td><td>Lack of clarity around who is accountable for a given action</td></tr>
<tr><td class="lead">R5.2</td><td>Inadequate interaction logging</td></tr>
</tbody>
</table>
</div>

<p>What I liked most is how they say to judge a risk. Instead of one scary label, they use a chain of six steps [1]. Something creates a chance for trouble. The agent fails. Private data is used the wrong way. Someone is affected. They lose some privacy. And last, they suffer real harm, like losing money or being embarrassed.</p>

<p>The honest part is that you can usually see the first three steps in logs, but you have to guess at the last three. The final one needs proof from outside the system. So the guide says a successful attack doesn't, by itself, prove that anyone was actually hurt, and a good report should say which steps were seen and which were assumed [1]. It also warns against saying "this is 30% likely" unless you really counted cases. If you can't, say how often the risky situation shows up, and how often the system fails when it does [1].</p>

<p>The guide also explains why old protections struggle. Locking one file doesn't help if the agent works out the secret from other clues (R2.2). Tools that hide phone numbers and ID numbers miss softer hints (R1.5). And an "allow or deny" pop-up can't keep up with an AI that guesses what you meant (R4.1, R4.2) [1]. My own example of a soft hint: "the nurse at the school on Elm Street." No ID number, but you could still find her.</p>

<p class="src"><b>References</b><br>
[1] MLCommons AI Risk &amp; Reliability Program, Privacy and Confidentiality Working Group. <i>Agent Privacy Risk Taxonomy V.01</i>, first draft, September 2026. <a href="https://mlcommons.org/wp-content/uploads/2026/10/ML-Commons-Agent-Privacy-Taxonomy-v01-1.pdf" target="_blank" rel="noopener">mlcommons.org</a>. Risk numbers (R1.1 etc.) are the guide's own.<br>
[2] Daniel J. Solove, <i>A Taxonomy of Privacy</i>. <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=667622" target="_blank" rel="noopener">papers.ssrn.com</a> (linked from [1]).<br>
[3] NIST IR 8062, the NIST Privacy Risk Model. <a href="https://csrc.nist.gov/pubs/ir/8062/final" target="_blank" rel="noopener">csrc.nist.gov</a> (linked from [1]).<br>
[4] NIST AI 100-1, <i>Artificial Intelligence Risk Management Framework</i>. <a href="https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf" target="_blank" rel="noopener">nvlpubs.nist.gov</a> (linked from [1]).</p>

</div>
</body>
</html>]]></content><author><name></name></author><category term="privacy" /><category term="ai agents" /><summary type="html"><![CDATA[A new draft guide lists the ways an AI agent can leak or misuse your personal information, and how to tell what really happened.]]></summary></entry><entry><title type="html">Every Methodology Is A Rationing Scheme</title><link href="https://sepractioners.github.io/not-yet-clear/every-methodology-is-a-rationing-scheme/" rel="alternate" type="text/html" title="Every Methodology Is A Rationing Scheme" /><published>2026-09-10T00:00:00+00:00</published><updated>2026-09-10T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/every-methodology-is-a-rationing-scheme</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/every-methodology-is-a-rationing-scheme/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Every Methodology Is A Rationing Scheme</title>
<meta name="description" content="What was scarce, what got cheap, and why the ceremonies outlived their reasons. Every way of building software conserves something expensive — and when the price goes to zero, the ritual keeps running, indistinguishable from working.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#FFFFFF;
    --paper-raised:#F5F5F5;
    --ink:#1C1A17;
    --ink-soft:#4A473F;
    --slate:#5B6570;
    --slate-soft:#8A9098;
    --amber:#1A73E8;
    --amber-ink:#1967D2;
    --rule:rgba(28,26,23,0.14);
    --rule-strong:rgba(28,26,23,0.28);
  }
}
:root[data-theme="dark"]{
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
}

*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  margin:0;
  padding:4.5rem 1.5rem 6rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2.5rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}

.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1.25rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2rem,5vw,2.85rem);
  line-height:1.1;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 1rem;
  color:var(--ink);
}
.dek{
  font-family:var(--font-display);
  font-style:normal;
  font-weight:400;
  font-size:1.25rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 2.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  align-items:baseline;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.85rem 0;
  margin:0 0 3.5rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}

section{margin:0 0 3.75rem;}
.eyebrow{
  display:flex;
  align-items:baseline;
  gap:0.75rem;
  margin:0 0 1.1rem;
}
.eyebrow .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--amber);
  border:0.5px solid var(--rule-strong);
  border-radius:100px;
  padding:2px 9px;
}
.eyebrow .label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--slate);
}
h2{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.65rem;
  line-height:1.25;
  text-wrap:balance;
  margin:0 0 1.1rem;
  color:var(--ink);
}
p{margin:0 0 1.15rem;max-width:66ch;color:var(--ink-soft);}
p b, li b, td b{color:var(--ink);font-weight:600;}
em{font-style:normal;}
code{
  font-family:var(--font-mono);
  font-size:0.88em;
  background:var(--paper-raised);
  border:0.5px solid var(--rule);
  border-radius:4px;
  padding:0.1em 0.4em;
  color:var(--amber-ink);
}
ul, ol{margin:0 0 1.15rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.55rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}

blockquote{
  margin:1.8rem 0;
  padding:0 0 0 1.4rem;
  border-left:2px solid var(--amber);
  font-family:var(--font-display);
  font-style:normal;
  font-size:1.2rem;
  line-height:1.5;
  color:var(--ink);
  text-wrap:balance;
  max-width:54ch;
}

figure{margin:2.25rem 0;}
figure svg{display:block;width:100%;height:auto;border:0.5px solid var(--rule);border-radius:10px;background:var(--paper-raised);}
figcaption{font-family:var(--font-mono);font-size:11.5px;line-height:1.5;color:var(--slate);margin-top:0.7rem;max-width:60ch;}
.dgm-frame{fill:none;stroke:var(--rule-strong);stroke-width:1;}
.dgm-axis{stroke:var(--rule-strong);stroke-width:1;}
.dgm-grid{stroke:var(--rule);stroke-width:1;stroke-dasharray:3 4;}
.dgm-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.dgm-a{stroke:var(--amber);}
.dgm-b{stroke:var(--ink-soft);}
.dgm-c{stroke:var(--slate);}
.dgm-rise{fill:none;stroke:var(--amber);stroke-width:2;stroke-dasharray:2 4;stroke-linecap:round;}
.dgm-box{fill:var(--paper);stroke:var(--rule-strong);stroke-width:1;}
.dgm-box-live{fill:none;stroke:var(--amber);stroke-width:1.5;}
.dgm-fill{fill:var(--rule);}
.dgm-t{font-family:var(--font-mono);font-size:11px;fill:var(--slate);}
.dgm-k{font-family:var(--font-mono);font-size:11px;fill:var(--ink-soft);}
.dgm-h{font-family:var(--font-mono);font-size:11px;fill:var(--amber-ink);}

.divider{
  border:none;
  border-top:0.5px solid var(--rule);
  margin:3.75rem 0;
}
.close{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-style:normal;
  color:var(--ink-soft);
  padding-top:0.5rem;
}

.biblio{
  list-style:none;
  margin:0;
  padding:0;
  max-width:none;
  counter-reset:biblio;
}
.biblio li{
  counter-increment:biblio;
  font-size:13.5px;
  color:var(--ink-soft);
  padding:0.75rem 0 0.75rem 2.1rem;
  border-bottom:0.5px solid var(--rule);
  position:relative;
}
.biblio li:last-child{border-bottom:none;}
.biblio li::before{
  content:counter(biblio);
  position:absolute;
  left:0;
  top:0.75rem;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--amber);
}
.biblio li::marker{content:none;}
.biblio .cite-claim{color:var(--ink);font-weight:500;}
.biblio .cite-meta{display:block;font-family:var(--font-mono);font-size:11.5px;color:var(--slate);margin-top:3px;}
.biblio .cite-meta a{color:var(--slate);}
.biblio .cite-meta a:hover{color:var(--amber-ink);}
.caveats{font-size:13.5px;}
.caveats p{font-size:13.5px;}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<p class="kicker">on scarcity and ceremony</p>
<h1>Every Methodology Is A Rationing Scheme</h1>
<p class="dek">What was scarce, what got cheap, and why the ceremonies outlived their reasons.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>15 min read</span></div>

<section>
<div class="eyebrow"><span class="num">01</span></div>
<h2>The test</h2>
<p>Every way of building software is a way of rationing something expensive.</p>
<p>That's not a criticism. It's what a method <em>is</em>. Somebody looked at what was scarce, decided it had to be protected, and built a set of rules around conserving it. The rules made sense because the scarcity was real.</p>
<p>Which gives you a test you can run on anything still sitting in your calendar:</p>
<blockquote>What is this conserving, and is that thing still expensive?</blockquote>
<p>The uncomfortable part is what happens when the answer is no. A rationing scheme for something that became free doesn't announce itself. It keeps running. It still produces reports, still fills meetings, still feels like discipline. From the inside it's indistinguishable from working.</p>
<p>That's the whole story of software methodology. Not that anyone was wrong &mdash; that the prices moved and nobody went back to check.</p>

<figure>
<svg viewBox="0 0 640 330" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="A chart of shadow prices over time. Integration falls to near zero around 2005, feedback around 2013, construction and effort around 2025. A fourth line — judgment, system model, selection — rises after the others have fallen, having never been rationed by anything.">
  <line class="dgm-axis" x1="56" y1="28" x2="56" y2="252"/>
  <line class="dgm-axis" x1="56" y1="252" x2="616" y2="252"/>
  <line class="dgm-grid" x1="56" y1="240" x2="616" y2="240"/>
  <text class="dgm-t" x="48" y="36" text-anchor="end">high</text>
  <text class="dgm-t" x="48" y="243" text-anchor="end">&#8776; 0</text>
  <text class="dgm-t" x="56" y="270" text-anchor="middle">1995</text>
  <text class="dgm-t" x="242" y="270" text-anchor="middle">2005</text>
  <text class="dgm-t" x="428" y="270" text-anchor="middle">2015</text>
  <text class="dgm-t" x="600" y="270" text-anchor="middle">2025</text>
  <text class="dgm-t" x="335" y="292" text-anchor="middle">the shadow price of what each methodology protected</text>

  <path class="dgm-line dgm-a" d="M56 52 L470 52 C502 52 508 210 534 214 L616 216"/>
  <text class="dgm-h" x="64" y="46">construction &amp; effort</text>

  <path class="dgm-line dgm-c" d="M56 76 L180 76 C214 76 220 224 250 226 L616 228"/>
  <text class="dgm-k" x="64" y="70" fill="var(--slate)">integration</text>

  <path class="dgm-line dgm-b" d="M56 100 L300 100 C338 100 344 232 372 234 L616 236"/>
  <text class="dgm-k" x="64" y="94">feedback</text>

  <path class="dgm-rise" d="M486 244 C520 238 558 200 604 150"/>
  <text class="dgm-h" x="604" y="142" text-anchor="end">judgment &middot; system model &middot; selection</text>
</svg>
<figcaption>Each scarcity had its moment as the binding constraint, then a technology dissolved it &mdash; version control and CI for integration, short iterations for feedback, AI for construction. The apparatus built to conserve each one did not dissolve with it. The line still rising was never rationed by anything.</figcaption>
</figure>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">02</span></div>
<h2>What the old way was rationing</h2>
<p>Start with the thing everyone mocks.</p>
<p>The long specification phase, the sign-offs, the design documents nobody read &mdash; that was rationing <b>integration</b>.</p>
<p>There's a reason. When teams built parts separately for a year and then bolted them together, everything that was wrong with the interfaces surfaced at once, at the end, when it was most expensive to fix. Integration was genuinely brutal. It was also genuinely last.</p>
<p>So people did the sensible thing. If discovering an interface error late is catastrophic, spend heavily up front to prevent one. Write everything down. Agree it in advance. Gate each phase.</p>
<p>That was a rational response to an expensive scarcity. It looks absurd now for one reason only: <b>the scarcity went away.</b> Version control, automated builds, continuous integration and test suites made combining code cheap and constant. A team today integrates dozens of times a day and barely notices.</p>
<p>The moment that happened, the entire apparatus built to conserve integration became overhead. Not wrong. Just conserving something free.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">03</span></div>
<h2>What agile was rationing</h2>
<p>Once integration got cheap, the constraint moved. The next scarce thing was <b>feedback</b> &mdash; actually finding out whether you'd built the right thing.</p>
<p>That round trip was slow and expensive. Ship once a year, and you find out you misunderstood the requirement eleven months after you misunderstood it.</p>
<p>Short iterations were the rationing scheme. If a trip to the user costs a lot, take more of them, and make each one cheaper by keeping the increment small. Demo it, show somebody, correct course.</p>
<p>That worked, and the parts of it that were about the artifact still work. Continuous integration, automated tests, small releases, trunk-based development &mdash; nobody has switched any of that off, anywhere, and nobody will.</p>
<p>But something else came bundled with it, and that part was rationing a different scarcity entirely.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">04</span></div>
<h2>What the ceremonies were really rationing</h2>
<p>Here's the part usually left out of the story.</p>
<p>Somebody is paying for all this and they cannot see what they're buying.</p>
<p>That deserves care, because the usual phrasing is wrong. Software isn't invisible. You can demo it, click through it, watch the buttons work.</p>
<p>You're looking at the front. The front tells you almost nothing about the back. A screen that looks finished might have nothing behind it. A screen identical to last month's might have had its foundation rebuilt underneath. The demo isn't lying; it answers a question nobody asked.</p>

<figure>
<svg viewBox="0 0 640 340" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="A diagram. A small screen labelled 'the demo' sits on top, looking nearly complete. Below it, a much larger hidden mass labelled 'what you are paying for' contains integration, the data model, edge cases, and the parts that make it hold.">
  <rect class="dgm-box" x="230" y="26" width="180" height="82" rx="6"/>
  <line class="dgm-axis" x1="246" y1="46" x2="394" y2="46"/>
  <rect class="dgm-fill" x="246" y="56" width="92" height="9"/>
  <rect class="dgm-fill" x="246" y="72" width="130" height="9"/>
  <rect class="dgm-fill" x="246" y="88" width="70" height="9"/>
  <text class="dgm-k" x="320" y="124" text-anchor="middle">the demo &mdash; &ldquo;looks 90% done&rdquo;</text>

  <line class="dgm-grid" x1="60" y1="150" x2="580" y2="150"/>

  <rect class="dgm-box" x="60" y="168" width="520" height="140" rx="6"/>
  <text class="dgm-t" x="320" y="190" text-anchor="middle">what you are actually paying for</text>
  <rect class="dgm-fill" x="82" y="204" width="150" height="34" rx="3"/>
  <text class="dgm-k" x="157" y="225" text-anchor="middle">integration</text>
  <rect class="dgm-fill" x="246" y="204" width="150" height="34" rx="3"/>
  <text class="dgm-k" x="321" y="225" text-anchor="middle">the data model</text>
  <rect class="dgm-fill" x="410" y="204" width="148" height="34" rx="3"/>
  <text class="dgm-k" x="484" y="225" text-anchor="middle">edge cases</text>
  <rect class="dgm-fill" x="82" y="250" width="476" height="34" rx="3"/>
  <text class="dgm-k" x="320" y="271" text-anchor="middle">the parts that make it hold</text>

  <text class="dgm-h" x="320" y="330" text-anchor="middle">the line between them is where &ldquo;ninety percent for six months&rdquo; lives</text>
</svg>
<figcaption>Software isn't invisible &mdash; you can watch the buttons work. But the demo shows the front, and the front tells you almost nothing about the back. All the remaining work is in the part nobody can look at.</figcaption>
</figure>

<p>Which is why a project sits at ninety percent for six months. The visible part really is nearly done. All the remaining work is in the part nobody can look at.</p>
<p>So the person signing off millions asks for a number, because anyone would.</p>
<p>And nobody built one from scratch. They reached for the only counting system available, which came from factories &mdash; count the items, count the hours, walk the floor and see the pile.</p>
<p><b>Story points and velocity were rationing human effort.</b> That's the scarcity underneath. When engineers' hours were the binding constraint on how much software could exist, a currency for those hours made sense, even a crude one.</p>
<p>Two things were always wrong with it. The pieces aren't the same size, so one ticket is worth a thousand of another and points treat them as equal. And more effort doesn't mean more output &mdash; sometimes the best thing anyone did all month was delete code, which scores zero.</p>
<p>But the deeper problem was who produced the number.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">05</span></div>
<h2>Why an invented number always rots</h2>
<p>The people producing it were the people being judged on it.</p>
<p>That sounds like an accusation. It isn't. An economist working on monetary policy in the 1970s noticed that whenever the government started targeting a statistic, the statistic stopped meaning what it had meant. Nobody cheated. The link between a measure and the real thing only holds while nobody is steering by it.</p>
<p>Start steering, and it comes apart on its own.</p>
<p>So no amount of training or integrity fixes this. The fix has to change <b>who produces the number.</b> A car's odometer is worth something precisely because it isn't your opinion of how far you drove.</p>
<p>Hold that. It's the one idea in this story that genuinely got solved, and it's about to matter a great deal more.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">06</span></div>
<h2>The scarcity nobody ever rationed</h2>
<p>Everything so far has been about the money looking down at the work. There's a second problem running sideways, and no methodology has ever addressed it.</p>
<p>The person who'll use the software knows things. The annoying thing every Friday afternoon. The workaround they've done so long they've forgotten it's a workaround.</p>
<p>Ask them and most of it doesn't come out &mdash; not because they're holding back, but because they don't know they know it.</p>
<p>It's like describing a noise to a mechanic. "It's a knocking, mostly when it's cold, maybe when I turn?" You've heard it for weeks and still can't say it properly.</p>
<p>Put a product owner, a ticket and two meetings in between, and everything that couldn't be written down is gone at the first step. That was the important part.</p>
<p>Somebody studied this by counting who actually invents scientific instruments, expecting it to be the manufacturers. It was mostly the people <em>using</em> them. Knowledge is expensive to move, so the fixing happens wherever the knowing already sits.</p>
<p><b>Nobody ever built a rationing scheme for this</b>, because it wasn't the binding constraint. When construction was expensive, being slightly wrong about what to build was affordable &mdash; you were limited by how much you could produce anyway.</p>
<p>Remember that. It stops being affordable in section nine.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">07</span></div>
<h2>And the thing that quietly decided everything</h2>
<p>There's a second sideways scarcity, and the evidence for it is stronger than most people realise.</p>
<p>Researchers at Microsoft were working out which parts of Windows deserved the hardest testing. They tried every predictor available &mdash; code complexity, how much it had changed, test coverage. They also tried something odd: how far apart two developers sat in the org chart, and how many things each was juggling.</p>
<p>Those won. They beat every measurement of the code itself.</p>
<blockquote>Who talks to whom predicted the bugs better than anything about the software.</blockquote>
<p>They weren't trying to prove it. It fell out of a study about testing strategy, which makes it worth more than a result someone went hunting for.</p>
<p>The practice built on this is real &mdash; designing team boundaries deliberately so the system comes out the right shape. It works. It's just uneven, and it appears in none of the frameworks most companies run.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">08</span></div>
<h2>Where the money makes it worse</h2>
<p>Now the accountants.</p>
<p>Rules do let companies record software as an asset, and many do. What no rule captures is its <b>condition</b>. A building gets surveyed. A truck gets inspected. A system on the books never gets marked down as it decays. There's no schedule that moves when the code gets harder to change.</p>
<blockquote>The asset can appear. Its deterioration never does.</blockquote>

<figure>
<svg viewBox="0 0 640 300" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="A chart over time. Book value of software is recorded as a rising step line. Actual condition — how easy the system is to change — declines. The widening gap between them is the part no schedule ever marks down.">
  <line class="dgm-axis" x1="56" y1="26" x2="56" y2="236"/>
  <line class="dgm-axis" x1="56" y1="236" x2="600" y2="236"/>
  <text class="dgm-t" x="56" y="256" text-anchor="middle">build</text>
  <text class="dgm-t" x="596" y="256" text-anchor="end">years later</text>

  <path class="dgm-fill" d="M56 150 L180 150 L180 120 L320 120 L320 96 L460 96 L460 78 L596 78 L596 224 C548 220 500 212 440 200 C320 174 200 156 56 150 Z" fill="var(--amber)" opacity="0.12"/>

  <path class="dgm-line dgm-c" d="M56 150 L180 150 L180 120 L320 120 L320 96 L460 96 L460 78 L596 78"/>
  <text class="dgm-k" x="592" y="68" text-anchor="end" fill="var(--slate)">book value &mdash; the ledger</text>

  <path class="dgm-line dgm-a" d="M56 150 C200 156 320 174 440 200 C500 212 548 220 596 224"/>
  <text class="dgm-h" x="592" y="214" text-anchor="end">actual condition &mdash; ease of change</text>

  <text class="dgm-h" x="330" y="152" text-anchor="middle">no schedule ever marks this down</text>
</svg>
<figcaption>A building gets surveyed; a truck gets inspected. A system on the books never gets marked down as it decays. The asset can appear. Its deterioration never does.</figcaption>
</figure>

<p>That single omission does a lot of damage. Rebuild a system from scratch and the rules generally treat it as building something new, which can go on the books. Fix the same system so it works properly without adding features, and it's maintenance, straight into this year's costs.</p>
<p>So the treatment can make a large risky rewrite look cheaper on paper than the small careful fix that would have made the rewrite unnecessary. Same reason it's easier to borrow for a new kitchen than to fix the damp.</p>
<p>There's a fair argument the other way &mdash; money parked on the balance sheet is money not hitting this quarter's results, and companies have hidden disasters there for years. Expensing keeps the pain honest. It just makes upkeep invisible.</p>
<p>The same logic runs through everything you can do with an ageing system. Buy a replacement, move it somewhere new, or move it and tidy it slightly &mdash; all three fund easily, each being a project with a name and something to show. Restructure it properly, delete it, or decide it's fine as it is &mdash; better returns, nothing to present.</p>
<p>Deleting used to be the worst of all. Cloud billing changed that: a service now carries a visible monthly cost, so switching it off shows up on next month's invoice. Restructuring and deliberate inaction got no such rescue.</p>
<p>Which is why serious cleanup only ever happens inside a migration. Alone it's maintenance with no story. Bundled, it gets a sponsor and a budget. The migration is a way to smuggle the roof repair onto the kitchen loan.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">09</span></div>
<h2>Then the price of construction collapsed</h2>
<p>Now the part that changes everything above.</p>
<p>Writing code stopped being scarce. Around 42% of committed code is now AI-generated or AI-assisted, according to a 2026 survey of more than 1,100 developers. Frontier models resolve up to 97% of real application-code issues on standard benchmarks.</p>
<p>Run the test from section one across every practice and watch what happens.</p>
<p><b>Story points were rationing human effort.</b> Effort has decoupled from output. The currency measures nothing.</p>
<p><b>Sprint boundaries were rationing integration risk and human capacity.</b> Neither binds.</p>
<p><b>"Working software is the measure of progress"</b> &mdash; the honest core of the whole movement &mdash; was true because producing working software <em>proved</em> something. It proved somebody understood the problem, integrated the pieces and tested them. Now it's cheap to produce and proves much less.</p>
<p>None of these were wrong. Their shadow prices went to zero.</p>
<p>And the evidence that nobody noticed is unusually clear. Telemetry across more than 10,000 developers and 1,255 teams found high-adoption teams completed 21% more tasks and merged 98% more pull requests &mdash; while review time rose 91%, average pull request size grew 154%, bug counts rose 9%, and organization-level delivery metrics showed no measurable improvement at all.</p>
<p>More code. Not more software.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">10</span></div>
<h2>Where the constraint actually went</h2>
<p>The popular answer is that review became the bottleneck, and the numbers support it on the surface. Review time up 91%. One in five reviews on GitHub now involving an agent. Pull requests waiting, getting stale, getting restarted.</p>
<p>But that answer is too quick, and it's worth being careful because it's currently fashionable.</p>
<p>A queue only binds when everything arrives in one line for one pool of servers. Keeping every generated change in a review process designed for a world where humans wrote each line is a <b>policy choice</b>, not a law. Segment the arrivals &mdash; agents handle routine changes, humans see a small bounded class touching production infrastructure and authentication &mdash; and the queue stops being the constraint.</p>
<p>So review is a way station, not a destination. What's actually scarce now is narrower and harder.</p>

<figure>
<svg viewBox="0 0 640 258" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Review had four jobs. Finding defects and enforcing style delegate to an agent. Knowledge transfer and holding a model of the system do not delegate — they are a human maintaining an understanding of what they own.">
  <text class="dgm-t" x="180" y="26" text-anchor="middle">review's four jobs</text>
  <text class="dgm-t" x="470" y="26" text-anchor="middle">can an agent take it?</text>
  <line class="dgm-grid" x1="40" y1="38" x2="600" y2="38"/>

  <rect class="dgm-box" x="40" y="52" width="300" height="40" rx="5"/>
  <text class="dgm-k" x="56" y="76">finding defects</text>
  <text class="dgm-k" x="470" y="76" text-anchor="middle" fill="var(--slate)">yes &mdash; delegates fine</text>

  <rect class="dgm-box" x="40" y="102" width="300" height="40" rx="5"/>
  <text class="dgm-k" x="56" y="126">enforcing style</text>
  <text class="dgm-k" x="470" y="126" text-anchor="middle" fill="var(--slate)">yes &mdash; delegates fine</text>

  <rect class="dgm-box-live" x="40" y="152" width="300" height="40" rx="5"/>
  <text class="dgm-k" x="56" y="176">knowledge transfer</text>
  <text class="dgm-h" x="470" y="176" text-anchor="middle">no &mdash; a human holding it</text>

  <rect class="dgm-box-live" x="40" y="202" width="300" height="40" rx="5"/>
  <text class="dgm-k" x="56" y="226">a model of the system</text>
  <text class="dgm-h" x="470" y="226" text-anchor="middle">no &mdash; a human holding it</text>
</svg>
<figcaption>Route the bottom two away and you don't get a faster pipeline. You get a codebase nobody has in their head.</figcaption>
</figure>

<p><b>Deciding what needs a human.</b> Routing requires judging which changes are risky before anyone has read them. Get it wrong and nothing tells you &mdash; a misrouted risky change is silent until production.</p>
<p><b>Holding a model of the system.</b> Review had four jobs. Finding defects and enforcing style delegate fine. Knowledge transfer and team awareness are humans maintaining an understanding of what they own. Route those away and you don't get a faster pipeline, you get a codebase nobody has in their head. Churn roughly doubling, from about 3% toward 6%, is the early reading. And the incentive runs the wrong way &mdash; it's now faster to ask an agent to build something than to check whether it already exists.</p>
<p><b>Knowing what to build.</b> Section six, promoted. When construction was expensive, being somewhat wrong about what to build was affordable, because your output was capped anyway. Now it isn't. <b>When execution costs nothing, nearly all remaining value sits in selection</b> &mdash; and selection depends on the tacit knowledge stuck inside users, which no model has any more access to than a proxy product owner did.</p>
<p>The scarcity didn't vanish. It moved to the three things nobody ever built a rationing scheme for.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">11</span></div>
<h2>The one thing that got solved</h2>
<p>From 2023 onward, dedicated agile roles disappeared fast. One large bank cut its entire coaching job family in a single decision &mdash; over a thousand people. UK contract coaching roles fell by roughly two thirds in two years. The share of teams with a dedicated Scrum Master went from about half to about a third.</p>
<p>Nothing was disproven. A better instrument arrived.</p>
<p>How often we ship, how long a change takes to get out, how often a change breaks something, how fast we recover. Not cleverer than story points. Better for exactly one reason.</p>
<p><b>Nobody types them in.</b> They come off the pipeline, the way the odometer comes off the wheels.</p>
<p>That's section five arriving years later, and it matters more now than it did then. A 2025 study found experienced developers were about 19% slower on familiar codebases using AI tools, while estimating they'd been sped up by roughly 20%. Wrong by nearly forty points, in complete good faith.</p>
<p>Self-report was always unreliable. Under agents it's useless.</p>
<p>The limit is worth stating plainly. These measures tell you how well the machine runs. They don't tell you whether the right thing came out of it, and they don't tell you what condition the asset is in. And one of them is already saturating &mdash; deployment frequency stops discriminating when everyone can deploy constantly. What survives is change failure rate and recovery time, because those measure whether it <em>held</em>.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">12</span></div>
<h2>What this means for the ledger</h2>
<p>One genuinely new thing, and it may cut in a useful direction.</p>
<p>Engineering cost is shifting from predictable per-seat licensing toward variable token, tool, sandbox, build and rework costs. Spend starts behaving like cloud spend &mdash; metered against units of work.</p>
<p>That's the first time engineering cost has been directly attributable to output. It doesn't fix the condition problem, but it makes waste visible in a way salaries never did, the same way cloud billing made deleting a dead service pitchable.</p>
<p>The problem it makes worse is the older one. More code, written faster, less of it read by anyone, in systems fewer people can hold in their heads. <b>Decay accelerates against a ledger that still has no line for decay.</b></p>
<p>That was the unsolved residue before agents. It's the unsolved residue now, only larger.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">13</span></div>
<h2>What to do</h2>
<p><b>Run the test on everything.</b> For each ceremony still on the calendar: what is this conserving, and is that still expensive? Most won't survive the question.</p>
<p><b>Take measurements off the pipeline</b>, never out of people's mouths. Under agents, self-report is worse than nothing.</p>
<p><b>Forecast from your own history.</b> You already own the data you're asking people to guess at.</p>
<p><b>Segment what needs a human</b>, and treat that routing decision as the serious judgment it is. Don't gate everything and don't gate nothing.</p>
<p><b>Protect somebody's mental model of the system.</b> Nothing in your process will do this for you, and no instrument will tell you it's eroding until it already has.</p>
<p><b>Spend where selection happens.</b> Execution got cheap. Choosing what to build didn't, and that's where the remaining value went.</p>
<p><b>And fund the upkeep nothing will ever justify.</b> This is the one with no mechanism. Somebody has to spend against a system that will never show it was worth spending.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="label">the question underneath</span></div>
<h2>The question underneath</h2>
<p>Methodologies don't get disproven. Their prices go to zero.</p>
<p>Waterfall rationed integration until integration got cheap. Agile rationed feedback and human effort until both got cheap. Each one kept running long after the scarcity it protected had gone, because a rationing scheme for something free is invisible from the inside &mdash; it still produces reports, still fills the calendar, still feels like discipline.</p>
<p>The scarce things now are judging what needs a human, keeping somebody who understands the system, and knowing what's worth building at all. None of them has a ceremony. None of them has a number. Two of them were never scarce enough to notice before.</p>
<p class="close">And underneath all of it, unchanged since the beginning: a thing that quietly decays, and a ledger with no line for decay.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="label">notes &amp; sources</span></div>
<h2>Where the numbers come from</h2>
<ol class="biblio">
<li><span class="cite-claim">~42% of committed code is now AI-generated or AI-assisted; survey of more than 1,100 developers.</span><span class="cite-meta">Sonar, <i>State of Code Developer Survey</i>, 2026 &mdash; <a href="https://www.sonarsource.com/blog/state-of-code-developer-survey-report-the-current-reality-of-ai-coding/" target="_blank" rel="noopener">sonarsource.com</a></span></li>
<li><span class="cite-claim">Frontier models resolve up to 97% of real application-code issues on standard benchmarks.</span><span class="cite-meta">SWE-bench Verified, high-elicitation frontier results, mid-2026 (vals.ai). See the caveat below &mdash; the benchmark scores model plus agent harness together, and has known training-data contamination.</span></li>
<li><span class="cite-claim">Targeting a statistic degrades it &mdash; the link between a measure and the thing it measures only holds while nobody steers by it.</span><span class="cite-meta">Charles Goodhart, "Problems of Monetary Management: The U.K. Experience," 1975 (Goodhart's Law)</span></li>
<li><span class="cite-claim">Users, not manufacturers, invent most scientific instruments; knowledge is expensive to move, so problem-solving happens where the knowing already sits.</span><span class="cite-meta">Eric von Hippel, "The Dominant Role of Users in the Scientific Instrument Innovation Process," <i>Research Policy</i>, 1976; "'Sticky Information' and the Locus of Problem Solving," <i>Management Science</i>, 1994</span></li>
<li><span class="cite-claim">Organizational-structure metrics &mdash; org-chart distance, number of concurrent responsibilities &mdash; predicted failure-proneness in Windows Vista better than code complexity, churn, or coverage (~85% precision and recall).</span><span class="cite-meta">Nagappan, Murphy &amp; Basili, "The Influence of Organizational Structure on Software Quality: An Empirical Case Study," ICSE 2008 &mdash; <a href="https://www.microsoft.com/en-us/research/publication/the-influence-of-organizational-structure-on-software-quality-an-empirical-case-study/" target="_blank" rel="noopener">microsoft.com</a></span></li>
<li><span class="cite-claim">Software can be recorded as an asset, but no rule captures its condition; a from-scratch rebuild is capitalized while an equivalent in-place fix is expensed.</span><span class="cite-meta">Software capitalization under FASB ASC 350-40 (internal-use software) and IAS 38; the "seven Rs" of migration (rehost, replatform, repurchase, refactor, retire, retain, relocate) &mdash; AWS migration framework</span></li>
<li><span class="cite-claim">High-AI-adoption teams: 21% more tasks completed, 98% more pull requests merged, review time +91%, PR size +154%, bugs per developer +9%, and no organization-level delivery improvement. Telemetry across 10,000+ developers and 1,255 teams.</span><span class="cite-meta">Faros AI, analysis of commit and deployment telemetry &mdash; <a href="https://www.faros.ai/blog/lab-vs-reality-ai-productivity-study-findings" target="_blank" rel="noopener">faros.ai</a></span></li>
<li><span class="cite-claim">More than one in five code reviews on GitHub now involve an agent.</span><span class="cite-meta">GitHub Blog, "Agent pull requests are everywhere. Here's how to review them," May 2026 &mdash; <a href="https://github.blog/ai-and-ml/generative-ai/agent-pull-requests-are-everywhere-heres-how-to-review-them/" target="_blank" rel="noopener">github.blog</a></span></li>
<li><span class="cite-claim">Code churn &mdash; lines rewritten or deleted within about two weeks &mdash; rose from a pre-AI baseline near 3.3% toward roughly 6% by 2024 (7.1% in 2025).</span><span class="cite-meta">GitClear, <i>AI Copilot Code Quality</i> research, 2025 (211M lines analysed) &mdash; <a href="https://www.gitclear.com/ai_assistant_code_quality_2025_research" target="_blank" rel="noopener">gitclear.com</a></span></li>
<li><span class="cite-claim">The pipeline metrics: deployment frequency, lead time for changes, change failure rate, time to restore.</span><span class="cite-meta">DORA / <i>Accelerate</i> (Forsgren, Humble, Kim); annual DORA <i>State of DevOps</i> reports</span></li>
<li><span class="cite-claim">Experienced developers were ~19% slower on familiar codebases using AI tools, while estimating a ~20% speedup (forecast +24%).</span><span class="cite-meta">METR, "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity," July 2025 &mdash; <a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/" target="_blank" rel="noopener">metr.org</a>. See the caveat below.</span></li>
<li><span class="cite-claim">One large bank cut its entire agile job family &mdash; roughly 1,100 roles including coaches and Scrum Masters &mdash; in a single January 2023 decision.</span><span class="cite-meta">Capital One, reported by Bloomberg and widely covered, January 2023</span></li>
<li><span class="cite-claim">UK dedicated Scrum Master / coaching roles fell by roughly two thirds over 2023&ndash;2025; teams with a dedicated Scrum Master went from ~54% (2020) to ~37% (2025).</span><span class="cite-meta">UK job-market data (itjobswatch, recruitment analyses) and <i>State of Agile</i>-type surveys, 2023&ndash;2025</span></li>
</ol>
<div class="caveats">
<p><b>Three honest caveats.</b></p>
<p>The 97% benchmark figure is real but soft: SWE-bench Verified scores the model together with its agent scaffolding, so a better harness can raise the number without a better model, and independent evaluations run several points lower. The benchmark also has documented training-data contamination, which is why some labs have moved to harder, less-contaminated successors.</p>
<p>The METR slowdown result has a February 2026 follow-up. On a subset of the original developers it found some evidence of speedup, but selection effects &mdash; developers reluctant to work without AI, or withholding the tasks they most wanted AI for &mdash; made the central estimate unreliable. The perception gap is the durable finding; the exact slowdown figure is not.</p>
<p>Sources 12 and 13 conflate "agile coach" and "Scrum Master" role data somewhat; the underlying job-market series track slightly different titles that moved together.</p>
</div>
</section>

</div>
</body>
</html>]]></content><author><name></name></author><category term="software economics" /><category term="methodology" /><category term="ai" /><summary type="html"><![CDATA[What was scarce, what got cheap, and why the ceremonies outlived their reasons. Every way of building software conserves something expensive — and when the price goes to zero, the ritual keeps running, indistinguishable from working.]]></summary></entry><entry><title type="html">The Strategic Mirage of IaC</title><link href="https://sepractioners.github.io/not-yet-clear/the-strategic-mirage-of-iac/" rel="alternate" type="text/html" title="The Strategic Mirage of IaC" /><published>2026-09-02T00:00:00+00:00</published><updated>2026-09-02T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/the-strategic-mirage-of-iac</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/the-strategic-mirage-of-iac/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Strategic Mirage of IaC</title>
<meta name="description" content="Why treating Terraform state as reality is a security and operational hazard: configuration and state are independent, the environment is the only source of truth, and tfstate is a detached, cached abstraction.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#FFFFFF;
    --paper-raised:#F5F5F5;
    --ink:#1C1A17;
    --ink-soft:#4A473F;
    --slate:#5B6570;
    --slate-soft:#8A9098;
    --amber:#1A73E8;
    --amber-ink:#1967D2;
    --rule:rgba(28,26,23,0.14);
    --rule-strong:rgba(28,26,23,0.28);
  }
}
:root[data-theme="dark"]{
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
}

*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  margin:0;
  padding:4.5rem 1.5rem 6rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2.5rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}

.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1.25rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2rem,5vw,2.85rem);
  line-height:1.1;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 1rem;
  color:var(--ink);
}
.dek{
  font-family:var(--font-display);
  font-style:normal;
  font-weight:400;
  font-size:1.25rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 2.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  align-items:baseline;
  flex-wrap:wrap;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.85rem 0;
  margin:0 0 3.5rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}

section{margin:0 0 3.75rem;}
.eyebrow{
  display:flex;
  align-items:baseline;
  gap:0.75rem;
  margin:0 0 1.1rem;
}
.eyebrow .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--amber);
  border:0.5px solid var(--rule-strong);
  border-radius:100px;
  padding:2px 9px;
}
.eyebrow .label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--slate);
}
h2{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.65rem;
  line-height:1.25;
  text-wrap:balance;
  margin:0 0 1.1rem;
  color:var(--ink);
}
h3{
  font-family:var(--font-body);
  font-weight:600;
  font-size:1rem;
  margin:1.6rem 0 0.7rem;
  color:var(--amber-ink);
}
p{margin:0 0 1.15rem;max-width:66ch;color:var(--ink-soft);}
p b, li b, td b{color:var(--ink);font-weight:600;}
code{
  font-family:var(--font-mono);
  font-size:0.88em;
  background:var(--paper-raised);
  border:0.5px solid var(--rule);
  border-radius:4px;
  padding:0.1em 0.4em;
  color:var(--amber-ink);
}
ul, ol{margin:0 0 1.15rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.55rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}

blockquote{
  margin:1.8rem 0;
  padding:0 0 0 1.4rem;
  border-left:2px solid var(--amber);
  font-family:var(--font-display);
  font-style:normal;
  font-size:1.2rem;
  line-height:1.5;
  color:var(--ink);
  text-wrap:balance;
  max-width:56ch;
}

.tablewrap{overflow-x:auto;margin:1.6rem 0 2rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:13.5px;}
thead th{
  font-family:var(--font-mono);
  font-weight:500;
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--slate);
  text-align:left;
  padding:12px 14px;
  background:var(--paper-raised);
  border-bottom:0.5px solid var(--rule-strong);
  white-space:nowrap;
}
tbody td{
  padding:11px 14px;
  border-bottom:0.5px solid var(--rule);
  color:var(--ink-soft);
  vertical-align:top;
}
tbody tr:last-child td{border-bottom:none;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}

.divider{
  border:none;
  border-top:0.5px solid var(--rule);
  margin:3.75rem 0;
}
.close{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-style:normal;
  color:var(--ink-soft);
  padding-top:0.5rem;
}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<p class="kicker">a forward-looking engineer's read</p>
<h1>The Strategic Mirage of IaC</h1>
<p class="dek">Why treating Terraform state as reality is a security and operational hazard.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>7 min read</span></div>

<section>
<p>The enterprise tech sector has swallowed a massive architectural fallacy hook, line, and sinker: the belief that your Infrastructure as Code tool manages your system's state.</p>
<p>HashiCorp explicitly markets Terraform as a tool to provision and manage infrastructure throughout its lifecycle. This messaging has led to an industry-wide "everything-in-Terraform" anti-pattern. But as forward-looking engineers, we must strip away vendor marketing and look at the raw computing mechanics. When you do, the core foundation of this entire narrative reveals itself:</p>
<blockquote>Configuration and state are completely independent aspects of a system. Configuration initializes state or sets constraints, but the environment itself is the only absolute source of truth. The Terraform state file is a detached, cached abstraction.</blockquote>
<p>The moment you assume the <code>tfstate</code> file is the actual runtime system, you introduce severe security, reliability, and architectural hazards into your enterprise.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">01</span><span class="label">the foundational blind spot</span></div>
<h2>The Ledger vs. The Territory</h2>
<p>To understand why this is a systemic hazard, we have to look at what configuration actually does. Configuration helps to initialize the state of a system. If a system requires modifications, an initial configuration can help reset that system back to its baseline, or we can use it to inject foundational compliance constraints that the system must adhere to.</p>
<p>Terraform relies on a human-readable configuration to establish this initial intent. It then runs an asynchronous, unidirectional workflow: Write, Plan, and Apply. To bridge your configuration files with the real world, it writes an offline ledger: the <code>tfstate</code> file.</p>
<p>Herein lies the structural liability: Terraform is a provisioner, not a controller.</p>
<p>A true controller utilizes a continuous, bi-directional reconciliation loop. It constantly queries the environment and forces reality to match intent second-by-second. Terraform does not. It is entirely point-in-time. The moment a <code>terraform apply</code> finishes, its state file becomes a static snapshot.</p>
<p>Meanwhile, the real environment&mdash;the actual territory&mdash;continues to mutate. Cloud providers reboot degraded underlying hardware. Native auto-scaling groups launch new instances based on real-time traffic. Site Reliability Engineers make emergency configuration overrides during a midnight production outage.</p>
<p>Because Terraform lacks a bi-directional reconciliation loop, it has no native, ambient awareness of these shifts. It creates a dangerous Split-Brain Risk. A security auditor looks at a green, passing Terraform pipeline and assumes the enterprise is compliant, while the actual runtime environment has completely drifted into an insecure vulnerability.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">02</span><span class="label">the hidden taxes</span></div>
<h2>API Throttling and the Agentic Trap</h2>
<p>When you treat an offline ledger as live reality, the architecture pushes back. Forcing a point-in-time tool to act as a runtime manager introduces two massive operational ceilings:</p>
<h3>1. The API Throttling Hard Ceiling</h3>
<p>Because the environment is the true state, Terraform is forced to run a massive, read-heavy "refresh" against the provider's live APIs immediately before every deployment to reconstruct its map. For large enterprises with thousands of resources, this design choice creates a severe scalability bottleneck. Your deployment pipelines will routinely fail or freeze because cloud providers actively throttle API calls when bombarded by thousands of synchronous resource queries.</p>
<h3>2. The Agentic System Liability</h3>
<p>Right now, organizations are rushing to build autonomous AI agents to manage infrastructure pipelines. Building agentic systems on top of Terraform is a foundational mistake. AI agents operate on a Perceive-Plan-Act loop. If you feed an autonomous system a cached, asynchronous ledger, it will inherently execute critical operational decisions based on stale data. The agent will attempt to mutate or destroy assets based on what it thinks exists, resulting in cascading runtime failures and loop-panics.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">03</span><span class="label">the counter-argument</span></div>
<h2>Can't We Just Hack a Control Loop Using Telemetry?</h2>
<p>Some engineers will argue that you can achieve continuous reconciliation with Terraform. The theory is simple: you plug provider-native telemetry (like AWS CloudWatch Alarms, EventBridge, or GuardDuty alerts) into a CI/CD pipeline hook. The moment a drift or security hazard is detected in the real environment, the alert triggers an automated webhook that forces a headless run of <code>terraform plan -refresh-only</code> followed by an automated <code>terraform apply</code>.</p>
<p>On paper, this sounds like a clever way to build a bi-directional reconciliation loop. In practice, it is an architectural Rube Goldberg machine that introduces massive tactical risks:</p>
<ul>
<li><b>The Race Condition Nightmare:</b> If your cloud environment is dynamic, multiple events can trigger simultaneous webhook alerts. Because Terraform relies on a state file that must be strictly locked (<code>423 Locked</code>) during execution to prevent corruption, these automated runs will constantly queue, block, or fail due to state lock concurrency issues.</li>
<li><b>The Orchestration Blind Spot:</b> A native control loop (like Kubernetes) is deeply embedded inside the API lifecycle; it knows exactly why a change happened. A cobbled-together CloudWatch-to-Terraform loop is entirely external. If an autoscaling group kills an instance due to a health check, your telemetry loop might misinterpret this as "unauthorized drift" and aggressively try to re-provision the dead instance, triggering an architectural civil war between the cloud provider's native automation and your external Terraform script.</li>
<li><b>The Inefficiency Tax:</b> Triggering an entire heavy-weight, read-heavy Terraform execution pipeline just to fix a single drifted firewall rule or an altered IAM permission is an absurd misuse of compute and time. It brings your entire CI/CD platform to a crawl.</li>
</ul>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">04</span><span class="label">restricting terraform to its true domain</span></div>
<h2>The L3 Fabric</h2>
<p>If the state file is a mirage, how do we establish actual environmental visibility? We stop looking at IaC pipelines and start relying heavily on the cloud provider's native logging, tracing, and ambient auditing capabilities&mdash;such as AWS GuardDuty, CloudWatch, and CloudTrail. These tools monitor actual runtime behavior, exploits, and performance metrics that an offline state file could never capture.</p>
<p>The strategic verdict for the enterprise is clear: L3-level foundational infrastructure is a suitable candidate for Terraform, but binding everything to it is a catastrophic tactical mistake.</p>
<ul>
<li><b>What belongs in Terraform:</b> Slow-changing, low-volatility structural foundations. Global networking topologies (VPCs, Transit Gateways), root IAM hierarchies, master DNS zones, and core database perimeters. These assets demand human-reviewed peer verification and stable blueprints where point-in-time snapshots are acceptable.</li>
<li><b>What is a mistake in Terraform:</b> High-velocity L7+ application layers, dynamic container orchestration, microservice routing, and ephemeral runtimes. These must be completely decoupled from Terraform and handed off to continuous, bi-directional reconciliation engines (like Crossplane, ArgoCD, or cloud-native control loops) that run continuously against the live cloud API.</li>
</ul>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">05</span><span class="label">q &amp; a / open discussion</span></div>
<h2>Stress-Test This Architecture</h2>
<p>By redefining Terraform as a static bootstrapper rather than a live runtime manager, we have to change how we build enterprise platforms. I want to open this up to the community to stress-test this architecture:</p>
<ul>
<li><b>On Configuration Constraints:</b> How is your team enforcing compliance constraints at the configuration layer before it hits the environment? Are you using Policy-as-Code tools (OPA/Sentinel) to validate HCL independently of state?</li>
<li><b>On the L3/L7 Boundary:</b> Where do you draw the hard boundary between foundational fabric and dynamic runtime? Does a shared enterprise application load balancer belong to the network layer (L3) or the application deployment loop (L7)?</li>
<li><b>On Monitoring Reality:</b> Have you caught security drifts or reliability hazards via provider-native telemetry (CloudWatch/GuardDuty) that your Terraform pipelines completely missed?</li>
</ul>
</section>

</div>
</body>
</html>]]></content><author><name></name></author><category term="infrastructure" /><category term="agent architecture" /><summary type="html"><![CDATA[Why treating Terraform state as reality is a security and operational hazard: configuration and state are independent, the environment is the only source of truth, and tfstate is a detached, cached abstraction.]]></summary></entry><entry><title type="html">A style is not its benefits</title><link href="https://sepractioners.github.io/not-yet-clear/a-style-is-not-its-benefits/" rel="alternate" type="text/html" title="A style is not its benefits" /><published>2026-08-24T00:00:00+00:00</published><updated>2026-08-24T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/a-style-is-not-its-benefits</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/a-style-is-not-its-benefits/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>A style is not its benefits</title>
<meta name="description" content="A style is a coordinated set of constraints. A characteristic is what holding to those constraints produces afterward. Most writing about event-driven architecture still treats the two as one list — and so, in one famous example, does the case for why EDA is basically just messaging.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#FFFFFF;
    --paper-raised:#F5F5F5;
    --ink:#1C1A17;
    --ink-soft:#4A473F;
    --slate:#5B6570;
    --slate-soft:#8A9098;
    --amber:#1A73E8;
    --amber-ink:#1967D2;
    --rule:rgba(28,26,23,0.14);
    --rule-strong:rgba(28,26,23,0.28);
  }
}
:root[data-theme="dark"]{
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
}

*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  margin:0;
  padding:4.5rem 1.5rem 6rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2.5rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}

.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1.25rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2.1rem,5vw,3rem);
  line-height:1.08;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 1rem;
  color:var(--ink);
}
.dek{
  font-family:var(--font-display);
  font-style:normal;
  font-weight:400;
  font-size:1.25rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 2.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  align-items:baseline;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.85rem 0;
  margin:0 0 3.5rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}

section{margin:0 0 3.75rem;}
.eyebrow{
  display:flex;
  align-items:baseline;
  gap:0.75rem;
  margin:0 0 1.1rem;
}
.eyebrow .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--amber);
  border:0.5px solid var(--rule-strong);
  border-radius:100px;
  padding:2px 9px;
}
.eyebrow .label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--slate);
}
h2{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.7rem;
  line-height:1.25;
  text-wrap:balance;
  margin:0 0 1.1rem;
  color:var(--ink);
}
h3{
  font-family:var(--font-body);
  font-weight:600;
  font-size:1.02rem;
  margin:1.8rem 0 0.7rem;
  color:var(--ink);
}
p{margin:0 0 1.15rem;max-width:66ch;color:var(--ink-soft);}
p b, li b{color:var(--ink);font-weight:600;}
code{
  font-family:var(--font-mono);
  font-size:0.88em;
  background:var(--paper-raised);
  border:0.5px solid var(--rule);
  border-radius:4px;
  padding:0.1em 0.4em;
  color:var(--amber-ink);
}
ul, ol{margin:0 0 1.15rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.55rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}

blockquote{
  margin:2rem 0;
  padding:0 0 0 1.4rem;
  border-left:2px solid var(--amber);
  font-family:var(--font-display);
  font-style:normal;
  font-size:1.3rem;
  line-height:1.5;
  color:var(--ink);
  text-wrap:balance;
  max-width:52ch;
}

.abstract{margin:0 0 3rem;border:0.5px solid var(--rule-strong);border-radius:12px;overflow:hidden;}
.abstract-label{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--amber-ink);background:var(--paper-raised);padding:10px 16px;border-bottom:0.5px solid var(--rule);}
.abstract-body{padding:16px 18px;}
.abstract-body p{margin:0 0 1rem;font-size:14.5px;max-width:none;color:var(--ink-soft);}
.abstract-body h4{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--slate);margin:1.2rem 0 0.6rem;}
.abstract-body ul{margin:0;padding-left:1.2rem;max-width:none;}
.abstract-body li{font-size:14px;margin-bottom:0.5rem;color:var(--ink-soft);}
.abstract-body li b{color:var(--ink);}
.tablewrap{overflow-x:auto;margin:1.6rem 0 2rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:13.5px;}
thead th{
  font-family:var(--font-mono);
  font-weight:500;
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--slate);
  text-align:left;
  padding:12px 14px;
  background:var(--paper-raised);
  border-bottom:0.5px solid var(--rule-strong);
  white-space:nowrap;
}
tbody td{
  padding:11px 14px;
  border-bottom:0.5px solid var(--rule);
  color:var(--ink-soft);
  vertical-align:top;
}
tbody tr:last-child td{border-bottom:none;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}

.divider{
  border:none;
  border-top:0.5px solid var(--rule);
  margin:3.75rem 0;
}
.close{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-style:normal;
  color:var(--ink-soft);
  padding-top:0.5rem;
}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<p class="kicker">on messaging and event architecture</p>
<h1>A style is not its benefits</h1>
<p class="dek">A style is a coordinated set of constraints. A characteristic is what holding to those constraints produces afterward. Most writing about event-driven architecture still treats the two as one list &mdash; and so, in one famous example, does the case for why EDA is basically just messaging.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>A clarification, not a correction</span><span>13 min read</span></div>

<div class="abstract">
<div class="abstract-label">abstract</div>
<div class="abstract-body">
<p>An architecture style is a coordinated set of constraints. A characteristic is what results from holding to those constraints, observed afterward. The two are not the same kind of claim &mdash; one is followed, the other happens as a consequence &mdash; and conflating them is the single most common error in how event-driven architecture gets written about.</p>
<p>The clearest place to watch that confusion cause real damage is a case where two named styles share so much machinery that the confusion looks almost justified: message-oriented middleware and event-driven architecture. Gregor Hohpe's own best-known example walks one piece of infrastructure through three configurations without ever changing the wire, which can be read as proof the two styles are one and the same.</p>
<p>They aren't, and the reason routes through the same style-versus-characteristic distinction this article opens with. Roy Fielding's dissertation supplies the vocabulary: a style is a coordinated set of constraints, and everything a system exhibits as a result &mdash; loose coupling, scalability, extensibility &mdash; is downstream of those constraints, not a peer sitting beside them.</p>
<p>Three more layers complete the picture, and without them the account is still incomplete. Upstream of the style sits the factor that pulled it into existence in the first place &mdash; no architecture gets invented for its own sake, though the pull is reconstructed architecturally here, not documented as settled history. Between style and its constraints sit the elements the architecture is actually built from &mdash; its data, connector, and component pieces. Downstream of the constraints sits a reusable vocabulary of solutions the industry has converged on, not a deterministic next step &mdash; delivery patterns like Publish-Subscribe and Competing Consumers, a persistence pattern like Event Sourcing that answers a different question entirely &mdash; since a constraint alone doesn't uniquely determine how to build it, and more than one pattern can satisfy the same one.</p>
<h4>Key insights</h4>
<ul>
<li><b>A style is a coordinated set of constraints; a characteristic is what holding to them produces.</b> Confusing the two is like confusing a diet with the weight loss &mdash; one is followed, the other happens as a result.</li>
<li><b>Most EDA write-ups sense this distinction without naming it.</b> Filing scalability under "benefits" instead of "principles" is progress. It still leaves style, principle, and constraint collapsed into one undifferentiated pile.</li>
<li><b>Sharing a connector isn't sharing a style.</b> RPC-over-HTTP and REST run on the identical transport and count as different architectures anyway, because style tracks constraints, not wires.</li>
<li><b>A principle is an intent; a constraint is one way of honoring it.</b> "A publisher shouldn't need to know who acts on a fact" is a principle. "Delivery is broadcast to a topic" is a constraint that satisfies it &mdash; not the only one that could.</li>
<li><b>A pattern is neither a constraint nor a characteristic &mdash; it's reusable vocabulary for a solution the industry converged on, not the one deterministic answer a constraint produces.</b> Publish-Subscribe is what "broadcast to an unknown audience" looks like once someone has to ship it, which is why the two names get used almost interchangeably &mdash; but it isn't the only pattern that could satisfy that constraint.</li>
<li><b>MOM and EDA, read architecturally, weren't pulled into existence by the same problem &mdash; and EDA isn't a rival category to MOM.</b> MOM answers integration between systems nobody controls end-to-end. EDA answers a later, harder problem on top of it: an audience too open-ended to enumerate in advance.</li>
<li><b>Characteristics are earned, not chosen.</b> Take away the broadcast constraint and extensibility disappears with it &mdash; the characteristic doesn't weaken, it stops holding.</li>
</ul>
</div>
</div>

<section>
<p>People use the word "principle" to mean two different things, and event-driven architecture write-ups do it constantly.</p>
<p>Sometimes a principle is a rule you follow while building something &mdash; asynchronous delivery, say. Sometimes it's a result you get afterward &mdash; scalability, say.</p>
<p>Those aren't the same kind of claim. One is a decision. The other is a receipt.</p>
<p>Most industry writing about EDA blends the two into one list. This article exists to unblend them, using a case where the confusion has real consequences: whether a system counts as message-oriented middleware, or something meaningfully different.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">01</span><span class="label">EDA, plainly</span></div>
<h2>What EDA is, before any comparison</h2>
<p>Before the MOM comparison starts, and before Hohpe's naming example makes the two styles look interchangeable, EDA deserves a plain description on its own terms &mdash; the same layers the rest of this piece uses, applied once, directly, with no MOM in the frame yet.</p>
<p><b>Factor.</b> The problem that pulled EDA into existence: an audience too open-ended to enumerate in advance &mdash; systems the sender doesn't know about and shouldn't have to address by name.</p>
<p><b>Style.</b> Asynchronous, broker-mediated delivery, committed to one further idea beyond that: a message represents a fact that already happened, broadcast to whoever finds it relevant &mdash; not a command aimed at someone specific.</p>

<h3>Elements</h3>
<p>Fielding's dissertation splits what a style is built from into three kinds: data elements, connector elements, and component elements. EDA's version of each is concrete and nameable.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Kind</th><th>Element</th><th>Role</th></tr></thead>
<tbody>
<tr><td class="lead">Component</td><td class="lead">Producer</td><td>Publishes an event when something happens. Doesn't know, and doesn't need to know, who's listening.</td></tr>
<tr><td class="lead">Component</td><td class="lead">Consumer</td><td>Subscribes to an event type and reacts to it. Unknown to the producer in advance &mdash; that's the constraint the style is built on, not an accident of deployment.</td></tr>
<tr><td class="lead">Connector</td><td class="lead">Broker</td><td>Mediates delivery between producers and consumers &mdash; a topic, an event bus, a log. Never a participant in the decision the event represents.</td></tr>
<tr><td class="lead">Data</td><td class="lead">Event</td><td>A fact: something that already happened. Immutable once published, addressed to no one in particular.</td></tr>
</tbody>
</table>
</div>

<p>Together, these four are the minimum needed to make the broadcast constraint mechanically possible: without a producer, a consumer, a connector that doesn't require the producer to name a destination, and a payload that's a fact rather than a request, the constraint can't actually be satisfied.</p>

<p><b>Constraints.</b> Delivery is broadcast, to an unknown or plural audience. The payload represents something that already happened. Publication happens as the event occurs.</p>
<p><b>Benefits.</b> Extensibility &mdash; new consumers subscribe without touching the sender. Loose coupling of intent, not just location. Auditability and replay, where the channel is durable.</p>
<p>That's one formulation of EDA, stated plainly &mdash; broadcast delivery to an audience too open-ended to enumerate. It's the formulation this article develops in full because it's the one where the distinction from MOM is sharpest, not because it's the only shape event-driven architecture takes. Point-to-point event notification to a single known consumer, or a choreographed flow among a fixed set of known services, gets called event-driven too, on the strength of the payload being a fact rather than a command alone &mdash; the audience doesn't have to be open-ended for that part to hold. What makes the broadcast version easy to lose sight of is a single piece of infrastructure that can be reconfigured to look like three different styles without changing the wire &mdash; which is where the confusion actually starts.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">02</span><span class="label">the pattern</span></div>
<h2>A recurring pattern in how EDA gets described</h2>
<p>Search for "principles of event-driven architecture" and a pattern shows up fast.</p>
<p>One widely circulated write-up lists exactly four items under a heading literally titled <i>Principles</i>: loose coupling, scalability, real-time responsiveness, fault tolerance. <a href="https://www.linkedin.com/pulse/event-driven-architecture-eda-principles-ramesh-chinthakuntla-m2vye">(source)</a></p>
<p>None of those four are decisions anyone made while designing the system. They're receipts &mdash; things a system exhibits after it's built a certain way, filed under a heading that implies the opposite.</p>
<p>To be fair to the wider industry, most vendor write-ups do better than that. Gravitee's own EDA article lists nearly the same four items but correctly files them as <i>benefits</i>, not principles. <a href="https://www.gravitee.io/blog/event-driven-architecture-patterns">(source)</a></p>
<p>GraphApp's guide goes further: it keeps a genuine, separate <i>Principles</i> section, distinct from its benefits list. <a href="https://www.graphapp.ai/blog/event-driven-architecture-principles-and-implementation-guide">(source)</a> Akamai and Analytics8 do the same, structuring around benefits and components rather than mislabeling one as the other. <a href="https://www.akamai.com/glossary/what-is-event-driven-architecture">(source)</a> <a href="https://www.analytics8.com/blog/how-an-event-driven-architecture-can-improve-system-performance/">(source)</a></p>
<p>That's real progress. Part of the industry already senses that a decision and a receipt aren't the same kind of thing.</p>
<p>But "benefits" versus "everything else" is still only one cut. None of the five sources checked for this article separate a style from the connector it happens to run on, or a principle from the constraint that operationalizes it.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">03</span><span class="label">two questions, not one</span></div>
<h2>Style and its benefits are different questions</h2>
<p>A style answers one question: what did we decide to do?</p>
<p>A characteristic answers a different one: what did we get, once we did it?</p>
<p>Statelessness is a style decision. Visibility, reliability, and scalability are what statelessness earns you afterward, by Fielding's own account of how REST was derived. Nobody following REST decides to be scalable the way they decide to be stateless &mdash; scalability shows up because statelessness was chosen, not the other way around.</p>
<p>The same split applies to any style, not just REST. Asynchronous delivery is a decision. Decoupling is what that decision earns. Broadcast delivery is a decision. Extensibility is what that decision earns.</p>
<p>Once the split is visible, a lot of EDA literature reads differently. A list titled "principles" that actually contains scalability and fault tolerance isn't describing decisions at all. It's describing receipts, filed under the wrong heading.</p>
<p>The clearest place to watch this cause real confusion, rather than just sloppy labeling, is a case where the receipts for two different styles turn out to look almost identical: message-oriented middleware and event-driven architecture.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">04</span><span class="label">the shared example</span></div>
<h2>One channel, three names</h2>
<p>Gregor Hohpe's 2006 paper, "Programming Without a Call Stack," is the best worked example of why this confusion happens.</p>
<p>He walks a single piece of infrastructure &mdash; a channel and a message &mdash; through three configurations, changing nothing but the channel's name and the assumption riding along with it.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Channel name</th><th>What's actually sent</th><th>What's assumed about the recipient</th></tr></thead>
<tbody>
<tr><td class="lead"><code>CreditService</code></td><td>"do credit-check work"</td><td>a single, specific, known component</td></tr>
<tr><td class="lead"><code>VerifyCreditCard</code></td><td>"run this exact operation"</td><td>some component that can do it, still expected to answer</td></tr>
<tr><td class="lead"><code>OrderReceived</code></td><td>"this happened"</td><td>none &mdash; zero, one, or many listeners, none owed a reply</td></tr>
</tbody>
</table>
</div>

<p>Notice what doesn't move across that table. Same channel type, same message type, same asynchronous delivery, all the way down.</p>
<p>A tool watching the wire could not tell these three configurations apart. The only thing that changed, at every step, is what the sender was willing to assume about who was listening &mdash; a style question, not yet a benefits question.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">05</span><span class="label">the missing half</span></div>
<h2>The list two pages earlier</h2>
<p>Earlier in the same paper, before the naming example, Hohpe gives a direct list of what he considers EDA's defining traits: broadcast communication, timeliness, asynchrony, fine-grained events, an event ontology, complex event processing.</p>
<p>Run the three channel names back through that list and they stop looking equivalent.</p>
<p><code>CreditService</code> and <code>VerifyCreditCard</code> satisfy almost none of it. <code>OrderReceived</code> satisfies most of it, and only because someone decided to build it that way.</p>
<p>The channel itself never forced that decision. So the paper actually contains both halves of the argument &mdash; a demonstration that the connector alone can't distinguish the styles, and a list of exactly what can. The naming example just doesn't point back at the list, which is likely why it gets quoted on its own so often.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">06</span><span class="label">fielding's answer</span></div>
<h2>The channel is not the style</h2>
<p>Roy Fielding's dissertation gives the missing sentence a name. An architectural style, in his framing, is a coordinated set of constraints applied to a system &mdash; not the connector those constraints happen to run over.</p>
<p>His derivation of REST makes the point mechanically. He starts from a null style with no constraints and adds one at a time &mdash; client-server, then layering, then cacheability, then statelessness, then a uniform interface.</p>
<p>Several of the resulting styles, including plain RPC-over-HTTP and REST itself, share the exact same underlying connector. Nobody calls them the same architecture. The shared wire was never the thing doing the classifying.</p>
<p>MOM and EDA share more than a wire &mdash; they share the elements themselves. EDA's producer, consumer, and broker are MOM's sender, receiver, and channel, renamed and re-committed to a different assumption about who's on the other end. That renaming is easy to miss, which is exactly why it causes the confusion this article opened with. But the elements were never what distinguished the styles, any more than the connector distinguished RPC-over-HTTP from REST. The constraints riding on top of them did.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">07</span><span class="label">why each one exists</span></div>
<h2>What each style was pulled into existence to solve</h2>
<p>A style's constraints make more sense read against the goal that plausibly produced them. What follows is an architectural reconstruction, not a documented history &mdash; neither style's origin is cited to a settled timeline here, and the account is meant to explain why the constraints hang together, not to assert that the industry moved through these problems in this exact order.</p>
<p>Read that way, MOM's pull looks like integration at scale between systems nobody controlled end-to-end. Point-to-point synchronous calls between every pair of systems become untenable well before they become unreliable, which is a plausible reason an industry would converge on handing a message to a broker and trusting it to eventually arrive.</p>
<p>EDA's pull, on the same reading, arrives on top of that already-solved problem. Once asynchronous delivery exists, a harder problem becomes visible: an audience too open-ended to enumerate &mdash; systems the sender doesn't know about and shouldn't have to address by name. That's exactly the assumption command-style messaging still makes, and a plausible account of what stops scaling once the audience stops being fixed.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">08</span><span class="label">the missing layer</span></div>
<h2>Patterns are what the industry converged on</h2>
<p>One constraint can be satisfied more than one way. The earlier note on broadcast delivery already made that point: a durable log and a broadcast channel could both honor the same principle.</p>
<p>In practice, though, one implementation often becomes the default anyone reaches for first. That's what a pattern is &mdash; not a constraint, and not a characteristic, but a name for a solution the industry has converged on often enough to be reusable vocabulary. Patterns aren't a mandatory layer a constraint deterministically produces; a constraint can be satisfied by more than one pattern, a pattern can partially satisfy more than one constraint, and which one a given system reaches for depends on what else it needs.</p>
<p>For MOM's known-destination constraint, one common channel pattern is the Point-to-Point Channel &mdash; a queue with exactly one logical consumer, whatever its internal concurrency. Paired with Request-Reply, it's a common MOM answer to "the sender expects an answer," correlating an asynchronous response back to whichever request produced it.</p>
<p>For EDA's broadcast constraint, the channel pattern the industry reaches for most often is Publish-Subscribe &mdash; a channel any number of subscribers can attach to, none of them known to the publisher in advance. It's such a complete fit that "pub-sub" and "event-driven" get used almost interchangeably in casual conversation &mdash; the same collapse this article has been arguing against, just one layer down. Competing Consumers is a companion channel pattern, not a substitute for it, and it answers a different question than "fan-out" describes: several instances of one consumer type share a single subscription so throughput scales and load balances across them, while each event is still handled once, by whichever instance claims it &mdash; fan-out is what Publish-Subscribe already does, sending one event to many different consumer types; Competing Consumers is about scaling within one of them.</p>
<p>Event Sourcing isn't a channel pattern at all, and grouping it with the ones above is exactly the kind of layer-collapsing this article keeps warning about. Point-to-Point Channel, Request-Reply, Publish-Subscribe, and Competing Consumers all govern how an event moves between components. Event Sourcing governs something else &mdash; how state is kept once an event arrives, treating the event log itself as the system of record and deriving current state by replaying it, rather than the log being a side effect of a state store maintained elsewhere. A system can adopt EDA's broadcast constraint through Publish-Subscribe while still storing state conventionally, or adopt Event Sourcing while delivering point-to-point. The two questions &mdash; how does an event move, and how is state kept &mdash; are independent of each other.</p>
<p>A further pattern answers a problem neither Hohpe nor Woolf named in 2003, because it hadn't shown up at scale yet: schema interoperability across an audience the publisher can never coordinate with directly. <b>Schema Registry</b> (also called Event Registry) is what the industry converged on &mdash; a shared, versioned catalog of event shapes that producers register against and consumers validate against, so an unknown subscriber can decode an event correctly without ever talking to whoever published it. It isn't a channel pattern either, and it isn't a role the Broker plays: the Broker moves the event without interpreting it, the registry is specifically in the business of interpretation &mdash; the same distinction this article has been drawing at every other layer, one level further down.</p>
<p>Four of the patterns named here &mdash; Point-to-Point Channel, Request-Reply, Publish-Subscribe, Competing Consumers &mdash; come from the same source: Hohpe and Woolf's own pattern catalog, published three years before the paper this article has spent most of its length examining. He had already named the pieces. The naming example just never drew the line from constraint to pattern the way it drew the line from channel to channel name. Event Sourcing comes from a different lineage entirely &mdash; the domain-driven design and CQRS literature associated with Martin Fowler and Greg Young, not Hohpe and Woolf's messaging catalog &mdash; a second reason it doesn't belong grouped with the channel patterns above: it wasn't only answering a different question, it wasn't named by the same community either. Schema Registry doesn't come from either source &mdash; it's a newer convergence, arriving once systems were actually built at the scale where "unknown audience" stopped being a design assumption and started being an operational problem. Same logic, later arrival.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">09</span><span class="label">the separation</span></div>
<h2>Factors, style, elements, principles, constraints, patterns, characteristics</h2>
<p>Put the goal, the elements, Fielding's constraint logic, and the pattern vocabulary each style draws on together, and MOM and EDA can be told apart along seven layers, not two &mdash; not as two mutually exclusive categories a system has to pick between, but as a base style and a further specialization of it, which is why a system can hold MOM's constraints and add EDA's on top rather than swapping one for the other.</p>
<p><b>Factors</b> are the problem that plausibly pulled the style into existence. <b>Style</b> is the named architecture. <b>Elements</b> are what that architecture is physically built from &mdash; its data, connector, and component elements. <b>Principles</b> are the intent behind it. <b>Constraints</b> are the concrete rules that make good on that intent. <b>Patterns</b> are reusable solutions the industry has converged on to satisfy those constraints &mdash; not the one deterministic solution each constraint produces. <b>Exhibited characteristics</b> are what all of that earns &mdash; the receipts, not a second set of choices.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Layer</th><th>Message-oriented middleware</th><th>Event-driven architecture</th></tr></thead>
<tbody>
<tr><td class="lead">Factors</td><td>Integration between systems nobody controls end-to-end, over networks that can't guarantee simultaneous availability</td><td>An audience too open-ended to enumerate, once asynchronous delivery alone stopped being enough</td></tr>
<tr><td class="lead">Style</td><td>An asynchronous, broker-mediated connector for systems that don't share a process or a moment in time</td><td>MOM's connector, plus a specific commitment about what a message means and who it's for</td></tr>
<tr><td class="lead">Elements</td><td>Component: sender, receiver. Connector: channel, addressed to a known destination. Data: the message, meaning left to the application &mdash; command, document, or event.</td><td>Component: producer, consumer. Connector: broker &mdash; a topic, event bus, or log. Data: the event, a fact addressed to no one in particular.</td></tr>
<tr><td class="lead">Principles</td><td>Sender and receiver shouldn't need to be available at the same time. A destination should be addressable without naming a specific instance.</td><td>A publisher shouldn't need to know, or care, who acts on a fact. The set of interested parties should be free to grow without the publisher's cooperation.</td></tr>
<tr><td class="lead">Constraints</td><td>Delivery is asynchronous. A channel connects sender to a known destination. The payload's meaning &mdash; command, document, or fact &mdash; is left to the application.</td><td>Delivery is broadcast, to an unknown or plural audience. The payload represents something that already happened. Publication happens as the event occurs.</td></tr>
<tr><td class="lead">Patterns</td><td>Point-to-Point Channel, addressed to one logical consumer. Request-Reply, correlating an async response to its request.</td><td>Publish-Subscribe for broadcast delivery to unknown subscribers, and Competing Consumers for throughput and load-balancing within one consumer type &mdash; both channel patterns. Event Sourcing (a persistence pattern, not a channel pattern) for durability and replay. Schema Registry (a governance pattern) for interoperability across an audience it can't coordinate with directly.</td></tr>
<tr><td class="lead">Exhibited characteristics</td><td>Decoupling in time and location. Tolerance of transient failure. Easier integration across heterogeneous systems.</td><td>Extensibility &mdash; new consumers subscribe without touching the sender. Loose coupling of intent, not just location. Auditability and replay, where the channel is durable.</td></tr>
</tbody>
</table>
</div>

<p>The principle-to-constraint step isn't one-to-one, and neither is the constraint-to-pattern step. "A publisher shouldn't need to know who acts on a fact" could be satisfied by broadcast delivery to a topic, or by a durable log any future consumer reads independently. Publish-Subscribe is simply the one the industry standardized on.</p>
<p>The characteristics layer has no such freedom. Take away the broadcast constraint, or the Publish-Subscribe pattern that implements it, and extensibility disappears &mdash; a sender that must know its consumers can't be extended without touching it. Characteristics aren't a sixth list sitting beside the other five. They're what everything above them costs, paid back.</p>
</section>

<hr class="divider">

<p class="close">A queue doesn't decide anything, and it doesn't earn anything either &mdash; it just moves a message. Style is the decision layer above it: what a component may assume, address, or promise. Characteristics are the receipts those decisions generate afterward, not a second set of choices sitting beside them. Keep the two apart and "is EDA just MOM" stops being the right question &mdash; EDA isn't a rival to MOM's constraints, it's MOM's constraints plus a further, specific commitment about what a message means and who it's for. It was only ever a hard question when a receipt got mistaken for a decision, and "built on top of" got read as "nothing more than."</p>

</div>
</body>
</html>]]></content><author><name></name></author><category term="messaging" /><category term="system design" /><summary type="html"><![CDATA[A style is a coordinated set of constraints. A characteristic is what holding to those constraints produces afterward. Most writing about event-driven architecture still treats the two as one list — and so, in one famous example, does the case for why EDA is basically just messaging.]]></summary></entry><entry><title type="html">Earning each capability</title><link href="https://sepractioners.github.io/not-yet-clear/earning-each-capability/" rel="alternate" type="text/html" title="Earning each capability" /><published>2026-08-23T14:00:00+00:00</published><updated>2026-08-23T14:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/earning-each-capability</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/earning-each-capability/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Earning each capability</title>
<meta name="description" content="Validating the four-role chain, the seven axes, and the five practices from 'Where judgment lives' by applying them, cycle by cycle, to a banking support agent.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;--paper-raised:#F5F5F5;--ink:#1C1A17;--ink-soft:#4A473F;
  --slate:#5B6570;--slate-soft:#8A9098;--amber:#1A73E8;--amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);--rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{
    --paper:#FFFFFF;--paper-raised:#F5F5F5;--ink:#1C1A17;--ink-soft:#4A473F;
    --slate:#5B6570;--slate-soft:#8A9098;--amber:#1A73E8;--amber-ink:#1967D2;
    --rule:rgba(28,26,23,0.14);--rule-strong:rgba(28,26,23,0.28);
  }
}
*{box-sizing:border-box;}
html{background:var(--paper);}
body{background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.7;margin:0;padding:4.5rem 1.5rem 6rem;}
.wrap{max-width:700px;margin:0 auto;}
.back{display:inline-block;font-family:var(--font-mono);font-size:12px;color:var(--slate);text-decoration:none;margin-bottom:2.5rem;border-bottom:0.5px solid var(--rule-strong);padding-bottom:2px;}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}
.kicker{font-family:var(--font-mono);font-size:12px;letter-spacing:0.12em;text-transform:uppercase;color:var(--slate);margin:0 0 1.25rem;}
h1{font-family:var(--font-display);font-weight:600;font-size:clamp(2.1rem,5vw,3rem);line-height:1.08;letter-spacing:-0.01em;text-wrap:balance;margin:0 0 1rem;}
.dek{font-family:var(--font-display);font-style:normal;font-weight:400;font-size:1.25rem;line-height:1.5;color:var(--ink-soft);text-wrap:balance;margin:0 0 2.5rem;max-width:58ch;}
.byline{display:flex;gap:1rem;align-items:baseline;font-size:13px;color:var(--slate);border-top:0.5px solid var(--rule);border-bottom:0.5px solid var(--rule);padding:0.85rem 0;margin:0 0 3.5rem;}
.byline a{color:var(--slate);}
.byline a:hover{color:var(--amber-ink);}
section{margin:0 0 3.5rem;}
.eyebrow{display:flex;align-items:baseline;gap:0.75rem;margin:0 0 1.1rem;}
.eyebrow .num{font-family:var(--font-mono);font-size:13px;color:var(--amber);border:0.5px solid var(--rule-strong);border-radius:100px;padding:2px 9px;}
.eyebrow .label{font-family:var(--font-mono);font-size:12px;letter-spacing:0.1em;text-transform:uppercase;color:var(--slate);}
h2{font-family:var(--font-display);font-weight:600;font-size:1.55rem;line-height:1.25;text-wrap:balance;margin:0 0 0.6rem;}
.cycle-meta{font-family:var(--font-mono);font-size:12px;color:var(--slate);margin:0 0 1.1rem;}
h3{font-family:var(--font-body);font-weight:600;font-size:0.86rem;letter-spacing:0.04em;color:var(--amber-ink);margin:1.6rem 0 0.6rem;text-transform:uppercase;}
p{margin:0 0 1.1rem;max-width:66ch;color:var(--ink-soft);}
p b, li b, td b{color:var(--ink);font-weight:600;}
code{font-family:var(--font-mono);font-size:0.86em;background:var(--paper-raised);border:0.5px solid var(--rule);border-radius:4px;padding:0.1em 0.4em;color:var(--amber-ink);}
ul,ol{margin:0 0 1.1rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.5rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}
.exchange{margin:1.2rem 0;border:0.5px solid var(--rule);border-radius:10px;padding:14px 16px;background:var(--paper-raised);}
.exchange p{margin:0 0 0.5rem;font-size:14.5px;max-width:none;}
.exchange p:last-child{margin-bottom:0;}
.exchange .who{font-family:var(--font-mono);font-size:11px;color:var(--slate);text-transform:uppercase;letter-spacing:0.05em;}
.verdict{
  margin:1.2rem 0;border:0.5px solid var(--rule);border-radius:10px;overflow:hidden;
}
.verdict-label{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--slate);background:var(--paper-raised);padding:8px 14px;border-bottom:0.5px solid var(--rule);}
.verdict-body{padding:12px 16px;font-size:14px;}
.verdict-body p{margin:0;font-size:14px;max-width:none;}
.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 1.1rem;}
.tag{font-family:var(--font-mono);font-size:11px;color:var(--amber-ink);background:var(--paper-raised);border:0.5px solid var(--rule);border-radius:100px;padding:3px 10px;}
.agent-card{margin:1.2rem 0;border:0.5px solid var(--rule-strong);border-radius:10px;overflow:hidden;}
.agent-card-label{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--amber-ink);background:var(--paper-raised);padding:9px 14px;border-bottom:0.5px solid var(--rule);}
.agent-card-body{padding:4px 16px;}
.agent-card .field{display:grid;grid-template-columns:112px 1fr;gap:10px;padding:9px 0;border-bottom:0.5px solid var(--rule);align-items:baseline;}
.agent-card .field:last-child{border-bottom:none;}
.agent-card .k{font-family:var(--font-mono);font-size:11px;letter-spacing:0.03em;text-transform:uppercase;color:var(--slate);}
.agent-card .v{font-size:14px;color:var(--ink-soft);}
.agent-card .v b{color:var(--ink);font-weight:600;}
.agent-card .v .new{color:var(--amber-ink);font-weight:600;}
blockquote{margin:1.6rem 0;padding:0 0 0 1.4rem;border-left:2px solid var(--amber);font-family:var(--font-display);font-style:normal;font-size:1.1rem;line-height:1.5;color:var(--ink);text-wrap:balance;max-width:56ch;}
.abstract{margin:0 0 3rem;border:0.5px solid var(--rule-strong);border-radius:12px;overflow:hidden;}
.abstract-label{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--amber-ink);background:var(--paper-raised);padding:10px 16px;border-bottom:0.5px solid var(--rule);}
.abstract-body{padding:16px 18px;}
.abstract-body p{margin:0 0 1rem;font-size:14.5px;max-width:none;color:var(--ink-soft);}
.abstract-body h4{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--slate);margin:1.2rem 0 0.6rem;}
.abstract-body ul{margin:0;padding-left:1.2rem;max-width:none;}
.abstract-body li{font-size:14px;margin-bottom:0.5rem;color:var(--ink-soft);}
.abstract-body li b{color:var(--ink);}
.tablewrap{overflow-x:auto;margin:1.2rem 0 1.6rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:480px;font-size:13px;}
thead th{font-family:var(--font-mono);font-weight:500;font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:var(--slate);text-align:left;padding:10px 12px;background:var(--paper-raised);border-bottom:0.5px solid var(--rule-strong);white-space:nowrap;}
tbody td{padding:9px 12px;border-bottom:0.5px solid var(--rule);color:var(--ink-soft);vertical-align:top;}
tbody tr:last-child td{border-bottom:none;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}
.divider{border:none;border-top:0.5px solid var(--rule);margin:3.5rem 0;}
.close{font-family:var(--font-display);font-size:1.05rem;font-style:normal;color:var(--ink-soft);padding-top:0.5rem;}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<p class="kicker">validating the methodology</p>
<h1>Earning each capability</h1>
<p class="dek">Every claim from <a href="https://sepractioners.github.io/not-yet-clear/where-judgment-lives/">Where judgment lives</a> &mdash; the four roles, the seven axes, the five practices &mdash; run explicitly against a banking support agent, cycle by cycle, so each one can be checked rather than taken on faith.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>A validation, not a summary</span><span>19 min read</span></div>

<div class="abstract">
<div class="abstract-label">abstract</div>
<div class="abstract-body">
<p>This article tests six claims from <a href="https://sepractioners.github.io/not-yet-clear/where-judgment-lives/">Where judgment lives</a> against a real system: a banking support agent, built one small cycle at a time instead of designed up front. Each cycle adds exactly one capability, exists to check exactly one claim against a real action, and gets its own agent card &mdash; including a Graph field that tracks how actions and guardrails depend on each other, growing one node and edge at a time.</p>
<p>Looking back at that field forces a seventh cycle: the dependency structure isn't the clean, one-directional graph you'd expect. Two actions can trigger each other through the same human-review step they both already share.</p>
<p>The final lesson comes from the shape of the build itself, not from any one cycle: building all six actions and their guardrails in one pass, instead of one cycle at a time, would have been exactly the failure the source article warns about &mdash; not a shortcut around it.</p>
<h4>Key insights</h4>
<ul>
<li><b>A seven-axis check can correctly tell you to build nothing.</b> Cycle one's balance lookup needed no extra gate at all &mdash; that's the check working, not a gap someone missed.</li>
<li><b>Blast radius overrides everything else, even a fully verifiable, frequently repeated action.</b> Wire transfer never gets a lighter touch, no matter how cleanly the account and routing numbers check out.</li>
<li><b>Being logged in and being authorized aren't the same check.</b> Session authentication proves who's calling; account-level authorization proves what they're allowed to see. Cycle six shows what happens when a system treats them as one thing.</li>
<li><b>Repetition alone doesn't tell you what's worth compiling &mdash; total cost does.</b> Wire transfer happens daily and is fully verifiable, exactly what a repetition-only rule would automate. Its blast radius still rules it out.</li>
<li><b>Guardrails come from what actually goes wrong, not from predicting failures in advance.</b> No axis table run ahead of time would have caught cycle six's failure &mdash; nothing before it had ever hit the case where it mattered.</li>
<li><b>None of cycles two through six were planned back in cycle one.</b> Each one got added only once a real gap forced it &mdash; that's what "smallest reversible step" looks like applied to how you build a system, not just to a single action inside it.</li>
<li><b>The dependency structure between actions and guardrails is cyclic, not one-directional.</b> Dispute filing and fraud intake can each trigger the other through the same human-review step &mdash; the same way context, thinking, and action form a loop, not a straight line, by construction, not by accident.</li>
</ul>
</div>
</div>

<section>
<p>The source article makes six claims you can actually test:</p>
<ul>
<li>The four roles have separate, non-overlapping responsibilities.</li>
<li>Seven questions determine how much scrutiny an action needs.</li>
<li>Blast radius gates the other six instead of just averaging with them.</li>
<li>Authorization gating is the one thing agent SDKs actually ship built-in.</li>
<li>Everything else is left to the developer.</li>
<li>Total cost, not repetition alone, decides what's worth compiling into a fixed path.</li>
</ul>
<p>Each cycle below tests exactly one of these against a real action &mdash; not just illustrates it in passing.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">01</span><span class="label">cycle one</span></div>
<h2>Balance inquiry</h2>
<p class="cycle-meta">Claim under test: seven-axis scoring should justify building almost nothing.</p>

<div class="exchange">
<p><span class="who">Customer</span> What's my checking account balance?</p>
</div>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 1</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v"><span class="new">Balance &amp; history lookup</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code>query_balance</code>, <code>query_transaction_history</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">Read-only. Single account per session. No write access of any kind.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v"><b>Session authentication</b> (caller identity verified before any tool executes) &mdash; the floor every cycle stands on, not something the axis check adds. No <i>per-action</i> gate beyond that floor, since the axis check justified nothing further.</span></div>
<div class="field"><span class="k">Graph</span><span class="v"><span class="new">New nodes:</span> <code>query_balance</code>, <code>query_transaction_history</code>. <span class="new">New edges:</span> session_auth &rarr; both.</span></div>
</div>
</div>

<div class="tablewrap">
<table>
<thead><tr><th>Axis</th><th>Score</th></tr></thead>
<tbody>
<tr><td class="lead">Reversibility</td><td>Reversible &mdash; read-only</td></tr>
<tr><td class="lead">Context requirement</td><td>Minimal &mdash; system prompt, the user's question, the authenticated account ID, and the balance itself once the core-banking MCP call returns it; nothing else is fed back to the model</td></tr>
<tr><td class="lead">Verifiability</td><td>Full &mdash; matches the ledger exactly, no judgment involved</td></tr>
<tr><td class="lead">Blast radius</td><td>None &mdash; no state changes</td></tr>
<tr><td class="lead">Repetition</td><td>Very high (~40,000/day)</td></tr>
<tr><td class="lead">Cost per attempt</td><td>Negligible</td></tr>
<tr><td class="lead">Environment stability</td><td>Stable &mdash; balance is authoritative at query time</td></tr>
</tbody>
</table>
</div>

<p>None of the seven axes ask "is this caller allowed to be here at all." That's on purpose &mdash; they govern how much extra scrutiny an action needs once someone's identity is already established, not whether it's established in the first place. Session authentication sits underneath the whole system as a standing requirement, in place from this cycle on whether or not any of the seven axes ever flags a reason for it. The real mistake would be conflating the two: reading a clean scorecard as license to skip identity verification, when all it actually licensed was skipping extra checks on top of an identity that was already confirmed.</p>

<h3>Four roles, checked</h3>
<p><b>Model</b> turns a tool result into an answer. <b>SDK</b> serializes the request and parses the response. <b>Agent runtime</b> runs one tool call and stops &mdash; no loop, no retries needed. <b>Developer</b>'s only real decision is which tool to wire in; there's no "what happens next" branch to write, because six of the seven axes all point the same way.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#2, size effort to the action, not to habit.</b> The source article's exact wording: run every action through the seven questions before deciding how much thinking it deserves. Here that check ends the design instead of extending it &mdash; the claim holds when the answer is "build nothing," not just when it's "build more."</p></div>
</div>

<p>Nothing here is framework-native or developer-owned in any interesting sense &mdash; there's no judgment layer for either one to own. That's the point of running the check at all: it correctly told us to stop building.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">02</span><span class="label">cycle two</span></div>
<h2>Dispute filing</h2>
<p class="cycle-meta">Claim under test: a second action with a different axis profile breaks a one-size-fits-all policy.</p>

<div class="exchange">
<p><span class="who">Customer</span> I don't recognize a $340 charge from "TXN*8827-SVC" on the 19th &mdash; can you dispute it?</p>
</div>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 2</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v">Balance &amp; history lookup, <span class="new">+ dispute filing</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code>query_balance</code>, <code>query_transaction_history</code>, <code class="new">file_dispute</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">Disputes limited to transactions within 60 days. One open dispute per transaction.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v"><span class="new">+ Per-action risk classification</span> &mdash; routes <code>file_dispute</code> through confirmation; lookups still gate-free.</span></div>
<div class="field"><span class="k">Graph</span><span class="v"><span class="new">New node:</span> <code>file_dispute</code>. <span class="new">New edges:</span> session_auth &rarr; file_dispute, risk_classification &rarr; file_dispute, <code>query_transaction_history</code> &rarr; file_dispute (data dependency).</span></div>
</div>
</div>

<div class="tablewrap">
<table>
<thead><tr><th>Axis</th><th>Balance check</th><th>Dispute filing</th></tr></thead>
<tbody>
<tr><td class="lead">Reversibility</td><td>Reversible</td><td>Partial &mdash; withdrawable, but the regulatory clock and merchant flag don't un-happen</td></tr>
<tr><td class="lead">Context requirement</td><td>System prompt, question, account ID</td><td>Same, plus the specific charge and prior dispute history returned by the transaction-history MCP call before <code>file_dispute</code> is ever invoked</td></tr>
<tr><td class="lead">Verifiability</td><td>Full</td><td>Partial &mdash; charge exists, but legitimacy is a judgment call</td></tr>
<tr><td class="lead">Blast radius</td><td>None</td><td>Moderate &mdash; provisional credit, merchant notified</td></tr>
<tr><td class="lead">Repetition</td><td>~40,000/day</td><td>~200/day, high variance per case</td></tr>
</tbody>
</table>
</div>

<p>Reuse cycle one's design as-is &mdash; one system prompt, one loop, no differentiation &mdash; and it files this dispute exactly as casually as it answered the balance question. Nothing errors. That's the actual failure: a system that scored correctly for cycle one has no way to notice a second action doesn't score the same way, unless something re-runs the check per action instead of once for the whole system.</p>

<h3>Four roles, checked</h3>
<p>This is where the <b>Developer</b>'s responsibility actually kicks in for the first time. The source article's claim is that "deciding what happens next" has exactly one owner &mdash; here that's concrete, not abstract: adding a per-action classification step, before either tool fires, is a decision nothing else in the stack will make on its own. <b>Model</b> and <b>Agent runtime</b> haven't changed at all between cycles one and two; only the developer-owned layer around them has.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#2 again, but now in its positive case:</b> the same seven-axis check that told cycle one to stop now tells cycle two to add a confirmation step specifically for dispute filing, while leaving balance checks untouched. One check, two opposite verdicts &mdash; both correct for what they're checking.</p></div>
</div>

<div class="tag-row"><span class="tag">developer-owned</span></div>
<p>Per-action risk classification is the source article's main example of something <b>no framework ships built-in</b> &mdash; Claude Agent SDK, ADK, LangGraph, Semantic Kernel, and the OpenAI Agents SDK all leave it entirely to whoever builds on top. Confirmed here: adding this step never touched the SDK or runtime code, only the layer the developer wrote.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">03</span><span class="label">cycle three</span></div>
<h2>Wire transfer</h2>
<p class="cycle-meta">Claim under test: blast radius gates the other six axes rather than sitting beside them.</p>

<div class="exchange">
<p><span class="who">Customer</span> Send $4,000 to my daughter's account, routing 021000021, account 8834471.</p>
</div>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 3</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v">Lookups, dispute filing, <span class="new">+ wire transfer</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code>query_balance</code>, <code>query_transaction_history</code>, <code>file_dispute</code>, <code class="new">initiate_wire_transfer</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">Wires capped at daily/per-transaction limit; payee must be previously used or pre-verified.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v"><span class="new">+ Hard authorization gate</span> &mdash; step-up auth and human confirmation before any wire executes, unconditionally on model confidence.</span></div>
<div class="field"><span class="k">Graph</span><span class="v"><span class="new">New nodes:</span> <code>initiate_wire_transfer</code>, a payee-verification lookup. <span class="new">New edges:</span> session_auth &rarr; wire, hard_auth_gate &rarr; wire, payee_verification &rarr; wire.</span></div>
</div>
</div>

<div class="tablewrap">
<table>
<thead><tr><th>Axis</th><th>Score</th></tr></thead>
<tbody>
<tr><td class="lead">Reversibility</td><td>Irreversible once settled</td></tr>
<tr><td class="lead">Context requirement</td><td>Moderate to high &mdash; beyond the payee's account and routing numbers, deciding whether this transfer is routine or a takeover attempt needs payee-relationship history returned by an MCP call to the payee-verification service, which the numbers alone don't supply</td></tr>
<tr><td class="lead">Verifiability</td><td>Full &mdash; account and routing numbers either match or don't</td></tr>
<tr><td class="lead">Blast radius</td><td>Severe &mdash; real funds leave the bank, standing fraud target</td></tr>
<tr><td class="lead">Repetition</td><td>~90/day</td></tr>
</tbody>
</table>
</div>

<p>Notice the trap this table sets: verifiability is full, same as balance checks. A design that averages the seven scores, or lets a high verifiability score offset a severe blast-radius score, would wave this through with high confidence. The source article's specific claim is that averaging is wrong &mdash; <b>blast radius acts as a gate above the other six, not one factor among many</b>. Confirmed here directly: no matter how exactly the account and routing numbers match, that match alone still isn't enough.</p>
<p>The axes are independent in a second way too &mdash; full verifiability on the numbers said nothing about context requirement being low. The two moved in opposite directions on the same action.</p>

<h3>Four roles, checked</h3>
<p>This cycle is the one place the <b>Agent runtime</b> does real, non-trivial work instead of just executing what it's told: a hook or approval-mode callback intercepts execution before the wire fires, regardless of how confident the model is. That's a genuine runtime responsibility, not a developer-authored classification step layered on top, like cycle two's.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#2's blast-radius clause, verbatim:</b> "put the blast-radius check at the very end of the pipeline, after everything else &mdash; never mixed in with the rest." Implemented here as a hard checkpoint the policy can't route around &mdash; not a prompt asking the model to be careful.</p></div>
</div>

<div class="tag-row"><span class="tag">framework-native</span></div>
<p>This is the one capability in the whole build that didn't need inventing: the source article's survey found authorization gating is the one practice nearly every agent SDK ships built-in &mdash; Claude Agent SDK's hooks and permission modes, ADK's <code>require_confirmation</code>, LangGraph's human-in-the-loop middleware. Confirmed by how little work it took: this cycle is mostly wiring an existing primitive, not building a new one.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">04</span><span class="label">cycle four</span></div>
<h2>Fraud complaint intake</h2>
<p class="cycle-meta">Claim under test: reasoning only becomes actionable through a narrow, generic structured field.</p>

<div class="exchange">
<p><span class="who">Customer</span> Someone used my card at a gas station in another state, I've never been there.</p>
</div>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 4</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v">Lookups, disputes, wires, <span class="new">+ fraud intake &amp; triage</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code>query_balance</code>, <code>query_transaction_history</code>, <code>file_dispute</code>, <code>initiate_wire_transfer</code>, <code class="new">intake_fraud_complaint</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">May never issue a final fraud determination &mdash; triage and routing only.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v"><span class="new">+ Confidence / needs_review threshold</span> &mdash; low-confidence or complex claims route to a human fraud analyst automatically.</span></div>
<div class="field"><span class="k">Graph</span><span class="v"><span class="new">New node:</span> <code>intake_fraud_complaint</code>. <span class="new">New edges:</span> session_auth &rarr; fraud_intake, confidence_threshold &rarr; fraud_intake, <code>query_transaction_history</code> &rarr; fraud_intake. <span class="new">First latent cross-link:</span> both <code>file_dispute</code> and <code>intake_fraud_complaint</code> now exist and both route to human review &mdash; not yet drawn as an edge, but the possibility is live from this cycle on.</span></div>
</div>
</div>

<div class="tablewrap">
<table>
<thead><tr><th>Axis</th><th>Score</th></tr></thead>
<tbody>
<tr><td class="lead">Context requirement</td><td>High &mdash; full transaction history, location, and device signals, returned by a fraud-signals MCP call, are needed before even a triage-level confidence can be assigned</td></tr>
<tr><td class="lead">Verifiability</td><td>None &mdash; genuine fraud vs. forgotten purchase is a judgment call, no ledger settles it</td></tr>
<tr><td class="lead">Blast radius</td><td>Moderate&ndash;severe &mdash; wrong call either burdens a customer or misses real fraud</td></tr>
<tr><td class="lead">Repetition</td><td>~60/day</td></tr>
</tbody>
</table>
</div>

<p>This cycle exists to rule out one specific failure mode: making the model "smarter" here &mdash; a longer prompt, more transaction history, a bigger model &mdash; on the theory that better reasoning can substitute for a verifier that doesn't exist. The source article's claim is specific: no amount of thinking manufactures a check that isn't there for this kind of problem.</p>

<h3>Four roles, checked</h3>
<p>The fix narrows what the <b>Model</b> is asked to produce: not a fraud determination, just a structured <code>confidence</code> and <code>needs_review</code> field on the intake. <b>Developer</b>-owned routing logic reads that field and sends anything below threshold to a human fraud analyst. The actual determination moves to where verifiability exists &mdash; a person who can call the merchant &mdash; instead of being asked of a component that has no way to check its own answer.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#1, verbatim:</b> "define specific fields &mdash; confidence, stuck, needs_review &mdash; for anything that should actually change behavior, and keep them general instead of listing every failure case by name." Tested directly against an action picked specifically because it has no possible objective check &mdash; if this practice holds anywhere, it has to hold here.</p></div>
</div>

<div class="tag-row"><span class="tag">developer-owned</span></div>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">05</span><span class="label">cycle five</span></div>
<h2>Which of the four is worth compiling</h2>
<p class="cycle-meta">Claim under test: total-cost accounting, not repetition alone, decides what gets a deterministic path.</p>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 5</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v">Unchanged &mdash; no new action this cycle. <span class="new">Execution path classified per action.</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code class="new">query_balance (compiled)</code>, <code>query_transaction_history (compiled)</code>, <code>file_dispute (reasoned)</code>, <code>initiate_wire_transfer (reasoned)</code>, <code>intake_fraud_complaint (reasoned, never compiled)</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">Unchanged from cycle 4.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v">Unchanged &mdash; compiling a path never removes the gates already earned in cycles 2&ndash;4.</span></div>
<div class="field"><span class="k">Graph</span><span class="v">No new nodes or edges &mdash; existing action nodes gain an execution-path label (compiled/reasoned) only. The graph's shape doesn't change; what runs underneath a node does.</span></div>
</div>
</div>

<div class="tablewrap">
<table>
<thead><tr><th>Action</th><th>Volume/day</th><th>Verifiable</th><th>Blast radius</th><th>Compile?</th></tr></thead>
<tbody>
<tr><td class="lead">Balance check</td><td>~40,000</td><td>Yes</td><td>None</td><td>Yes</td></tr>
<tr><td class="lead">Dispute filing</td><td>~200</td><td>Partial</td><td>Moderate</td><td>No</td></tr>
<tr><td class="lead">Wire transfer</td><td>~90</td><td>Yes</td><td>Severe</td><td>No</td></tr>
<tr><td class="lead">Fraud intake</td><td>~60</td><td>No</td><td>Mod&ndash;severe</td><td>No</td></tr>
</tbody>
</table>
</div>

<p>Wire transfer is the case that isolates the claim: it's fully verifiable and happens daily, exactly the profile a repetition-only rule would compile. It still doesn't qualify, because severe blast radius overrides both. Fraud intake isolates the other half: no amount of repetition makes an unverifiable judgment call cheaper to automate &mdash; repeating a bad shortcut just repeats the bad shortcut.</p>

<h3>Four roles, checked</h3>
<p>This cycle is the one place three of the four roles don't move at all. The <b>Model</b> isn't consulted about which actions get compiled &mdash; that decision happens entirely outside any single reasoning call. The <b>SDK</b> and <b>Agent runtime</b> just execute whichever path was already chosen, compiled or reasoned, without knowing or caring which. This is purely a <b>Developer</b> decision, made once, offline, from the volume/verifiability/blast-radius table above &mdash; the cleanest proof in this article that "deciding what happens next" doesn't always mean deciding it per request.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#5, verbatim:</b> "total cost isn't tokens spent. It's tokens spent, plus the cost of failures that slip through, plus the cost of whatever catches them." Balance checks come out cheap on all three terms at once; nothing else here does &mdash; which is exactly why only one row says yes.</p></div>
</div>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">06</span><span class="label">cycle six</span></div>
<h2>The authorization gap no axis caught</h2>
<p class="cycle-meta">Claim under test: the guard layer evolves from what's observed, because upfront prediction of failure modes is structurally incomplete.</p>
<p>To be precise about what this cycle is and isn't: session authentication has been the floor since cycle one, and this caller really is a verified bank customer. The gap sits one level more specific than "who is this" &mdash; which is exactly why it's harder to catch.</p>
<p>Being authenticated as yourself doesn't mean you're authorized to see every account you happen to mention. That's a per-account check, not a per-session one, and nothing before this cycle ever tested a joint account where the two pull apart.</p>

<div class="exchange">
<p><span class="who">Customer</span> Hi, this is my husband's account, can you tell me the balance and recent transactions on 4471?</p>
</div>

<div class="agent-card">
<div class="agent-card-label">agent card &mdash; after cycle 6</div>
<div class="agent-card-body">
<div class="field"><span class="k">Capability</span><span class="v">Lookups, disputes, wires, fraud intake, <span class="new">+ caller-authorization verification (applies to all five actions)</span></span></div>
<div class="field"><span class="k">Actions</span><span class="v"><code>query_balance</code>, <code>query_transaction_history</code>, <code>file_dispute</code>, <code>initiate_wire_transfer</code>, <code>intake_fraud_complaint</code></span></div>
<div class="field"><span class="k">Constraints</span><span class="v">No information disclosed to a caller not on the account's authorized-user list, regardless of how well other request details match.</span></div>
<div class="field"><span class="k">Guardrails</span><span class="v">Session authentication (since cycle 1), <span class="new">+ account-level authorization check</span> (deterministic, runs before every disclosure &mdash; distinct from and layered on top of session auth) <span class="new">+ statistical tripwire</span> for whatever the next uncaught case turns out to be.</span></div>
<div class="field"><span class="k">Graph</span><span class="v"><span class="new">New node:</span> account_level_auth. <span class="new">New edges:</span> account_level_auth &rarr; all five action nodes. With every action now gated by two upstream checks reading the same account state those actions themselves can alter, the graph stops being obviously acyclic &mdash; the cross-link noted in cycle four is worth drawing explicitly by this point.</span></div>
</div>
</div>

<p>None of cycles one through five's scoring flags this: the account number matched, and the request pattern-matched a hundred legitimate ones before it. The caller just wasn't on the account's authorized-user list. The agent disclosed anyway. No axis table run in advance would have caught this specific gap &mdash; it only became visible once real traffic produced it.</p>

<h3>Four roles, checked</h3>
<p>The fix is a new, rule-based check: verify caller authorization against the account's authorized-user list before any disclosure, for every information request from now on. It's added by the <b>Developer</b> because this exact failure just happened, not because anyone anticipated it. A lighter statistical tripwire stays in place for whatever the next uncaught case turns out to be.</p>

<div class="verdict">
<div class="verdict-label">practice invoked</div>
<div class="verdict-body"><p><b>#4, verbatim:</b> "pair cheap, rule-based checks for failures you already know about with a lightweight statistical or small-model tripwire for the ones you don't. Turn every miss either one catches into a new rule. The guard layer is never finished." Confirmed by construction: this rule didn't exist five cycles ago, because nothing had yet shown it was needed.</p></div>
</div>

<div class="tag-row"><span class="tag">developer-owned</span></div>
</section>

<hr class="divider">

<div class="verdict">
<div class="verdict-label">practice invoked &mdash; by the structure itself, not by any one cycle</div>
<div class="verdict-body"><p><b>#3, verbatim:</b> "default to the smallest reversible step that teaches you something new." No single cycle demonstrates this practice on its own &mdash; it's what the six-cycle shape of this whole article is doing. Each addition was small enough to reason about on its own, reversible in the sense that nothing downstream depended on a future capability existing yet, and each one taught exactly what justified the next step (a gap, a trap, a caught failure). Deciding all six actions and their axis scores up front, in one pass, would have been this practice's failure mode, not an application of it.</p></div>
</div>

<div class="eyebrow"><span class="num">07</span><span class="label">cycle seven</span></div>
<h2>Not a DAG</h2>
<p class="cycle-meta">Claim under test: the same claim as always &mdash; nothing here was designed in advance, including this cycle itself. The correction was forced by looking back at what the Graph field had already accumulated, not by a plan to eventually draw this.</p>
<p>Each cycle's Graph field was tracking something the capability, actions, constraints, and guardrails fields never showed on their own: a dependency structure, assembled one node and edge at a time, alongside the agent it describes. Put all six cycles together and the result isn't a clean, one-directional graph.</p>
<p>Two gates sit upstream of every action &mdash; session authentication and account-level authorization. Three more attach to one action each: risk classification on <code>file_dispute</code>, the hard authorization gate on <code>initiate_wire_transfer</code>, the confidence threshold on <code>intake_fraud_complaint</code>. And three of the five actions depend on a lookup finishing first &mdash; <code>query_transaction_history</code> feeds both <code>file_dispute</code> and <code>intake_fraud_complaint</code>; a payee-verification lookup feeds <code>initiate_wire_transfer</code>.</p>
<p>Here's where it actually becomes cyclic: <code>file_dispute</code> and <code>intake_fraud_complaint</code> can trigger each other. A fraud complaint that a human reviews can turn out to need a formal dispute filed. A dispute that a human reviews can reveal a pattern that escalates into a fraud investigation.</p>
<p>Neither action is strictly upstream of the other &mdash; each one can produce the other, through the same human-review step they both already route to.</p>
<p>This isn't specific to banking. It's the first article's claim about the loop, one level up: actions produce context, and guards read that context to decide what runs next. If a guard's decision depends on state an action produced, and an action's eligibility depends on a guard's decision, the dependency structure is cyclic by construction.</p>
<p>Assuming otherwise was the actual mistake here &mdash; not an edge case this article happened to run into.</p>

<hr class="divider">

<p class="close">Seven cycles now, not six &mdash; and the seventh one existing at all makes the same point the other six do, just applied to this article's own history: nothing here was planned in advance, including the correction that added cycle seven.</p>
<p class="close">What's left unbuilt &mdash; loan status, contact-info changes, multi-tier household authorization &mdash; isn't unfinished business. It's the same seven axes, and the same Graph field, waiting to run against whichever action shows up next.</p>

</div>
</body>
</html>]]></content><author><name></name></author><category term="agent architecture" /><category term="banking" /><category term="iterative design" /><summary type="html"><![CDATA[Validating the four-role chain, the seven axes, and the five practices from 'Where judgment lives' by applying them, cycle by cycle, to a banking support agent.]]></summary></entry><entry><title type="html">Where judgment lives</title><link href="https://sepractioners.github.io/not-yet-clear/where-judgment-lives/" rel="alternate" type="text/html" title="Where judgment lives" /><published>2026-08-23T00:00:00+00:00</published><updated>2026-08-23T00:00:00+00:00</updated><id>https://sepractioners.github.io/not-yet-clear/where-judgment-lives</id><content type="html" xml:base="https://sepractioners.github.io/not-yet-clear/where-judgment-lives/"><![CDATA[<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Where judgment lives</title>
<meta name="description" content="Why every major agent framework automates the reasoning loop but leaves risk classification, deviation detection, and cost judgment entirely to the developer.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">

<style>
:root{
  color-scheme:light;
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
  --font-display:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Inter',-apple-system,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#FFFFFF;
    --paper-raised:#F5F5F5;
    --ink:#1C1A17;
    --ink-soft:#4A473F;
    --slate:#5B6570;
    --slate-soft:#8A9098;
    --amber:#1A73E8;
    --amber-ink:#1967D2;
    --rule:rgba(28,26,23,0.14);
    --rule-strong:rgba(28,26,23,0.28);
  }
}
:root[data-theme="dark"]{
  --paper:#FFFFFF;
  --paper-raised:#F5F5F5;
  --ink:#1C1A17;
  --ink-soft:#4A473F;
  --slate:#5B6570;
  --slate-soft:#8A9098;
  --amber:#1A73E8;
  --amber-ink:#1967D2;
  --rule:rgba(28,26,23,0.14);
  --rule-strong:rgba(28,26,23,0.28);
}

*{box-sizing:border-box;}
html{background:var(--paper);}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  margin:0;
  padding:4.5rem 1.5rem 6rem;
}
.wrap{max-width:680px;margin:0 auto;}
.back{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-decoration:none;
  margin-bottom:2.5rem;
  border-bottom:0.5px solid var(--rule-strong);
  padding-bottom:2px;
}
.back:hover{color:var(--amber-ink);border-color:var(--amber);}

.kicker{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--slate);
  margin:0 0 1.25rem;
}
h1{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(2.1rem,5vw,3rem);
  line-height:1.08;
  letter-spacing:-0.01em;
  text-wrap:balance;
  margin:0 0 1rem;
  color:var(--ink);
}
.dek{
  font-family:var(--font-display);
  font-style:normal;
  font-weight:400;
  font-size:1.25rem;
  line-height:1.5;
  color:var(--ink-soft);
  text-wrap:balance;
  margin:0 0 2.5rem;
  max-width:56ch;
}
.byline{
  display:flex;
  gap:1rem;
  align-items:baseline;
  font-size:13px;
  color:var(--slate);
  border-top:0.5px solid var(--rule);
  border-bottom:0.5px solid var(--rule);
  padding:0.85rem 0;
  margin:0 0 3.5rem;
}
.byline b{color:var(--ink-soft);font-weight:500;}

section{margin:0 0 3.75rem;}
.eyebrow{
  display:flex;
  align-items:baseline;
  gap:0.75rem;
  margin:0 0 1.1rem;
}
.eyebrow .num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--amber);
  border:0.5px solid var(--rule-strong);
  border-radius:100px;
  padding:2px 9px;
}
.eyebrow .label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--slate);
}
h2{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.7rem;
  line-height:1.25;
  text-wrap:balance;
  margin:0 0 1.1rem;
  color:var(--ink);
}
h3{
  font-family:var(--font-body);
  font-weight:600;
  font-size:1.02rem;
  margin:1.8rem 0 0.7rem;
  color:var(--ink);
}
p{margin:0 0 1.15rem;max-width:66ch;color:var(--ink-soft);}
p b, li b{color:var(--ink);font-weight:600;}
code{
  font-family:var(--font-mono);
  font-size:0.88em;
  background:var(--paper-raised);
  border:0.5px solid var(--rule);
  border-radius:4px;
  padding:0.1em 0.4em;
  color:var(--amber-ink);
}
ul, ol{margin:0 0 1.15rem;padding-left:1.3rem;max-width:63ch;}
li{margin-bottom:0.55rem;color:var(--ink-soft);}
li::marker{color:var(--slate-soft);}

blockquote{
  margin:2rem 0;
  padding:0 0 0 1.4rem;
  border-left:2px solid var(--amber);
  font-family:var(--font-display);
  font-style:normal;
  font-size:1.3rem;
  line-height:1.5;
  color:var(--ink);
  text-wrap:balance;
  max-width:52ch;
}

.abstract{margin:0 0 3rem;border:0.5px solid var(--rule-strong);border-radius:12px;overflow:hidden;}
.abstract-label{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--amber-ink);background:var(--paper-raised);padding:10px 16px;border-bottom:0.5px solid var(--rule);}
.abstract-body{padding:16px 18px;}
.abstract-body p{margin:0 0 1rem;font-size:14.5px;max-width:none;color:var(--ink-soft);}
.abstract-body h4{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--slate);margin:1.2rem 0 0.6rem;}
.abstract-body ul{margin:0;padding-left:1.2rem;max-width:none;}
.abstract-body li{font-size:14px;margin-bottom:0.5rem;color:var(--ink-soft);}
.abstract-body li b{color:var(--ink);}
.tablewrap{overflow-x:auto;margin:1.6rem 0 2rem;border:0.5px solid var(--rule);border-radius:10px;}
table{border-collapse:collapse;width:100%;min-width:560px;font-size:13.5px;}
thead th{
  font-family:var(--font-mono);
  font-weight:500;
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--slate);
  text-align:left;
  padding:12px 14px;
  background:var(--paper-raised);
  border-bottom:0.5px solid var(--rule-strong);
  white-space:nowrap;
}
tbody td{
  padding:11px 14px;
  border-bottom:0.5px solid var(--rule);
  color:var(--ink-soft);
  vertical-align:top;
}
tbody tr:last-child td{border-bottom:none;}
td.lead{color:var(--ink);font-weight:500;white-space:nowrap;}
td.lead-wrap{color:var(--ink);font-weight:500;white-space:normal;max-width:150px;width:150px;}
.yes{color:var(--amber-ink);font-weight:500;}
.no{color:var(--slate-soft);}

figure{margin:2rem 0;}
figcaption{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--slate);
  text-align:center;
  margin-top:0.7rem;
}
svg text{font-family:var(--font-body);}

.divider{
  border:none;
  border-top:0.5px solid var(--rule);
  margin:3.75rem 0;
}
.close{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-style:normal;
  color:var(--ink-soft);
  padding-top:0.5rem;
}

/* shared site bar */
body{padding:0 1.5rem 4rem !important;}
.sitebar{position:sticky;top:0;z-index:20;margin:0 -1.5rem 2.75rem;background:rgba(255,255,255,0.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #DADCE0;font-family:'Inter',-apple-system,'Segoe UI',sans-serif;}
.sitebar-in{max-width:1080px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem;}
.sb-brand{display:flex;align-items:center;gap:0.65rem;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:-0.01em;color:#202124;}
.sb-mark{width:26px;height:26px;border-radius:8px;background:#1A73E8;display:grid;place-items:center;}
.sb-nav{display:flex;align-items:center;gap:1.4rem;font-size:14px;font-weight:500;}
.sb-nav a{text-decoration:none;color:#5F6368;}
.sb-nav a:hover{color:#1A73E8;}
.sb-nav a.sb-cta{color:#fff;background:#1A73E8;padding:7px 16px;border-radius:999px;}
.sb-nav a.sb-cta:hover{background:#1967D2;color:#fff;}
@media (max-width:560px){.sb-nav a:not(.sb-cta){display:none;}}
</style>
</head>
<body>
<header class="sitebar"><div class="sitebar-in">
<a class="sb-brand" href="/not-yet-clear/"><span class="sb-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 14 14" fill="none"><path d="M2.5 3.5 6.5 7l-4 3.5" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 11h4" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/></svg></span>Engineer's Diary</a>
<nav class="sb-nav"><a href="/not-yet-clear/#articles">All articles</a><a class="sb-cta" href="/not-yet-clear/feed.xml">Subscribe</a></nav>
</div></header>

<div class="wrap">

<p class="kicker">on building agentic systems</p>
<h1>Where judgment lives</h1>
<p class="dek">Every agent framework has converged on the same loop. None of them has converged on who decides what it means.</p>
<div class="byline"><span>By <b>R. Axiom</b></span><span>An article on agent architecture</span><span>10 min read</span></div>

<div class="abstract">
<div class="abstract-label">abstract</div>
<div class="abstract-body">
<p>Every agent framework has solved the same mechanical problem &mdash; call a model, run a tool, carry the result forward, repeat. None of them has solved the harder problem underneath it: deciding what any of that reasoning is actually allowed to do. That gap is where most agent failures live &mdash; not in the model being wrong, but in nobody having decided in advance what happens when it is.</p>
<p>Here's how to build that judgment in on purpose, instead of hoping it shows up. Four roles touch the loop, but only the developer's code ever decides what happens next &mdash; so judgment has to be written into the code, not assumed from better reasoning. You can't fully plan ahead either: context, thinking, and action all depend on each other, so the safest approach is small steps you can undo, not one big well-planned move.</p>
<p>The famous reasoning patterns &mdash; chain-of-thought, tree-of-thoughts, ReAct, plan-then-execute, multi-agent handoff &mdash; aren't really different techniques. They're the same loop, spending the same budget in different ways, which means the real decision is how much outside checking a task needs, not which pattern sounds smartest.</p>
<p>And you can score how much scrutiny any action deserves using seven concrete questions, one of which overrides the rest: can this go wrong in a way you can't undo? Together, these give you a simple way to decide, action by action, how much judgment your system actually needs.</p>
<h4>Key insights</h4>
<ul>
<li><b>A smarter model doesn't make your agent safer or more capable on its own.</b> Better reasoning only matters if you've written code that reads it and acts on the difference &mdash; otherwise it just makes the transcript more articulate.</li>
<li><b>You can't think your way to a perfect plan before acting.</b> Break work into the smallest step you can undo, learn from it, then take the next one &mdash; that's more reliable than trying to gather full context up front.</li>
<li><b>Ask "can this go wrong in a way I can't undo" before anything else.</b> A cheap, well-tested, frequently-run action still needs a human sign-off the moment it can touch something irreversible.</li>
<li><b>A model saying "wait, let me reconsider" isn't a safety check.</b> It's the same reasoning re-examining itself with the same blind spots. A check only counts as real verification if it couldn't have seen the reasoning it's checking.</li>
<li><b>Removing a human from the loop doesn't remove the judgment call &mdash; it just moves the bill.</b> Pre-checks, post-checks, and guardrails are what you now have to build to replace the person who used to catch the problem.</li>
<li><b>Almost every framework lets you gate a risky action before it fires &mdash; that's it.</b> Deciding what counts as risky, how often to double-check, and what it's all costing you is left entirely to whoever builds on top, everywhere.</li>
</ul>
</div>
</div>

<section>
<p>Ask an agent framework to "reason," and something real happens: the model generates thinking tokens, the runtime carries them from one call to the next, a tool runs, a result comes back. But watch closely and a strange fact shows up &mdash; none of that machinery actually <i>decides</i> anything on its own.</p>
<p>A model can conclude, in its own words, that something is wrong. The runtime will faithfully carry that conclusion to the next turn. But unless a person wrote code that reads it, nothing about the system's behavior changes. The reasoning happened. It just didn't decide anything.</p>
<p>That gap &mdash; between reasoning happening and reasoning mattering &mdash; is the main idea behind everything in this article. Once you see it, the rest follows.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">01</span><span class="label">the four roles</span></div>
<h2>The four roles: model, SDK, runtime, developer</h2>
<p>Break any agent system into its real parts and you get four roles that don't overlap. The <b>model</b> generates content &mdash; thinking, tool requests, final text &mdash; and nothing else. The <b>SDK</b> turns that content into requests and parses the responses back out; it has no opinion on what any of it means.</p>
<p>The <b>agent runtime</b> &mdash; the loop inside Claude Agent SDK's <code>query()</code>, OpenAI's <code>Runner</code>, LangGraph's graph executor &mdash; carries reasoning from one call to the next and decides when to stop, but it never reads what the reasoning actually says. And the <b>developer</b> decides what any of it is allowed to trigger.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Responsibility</th><th>Model</th><th>SDK</th><th>Agent runtime</th><th>Developer</th></tr></thead>
<tbody>
<tr><td class="lead">Generates reasoning content</td><td class="yes">owns it</td><td class="no">&mdash;</td><td class="no">&mdash;</td><td class="no">&mdash;</td></tr>
<tr><td class="lead">Carries reasoning across turns</td><td class="no">&mdash;</td><td>defines the shape</td><td class="yes">owns it</td><td class="no">&mdash;</td></tr>
<tr><td class="lead">Executes tools, controls the loop</td><td class="no">&mdash;</td><td class="no">&mdash;</td><td class="yes">owns it</td><td>sets the limits</td></tr>
<tr><td class="lead">Decides what happens next</td><td class="no">&mdash;</td><td class="no">&mdash;</td><td class="no">&mdash;</td><td class="yes">sole owner</td></tr>
</tbody>
</table>
</div>

<p>That last row matters most. Nobody else in the stack even tries to do it. A model that reasons better doesn't make your system more capable unless something downstream is built to act on the difference &mdash; otherwise all you get is a more articulate transcript.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">02</span><span class="label">the core loop</span></div>
<h2>The context-thinking-action loop</h2>
<p>Under those four roles is a harder problem. Context, thinking, and action all depend on each other &mdash; and none of them can go first.</p>
<p>Thinking can only work with what's already in context &mdash; it can't invent a fact that isn't there, so there's a ceiling on how good your reasoning can be, no matter how hard the model tries.</p>
<p>You need to think before you act, but the only way to know if that thinking was right is to actually act &mdash; and acting is exactly the expensive, hard-to-undo step you were trying to think your way around.</p>
<p>And action is the only thing that produces new context, so deciding what to do already requires information you won't have until after you've done it.</p>

<figure>
<svg width="100%" viewBox="0 0 640 260" role="img" aria-labelledby="loopTitle loopDesc">
<title id="loopTitle">The context, thinking, action loop</title>
<desc id="loopDesc">Context bounds thinking, thinking selects the action, and action produces new context, closing the loop with no valid starting point.</desc>
<defs>
<marker id="lm" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M2 1L8 5L2 9" fill="none" stroke="var(--slate)" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</marker>
</defs>
<circle cx="320" cy="130" r="96" fill="none" stroke="var(--rule)" stroke-width="1"/>
<g>
<circle cx="320" cy="34" r="46" fill="var(--paper-raised)" stroke="var(--rule-strong)" stroke-width="0.75"/>
<text x="320" y="30" text-anchor="middle" font-size="14" font-weight="500" fill="var(--ink)">Context</text>
<text x="320" y="46" text-anchor="middle" font-size="11.5" fill="var(--slate)">bounds thinking</text>
</g>
<g>
<circle cx="140" cy="192" r="46" fill="var(--paper-raised)" stroke="var(--rule-strong)" stroke-width="0.75"/>
<text x="140" y="188" text-anchor="middle" font-size="14" font-weight="500" fill="var(--ink)">Thinking</text>
<text x="140" y="204" text-anchor="middle" font-size="11.5" fill="var(--slate)">selects action</text>
</g>
<g>
<circle cx="500" cy="192" r="46" fill="var(--paper-raised)" stroke="var(--amber)" stroke-width="1.25"/>
<text x="500" y="188" text-anchor="middle" font-size="14" font-weight="500" fill="var(--amber-ink)">Action</text>
<text x="500" y="204" text-anchor="middle" font-size="11.5" fill="var(--amber-ink)">produces context</text>
</g>
<path d="M292,62 C240,90 190,120 170,150" fill="none" stroke="var(--slate-soft)" stroke-width="1.25" marker-end="url(#lm)"/>
<path d="M182,208 C280,248 380,248 460,210" fill="none" stroke="var(--slate-soft)" stroke-width="1.25" marker-end="url(#lm)"/>
<path d="M472,152 C420,105 385,75 352,58" fill="none" stroke="var(--amber)" stroke-width="1.25" marker-end="url(#lm)"/>
</g>
</svg>
<figcaption>each one both depends on, and produces, the other two</figcaption>
</figure>

<p>No agent design escapes this &mdash; you can only handle it well or badly. Handling it well means keeping every step small and reversible: take the smallest action that gets you the most new information, think again with just that new piece, then repeat.</p>
<p>Trying to shortcut any one of the three &mdash; full context before you think, certainty before you act, one big action to settle everything &mdash; doesn't work, because the other two are still incomplete when you try it.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">03</span><span class="label">reasoning patterns</span></div>
<h2>Five reasoning patterns, one loop</h2>
<p>Chain-of-thought, tree-of-thoughts, ReAct, plan-then-execute, multi-agent handoff &mdash; these aren't five different mechanisms. They're five different answers to two simple questions: how many times do you go around the loop, and who's steering it each time &mdash; the model, or your code?</p>
<p>Chain-of-thought is the simple case. One model call, one line of reasoning, no loop at all. The model decides once, and nothing outside it ever checks the work.</p>
<p>Tree-of-thoughts is the opposite case. Something outside the model generates several candidate answers, scores them by some method that isn't just the model's own opinion, and drops the weak ones before they cost you anything. The real difference from chain-of-thought isn't that it's smarter &mdash; it's that an actual outside judge gets a vote.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Pattern</th><th>Iterations spent</th><th>Who steers each one</th></tr></thead>
<tbody>
<tr><td class="lead">Chain-of-thought</td><td>Zero &mdash; one generation</td><td>The model, once; nothing external ever weighs in</td></tr>
<tr><td class="lead">Tree-of-thoughts</td><td>Many</td><td>An external evaluator, separate from the generation that produced each candidate</td></tr>
<tr><td class="lead">ReAct</td><td>Many &mdash; one per tool call</td><td>The model, fresh at every single iteration</td></tr>
<tr><td class="lead">Plan-then-execute</td><td>One big decision, then many mechanical steps</td><td>The model steers once; code steers every iteration after</td></tr>
<tr><td class="lead">Multi-agent handoff</td><td>Many</td><td>Control passes between separate model instances</td></tr>
</tbody>
</table>
</div>

<p>ReAct spends just as many iterations as tree-of-thoughts, but it steers nothing like it. There's no outside judge comparing options &mdash; just the model, deciding alone, one step at a time, based on whatever's happened so far. It's chain-of-thought's habit of never checking itself, just repeated many times instead of once.</p>
<p>Plan-then-execute puts the judgment in one place instead of spreading it out. The model makes one big call up front &mdash; the plan &mdash; then code runs it mechanically, step by step, without asking the model again unless something forces a re-plan.</p>
<p>Multi-agent handoff doesn't have one steering answer at all. Control passes between separate model instances &mdash; sometimes routed by other code, sometimes because one agent decides on its own to hand off.</p>

<p>This also explains why a single "here are some candidates with confidence scores" call isn't a real substitute for search, however good the scores look. That's the model grading its own homework the moment after writing it &mdash; nothing has actually been tested yet.</p>
<p>The same goes for a model that stops mid-answer to say "wait, that's not right, let me reconsider." That sentence carries no real weight. It's still the same model, in the same unbroken pass, fixing itself with the same blind spots that caused the mistake in the first place.</p>
<p>Nothing from outside ever got a chance to catch what the model missed. True backtracking can't happen in one shot anyway &mdash; backtracking means a path was already tried and failed. The moment that's true, you're in a second round. Which means: you never actually left the loop.</p>
<p>So here's the test for whether a check is really external: could it have seen the reasoning it's checking? If yes, it isn't external, whatever you call it. Asking the same model, in the same conversation, to "verify itself" is one continuous act of generation wearing a different label &mdash; not a real judge casting a vote.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">04</span><span class="label">before wiring in an action</span></div>
<h2>Seven questions for scoring risk, one that overrides the rest</h2>
<p>"How much should the agent think about this" is the wrong question to ask once for the whole system. Score it per action instead, across the seven questions below.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Axis</th><th>What it determines</th></tr></thead>
<tbody>
<tr><td class="lead">Reversibility</td><td>whether you can afford to try before you're sure</td></tr>
<tr><td class="lead">Context requirement</td><td>how much you need to learn before deciding well</td></tr>
<tr><td class="lead">Verifiability</td><td>whether you can generate, check, and retry instead of deliberating up front</td></tr>
<tr><td class="lead">Blast radius</td><td>whether a human must sign off regardless of how well-prepared the decision is</td></tr>
<tr><td class="lead">Repetition</td><td>whether it's worth building a fixed, repeatable path for this</td></tr>
<tr><td class="lead">Cost per attempt</td><td>how many candidates you can afford to explore in parallel</td></tr>
<tr><td class="lead">Environment stability</td><td>whether a proven path stays valid, or needs re-checking before reuse</td></tr>
</tbody>
</table>
</div>

<p>These seven don't carry equal weight. <b>Blast radius sits above the other six as a gate</b>, not as one factor among many &mdash; a cheap, well-tested, frequently-run path still needs a separate sign-off the moment it touches shared state, and no amount of good prep replaces that checkpoint.</p>
<p>The other six all answer some version of "how well-prepared is this decision"; blast radius alone answers "who's allowed to let it happen."</p>
<p>One pair of the seven doesn't fit neatly into that ranking. Context requirement and environment stability can actually race each other: a task that needs a lot of context, in an environment that's changing faster than you can gather it, has no clean fix &mdash; by the time you've collected enough information, the earliest of it is already out of date.</p>
<p>The only real answer is to shrink the loop to match the faster clock: smaller, more frequent, less-informed decisions instead of one big, well-informed one that arrives too late to be true.</p>

<blockquote>Total cost isn't tokens spent. It's tokens spent, plus the cost of failures that slip through, plus the cost of whatever catches them.</blockquote>

<p>That matters because it's easy to "save money" by building a fixed workflow and skipping the guardrails &mdash; you feel the savings right away, while the failures that let through show up later, quietly, on someone else's dashboard.</p>
<p>A system built to use the fewest tokens and a system built for the lowest total cost are not the same system. The difference is usually invisible, until it isn't.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">05</span><span class="label">framework survey</span></div>
<h2>What agent frameworks actually give you</h2>
<p>Take the developer's own code out of Claude Agent SDK, Semantic Kernel, Google's ADK, LangGraph, and the OpenAI Agents SDK, and a clear pattern shows up: the mechanics of running a loop are basically solved everywhere. The judgment about what that loop should actually do is not &mdash; nowhere, and that's by design, not an oversight.</p>

<div class="tablewrap">
<table>
<thead><tr><th>Practice</th><th>Native anywhere?</th></tr></thead>
<tbody>
<tr><td class="lead-wrap">Reasoning structured for control</td><td>Only ADK's optional planner forces a parseable shape &mdash; everywhere else, the developer defines it</td></tr>
<tr><td class="lead-wrap">Per-action risk classification</td><td class="no">nowhere &mdash; every framework leaves this entirely to the developer</td></tr>
<tr><td class="lead-wrap">Authorization gate before high-stakes actions</td><td class="yes">yes &mdash; nearly every framework ships hooks, callbacks, or approval modes for this one</td></tr>
<tr><td class="lead-wrap">Topology matched to task shape</td><td>partial scaffolding in most (prebuilt agent types, native handoffs) &mdash; the choice is always the developer's</td></tr>
<tr><td class="lead-wrap">Smallest reversible increment as default</td><td class="yes">yes, by accident &mdash; every base loop happens to run turn by turn</td></tr>
<tr><td class="lead-wrap">Everything else &mdash; cadence, sequencing, validation, guard evolution, total-cost accounting</td><td class="no">nowhere, in any framework reviewed</td></tr>
</tbody>
</table>
</div>

<p>Two things stand out. Authorization gating is the one place where every framework actually shipped something instead of leaving it optional &mdash; which makes sense, since it's a liability question, not a reasoning-quality one.</p>
<p>And the smallest-reversible-step default that the rest of this article depends on isn't a deliberate choice anywhere &mdash; it's just what a call-and-respond loop looks like by default. Which means nothing stops a developer from undoing it with one big, overreaching tool.</p>
</section>

<hr class="divider">

<section>
<div class="eyebrow"><span class="num">06</span><span class="label">in practice</span></div>
<h2>Five practices for building judgment in</h2>
<h3>Make reasoning actionable, on purpose</h3>
<p>Define specific fields &mdash; <code>confidence</code>, <code>stuck</code>, <code>needs_review</code> &mdash; for anything that should actually change behavior, and keep them general instead of listing every failure case by name. A field that just flags uncertainty catches failures nobody predicted; a field built for one specific failure only ever catches that one.</p>
<h3>Size effort to the action, not to habit</h3>
<p>Run every action through the seven questions before deciding how much thinking it deserves, and put the blast-radius check at the very end of the pipeline, after everything else &mdash; never mixed in with the rest.</p>
<h3>Treat the loop as the unit of design</h3>
<p>Default to the smallest reversible step that teaches you something new. Limit how much context you gather based on how fast the environment actually changes, not a fixed rule. Tackle the cheapest sub-goals first, so the harder ones inherit context you already paid for. And check a one-shot confidence score against at least one real result before you trust it.</p>
<h3>Build for guards that evolve</h3>
<p>Pair cheap, rule-based checks for failures you already know about with a lightweight statistical or small-model tripwire for the ones you don't. Turn every miss either one catches into a new rule. The guard layer is never finished &mdash; no one predicts every failure mode up front.</p>
<h3>Account for total cost, not token count</h3>
<p>Count the cost of the failures that slip through, plus whatever you build to catch them. A system that looks cheaper because it hides its failures elsewhere isn't actually cheaper &mdash; the bill just arrives later, and lands on someone else.</p>
<p>Here's what autonomy actually costs, stated plainly: taking a human out of every loop doesn't remove the judgment that human was providing &mdash; it just moves it somewhere else. Pre-checks, post-checks, and guardrails are the direct replacement for that judgment, not extra overhead bolted on afterward.</p>
<p>The cost gets paid either way. The only real choice is whether you pay it upfront, as engineering, or later, as a failure nobody caught, with someone's name attached.</p>
</section>

<hr class="divider">

<p class="close">The frameworks got good at the part that was never actually hard &mdash; looping, calling tools, carrying state from one turn to the next. What's left, on every one of them, is the part that was always the job: deciding what any of it is allowed to mean.</p>

</div>
</body>
</html>]]></content><author><name></name></author><category term="agent architecture" /><category term="ai agents" /><category term="system design" /><summary type="html"><![CDATA[Why every major agent framework automates the reasoning loop but leaves risk classification, deviation detection, and cost judgment entirely to the developer.]]></summary></entry></feed>