<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://ba3a.dev/devlog/feed.xml</id>
  <title>Devlog | ba3a.dev</title>
  <subtitle>Tools and games I make, and a devlog about making them.</subtitle>
  <updated>2026-11-17T11:41:00Z</updated>
  <link rel="self" type="application/atom+xml" href="https://ba3a.dev/devlog/feed.xml"/>
  <link rel="alternate" type="text/html" href="https://ba3a.dev/devlog/"/>
  <author>
    <name>ba3a.dev</name>
  </author>
  <generator version="0.4.0">coffer</generator>
  <icon>https://ba3a.dev/assets/brand/icon-192.png</icon>
  <entry>
    <id>https://ba3a.dev/devlog/some-statistics-first/</id>
    <title>Some statistics first</title>
    <link rel="alternate" type="text/html" href="https://ba3a.dev/devlog/some-statistics-first/"/>
    <published>2026-11-17T11:41:00Z</published>
    <updated>2026-11-17T11:41:00Z</updated>
    <author>
      <name>ba3a.dev</name>
    </author>
    <category term="development/ai" scheme="https://ba3a.dev/devlog/tags/" label="ai"/>
    <category term="coffer" scheme="https://ba3a.dev/devlog/tags/" label="coffer"/>
    <category term="specloop" scheme="https://ba3a.dev/devlog/tags/" label="specloop"/>
    <category term="development/how-to" scheme="https://ba3a.dev/devlog/tags/" label="how-to"/>
    <summary>Before the deep dive into how I build with AI, the raw numbers behind Coffer’s first release: 6,613 API calls, 164 subagents, a billion cached tokens and ~80k lines of code.</summary>
    <content type="html">&lt;p&gt;Before starting the deep dive into my most important thought on AI development, I’d like to share some stats on the example I’ll be using for this series: &lt;a href="https://ba3a.dev/made/coffer/"&gt;Coffer, the site engine this blog uses&lt;/a&gt;. It’s the project I started as an exercise in AI development on a new scale. I decided that AI should be used as an independent developer who knows their craft, and that I should stop controlling their technical decisions. So, I wrote down my functional requirements, gave AI full freedom over the solution and fed the spec into &lt;a href="https://ba3a.dev/made/specloop/"&gt;Specloop, my harness for Claude Code&lt;/a&gt;. So, in this article I’ll give you some of the statistics I found interesting from the first release’s implementation.&lt;/p&gt;
&lt;figure&gt;&lt;a href="https://ba3a.dev/img/eecd5b525a2c2dcc/stat-1-full.jpg"&gt;&lt;img src="https://ba3a.dev/img/eecd5b525a2c2dcc/stat-1-1200.webp" alt="A part of my spec for the site engine" width="1200" height="896"&gt;&lt;/a&gt;&lt;figcaption&gt;&lt;em&gt;Fig. 1.&lt;/em&gt; A part of my spec for the site engine&lt;/figcaption&gt;&lt;/figure&gt;
&lt;h2 id="token-totals"&gt;Token Totals&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th align="right"&gt;API calls&lt;/th&gt;
&lt;th align="right"&gt;Input (uncached)&lt;/th&gt;
&lt;th align="right"&gt;Output&lt;/th&gt;
&lt;th align="right"&gt;Cache write&lt;/th&gt;
&lt;th align="right"&gt;Cache read&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Main session&lt;/td&gt;
&lt;td align="right"&gt;568&lt;/td&gt;
&lt;td align="right"&gt;895&lt;/td&gt;
&lt;td align="right"&gt;486,000&lt;/td&gt;
&lt;td align="right"&gt;5,056,212&lt;/td&gt;
&lt;td align="right"&gt;179,526,120&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Subagents (164)&lt;/td&gt;
&lt;td align="right"&gt;6,045&lt;/td&gt;
&lt;td align="right"&gt;12,374&lt;/td&gt;
&lt;td align="right"&gt;5,506,509&lt;/td&gt;
&lt;td align="right"&gt;18,738,056&lt;/td&gt;
&lt;td align="right"&gt;862,547,901&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total&lt;/td&gt;
&lt;td align="right"&gt;6,613&lt;/td&gt;
&lt;td align="right"&gt;13,269&lt;/td&gt;
&lt;td align="right"&gt;5,992,509&lt;/td&gt;
&lt;td align="right"&gt;23,794,268&lt;/td&gt;
&lt;td align="right"&gt;1,042,074,021&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="model-agent-and-subagent-use"&gt;Model, Agent and Subagent Use&lt;/h2&gt;
&lt;p&gt;Models: nearly everything ran on Sonnet 5.5. Opus 5.5 accounts for 13 main calls and 16 subagent calls, about 93k output tokens in total.&lt;/p&gt;
&lt;p&gt;Cache: cache reads are about 98% of all input tokens processed. That is expected here, because each subagent call re-reads a large cached prefix.&lt;/p&gt;
&lt;p&gt;Subagent share: subagents account for about 92% of output and 83% of cache reads.&lt;/p&gt;
&lt;h2 id="code-production"&gt;Code Production&lt;/h2&gt;
&lt;p&gt;Added since the branch base: 58 commits, 420 files and 82,493 lines. All figures are added lines; nothing was deleted relative to the base.&lt;/p&gt;
&lt;h2 id="final-result"&gt;Final Result&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th align="right"&gt;Files&lt;/th&gt;
&lt;th align="right"&gt;Lines&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;coffer engine source (coffer/src)&lt;/td&gt;
&lt;td align="right"&gt;74&lt;/td&gt;
&lt;td align="right"&gt;26,941&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;coffer engine tests&lt;/td&gt;
&lt;td align="right"&gt;58&lt;/td&gt;
&lt;td align="right"&gt;26,471&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repo tests (scripts/test, scripts/site-test, fixtures)&lt;/td&gt;
&lt;td align="right"&gt;50&lt;/td&gt;
&lt;td align="right"&gt;8,353&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;coffer theme, example, i18n, LICENSE, CI, generators and other config&lt;/td&gt;
&lt;td align="right"&gt;82&lt;/td&gt;
&lt;td align="right"&gt;7,211&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;coffer docs (coffer/docs, README, CHANGELOG)&lt;/td&gt;
&lt;td align="right"&gt;31&lt;/td&gt;
&lt;td align="right"&gt;3,739&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repo scripts (deploy, refresh, Cloudflare, prepare, split)&lt;/td&gt;
&lt;td align="right"&gt;11&lt;/td&gt;
&lt;td align="right"&gt;3,283&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Site themes (templates, CSS, i18n)&lt;/td&gt;
&lt;td align="right"&gt;16&lt;/td&gt;
&lt;td align="right"&gt;1,404&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Root docs (AUTHORING.md, OPERATIONS.md, README and others)&lt;/td&gt;
&lt;td align="right"&gt;31&lt;/td&gt;
&lt;td align="right"&gt;1,282&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Content (posts, pages, YAML)&lt;/td&gt;
&lt;td align="right"&gt;16&lt;/td&gt;
&lt;td align="right"&gt;466&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GitHub Actions workflows&lt;/td&gt;
&lt;td align="right"&gt;3&lt;/td&gt;
&lt;td align="right"&gt;372&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Other content files&lt;/td&gt;
&lt;td align="right"&gt;6&lt;/td&gt;
&lt;td align="right"&gt;77&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total&lt;/td&gt;
&lt;td align="right"&gt;378&lt;/td&gt;
&lt;td align="right"&gt;79,599&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="whats-next"&gt;What’s Next&lt;/h2&gt;
&lt;p&gt;Next I’ll go into deeper details on how and why I did what and what my thoughts are on the technology.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>https://ba3a.dev/devlog/finally-built-me-a-site/</id>
    <title>Finally built me a site</title>
    <link rel="alternate" type="text/html" href="https://ba3a.dev/devlog/finally-built-me-a-site/"/>
    <published>2026-11-08T12:33:00Z</published>
    <updated>2026-11-08T12:33:00Z</updated>
    <author>
      <name>ba3a.dev</name>
    </author>
    <category term="development/ai" scheme="https://ba3a.dev/devlog/tags/" label="ai"/>
    <category term="coffer" scheme="https://ba3a.dev/devlog/tags/" label="coffer"/>
    <category term="specloop" scheme="https://ba3a.dev/devlog/tags/" label="specloop"/>
    <category term="development/how-to" scheme="https://ba3a.dev/devlog/tags/" label="how-to"/>
    <summary>Preamble For years I wanted a personal site. Something between a blog, a dump of write-ups, and a project showcase. Off-the-shelf engines were either monstrous, gave me too little control, or both. Every time I sat down to build my own, I…</summary>
    <content type="html">&lt;h2 id="preamble"&gt;Preamble&lt;/h2&gt;
&lt;p&gt;For years I wanted a personal site. Something between a blog, a dump of write-ups, and a project showcase.&lt;/p&gt;
&lt;p&gt;Off-the-shelf engines were either monstrous, gave me too little control, or both. Every time I sat down to build my own, I over-engineered it, got distracted after a couple of commits, and by the next attempt the whole concept was outdated.&lt;/p&gt;
&lt;h2 id="the-reality-check"&gt;The Reality Check&lt;/h2&gt;
&lt;p&gt;Then Misha Tiunov launched his &lt;a href="https://ebgdae.ru/"&gt;site&lt;/a&gt; — fully static. Pages rendered ahead of time, lightweight HTML on the server. No backend, no database, no pricey VPS.&lt;/p&gt;
&lt;p&gt;And it made me wonder: do I really need a JVM, a DI container and an RDBMS to serve a few kilobytes of text to ten visitors a month? Read-only notes. I don’t even want comments.&lt;/p&gt;
&lt;h2 id="my-identity-crisis"&gt;My Identity Crisis&lt;/h2&gt;
&lt;p&gt;At the same time, I’m rewiring myself from an AI-assisted senior developer into a full-time AI wrangler. So the engine became my training ground.&lt;/p&gt;
&lt;p&gt;I wrote a spec that deliberately named zero technical solutions. Only what I have &lt;span class="hang-l" data-m="bracket"&gt;(&lt;/span&gt;a domain on Cloudflare) and what I want: publishing by git push, multiple blogs, themes, tags, a project showcase.&lt;/p&gt;
&lt;p&gt;Fed it to my self-made &lt;a href="https://ba3a.dev/made/specloop/"&gt;Claude harness&lt;/a&gt;. The beast chugged for about three days, produced 60 commits — and voilà.&lt;/p&gt;
&lt;h2 id="the-result"&gt;The Result&lt;/h2&gt;
&lt;p&gt;What came out:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hosting on Cloudflare’s S3-compatible storage — the free tier will last me a very long time&lt;/li&gt;
&lt;li&gt;Build on GitHub Actions, on push to main and on a schedule — also free at my scale&lt;/li&gt;
&lt;li&gt;I write markdown in a plain text editor, push to main, and a few minutes later it’s live&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="ill-explain"&gt;I’ll Explain&lt;/h2&gt;
&lt;p&gt;Next, I’ll go deeper into my current development process and how I believe we, former programmers, should adapt to the modern AI reality. So this blog post is the first in the series.&lt;/p&gt;</content>
  </entry>
</feed>
