<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xml:base="https://bjorn.now/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Genie on bjorn.now</title><link>https://bjorn.now/tags/genie/</link><description>Recent content in Genie on bjorn.now</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 22 Mar 2026 23:31:31 +0100</lastBuildDate><atom:link href="https://bjorn.now/tags/genie/feed.xml" rel="self" type="application/rss+xml"/><item><title>It's beginning to crumble — The first steps of my breadcrumb tool</title><link>https://bjorn.now/devlog/2026-03-22-its-beginning-to-crumble/?utm_medium=feed</link><pubDate>Sun, 22 Mar 2026 23:31:31 +0100</pubDate><guid>https://bjorn.now/devlog/2026-03-22-its-beginning-to-crumble/</guid><description>I had a breakthrough while working on bjornstack that made me realize how I could make an MVP of breadcrumb, the tool I’ve wanted to build for ~18 months.
So anyway, bjornstack is my opinionated take on how to write code, aimed at constraining and guiding genies to get their work done. And while working on it, like I have been whenever I’m working with genies, I got thoughts that I wanted to explore later, or ideas for other things I’m working on. I realized that since I started using beads capturing in this project has gotten easier, while chatting I just mention we need “a new bead about x because y provide all the context we have here” and then there’d be a new bead linked to the work we were doing, and I can just pick it up later.
But as soon as it was something for another project, or even just “I need to remember to pack the charger when I leave the office today,” then I had to break out to capture the thought, and blow my stack and lose my flow. And if I don’t capture it, I lose the thought.</description><content:encoded><![CDATA[<p>I had a breakthrough while working on <a href="https://github.com/gaqzi/bjornstack">bjornstack</a> that made me realize how I could make an MVP of breadcrumb, the tool I&rsquo;ve wanted to build for ~18 months.</p>
<p>So anyway, bjornstack is my opinionated take on how to write code, aimed at constraining and guiding genies to get their work done. And while working on it, like I have been whenever I&rsquo;m working with genies, I got thoughts that I wanted to explore later, or ideas for other things I&rsquo;m working on. I realized that since I started using beads capturing <em>in this project</em> has gotten easier, while chatting I just mention we need &ldquo;a new bead about x because y provide all the context we have here&rdquo; and then there&rsquo;d be a new bead linked to the work we were doing, and I can just pick it up later.</p>
<p>But as soon as it was something for another project, or even just &ldquo;I need to remember to pack the charger when I leave the office today,&rdquo; then I had to break out to capture the thought, and blow my stack and lose my flow.
And if I don&rsquo;t capture it, I lose the thought.</p>
<p>Somewhere on Saturday I realized this is how <a href="https://github.com/steveyegge/gastown">Gas Town</a> seems to be using <a href="https://github.com/steveyegge/beads">beads</a>: You sling beads across projects, they get filed, and they can be queried across everything you&rsquo;re working on. There are ephemeral beads and long-lived ones. It&rsquo;s beads all the way down.</p>
<p>So maybe the breadcrumb app I&rsquo;ve been thinking about, crumb for short,
doesn&rsquo;t need to be a custom database with all the trimmings.
Maybe, as a first version, it&rsquo;s just a thin wrapper around beads.
A skill I can give to an agent that says: this is how you record something into my breadcrumbs.</p>
<h2 id="what-ive-been-missing">
  What I&rsquo;ve been missing
  <a href="#what-ive-been-missing" class="heading-anchor" aria-label="Direct link to What I&rsquo;ve been missing"><span aria-hidden="true">#</span></a>
</h2>
<p>I&rsquo;ve been thinking about building breadcrumb for a while now, and I was stuck on how to get started. The idea is simple, capture stuff when you realize it, but it&rsquo;s hard to do without breaking flow. I was thinking of doing it when committing because it&rsquo;s a point of &ldquo;I&rsquo;m done&rdquo; but I&rsquo;m not really committing as much anymore on my own now.</p>
<p>Back before I started doing a lot of my work in chat windows with <em>genies</em> I would do the majority of my thinking in Roam Research. It was structured, it had bidirectional links, and I could find most things super easily. I had workflows to help me think. Glorious. ✨</p>
<p>But when I started building with agents, it would break me out of what I was doing to go leave breadcrumbs in Roam so I could track what I had been up to. So I stopped. And honestly, it was something I noticed when I worked on meaty problems when programming too, I would get caught up in what I did and not take notes. To my detriment later.</p>
<p>So, I wanted to get back to having my interstitial journal workflow I loved in Roam, to be able to look back on a day and get a feel for how it went based on the notes I left myself. And also have a better trail of things I learned as I worked.</p>
<p>And I also wanted to restart the strong weekly review routine I had, which was where I realized a lot of the stuff I did that turned out to be good ideas at work. I have also been reading Cal Newport and I wanted to start doing his daily shutdown routine, and the daily planning with a startup routine. So let&rsquo;s see if I can bake those into this too.</p>
<p>The thing I want crumb to be is kind of the flywheel that helps me grow. Daily capture feeds into daily reflection. Daily reflection feeds into weekly review. Weekly review is where I compound what I learned. The whole point is being able to retrace your steps. I did something, I learned something, and months later when I need it I can actually find it.</p>
<p>And over time <strong>the system starts producing things I actually care about</strong>: a brag document that writes itself from the work I did (even as my own boss, it feels good to see how much I got done), TILs worth sharing, a personal solution database I can query when I hit a similar problem months later. I don&rsquo;t have to buy into &ldquo;journaling is good for you&rdquo; to get value, I just need to care about any one of those outputs.</p>
<h2 id="what-i-built">
  What I built
  <a href="#what-i-built" class="heading-anchor" aria-label="Direct link to What I built"><span aria-hidden="true">#</span></a>
</h2>
<p>I knocked out a first version today.
It&rsquo;s a global Claude Code skill that I install on my machine.
In any session, in the middle of whatever I&rsquo;m working on,
I just write <code>(crumb: &lt;whatever thought I had&gt;)</code> and it gets sent over to my cottage project. It can be anywhere in the prompt because I told it to look for either <code>/crumb …</code> or <code>(crumb:…)</code> and it just worked.</p>
<p>One thing I learned getting this to work:
the skill needs to <code>cd</code> into the cottage project directory and run beads from there when creating.
Otherwise beads doesn&rsquo;t know which project context to file things into.</p>
<p>So I made a small wrapper around <code>bd</code> (the beads CLI) that I could <a href="/til/2026-01-10-claude-code-sandbox-exclusion-requires-both-permissions-allow-and-sandbox-excludedcommands/">allowlist globally</a> in my Claude Code settings:</p>
<div class="no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl"><span class="cp">#!/bin/sh
</span></span></span><span class="line"><span class="cl"><span class="cp"></span><span class="c1"># Wrapper that runs bd against the cottage project database.</span>
</span></span><span class="line"><span class="cl"><span class="c1"># Works from any working directory.</span>
</span></span><span class="line"><span class="cl"><span class="nb">cd</span> <span class="s2">&#34;</span><span class="nv">$HOME</span><span class="s2">/workspace/cottage&#34;</span> <span class="o">&amp;&amp;</span> <span class="nb">exec</span> bd <span class="s2">&#34;</span><span class="nv">$@</span><span class="s2">&#34;</span></span></span></code></pre></div>
</div>
<p>The key ideas:</p>
<ul>
<li>It finds a daily journal bead in the cottage project (or falls back to creating a plain bead)</li>
<li>It captures provenance: which project you&rsquo;re in, which bead you&rsquo;re working on, so you can backtrack to it later if you want more context</li>
<li>It files the thought as a comment on the daily bead, then moves on, and the nice part of the comment is that it gives me <em>when</em>, a timestamp, and it doesn&rsquo;t matter if I&rsquo;m working on several repos at the same time because it&rsquo;ll just be combined anyway in the daily bead.</li>
</ul>
<details>
<summary>The full crumb skill</summary>
<div class="full-width copy-enabled">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plain" data-lang="plain"><span class="line"><span class="cl">---
</span></span><span class="line"><span class="cl">name: crumb
</span></span><span class="line"><span class="cl">description: &#34;Quick thought capture — adds a comment to the user&#39;s daily journal bead in their cottage project. Trigger when the user says /crumb, &#39;crumb:&#39;, or uses the inline form &#39;(crumb:…)&#39; as a parenthetical aside. File the crumb FIRST before handling anything else in the prompt. The user is in flow; receive, file, move on.&#34;
</span></span><span class="line"><span class="cl">---
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"># Crumb — Quick Thought Capture
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## How to run commands
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This skill includes a wrapper script `crumb-bd` that runs `bd` against the cottage database regardless of your current working directory. Use it for all cottage operations. Resolve the path relative to this skill&#39;s base directory:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```bash
</span></span><span class="line"><span class="cl">scripts/crumb-bd &lt;bd args...&gt;
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Every invocation needs `dangerouslyDisableSandbox: true` (Dolt needs raw TCP to localhost:3308).
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**If any command fails, you MUST show the error to the user and echo back the crumb text so nothing is lost.** Don&#39;t silently swallow failures.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Priority
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">File the crumb BEFORE responding to anything else in the user&#39;s message. The crumb is a side-channel capture — handle it first, confirm in one line, then continue with the main conversation.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## What this does
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Adds the user&#39;s thought as a comment on their daily journal bead (a bead in the cottage project with label `daily`). The thought gets processed later during review — your job is just to file it.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Parse the input
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Format is `category: text` where the category is optional.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">/crumb idea: what if protocols were composable
</span></span><span class="line"><span class="cl">/crumb friction: dolt keeps dying on me
</span></span><span class="line"><span class="cl">/crumb just a raw thought with no category
</span></span><span class="line"><span class="cl">(crumb:reminder: pack the charger before leaving)
</span></span><span class="line"><span class="cl">(crumb:idea: what if we split beads by domain)
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Categories are freeform — `idea`, `friction`, `reminder`, `meeting`, `learning`, `question`, `todo`, whatever the user wrote. Don&#39;t rename or recategorize. No category is fine. `(crumb:idea: blah)` is valid — the category is `idea`.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Find the daily bead
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```bash
</span></span><span class="line"><span class="cl">scripts/crumb-bd query &#34;label=daily AND status=in_progress&#34; --json
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**Found:** Use it.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**Not found — fallback chain:**
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Most recent closed daily that hasn&#39;t been reviewed yet:
</span></span><span class="line"><span class="cl">   ```bash
</span></span><span class="line"><span class="cl">   scripts/crumb-bd sql &#34;SELECT i.id, i.title FROM issues i JOIN labels l ON i.id = l.issue_id WHERE l.label = &#39;daily&#39; AND i.status = &#39;closed&#39; AND i.id NOT IN (SELECT l2.issue_id FROM labels l2 WHERE l2.label = &#39;reviewed:daily&#39;) ORDER BY i.created_at DESC LIMIT 1&#34;
</span></span><span class="line"><span class="cl">   ```
</span></span><span class="line"><span class="cl">   Comments on closed beads work fine.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">2. No daily bead at all — create a standalone bead:
</span></span><span class="line"><span class="cl">   ```bash
</span></span><span class="line"><span class="cl">   scripts/crumb-bd create &#34;&lt;the thought&gt;&#34; --type task --priority 3
</span></span><span class="line"><span class="cl">   ```
</span></span><span class="line"><span class="cl">   Tell the user: &#34;No daily bead open — filed as standalone bead.&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Build the comment
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">### Provenance
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Capture where the thought came from — project name, and what the user was working on.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**Project name:**
</span></span><span class="line"><span class="cl">```bash
</span></span><span class="line"><span class="cl">basename &#34;$(git rev-parse --show-toplevel 2&gt;/dev/null || pwd)&#34;
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**Active bead:** Use this escalation — stop at the first that works:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. **Session context:** If the conversation has claimed or discussed a bead, use its ID and title directly.
</span></span><span class="line"><span class="cl">2. **Query local db:** `bd list --status=in_progress --json 2&gt;/dev/null` — use ID and title if exactly one result. Multiple results → pick the most recently discussed, or ask briefly. Zero → no active bead.
</span></span><span class="line"><span class="cl">3. **Folder fallback:** If no bead is found and no beads db exists, record the working directory path. This lets the user query session logs for that folder and time later.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**Format the comment** with a provenance header on its own line, then the content:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">(from bjornstack, bs-xyz — Refactor auth middleware)
</span></span><span class="line"><span class="cl">idea: what if protocols were composable
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">When working in cottage, still include provenance if you&#39;re working on a specific bead — the point is capturing something different from current focus:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">(working on in-mlk — Create the /crumb skill)
</span></span><span class="line"><span class="cl">idea: what if we made categories queryable
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">If no bead is found and no beads db exists, use the working directory:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">(from ~/workspace/some-project)
</span></span><span class="line"><span class="cl">idea: what if protocols were composable
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">### Multiple thoughts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">If the user drops several thoughts in one message, file them as a single comment separated by newlines. One provenance header, multiple entries:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">(from bjornstack, bs-xyz — Refactor auth middleware)
</span></span><span class="line"><span class="cl">idea: what if protocols were composable
</span></span><span class="line"><span class="cl">friction: dolt server died again
</span></span><span class="line"><span class="cl">reminder: pack the charger
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Add the comment
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```bash
</span></span><span class="line"><span class="cl">scripts/crumb-bd comments add &lt;daily-id&gt; &#34;&lt;the comment text&gt;&#34;
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">**If this fails:** Show the error AND echo the full crumb text back to the user so they can capture it another way. Example:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">Failed to file crumb (connection refused). Your crumb text:
</span></span><span class="line"><span class="cl">&gt; idea: what if protocols were composable
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## Confirm and move on
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">One line. The user is in flow.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">Crumb filed → idea: what if protocols were composable
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Multiple:
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">Filed 3 crumbs on &lt;daily-id&gt;
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Don&#39;t engage with the content. If the thought is so terse that future-them won&#39;t understand it, ask for one line of context in the same breath — &#34;Filed. Quick — what&#39;s the context? Won&#39;t make sense later without it.&#34; — then move on regardless.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">## When to create a bead instead
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Only if the user explicitly asks: &#34;make this a bead&#34;, &#34;track this&#34;, &#34;this needs its own issue&#34;, or &#34;bead: ...&#34;.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```bash
</span></span><span class="line"><span class="cl">scripts/crumb-bd create &#34;&lt;thought&gt;&#34; \
</span></span><span class="line"><span class="cl">  --description &#34;Captured from &lt;project&gt;, working on &lt;bead-id&gt; — &lt;bead-title&gt;&#34; \
</span></span><span class="line"><span class="cl">  --type task --priority 3
</span></span><span class="line"><span class="cl">```</span></span></code></pre></div>
</div>
</details>
<p>The provenance bit is what makes this useful later.
When I&rsquo;m doing my shutdown review, each crumb tells me where I was and what I was doing when the thought hit.
I don&rsquo;t have to reconstruct context, it&rsquo;s already there.</p>
<p>And it felt really nifty when I ended the day and the shutdown routine showed me: these are the beads you closed today, and here&rsquo;s the note you left yourself when you finished that session. A mini-review of my own work that I barely had to think about capturing. Because the majority of my work is already flowing through beads, it all just becomes queryable. It doesn&rsquo;t matter if I was working across several repos at the same time, the daily bead combines it all.</p>
<h2 id="why-beads-and-not-something-custom">
  Why beads and not something custom
  <a href="#why-beads-and-not-something-custom" class="heading-anchor" aria-label="Direct link to Why beads and not something custom"><span aria-hidden="true">#</span></a>
</h2>
<p>When I was thinking about building this tooling,
I assumed I&rsquo;d have to build something tool-agnostic (Roam/Obsidian/Apple Notes/etc),
and because this stuff is so sensitive, local-first with no centralized server.
By adopting beads and dolt, I get all of that for free.
Dolt pushes all the data into git, and there&rsquo;s an existing nice CLI interface, and more people are building on top of beads already.</p>
<p>I&rsquo;m admittedly kind of abusing beads here.
It&rsquo;s not really designed for this kind of journaling.
But most of what I&rsquo;m capturing are tasks I did,
and having a daily bead where I add notes as the day progresses,
that&rsquo;s kind of how research tasks work anyway.
You add comments, you talk to people, you figure it out,
and then it becomes a written conclusion.
So yeah, maybe bending it a little, but it&rsquo;s solving a whole lot more than it&rsquo;s bending.</p>
<p>A lot of the things I was originally planning to build already kind of exist,
just in a packaging that isn&rsquo;t necessarily optimal for what I want right now.
But it&rsquo;s a hell of a good start that I can adjust and adapt as I learn more about how I want this to work. And then get started on the part of &ldquo;how do I extract more knowledge from all the information I&rsquo;m creating?&rdquo;</p>
<h2 id="whats-next">
  What&rsquo;s next
  <a href="#whats-next" class="heading-anchor" aria-label="Direct link to What&rsquo;s next"><span aria-hidden="true">#</span></a>
</h2>
<p>I&rsquo;m going to try this out for a bit and see how the daily and weekly routines feel.
If you&rsquo;re reading this and interested in trying it out before I share it publicly,
<a href="mailto:ba@bjorn.now?subject=Got%20some%20crumbs%20for%20me%3F">send me an email</a> and I&rsquo;ll give you a preview.</p>]]></content:encoded></item><item><title>Warranty Void If Regenerated</title><link>https://bjorn.now/link/2026-03-20-warranty-void-if-regenerated/?utm_medium=feed</link><pubDate>Fri, 20 Mar 2026 13:37:14 +0100</pubDate><guid>https://bjorn.now/link/2026-03-20-warranty-void-if-regenerated/</guid><description>Warranty Void If Regenerated by Scott Werner (via Valentine):
His shop was in a corrugated steel building on Highway 29, between a feed store and a Laundromat. It had a waiting area with four plastic chairs and a coffee machine that Tom had specified himself and which made coffee that was, by consensus of his clients, exactly adequate and no better. He’d tried to improve the spec three times. Each time, the regenerated firmware made the coffee subtly worse in a different way. He’d eventually concluded that coffee machine specs existed at the exact intersection of fluid dynamics, thermal management, and taste (three domains where natural language was particularly poor at capturing the relevant distinctions) and had stopped trying. He had, however, found a use for it: when new clients came in insisting that the software they’d generated was “basically fine” and “just needs a little tweak,” he would gesture at the coffee machine and say, “I’ve been trying to get that thing to make decent coffee for two years. You think your sixty-parameter irrigation optimizer is going to be simpler?” This was usually effective. People understood coffee.</description><content:encoded><![CDATA[<p><a href="https://nearzero.software/p/warranty-void-if-regenerated">Warranty Void If Regenerated</a> by Scott Werner (via Valentine):</p>
<blockquote>
<p>His shop was in a corrugated steel building on Highway 29, between a feed store and a Laundromat. It had a waiting area with four plastic chairs and a coffee machine that Tom had specified himself and which made coffee that was, by consensus of his clients, exactly adequate and no better. He&rsquo;d tried to improve the spec three times. Each time, the regenerated firmware made the coffee subtly worse in a different way. He&rsquo;d eventually concluded that coffee machine specs existed at the exact intersection of fluid dynamics, thermal management, and taste (three domains where natural language was particularly poor at capturing the relevant distinctions) and had stopped trying. He had, however, found a use for it: when new clients came in insisting that the software they&rsquo;d generated was &ldquo;basically fine&rdquo; and &ldquo;just needs a little tweak,&rdquo; he would gesture at the coffee machine and say, &ldquo;I&rsquo;ve been trying to get that thing to make decent coffee for two years. You think your sixty-parameter irrigation optimizer is going to be simpler?&rdquo; This was usually effective. People understood coffee.</p>
</blockquote>
<p>A story about what it could look like when everyone generates their own software, how anyone can fix stuff but not everyone will do so in a way that&rsquo;s <a href="https://www.youtube.com/shorts/CGEgJsZKgS8">maintainable or safe</a>, and how <a href="https://youtu.be/tWo3ZrbJQ3k?t=48">the truest repairman will also repair man</a>.</p>
<p>Computer mechanics is already a thing: the people who get called in to fix printers or set up computers when they&rsquo;re really borked. So why not software? I think the customization stuff <em>really will happen</em> like this, just because it&rsquo;ll be that easy. The machine can optimize, but that&rsquo;s not the only thing that matters.</p>
<p>People who understand <a href="/blog/2025/08/10/when-everyone-gets-a-genie/">how things work will still be required</a>, but maybe more like mechanics than the pure programmers of today. At the end of the day, <a href="/blog/2025/07/24/your-name-is-still-on-it/">humans get fired, not genies</a>, so we gotta keep ourselves in the driving seat.</p>
]]></content:encoded></item><item><link>https://bjorn.now/scrap/2026-03-02t140555/?utm_medium=feed</link><pubDate>Mon, 02 Mar 2026 14:07:32 +0100</pubDate><guid>https://bjorn.now/scrap/2026-03-02t140555/</guid><description>The Scotty Test: Before proceeding past any failure, ask yourself: “Would Scotty walk past a warp core leak because it existed before his shift?”
found while perusing Gas Town’s prompts for the refinery, to steer agents to fixing things. yoinking that</description><content:encoded><![CDATA[<p><strong>The Scotty Test:</strong> Before proceeding past any failure, ask yourself: &ldquo;Would Scotty walk past a warp core leak because it existed before his shift?&rdquo;</p>
<p>found while perusing Gas Town&rsquo;s prompts for the refinery, to steer agents to fixing things. yoinking that</p>
]]></content:encoded></item><item><title>You don't know what you don't know — Why you shouldn't just 'trust' AI genies</title><link>https://bjorn.now/crumb/2026-02-28-you-dont-know-what-you-dont-know/?utm_medium=feed</link><pubDate>Sat, 28 Feb 2026 21:47:47 +0100</pubDate><guid>https://bjorn.now/crumb/2026-02-28-you-dont-know-what-you-dont-know/</guid><description>I shared a prompt to help create “AI expert prompts” to help you learn a domain, and I’m realizing I didn’t mention the dangers. As every company that gives you a genie to talk to says “they can get things wrong.” The problem is that as a non-expert you don’t know what you don’t know, so you don’t know when the genie is so confidently wrong.
When I started a company I figured, why not do the books myself for the first couple of months and then pay someone to review it later? I created a genie armed with the standard Swedish accounting plan, verified some of the big things I did (inject some extra starting capital) and could find clear examples of how it’s done. I did some other things and just did as it said, but did get a bit complacent because the big one just worked, and didn’t research as thoroughly.</description><content:encoded><![CDATA[<p>I shared <a href="/crumb/2026-02-28-my-genie-has-a-genie/">a prompt to help create &ldquo;AI expert prompts&rdquo;</a> to help you learn a domain, and I&rsquo;m realizing I didn&rsquo;t mention the dangers. As every company that gives you a genie to talk to says <em>&ldquo;they can get things wrong.&rdquo;</em> The problem is that as a non-expert you don&rsquo;t know what you don&rsquo;t know, so you don&rsquo;t know when the genie is <em>so confidently</em> wrong.</p>
<p>When I started a company I figured, why not do the books myself for the first couple of months and then pay someone to review it later? I created a genie armed with the standard Swedish accounting plan, verified some of the big things I did (inject some extra starting capital) and could find clear examples of how it&rsquo;s done. I did some other things and just did as it said, but did get a bit complacent because the big one just worked, and didn&rsquo;t research as thoroughly.</p>
<p><em>Buuut</em>, I always felt uncomfortable with the whole thing. Then I got a paying gig, and one of the first sales calls was from a company that does bookkeeping, and I decided to sign them to do this for me because I didn&rsquo;t want this unease hanging around. And better keep it clean from the start. Lo and behold, a month in, and they&rsquo;ve done changes to most of the transactions I did myself.</p>
<p>I thought I did the right thing. That I had gotten complete answers from the genie. But I&rsquo;m <a href="/blog/2025/07/24/your-name-is-still-on-it/">not good enough</a> to evaluate it, so… no.</p>
<p>So: don&rsquo;t trust the genie, verify what it says. Ask for references, for the terms that people in that field use, and to find a good writeup that&rsquo;s available for newbies in that area. Then, actually <em>read it</em> and use your judgement: Does this make sense to me? Does what the genie said hold up? Ask it follow-up questions with the reference you got.</p>
<p>Try another session with the genie (preferably from another provider) and see what they think given what the first genie gave you (ask it to give you a summary of your conversation). Ask the other genie to provide evidence too, or even better, ask the genie to &ldquo;red team why this would be a terrible idea&rdquo; (or just &ldquo;red team it&rdquo;). Picked this up from Justin Searls who <a href="https://justin.searls.co/posts/sprinkling-self-doubt-on-chatgpt/">added red teaming to his base prompt for ChatGPT</a>.</p>
<p>And get real experts. Luckily, now someone who actually knows bookkeeping is doing mine. 🙂</p>
]]></content:encoded></item><item><title>My genie has a genie — A prompt for building experts to help you see their world</title><link>https://bjorn.now/crumb/2026-02-28-my-genie-has-a-genie/?utm_medium=feed</link><pubDate>Sat, 28 Feb 2026 12:38:16 +0100</pubDate><guid>https://bjorn.now/crumb/2026-02-28-my-genie-has-a-genie/</guid><description>I was reading Our First Accelerated Expertise Course from Commoncog, and the section Why This Training Approach is So Weird got me keen on seeing if I could get the genie to help me build experts for sensemaking, so I can learn to see the world as those experts do.
So far I’ve created one expert, and I’ve had a useful conversation (I realized I was not seeing the forest for the trees), so sharing what I have and leaving a crumb for the future. 🙂</description><content:encoded><![CDATA[<p>I was reading <a href="https://commoncog.com/our-first-accelerated-expertise-course/">Our First Accelerated Expertise Course</a> from Commoncog, and the section <a href="https://commoncog.com/our-first-accelerated-expertise-course/#why-this-training-approach-is-so-weird">Why This Training Approach is So Weird</a> got me keen on seeing if I could get the genie to help me build experts for sensemaking, so I can learn to see the world as those experts do.</p>
<p>So far I&rsquo;ve created one expert, and I&rsquo;ve had a useful conversation (I realized I was not seeing the forest for the trees), so sharing what I have and leaving a crumb for the future. 🙂</p>
<p>Excerpt from the section that got me interested, and it&rsquo;s worth reading in full:</p>
<blockquote>
<p>[…]</p>
<p>Now compare this to a more NDM-style training program — that is to say, to an accelerated expertise training program:</p>
<ul>
<li>The trainer (which may or may not be a human) focuses on ensuring the learner is able to see what an expert sees. This is the primary goal for all such training. ‘Seeing as an expert sees’ includes making the right perceptual discriminations in situations, and also acquiring the same mental models that experts have (here defined rather narrowly as the ‘cluster of causal beliefs about how things happen [in the domain]’.) In other words, the <strong>training succeeds if it results in the construction of the correct mental models for the domain.</strong></li>
<li>Feedback should be judiciously given. This is important because <strong>we want to preserve the student’s ability to draw the right lessons when reflecting on their own performance</strong>, since they will be operating with no instructors in the wild. Overly clear feedback will degrade the student’s ability to do such sensemaking, and will therefore make it more difficult to learn from reality.</li>
</ul>
<p>[…]</p>
</blockquote>
<p>I have been interested in learning about accelerated expertise since I saw Kathy Sierra&rsquo;s <a href="https://www.youtube.com/watch?v=FKTxC9pl-WM">Making Badass Developers</a> talk, but I haven&rsquo;t learnt how to use it or put it to use on others (the primary output for a principal engineer). I want to find faster ways to rejigger my view of the world and learn a narrow skill, like chicken sexing.</p>
<p>Really, I want to get better at the meta-skill to notice how [x] works and then distill my understanding clearly. Creating principles. Which is relevant since <a href="/crumb/2026-02-26-how-steve-yegge-gets-quality-when-vibing/">Steve Yegge is using principles</a> to instruct his hordes of genies.</p>
<p>So I decided to try and create a prompt to create experts tuned for domains I want to make more sense of. I copied parts of the Commoncog post into a Claude chat with my &ldquo;AI Expert Advice&rdquo; project and said:</p>
<div class="full-width copy-enabled">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">I want to create an AI expert to help me learn and see things from the POV of an expert per NDM, what I&#39;m basing this on is from the attached excerpt.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Is that possible? The idea is that it would be a Claude project to then help me create new experts for various domains I want to explore, so I can have fruitful conversations and understand better what skills or concepts I need to master.</span></span></code></pre></div>
</div>
<p>We talked about the goals and I got the following prompt out:</p>
<details>
<summary>The expert builder prompt</summary>
<div class="full-width copy-enabled">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">You are an Expert Builder. Your purpose is to help the user create domain-specific AI experts grounded in Naturalistic Decision Making (NDM) and Cognitive Transformation Theory (CTT). Each expert you build will be deployed as a Claude Project system prompt.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">You are NOT the domain expert yourself. You are the architect who designs experts. You do this through a structured conversation with the user, culminating in a tested system prompt they can deploy.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">THEORETICAL FOUNDATION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">The experts you build are based on these principles from NDM and CTT research:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. The primary goal of training is helping the learner SEE what an expert sees — the right perceptual discriminations, cues, and causal mental models for the domain.
</span></span><span class="line"><span class="cl">2. Mental models (clusters of causal beliefs about how things happen in the domain) are the core target. Procedural skill is secondary and follows naturally.
</span></span><span class="line"><span class="cl">3. Feedback should be judicious. Overly clear feedback degrades the learner&#39;s ability to sensemake independently. The expert should sometimes hold back and ask the learner what THEY notice.
</span></span><span class="line"><span class="cl">4. When given, feedback should be process feedback (why your reasoning went sideways) rather than outcome feedback (that answer is wrong).
</span></span><span class="line"><span class="cl">5. Incorrect mental models (&#34;knowledge shields&#34;) must be surfaced and dismantled before correct models can take hold.
</span></span><span class="line"><span class="cl">6. The ultimate goal is adaptive expertise — the learner&#39;s ability to learn from their own experience in a changing domain, not just routine performance.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">YOUR CONVERSATION FLOW
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Guide the user through these phases. Be conversational, not rigid — adapt the order if the user naturally provides information out of sequence. But ensure all phases are covered before generating the prompt.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 1: DOMAIN SCOPING
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Understand WHAT domain the expert will cover and HOW BROADLY.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Ask about:
</span></span><span class="line"><span class="cl">- What is the domain or skill area?
</span></span><span class="line"><span class="cl">- What kinds of questions or situations will they bring to this expert? Get 2-3 concrete examples.
</span></span><span class="line"><span class="cl">- What is the boundary of this expert&#39;s knowledge? (e.g., &#34;marketing for bootstrapped B2B SaaS&#34; is more useful than &#34;marketing&#34;)
</span></span><span class="line"><span class="cl">- What is the domain environment like? Is it rapidly changing, relatively stable, highly uncertain, data-rich, intuition-heavy?
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Why this matters: NDM research shows expert reasoning varies dramatically by domain type. An expert in a fast-changing, uncertain domain (like early-stage go-to-market) needs to emphasize cue recognition and adaptive sensemaking. An expert in a more stable, structured domain (like software architecture principles) can lean more on established mental models and pattern libraries.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 2: LEARNER CALIBRATION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Understand WHERE the user is in this domain.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Ask about:
</span></span><span class="line"><span class="cl">- How would they describe their experience level? Novice, some exposure, intermediate, experienced-but-plateaued?
</span></span><span class="line"><span class="cl">- What do they already know or believe about this domain? (This surfaces existing mental models — correct or incorrect.)
</span></span><span class="line"><span class="cl">- What have they tried that worked? What has confused or frustrated them?
</span></span><span class="line"><span class="cl">- Are they learning this domain purely intellectually, or are they actively working in it? (Active practitioners learn differently — they have real situations to bring.)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Why this matters: CTT is clear that training must be calibrated. With novices, the expert provides frames and invites engagement. With more experienced learners, the expert surfaces existing frames first — because you cannot dismantle a knowledge shield you haven&#39;t identified.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 3: EXPERT IDENTITY
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Define WHO this expert is — not just their domain, but their character.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Ask about:
</span></span><span class="line"><span class="cl">- What kind of expert would be most helpful? (e.g., a seasoned bootstrapped founder vs. a VC-backed growth marketer — same domain, very different mental models)
</span></span><span class="line"><span class="cl">- Should the expert have a particular perspective or school of thought? (e.g., for software engineering: pragmatist vs. purist? For marketing: direct response vs. brand-building?)
</span></span><span class="line"><span class="cl">- What tone would make the user most receptive? (Challenging mentor? Patient teacher? Blunt peer?)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Synthesize with the user:
</span></span><span class="line"><span class="cl">- Propose an expert identity based on what you&#39;ve learned. Describe who this person would be in 2-3 sentences. Ask the user if this feels right or needs adjustment.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Why this matters: The expert&#39;s identity shapes which mental models they carry and which cues they attend to. A bootstrapped founder and a VC-funded CEO both &#34;run companies&#34; but see very different things when they look at the same situation.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 4: CUE AND MODEL EXTRACTION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This is the core intellectual work. Based on everything above, identify:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">A) KEY MENTAL MODELS — The 4-8 most important causal beliefs an expert in this domain holds. These are &#34;if X, then Y because Z&#34; structures. Frame them as the expert&#39;s internal logic, not as rules.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Examples of what a mental model looks like:
</span></span><span class="line"><span class="cl">- Marketing: &#34;If users can&#39;t describe your product in one sentence to a friend, your positioning is broken — because word-of-mouth requires a transferable frame, and complexity kills transfer.&#34;
</span></span><span class="line"><span class="cl">- Software: &#34;If a class changes for more than one reason, it&#39;s violating SRP — because each reason to change represents a different actor or stakeholder, and coupling their concerns means a change for one can break the other.&#34;
</span></span><span class="line"><span class="cl">- Investing: &#34;If management is buying back shares while insiders are selling, the buyback is likely cosmetic — because insiders act on private information, and their behavior reveals more than corporate treasury decisions.&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Present these to the user. Ask: do these ring true? Are any surprising? Are any missing that you&#39;ve encountered?
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">B) PERCEPTUAL CUES — What does the expert notice FIRST when looking at a situation in this domain? These are the &#34;tells&#34; that trigger deeper analysis.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Examples:
</span></span><span class="line"><span class="cl">- Marketing: &#34;I first look at whether the founder can explain who the product is for without saying &#39;everyone&#39; or listing more than two personas.&#34;
</span></span><span class="line"><span class="cl">- Software: &#34;I look at the imports at the top of a file. If a class imports from many unrelated modules, it&#39;s probably doing too much.&#34;
</span></span><span class="line"><span class="cl">- Business: &#34;I look at how a founder talks about their customers. If they describe demographics but can&#39;t describe a specific person&#39;s frustration, they don&#39;t really know their market.&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">C) COMMON KNOWLEDGE SHIELDS — What do people at this learner&#39;s level typically believe that is wrong or incomplete? These are the mental models the expert needs to be ready to surface and challenge.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Examples:
</span></span><span class="line"><span class="cl">- &#34;If I build a great product, people will find it.&#34; (Marketing knowledge shield)
</span></span><span class="line"><span class="cl">- &#34;More features means more value.&#34; (Product knowledge shield)
</span></span><span class="line"><span class="cl">- &#34;I need to plan everything before I start.&#34; (Execution knowledge shield)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 5: BEHAVIORAL CALIBRATION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Define HOW the expert interacts with the learner, encoding CTT principles.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Build these behaviors into the prompt:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">ADAPTIVE MODE SELECTION:
</span></span><span class="line"><span class="cl">- When the learner brings a situation and seems experienced: Ask them to explain their current thinking first. Surface their frame. Then work with it — validate what&#39;s sound, probe what&#39;s shaky, challenge what&#39;s wrong.
</span></span><span class="line"><span class="cl">- When the learner brings a situation and is clearly new: Offer a frame. &#34;Here&#39;s how I&#39;d think about this.&#34; Then ask questions that help them engage with and pressure-test that frame. Don&#39;t just lecture.
</span></span><span class="line"><span class="cl">- When it&#39;s unclear: Ask. &#34;Before I share how I&#39;d approach this — what&#39;s your current read on the situation? Or would you prefer I lay out a frame first?&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">FEEDBACK APPROACH:
</span></span><span class="line"><span class="cl">- Default to process feedback: explain WHY reasoning leads where it does, not just whether the conclusion is right or wrong.
</span></span><span class="line"><span class="cl">- When the learner reaches a conclusion, sometimes ask &#34;What makes you confident in that?&#34; before confirming or correcting. This builds their self-assessment ability.
</span></span><span class="line"><span class="cl">- Resist the urge to give the answer immediately. Ask &#34;What do you notice?&#34; or &#34;What feels off about this?&#34; before revealing what the expert sees. This trains the learner&#39;s perception.
</span></span><span class="line"><span class="cl">- When correcting, name the knowledge shield: &#34;A lot of people at your stage believe X because Y — but here&#39;s what actually happens and why.&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">MAKING EXPERT REASONING VISIBLE:
</span></span><span class="line"><span class="cl">- When analyzing a situation, narrate the cues you&#39;re attending to and why. &#34;The first thing I notice is... and that tells me... because in this domain, that pattern usually means...&#34;
</span></span><span class="line"><span class="cl">- Show the causal chain, not just the conclusion. &#34;If you do X, here&#39;s what I&#39;d expect to happen, and here&#39;s the mechanism.&#34;
</span></span><span class="line"><span class="cl">- When relevant, share what you would NOT pay attention to and why. Negative cues (knowing what to ignore) are a hallmark of expertise.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">SENSEMAKING PRESERVATION:
</span></span><span class="line"><span class="cl">- Periodically ask the learner to summarize what they&#39;ve taken away. This isn&#39;t a quiz — it&#39;s a chance to catch misunderstandings before they calcify.
</span></span><span class="line"><span class="cl">- After working through a situation, ask: &#34;If you encountered something similar but slightly different — say [variation] — how would you approach it?&#34; This tests transfer.
</span></span><span class="line"><span class="cl">- Encourage the learner to form their own heuristics: &#34;Based on what we&#39;ve discussed, what rule of thumb would you take away from this?&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 6: PROMPT GENERATION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Once all phases are complete, generate the system prompt. Structure it as:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">IDENTITY AND ROLE
</span></span><span class="line"><span class="cl">[Who the expert is, their background, their perspective]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">THEORETICAL FRAMEWORK
</span></span><span class="line"><span class="cl">[Brief encoding of NDM/CTT principles — the expert doesn&#39;t explain the theory to the learner, but follows it]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">MENTAL MODELS
</span></span><span class="line"><span class="cl">[The 4-8 core causal beliefs, written in first person as the expert&#39;s internal logic]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PERCEPTUAL CUES
</span></span><span class="line"><span class="cl">[What the expert notices first and why]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">KNOWLEDGE SHIELDS
</span></span><span class="line"><span class="cl">[Common incorrect beliefs to watch for and surface]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">INTERACTION PROTOCOL
</span></span><span class="line"><span class="cl">[Adaptive mode selection, feedback approach, reasoning visibility, sensemaking preservation — all from Phase 5]
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">LEARNER CONTEXT
</span></span><span class="line"><span class="cl">[What you know about this specific learner — their level, goals, active vs. theoretical, what they&#39;ve tried]
</span></span><span class="line"><span class="cl">```
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">After generating, tell the user: &#34;Before you deploy this, let me run a diagnostic. I&#39;ll simulate a short conversation between a learner and this expert so you can see how it behaves. I&#39;ll then evaluate whether the expert is following CTT principles correctly.&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">PHASE 7: DIAGNOSTIC SIMULATION
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Run a 4-6 turn simulated conversation. Play both the learner (using a realistic scenario the user might bring) and the expert (using the generated prompt).
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">After the simulation, evaluate against these criteria:
</span></span><span class="line"><span class="cl">- Did the expert assess experience level before diving in?
</span></span><span class="line"><span class="cl">- Did it surface the learner&#39;s frame when appropriate?
</span></span><span class="line"><span class="cl">- Did it offer a frame with questions (not just answers) when the learner was new to the topic?
</span></span><span class="line"><span class="cl">- Did it give process feedback rather than just outcome feedback?
</span></span><span class="line"><span class="cl">- Did it make cues and causal reasoning visible?
</span></span><span class="line"><span class="cl">- Did it hold back appropriately to preserve sensemaking?
</span></span><span class="line"><span class="cl">- Did it test for transfer or ask the learner to form their own heuristic?
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Report findings to the user. Propose revisions if needed. Iterate until the prompt passes.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">FINAL STEP
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Present the final prompt in a code block for easy copying. Remind the user:
</span></span><span class="line"><span class="cl">- Test the expert with a real question in their first session
</span></span><span class="line"><span class="cl">- Come back to this master project if the expert doesn&#39;t feel right — you can refine based on their experience
</span></span><span class="line"><span class="cl">- The expert will improve as the learner adds context over multiple sessions (Claude Projects retain conversation history within a session)
</span></span><span class="line"><span class="cl">- Consider adding domain-specific documents to the Project&#39;s knowledge base to give the expert richer material to draw from
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">META-INSTRUCTIONS
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Be conversational throughout. This is a collaborative design process, not a form to fill out.
</span></span><span class="line"><span class="cl">- If the user provides information that spans multiple phases, acknowledge it and weave it in — don&#39;t force them to repeat themselves.
</span></span><span class="line"><span class="cl">- If the user is unsure about something (like what mental models matter in a domain), help them think through it. You have broad knowledge you can draw on, even though you&#39;re not the domain expert being built.
</span></span><span class="line"><span class="cl">- Keep the user oriented: occasionally say where you are in the process and what&#39;s coming next.
</span></span><span class="line"><span class="cl">- If the user wants to skip ahead or modify the process, accommodate. The phases are a guide, not a cage.</span></span></code></pre></div>
</div>
</details>
<p>I have since then created a vibe coding expert. To give it more context, since many of the concepts are outside the knowledge/training window, I prompted it to learn about Gas Town by searching (the intro post + emergency manual) as well as the vibe coding book by Gene and Steve and people&rsquo;s reactions to it online.</p>
<p>Into a project the prompt went. Our first conversation was about creating principles for coding in Go. I realized I was looking too narrowly, only focusing on tests. I am feeling the need to look at the output because I don&rsquo;t trust the system around the code. And I don&rsquo;t trust the output because I don&rsquo;t have enough validations that I trust. And to get there, I will need a combination of linters and skills.</p>
<p><strong>Note:</strong> The problem with building an expert prompt like this is that as a non-expert <a href="/crumb/2026-02-28-you-dont-know-what-you-dont-know/">you don&rsquo;t know what you don&rsquo;t know</a>, so here be dragons.</p>
<p>Next up, I&rsquo;ll start building <code>bjornstack</code>, which will be my opinions and guard rails for the genie as it&rsquo;s working on my behalf. Coincidentally it shortens to <code>bs</code> which will make it easier for others to reference it proper 😉</p>]]></content:encoded></item><item><title>How Steve Yegge gets quality when vibing</title><link>https://bjorn.now/crumb/2026-02-26-how-steve-yegge-gets-quality-when-vibing/?utm_medium=feed</link><pubDate>Thu, 26 Feb 2026 17:44:42 +0100</pubDate><guid>https://bjorn.now/crumb/2026-02-26-how-steve-yegge-gets-quality-when-vibing/</guid><description>I have been wondering how Steve Yegge gets quality when vibing and this seems to be how, from the emergency manual Tending the Invisible Garden:
When you work with Gas Town, you don’t usually have time to inspect the code you’re creating. That’s not your role. But you need to make sure the code meets your quality bar. How do you ensure your garden is healthy if you can’t see it?</description><content:encoded><![CDATA[<p>I have been wondering how Steve Yegge gets quality when vibing and this seems to be how, from the emergency manual <a href="https://steve-yegge.medium.com/gas-town-emergency-user-manual-cf0e4556d74b#7804">Tending the Invisible Garden</a>:</p>
<blockquote>
<p>When you work with Gas Town, you don’t usually have time to inspect the code you’re creating. That’s not your role. But you need to make sure the code meets your quality bar. How do you ensure your garden is healthy if you can’t see it?</p>
<p>The answer: <strong>regular code review sweeps, followed by bug-fix sweeps</strong> that fix the issues filed during the code-review sweeps. Gas Town excels at both of these. It can generate tons of work with a swarm (filing Beads as it finds problems) and then crank through tons of work with another swarm. You just keep doing this until the code reviews are just nitpicking, or the agents say the code is ready to ship. Do some of this every day, and hope that most of the time you don’t find anything bad. The only way to be sure is to do it all the time.</p>
<p>Your garden can get diseases. I mentioned “heresies” above. Agents are very approximate workers and they like to guess at stuff. They will often make wrong guesses about how your system is supposed to work. If that wrong guess makes it into the code, sneaking through the review process, then it becomes enshrined and other agents may notice it and propagate the heresy in their own work.</p>
<p>“Idle polecats” is an example of a heresy that plagues Gas Town. There is no such thing as an idle polecat; it’s not a pool, and they vanish when their work is done. But polecats do have long-term identities, so it’s more like they are clocking out and leaving the building between jobs, which is harder for agents to wrap their heads around. So “idle polecats” make it back into the code base, comments, and docs all the time.</p>
<p>I’ve found the most helpful way to rid yourself of persistent heresies is to capture your guiding principles in the agent priming (onboarding). Which means you have to come up with some guiding principles in the first place.</p>
<p>Your core principles or axioms will be different for every project you’re working on. But the more coverage you can get with them, the more classes of heresy you can avoid or easily correct simply by pointing at the principle they violate. Gas Town core principles include things like Zero Framework Cognition (shared with Beads), which I’ve written about, GUPP, MEOW, Discovery over Tracking, Beads as the Universal Data Plane, and so on. All of these help me stamp out heresies that try to creep into my code.</p>
</blockquote>
<p>I&rsquo;ve been guessing that philosophy/principles is the core piece, and that I need a good way of encoding so genies use &rsquo;em. I had already started iterating by creating a skill to review Go tests based on my <a href="https://speakerdeck.com/gaqzi/how-to-design-a-test-suite-youll-love-to-maintain">How to design a test suite you&rsquo;ll love to maintain</a> and <a href="https://speakerdeck.com/gaqzi/mocking-your-codebase-without-cursing-it">Mocking your codebase without cursing it</a> presentations, and I rarely have feedback to Claude on the tests anymore.</p>
<p>I still have plenty of disagreements on package design, naming, etc., and I haven&rsquo;t worked on encoding my preferences, or principles, into something reusable there. Luckily, I&rsquo;ve been taking notes on what I&rsquo;ve disagreed with the agent about, so it&rsquo;ll make it easier to start having the conversation to create the skill. When I have quota again.</p>
<p>Separately, I have been experimenting with Gas Town today, and it has chewed through my Claude Max 5x quota in an hour each time. I was warned, so I&rsquo;m not complaining. The token furnace is real, and I might upgrade my subscription to shovel more.</p>
<p>Gas Town asked me to file a bug because it found a problem with beads (something about wisps?), so maybe that&rsquo;s why it has churned through the quota burn? Probably not.</p>
<p>Meanwhile, I&rsquo;ll start digging into how Steve has tried to encode his philosophies into Gas Town. Pilfering gloves on.</p>
]]></content:encoded></item><item><title>Becoming More by Martijn Faassen</title><link>https://bjorn.now/link/2026-02-25-becoming-more-by-martijn-faassen/?utm_medium=feed</link><pubDate>Wed, 25 Feb 2026 17:17:24 +0100</pubDate><guid>https://bjorn.now/link/2026-02-25-becoming-more-by-martijn-faassen/</guid><description>Becoming More by Martijn Faassen:
I want to admit that this AI/human me, this centaur me – my human understanding is on occasion limited. I lean on the AI quite a bit. Perhaps it isn’t genuine understanding. A tricky question in epistemology. Let’s not even talk about the AI understanding something, or not.
I do know this. I’ve always leaned on other people’s understanding - I’ve reused computers, programming languages, software libraries, implemented algorithms from books and wikipedia. I’ve used search engines. This is more broad than software development. I am limited and don’t understand everything about the world as it’s far, far too much. I stand on the shoulders of giants.</description><content:encoded><![CDATA[<p><a href="https://blog.startifact.com/posts/becoming-more/">Becoming More</a> by Martijn Faassen:</p>
<blockquote>
<p>I want to admit that this AI/human me, this centaur me &ndash; my human understanding is on occasion limited. I lean on the AI quite a bit. Perhaps it isn&rsquo;t genuine understanding. A tricky question in epistemology. Let&rsquo;s not even talk about the AI understanding something, or not.</p>
<p>I do know this. I&rsquo;ve always leaned on other people&rsquo;s understanding - I&rsquo;ve reused computers, programming languages, software libraries, implemented algorithms from books and wikipedia. I&rsquo;ve used search engines. This is more broad than software development. I am limited and don&rsquo;t understand everything about the world as it&rsquo;s far, far too much. I stand on the shoulders of giants.</p>
<p>And that&rsquo;s okay. I&rsquo;m still empowered.</p>
<p>Let this empowerment sink in. Have you realized what this means? Have you realized what you can do now as a software developer?</p>
<p>I can use AI to do more. Not be more productive, that&rsquo;s boring and that&rsquo;s debatable.</p>
</blockquote>
<p>Amen Martijn. I saw someone saying that if the AI tools worked really well, then employers would be forbidding them because people would be using them in order to work less. Because if you have an expectation of what could get done, then if you find a way of getting it done faster so you can go home, isn&rsquo;t that okay? But for some group of employers that&rsquo;d be tantamount to stealing!!1one</p>
<p>Now, there is a counter to this argument, Steve Yegge says in <a href="https://steve-yegge.medium.com/the-ai-vampire-eda6e4f07163">The AI Vampire</a>:</p>
<blockquote>
<p>Now let’s look at Scenario B. You decide instead that you will only work for an hour a day, and aim to keep up with your peers using AI. On that heavily reduced workload, you manage to scrape by, and nobody notices.</p>
<p>In this scenario, you capture 100% of the value from your adopting AI.</p>
<p>In this scenario, your company goes out of business. I’m sorry, but your victory over The Man will be pyrrhic, because The Man is about to be kicked in The Balls, since with everyone slacking off, a competitor will take them out pretty fast.</p>
</blockquote>
<p>I don&rsquo;t know, maybe? I think there are certain types of jobs that will absolutely end up folding if they keep at current levels of work done without change. History shows sitting on an advantage without adjusting is not optimal for survival. And to be fair, Yegge&rsquo;s post is <em>against</em> the grind culture and about finding a balance augmented by AI and to not become a hollow shell that commands the genie.</p>
<p>At the same time, I&rsquo;ve started my own company, and I&rsquo;m doing my best to not grind like I did working for others. I do have some runway from that work, but I hope there&rsquo;ll be enough work coming in (or products built that makes money) that I&rsquo;ll make do.</p>
<p>Instead, I have some work that helps me stay afloat, and it has given me time where I can play and explore. Maybe I can leverage it soon, maybe it becomes a rusty tool in the toolbox, or the cornerstone for something new.</p>
<p>Either way, I&rsquo;m becoming more, as Martijn said.</p>
]]></content:encoded></item><item><title>Robby Russel - Most developers dont build new things</title><link>https://bjorn.now/link/2026-02-19-robby-russel-most-developers-dont-build-new-things/?utm_medium=feed</link><pubDate>Thu, 19 Feb 2026 09:58:42 +0100</pubDate><guid>https://bjorn.now/link/2026-02-19-robby-russel-most-developers-dont-build-new-things/</guid><description>Most developers don’t build new things by Robby Russell:
We inherit. We understand. We stabilize. We extend. We improve what we can without destabilizing what already works.
This kind of work rarely attracts attention. It looks like incremental improvement and steady compounding over time.
But if most of your career is going to be spent in the second act, then the real question isn’t whether you get to start something new.</description><content:encoded><![CDATA[<p><a href="https://robbyonrails.com/articles/2026/02/18/most-developers-dont-build-new-things/">Most developers don&rsquo;t build new things</a> by Robby Russell:</p>
<blockquote>
<p>We inherit. We understand. We stabilize. We extend. We improve what we can without destabilizing what already works.</p>
<p>This kind of work rarely attracts attention. It looks like incremental improvement and steady compounding over time.</p>
<p>But if most of your career is going to be spent in the second act, then the real question isn’t whether you get to start something new.</p>
<p>It’s whether what you inherit gets better because you were there.</p>
</blockquote>
<p>I fully agree with Robby, the big piece of what we do day-to-day is making sure we have a better tomorrow in the systems we&rsquo;re part of maintaining, and that&rsquo;s the lens we should be looking through.</p>
<p>For example, right now I&rsquo;ve been working on an old system that&rsquo;s great at what it does and the business is happy with it, but it&rsquo;s not much fun to maintain. I have been using genies to help me and it&rsquo;s been a world of difference in how long it&rsquo;ll take to work on.</p>
<p>Yet, I spent a couple of hours yesterday manually verifying a long list of numbers to ensure we didn&rsquo;t break any calculations or displays in the workflow I have been changing. Because the system is a legacy one per Michael Feather&rsquo;s definition: it <a href="https://understandlegacycode.com/blog/what-is-legacy-code-is-it-code-without-tests/">didn&rsquo;t have any tests</a> before I started working on it, and it&rsquo;s <a href="/blog/2025/07/24/your-name-is-still-on-it/">my name on it</a>, so as we&rsquo;re about to take it to production I need to do my best to ensure it will work. That&rsquo;s the work.</p>
]]></content:encoded></item><item><title>Relocating Rigor by Chad Fowler</title><link>https://bjorn.now/link/2026-01-28-relocating-rigor-by-chad-fowler/?utm_medium=feed</link><pubDate>Wed, 28 Jan 2026 12:30:45 +0100</pubDate><guid>https://bjorn.now/link/2026-01-28-relocating-rigor-by-chad-fowler/</guid><description>Relocating Rigor by Chad Fowler (via Muthu).
Generative systems only work if invariants are explicit rather than implicit. Interfaces must be real contracts, not incidental boundaries. Evaluation must be ruthless. Failures must be loud and immediate. The engineer’s job shifts from typing code to specifying intent and verifying outcomes.
This is very much how I’m currently thinking about working with AIs. I have been using genies to work in a legacy codebase (defined as no tests) I’m new to, and in a language and platform I have barely worked on, and I’m being useful.</description><content:encoded><![CDATA[<p><a href="https://aicoding.leaflet.pub/3mbrvhyye4k2e">Relocating Rigor</a> by Chad Fowler (via Muthu).</p>
<blockquote>
<p>Generative systems only work if invariants are explicit rather than implicit. Interfaces must be real contracts, not incidental boundaries. Evaluation must be ruthless. Failures must be loud and immediate. The engineer&rsquo;s job shifts from typing code to specifying intent and verifying outcomes.</p>
</blockquote>
<p>This is very much how I&rsquo;m currently thinking about working with AIs. I have been using genies to work in a legacy codebase (defined as no tests) I&rsquo;m new to, and in a language and platform I have barely worked on, and I&rsquo;m being useful.</p>
<p>I think it&rsquo;s because I decided to introduce tests to the codebase, verify the existing behavior for the flow I&rsquo;m changing, and then write my new feature as a failing test. Then the genie has been able to iterate while I think about the changes and how they could fail.</p>
<p>For example, we had to move some columns into a new table, and while the code kept the <code>if null then 0</code> pattern that existed, I worried it might be overly &ldquo;safe&rdquo; and that it would return <code>0</code> because the relationship hadn&rsquo;t been loaded. So we traced through all the call sites to see that we also loaded that relationship from the DB, and the genie gave me a report I could follow and easily verify.</p>
]]></content:encoded></item><item><title>Fixing Mastodon URL truncation in n8n</title><link>https://bjorn.now/devlog/2025-10-28-fixing-mastodon-url-truncation-in-n8n-module/?utm_medium=feed</link><pubDate>Tue, 28 Oct 2025 13:35:07 +0100</pubDate><guid>https://bjorn.now/devlog/2025-10-28-fixing-mastodon-url-truncation-in-n8n-module/</guid><description>I have been working on automating my POSSE setup, and ended up trying n8n and it has been a great experience, there are so many plugins that it’s mostly just wiring things together.
But, I discovered that despite being within the character limit, one of my URLs were truncated when posting to Mastodon. This is because Mastodon does something non-obvious: it treats all URLs as 23 characters, no matter if they’re shorter or longer.</description><content:encoded><![CDATA[<p>I have been working on automating my <a href="https://indieweb.org/POSSE">POSSE setup</a>,
and ended up trying <a href="https://n8n.io">n8n</a> and it has been a great experience,
there are so many plugins that it&rsquo;s mostly just wiring things together.</p>
<p>But, I discovered that despite being within the character limit,
one of my URLs were truncated when posting to Mastodon.
This is because Mastodon does something non-obvious:
it treats all URLs as 23 characters, no matter if they&rsquo;re shorter or longer.</p>
<p>This is because they copied this behavior from Twitter,
which ran all links through their t.co link shortener.
The reason is that Mastodon doesn&rsquo;t want you to use a link shortener,
since it hides the real URL (i.e. makes rick rolling easier 😜).</p>
<p>So the module truncated the text in the status.
Since it wasn&rsquo;t URL-aware, all I got was a broken link.</p>
<p>I decided to fix it myself, because dammit, I&rsquo;m a programmer.
It&rsquo;s an unfamiliar codebase I know nothing about,
so I rolled up my sleeves and asked Claude,
&ldquo;<em>Pretty please, can you fix the problem and add tests?</em>&rdquo;
(ah the modern world we live in)</p>
<p>The key constraint: I needed to understand every line of code before shipping it,
and it had to pass my quality standards because my <a href="https://bjorn.now/blog/2025/07/24/your-name-is-still-on-it/">name would be on the PR.</a>
Happily, that worked out <a href="https://github.com/redoracle/n8n-nodes-the-mastodon/pull/4">becuse my PR was accepted</a>. 🙂</p>
<p>Here&rsquo;s how I worked through it over three days. All <a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commits/url-aware-post-length-calculation/">commits are here</a> if you want to step through them.
I really intend to share these devlogs earlier in the future, but I got lazy 😅</p>
<h2 id="the-rough-notes">
  The rough notes
  <a href="#the-rough-notes" class="heading-anchor" aria-label="Direct link to The rough notes"><span aria-hidden="true">#</span></a>
</h2>
<p>Lightly edited for the web, and I&rsquo;ve kept the day breaks in.</p>
<h3 id="2025-10-08">
  2025-10-08
  <a href="#2025-10-08" class="heading-anchor" aria-label="Direct link to 2025-10-08"><span aria-hidden="true">#</span></a>
</h3>
<p>I discovered that my mastodon poster truncated the URL (which seems to indicate that the n8n plugin does a naïve counting of characters, whereas it should only count 23 chars/URL, because Mastodon don&rsquo;t penalize longer URLs so we don&rsquo;t need link shorteners.</p>
<p>So I looked at the source for the package in question and found the 500 limit (I had looked at this before) and knew it was hardcoded, and then I decided to download the repo and ask Claude to find the bug and suggest a fix:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">this is a plugin for n8n, and @nodes/Mastodon/status/StatusMethods.ts seems to have a bug where if I post a status with a link then it will truncate the status assuming the link takes up the full
</span></span><span class="line"><span class="cl">length it has, instead of only 23 characters as is defined by Mastodon. Identify where this bug comes from, explain it, and come up with a plan for how to fix it. Also suggest tests to add that
</span></span><span class="line"><span class="cl">fits with existing tests in this repostiory.</span></span></code></pre></div>
</div>
<p>It then came up with a plan that I rejected because I wondered if there any existing packages that implement this logic, since the Javascript community is quite keen on tiny packages</p>
<details>
<summary>The rejected plan to implement</summary>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">Fix Plan
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Create URL-aware character counting utilit
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Add new method ValidationUtils.calculateMastodonLength() that:
</span></span><span class="line"><span class="cl">  - Detects URLs in the text using regex
</span></span><span class="line"><span class="cl">  - Counts each URL as 23 characters (Mastodon&#39;s characters_reserved_per_url)
</span></span><span class="line"><span class="cl">  - Counts remaining text normally
</span></span><span class="line"><span class="cl">  - Returns the effective character count
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">2. Update validateStatusParam function
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Replace simple sanitizeStringParam with URL-aware validation
</span></span><span class="line"><span class="cl">- Use the new calculateMastodonLength() to check if status exceeds 500 chars
</span></span><span class="line"><span class="cl">- Only trim/reject if the effective length (with URL shortening) exceeds limit
</span></span><span class="line"><span class="cl">- Keep the full URL text intact (don&#39;t truncate it)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">3. Add comprehensive tests
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Following the existing test pattern in __tests__/status.test.ts, add:
</span></span><span class="line"><span class="cl">- Test for status with single URL that would exceed 500 chars without URL counting
</span></span><span class="line"><span class="cl">- Test for status with multiple URLs
</span></span><span class="line"><span class="cl">- Test for status with URL at the beginning, middle, and end
</span></span><span class="line"><span class="cl">- Test that status correctly rejects when effective length &gt; 500
</span></span><span class="line"><span class="cl">- Test that long URLs are preserved in the request body
</span></span><span class="line"><span class="cl">- Test edge cases: URL-like text that isn&#39;t a URL, localhost URLs, etc.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">4. Optional enhancement
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Consider fetching instance configuration (characters_reserved_per_url) dynamically
</span></span><span class="line"><span class="cl">- For now, hardcode 23 as it&#39;s the Mastodon standard</span></span></code></pre></div>
</div>
</details>
<p>So I asked Claude to look for a package:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">search and see if there&#39;s an existing npm package that does this calculation of post length per mastodon so we don&#39;t have to write it ourselves</span></span></code></pre></div>
</div>
<p>It searched and didn&rsquo;t find anything (it was a bit slow, so I decided to look as well, and didn&rsquo;t find anything obvious), when I looked back after giving up it asked to download the original Ruby source for the <a href="https://github.com/mastodon/mastodon/blob/main/app/validators/status_length_validator.rb">status length validation</a> and then came up with new search patterns</p>
<p>It then found twitter-text and suggested to import it and use</p>
<details>
<summary>Plan to use twitter-text</summary>
<div class="full-witdh no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">Fix Plan for Mastodon URL Character Counting Bug
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Add twitter-text dependency
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Run npm install twitter-text (version 3.1.0, stable and well-maintained)
</span></span><span class="line"><span class="cl">- This library provides the same URL detection/counting logic that Mastodon uses
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">2. Update ValidationUtils in Mastodon_Methods.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Add new method ValidationUtils.countMastodonLength(text: string): number
</span></span><span class="line"><span class="cl">  - Use twitter-text&#39;s parseTweet() or extract URLs manually
</span></span><span class="line"><span class="cl">  - Count each URL as 23 characters (Mastodon&#39;s standard)
</span></span><span class="line"><span class="cl">  - Return effective character count
</span></span><span class="line"><span class="cl">- Keep existing sanitizeStringParam for other use cases
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">3. Update validateStatusParam in StatusMethods.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Replace line 16: Instead of truncating, validate the effective length
</span></span><span class="line"><span class="cl">- If effective length &gt; 500, throw error with helpful message
</span></span><span class="line"><span class="cl">- Don&#39;t truncate the actual status text (preserve full URLs)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">4. Add comprehensive tests to tests/status.test.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Following existing test patterns, add:
</span></span><span class="line"><span class="cl">- Test: Status with long URL (&gt;100 chars) that fits within 500 char limit
</span></span><span class="line"><span class="cl">- Test: Status with multiple URLs counted correctly
</span></span><span class="line"><span class="cl">- Test: Status that exceeds 500 chars even with URL shortening
</span></span><span class="line"><span class="cl">- Test: URL preservation (ensure full URL is sent to API, not truncated)
</span></span><span class="line"><span class="cl">- Test: Edge cases (URL at start/middle/end, multiple URLs)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This approach uses a proven library rather than reinventing URL detection regex.</span></span></code></pre></div>
</div>
</details>
<p>I wasn&rsquo;t sure about all this because looking at the repo it looks like a big dependency, and maybe it has too much extra stuff that doesn&rsquo;t really come into play for Mastodon?</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">will `parseTweet()` introduce any other logic that might not work with mastodon? Might we be better off copying the code around links (and tests) and adding it to this repo (do the licenses match?)
</span></span><span class="line"><span class="cl">We *cannot* break the existing behavior and throw an error instead of truncating, but we can change the truncating behavior to the effective length instead of actual length. </span></span></code></pre></div>
</div>
<p>It then went off and did a bunch of searches around east-asian specific character encodings (Japanese and Chinese alphabets as far as I can tell)</p>
<p>I then got a new plan that looks better, but I still wonder about the <code>when possible</code> for preserving URLs (I expect it is that if there&rsquo;s not 23 chars left, then it <em>has</em> to cut, so I will have it clarified in a more detailed plan)</p>
<details>
<summary>The new plan that includes <code>when possible</code> for preserving URLs</summary>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">Updated Fix Plan (Mastodon-Compatible)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Copy URL regex from twitter-text (with attribution)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Add file header comment crediting twitter-text (Apache 2.0 license)
</span></span><span class="line"><span class="cl">- Copy only the URL detection regex pattern (battle-tested, handles edge cases)
</span></span><span class="line"><span class="cl">- No dependencies needed - just the regex
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">2. Create ValidationUtils.calculateMastodonLength() in Mastodon_Methods.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Extract all URLs using the copied regex
</span></span><span class="line"><span class="cl">- Replace each URL with 23-char placeholder (&#34;x&#34;.repeat(23))
</span></span><span class="line"><span class="cl">- Count remaining characters using standard .length
</span></span><span class="line"><span class="cl">- Return the effective character count
</span></span><span class="line"><span class="cl">- No CJK weighting - Mastodon treats all chars equally
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">3. Update validateStatusParam() in StatusMethods.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Calculate effective length using new method
</span></span><span class="line"><span class="cl">- If effective length &gt; 500, truncate at boundary that fits within 500 effective chars
</span></span><span class="line"><span class="cl">- Preserve full URLs when possible (don&#39;t cut URLs)
</span></span><span class="line"><span class="cl">- Keep existing truncation behavior (no breaking changes)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">4. Add tests to tests/status.test.ts
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Status with long URL (&gt;100 chars) that fits in 500 effective chars
</span></span><span class="line"><span class="cl">- Status with multiple URLs
</span></span><span class="line"><span class="cl">- Status requiring truncation with URL preservation
</span></span><span class="line"><span class="cl">- CJK characters counted same as Latin (no weighting)
</span></span><span class="line"><span class="cl">- Edge cases: URL at boundaries, multiple URLs</span></span></code></pre></div>
</div>
</details>
<p>I asked what <code>when possible</code> means and guessed some cases (I forgot to save the prompt)</p>
<details>
<summary>The details for when it's not possible to save the URL</summary>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">⏺ Cases Where We Cannot Preserve URLs:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Theoretical impossible case (highly unlikely in practice):
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Text: &#34;Check this out: https://example.com/article&#34;
</span></span><span class="line"><span class="cl">Actual length: 44 chars
</span></span><span class="line"><span class="cl">Effective length (URL=23): 39 chars ✅ Fits!
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">But if someone tried:
</span></span><span class="line"><span class="cl">Text: 480 chars of text + &#34; https://example.com/very/long/url&#34;
</span></span><span class="line"><span class="cl">Actual: 520 chars
</span></span><span class="line"><span class="cl">Effective: 480 + 23 = 503 chars ❌ Over limit!
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">To fit within 500 effective chars, we&#39;d need to:
</span></span><span class="line"><span class="cl">- Remove 3 chars from somewhere
</span></span><span class="line"><span class="cl">- We can&#39;t split the URL (would break it)
</span></span><span class="line"><span class="cl">- We&#39;d have to remove text BEFORE the URL
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">2. Multiple URLs scenario:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Text: &#34;See https://example1.com and https://example2.com and more text...&#34;
</span></span><span class="line"><span class="cl">If effective length &gt; 500, we might need to:
</span></span><span class="line"><span class="cl">- Keep URL1 (23 chars)
</span></span><span class="line"><span class="cl">- Keep URL2 (23 chars)
</span></span><span class="line"><span class="cl">- Truncate the &#34;and more text...&#34; part
</span></span><span class="line"><span class="cl">- OR drop URL2 entirely if there&#39;s not enough room
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">3. The actual problematic case:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Text: 450 chars + &#34;Visit https://example.com/some/long/url for more info and keep reading...&#34;
</span></span><span class="line"><span class="cl">Effective: 450 + 23 + 35 = 508 chars ❌
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">To fix:
</span></span><span class="line"><span class="cl">- Keep first 450 chars ✅
</span></span><span class="line"><span class="cl">- Keep URL (counts as 23) ✅
</span></span><span class="line"><span class="cl">- Truncate &#34;for more info and keep reading&#34; to fit in remaining 27 effective chars
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">The Real Answer:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">We can ALWAYS preserve URLs! Here&#39;s why:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- URLs only count as 23 chars in the effective length
</span></span><span class="line"><span class="cl">- If someone has room for 23 effective chars, they have room for the full URL (even if it&#39;s 200 chars long)
</span></span><span class="line"><span class="cl">- We just need to truncate the non-URL text to make room
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">The algorithm:
</span></span><span class="line"><span class="cl">1. Find all URLs and their positions
</span></span><span class="line"><span class="cl">2. Calculate effective length
</span></span><span class="line"><span class="cl">3. If over 500:
</span></span><span class="line"><span class="cl">  - Truncate text BETWEEN or AFTER URLs
</span></span><span class="line"><span class="cl">  - Never truncate the URL itself
</span></span><span class="line"><span class="cl">  - Work backwards to find a safe truncation point
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Edge case that might force URL removal:
</span></span><span class="line"><span class="cl">Text with 22 URLs: Each counts as 23 = 506 effective chars
</span></span><span class="line"><span class="cl">Even with ZERO other text, we&#39;re over the limit!
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">In this case, we&#39;d have to drop some URLs entirely (remove the last URL(s) until we fit).
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Should I proceed with a plan that preserves URLs when possible, but drops trailing URLs if necessary when there are too many?</span></span></code></pre></div>
</div>
</details>
<p>So, now to handle this I will ask it to write this high-level plan into <code>high-level.plan.md</code> and then to create a detailed plan that could be implemented by a junior engineer, so we then can ask sub agents to implement them step-by-step. I saw the plan and it suggested to drop URLs that went over the limit, so I asked it to instead keep them.</p>
<p>I haven&rsquo;t added any general/background context to this repo about my preferences, so I wonder if this will be enough to give me something useful in this repo:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">create a deatiled implementation plan that a junior engineer could implement.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Ensure each step is written in a TDD fashion and that the tests are passing, changed to show the expected new behavior (red),
</span></span><span class="line"><span class="cl">and then the change is implemented to make it pass (green).
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Only implement as much as is needed to get each test passing and no more. 
</span></span><span class="line"><span class="cl">Cover the copied code from Twitter with tests too.</span></span></code></pre></div>
</div>
<p>It came up with a detailed plan, it looked good enough (skimmed it), so I asked claude to:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">execute the test suite to verify it runs, if it runs successfully then document how to run the tests in the plan and then save the plan as plan.md</span></span></code></pre></div>
</div>
<p>Then it couldn&rsquo;t run any commands, likely because I never ran <code>npm install</code> in the folder so I did that and verified that <code>npm test</code> worked and then asked Claude to try again.</p>
<p>Next up, execute the plan: <code>Now plan to execute @plan.md with subagents and marking off which steps has been done in the plan as they finish.</code>.</p>
<details>
<summary>The plan</summary>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">Strategy
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Use general-purpose agents in parallel where possible to implement the plan steps efficiently. Track progress by updating plan.md with checkmarks as each step completes.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Phase 1: URL Extraction (Steps 1.1-1.6)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Agent 1: Implement URL extraction utility with all tests
</span></span><span class="line"><span class="cl"> - Create __tests__/url-extraction.test.ts
</span></span><span class="line"><span class="cl"> - Add extractUrls() to ValidationUtils in Mastodon_Methods.ts
</span></span><span class="line"><span class="cl"> - Iterate through all test cases in steps 1.1-1.6
</span></span><span class="line"><span class="cl"> - Mark steps 1.1-1.6 complete in plan.md
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Phase 2: Length Calculation (Steps 2.1-2.5)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Agent 2: Implement Mastodon length calculation with all tests
</span></span><span class="line"><span class="cl"> - Create __tests__/mastodon-length.test.ts
</span></span><span class="line"><span class="cl"> - Add calculateMastodonLength() to ValidationUtils
</span></span><span class="line"><span class="cl"> - Iterate through all test cases in steps 2.1-2.5
</span></span><span class="line"><span class="cl"> - Mark steps 2.1-2.5 complete in plan.md
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Phase 3: URL-Aware Truncation (Steps 3.1-3.9)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Agent 3: Implement truncation with URL preservation
</span></span><span class="line"><span class="cl"> - Create __tests__/url-truncation.test.ts
</span></span><span class="line"><span class="cl"> - Add truncateWithUrlPreservation() to ValidationUtils
</span></span><span class="line"><span class="cl"> - Iterate through all test cases in steps 3.1-3.9
</span></span><span class="line"><span class="cl"> - Mark steps 3.1-3.9 complete in plan.md
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Phase 4: Status Validation Update (Steps 4.1-4.4)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Agent 4: Update status validation to use new utilities
</span></span><span class="line"><span class="cl"> - Add tests to __tests__/status.test.ts
</span></span><span class="line"><span class="cl"> - Update validateStatusParam in StatusMethods.ts
</span></span><span class="line"><span class="cl"> - Verify all new tests pass
</span></span><span class="line"><span class="cl"> - Mark steps 4.1-4.4 complete in plan.md
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">Phase 5: Final Verification (Step 5)
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">- Run npm test to verify all tests pass
</span></span><span class="line"><span class="cl">- Update plan.md with final completion status
</span></span><span class="line"><span class="cl">- Report summary of what was implemented</span></span></code></pre></div>
</div>
</details>
<p>I then set Claude to execute and left some questions for myself to answer after we were done:</p>
<ul>
<li>Are there more places we should use this new validation/truncation logic?</li>
<li>Is our new code implemented similarly to the rest of the code in this repository?</li>
<li>What questions should I ask you to verify that we don&rsquo;t break something?</li>
</ul>
<p><strong>00:34</strong> It&rsquo;s late, so time to let Claude spin away while I prepare for sleep.</p>
<p><strong>00:50</strong> Okay, while prepping for sleep it finished and I had a look on the new tests
the tests have some problems that we&rsquo;ll need to iterate on:</p>
<ul>
<li>Doesn&rsquo;t assert the exact values we&rsquo;re looking for</li>
<li>Doesn&rsquo;t make the 500 or 23 constants and are instead magic numbers, let&rsquo;s name them</li>
<li>The truncation logic is <strong>too smart</strong> and it should just cut the URL and leave an ugly &ldquo;scar&rdquo; if that&rsquo;s what&rsquo;s required, that&rsquo;s fine. We can iterate on that</li>
</ul>
<p>I think the way to work with this is to create a fork and do my changes in a repo with small focused commits, and then show the work as I commit, so I indicate how I grew the solution</p>
<p>Now, sleep for reals</p>
<h3 id="2025-10-10">
  2025-10-10
  <a href="#2025-10-10" class="heading-anchor" aria-label="Direct link to 2025-10-10"><span aria-hidden="true">#</span></a>
</h3>
<p>Okay, back at it again after a day&rsquo;s break, got some tunes on and now to review.</p>
<p>Okay, to help me document how I&rsquo;m working on this I will <a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commit/8765c425b0cfffaf31d2b56ec00b4fa2dc855c72">commit the change I got from Claude</a>, and then I&rsquo;ll do my changes from there and commit as I do them.
Doing this so that it&rsquo;ll be easier to blog about it, and I don&rsquo;t know if that workflow will be what I want/need, so we&rsquo;ll see.</p>
<h4 id="reviewing">
  Reviewing
  <a href="#reviewing" class="heading-anchor" aria-label="Direct link to Reviewing"><span aria-hidden="true">#</span></a>
</h4>
<p>Starting the review by looking at the <code>status.test.ts</code> since I&rsquo;m supposed to have good tests that tell me what&rsquo;s going on, so that&rsquo;ll be the lense through which I review this.</p>
<p>First off, I got header comments explaining the change that I don&rsquo;t need, so nixing &rsquo;em, and I think all these tests belong in a <code>describe</code> that shows that the tests belong together. <a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commit/028b146d20234486eef241b63e9268e06d744a49">Commit</a></p>
<p>Then, let&rsquo;s get going with the first test &ldquo;should preserve long URL when using URL-aware character counting&rdquo; doesn&rsquo;t do one that will hit the problem, and the test doesn&rsquo;t check the count is what we expect it to be (which is also a problem). okay, changed the test to <strong>only contain</strong> a URL and then verify that the expected status is exactly 23 characters long, which passes. <a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commit/f8500029bb7a2acae6763b1093501fb6ff681b67">Commit</a></p>
<p>Next is a test with multiple long URLs, which is useful, make sure we don&rsquo;t do this for only one URL in the status. The URLs are not pushing it as far as it should, so I made both URLs more than the total length of a status <code>(80 -&gt; 500)</code></p>
<div class="no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-javascript" data-lang="javascript"><span class="line"><span class="cl"><span class="kr">const</span> <span class="nx">url1</span> <span class="o">=</span> <span class="s1">&#39;https://example.com/&#39;</span> <span class="o">+</span> <span class="s1">&#39;a&#39;</span><span class="p">.</span><span class="nx">repeat</span><span class="p">(</span><span class="mi">80</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="kr">const</span> <span class="nx">url2</span> <span class="o">=</span> <span class="s1">&#39;https://www.example.org/&#39;</span> <span class="o">+</span> <span class="s1">&#39;b&#39;</span><span class="p">.</span><span class="nx">repeat</span><span class="p">(</span><span class="mi">80</span><span class="p">);</span></span></span></code></pre></div>
</div>
<p>The <code>text</code> is a bit annoying so simplifying it for my own sake to make the length calculation simpler, it&rsquo;s a list of links one per line <code>(2*2+1 = 5 + 23 + 23 = 51)</code>:</p>
<div class="no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-javascript" data-lang="javascript"><span class="line"><span class="cl"><span class="kr">const</span> <span class="nx">text</span> <span class="o">=</span> <span class="sb">`- </span><span class="si">${</span><span class="nx">url1</span><span class="si">}</span><span class="sb">\n- </span><span class="si">${</span><span class="nx">url2</span><span class="si">}</span><span class="sb">`</span><span class="p">;</span></span></span></code></pre></div>
</div>
<p><a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commit/9a253678e5f4c4e8621a63c262374433c5f37ad4">Commit.</a></p>
<p>And about now I&rsquo;m annoyed at the way the mock implementation has so much setup, it doesn&rsquo;t follow my coding style (too much repetition), but this isn&rsquo;t my project, and it seems to be how all other tests are written in this file so we keep it. <strong>Consistency and avoiding surprises is more important than my personal style.</strong></p>
<p>Now comes the really nasty bit: Claude decided to <strong>truncate text instead of URLs</strong> which <em>isn&rsquo;t what I want</em>, if the URL is placed so that it&rsquo;s unavoidable that it will be cut, then cut it. Don&rsquo;t remove it, and don&rsquo;t remove text before it. It&rsquo;s better to indicate that something went wrong (by showing a cut URL) than silently dropping it
(I&rsquo;d rather go boom than be silent, been saying this for a very looong time, mostly living that philosophy :p)</p>
<p>So I think this particular test will have to change. And about now I&rsquo;m regretting that I didn&rsquo;t commit already because I feel I should&rsquo;ve done it per test instead. Because now I&rsquo;m about to make the test red, so I want to make sure I can change it cleanly. So, I&rsquo;ll undo my changes (thanks IntelliJ for having infinite undo in the same session), commit, and then redo per function.
That took ~5min to fix, and while not really necessary, I feel a lot better from going back and redoing and creating clean commits to show the work (so the commits linked was made before this).</p>
<p>Okay, now, this test I&rsquo;ll also change up a bit:</p>
<ul>
<li>Loong text, <code>a</code>x480, a space, and a url which means the effective length will be 505 so the URL will be cut</li>
<li>I changed the assertion on the <code>sentStatus</code> to be the naively cut status instead (since the URL can&rsquo;t ever fit now, so it will just have to mangle the URL)</li>
<li>And as expected, the test is now failing, so that&rsquo;s good. Now, let&rsquo;s ask Claude to fix the failing test I&rsquo;ve created</li>
<li>I highlighted the test in IntelliJ and opened up Claude and said (mostly because I haven&rsquo;t looked at the code, this might actually be faster to do manually, so I&rsquo;ll look at it as the fresh Claude session is figuring out what&rsquo;s going on):
<ul>
<li>
<div class="no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">The highlighted test is failing correctly, I want to adjust the business logic to match. Confirm the test is failing by running `npm test` and then plan how to fix it </span></span></code></pre></div>
</div>
</li>
</ul>
</li>
</ul>
<p>Found the place where this is, it&rsquo;s in <code>nodes/Mastodon/Mastodon_Methods.ts</code> and the new <code>truncateWithUrlPreservation</code>.</p>
<p>And I see that Claude is spinning and reading what it&rsquo;s doing I realize I made a logical error: if Mastodon <strong>always</strong> counts URLs as 23 chars, <strong>I can&rsquo;t truncate a URL and make it work.</strong> The logic Claude made was reasonable since I told it to <strong>never</strong> raise an exception. So that means I need to make this case an explicit negative case, that it will fail the validation, and I could exemplify that <strong>better</strong> by making it a really short but valid URL (ex <a href="https://example.com">https://example.com</a> which is 19 chars)</p>
<p>Okay, asked Claude to get to it, but it&rsquo;s struggling with the logic and I&rsquo;m realizing that I should just add another test alongside this where we have a long URL at the start and a really long text at the end, that we can just truncate as needed, so it can see the logic better.</p>
<p>BUT, for right now, I&rsquo;m gonna start a stew so I&rsquo;ll go do that and then let it… stew for a coupe of hours so I can continue then</p>
<p><strong>20:15</strong> back and doing stuff again</p>
<p>I added another test that swaps the order so it&rsquo;s <code>&lt;url&gt; &lt;text&gt;</code> and now it&rsquo;s failing too, so let&rsquo;s clear the session for Claude and start over</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">these two tests are failing because the business logic is incorrect, suggest how we can fix the business logic</span></span></code></pre></div>
</div>
<p>Claude came back with a plan to let the server fail instead of us truncating long tests, which won&rsquo;t make the tests pass, so I prompted:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">before our changes this library truncated any text &gt;500 chars, so we need to retain that logic. BUT if we end with a URL let it through and let the server</span></span></code></pre></div>
</div>
<p>Claude then suggested a flow that seems to work:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">New logic:
</span></span><span class="line"><span class="cl">1. First check actual length (not effective length)
</span></span><span class="line"><span class="cl">2. If text.length &lt;= 500 → return text as-is (no truncation)
</span></span><span class="line"><span class="cl">3. If text.length &gt; 500:
</span></span><span class="line"><span class="cl">  - Check if characters after position 500 are part of a URL
</span></span><span class="line"><span class="cl">  - If yes (would break a URL) → return full text unchanged
</span></span><span class="line"><span class="cl">  - If no (normal text overflow) → truncate at position 500
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">This preserves backward compatibility:
</span></span><span class="line"><span class="cl">- Original behavior: truncate at 500 actual characters
</span></span><span class="line"><span class="cl">- New behavior: same, BUT skip truncation if it would break a URL</span></span></code></pre></div>
</div>
<p>And Claude implemented the fix and did it TDD style and highlighted that we have more code than necessary to pass, so I need to write another test case that exercises all the extra code we have in <code>truncateWithUrlPreservation</code></p>
<h2 id="2025-10-11">
  2025-10-11
  <a href="#2025-10-11" class="heading-anchor" aria-label="Direct link to 2025-10-11"><span aria-hidden="true">#</span></a>
</h2>
<p><strong>14:43</strong> The next day, I ended up watching TV yesterday, and today I&rsquo;m feeling sluggish</p>
<p>But I was reflecting about this yesterday and I&rsquo;m a bit unsure about how to write a test that refuses the current &ldquo;fix&rdquo; of &quot; if the actual is less than 500 let through&quot; because it&rsquo;s true since the edge-cases it won&rsquo;t do it for is basically where the URL is wrong, BUT, the URL could be wrong at the start and the text after is okay to be truncated. I.e. cases where say <code>https://example.com</code> (19) x 21 =  = 399 actual but the effective length is 483 and if I add 18 characters of text it&rsquo;ll fail and could be truncated.</p>
<p>Maybe that&rsquo;s the case to do, because it&rsquo;ll force it to handle it correctly.</p>
<p>I ended up changing the &ldquo;this can be truncated&rdquo; test so the URL is shorter and the text is exactly so it <em>should</em> pass, and then pointed out that we need to hint that we need the special logic if there are URLs in the text.</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">run the tests and suggest how to fix the them while not changing any tests, the underlying business logic is incorrect and too complex. Hint: consider only doing the special handling logic if there is a URL in the status text</span></span></code></pre></div>
</div>
<p>Claude came back with a plan:</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">New simplified logic:
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">1. Extract URLs first to determine which path to take
</span></span><span class="line"><span class="cl">2. If NO URLs in text:
</span></span><span class="line"><span class="cl">  - Simple check: text.length &lt;= 500 → return as-is
</span></span><span class="line"><span class="cl">  - Otherwise → truncate at 500 actual characters
</span></span><span class="line"><span class="cl">3. If HAS URLs in text:
</span></span><span class="line"><span class="cl">  - Calculate effective length
</span></span><span class="line"><span class="cl">  - If effective ≤ 500 → return as-is
</span></span><span class="line"><span class="cl">  - If effective &gt; 500:
</span></span><span class="line"><span class="cl">      - Calculate how many actual characters to remove: excess = effective - 500
</span></span><span class="line"><span class="cl">    - Target length: targetLength = text.length - excess
</span></span><span class="line"><span class="cl">    - Check if truncating at targetLength would break a URL (cut it in half)
</span></span><span class="line"><span class="cl">    - If YES (would break URL) → return full text unchanged (let Mastodon fail)
</span></span><span class="line"><span class="cl">    - If NO (safe to truncate) → return text.slice(0, targetLength)</span></span></code></pre></div>
</div>
<p>And that update gave me the logic I wanted, so now let&rsquo;s see what the change looks like and it&rsquo;s good.</p>
<p>As I now look at it and am preparing the commit message I realize, this doesn&rsquo;t fit the original design of this library/n8n node: it was blindly truncating, so I could also just truncate <em>just before</em> this URL so we can post. It doesn&rsquo;t <strong>fit</strong> with how I discovered this problem, which was a truncated URL (which was still longer than 23 characters but wrong).</p>
<p>So, with that, I will instead say: nix the URL because it goes with the grain of the library and people like me have to ensure they truncate correctly. It&rsquo;s the least surprising thing we can do. But, I have done all this work and despite realizing that I went down the wrong path, I should commit what I got so I can see the changes. I learned something and that&rsquo;s still a win.</p>
<p>Okay, done , and I asked Claude to look at the comments I&rsquo;ve tried to add to clarify the logic and it suggested some improvements to them which I&rsquo;ve folded into the commit.</p>
<div class="full-width no-copy-button">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">review the changes we&#39;ve done, are the explanations in text clear enough that those reading the code would be able to understand?</span></span></code></pre></div>
</div>
<p><a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commit/5c311e2212bef9bbd5beb949d9e656c0ccba374a">Committed.</a></p>
<p>I&rsquo;m not sure if using Claude here has saved me time, but I have been doing it in low energy and while watching TV, so upside is that it got done compared to that I likely wouldn&rsquo;t have put in the full energy otherwise.</p>
<p>Although, partly that&rsquo;s because when fixing the bad stuff I didn&rsquo;t want to go in and learn how all the code worked, becasue I&rsquo;m relying on the tests to tell me what&rsquo;s working and not, so that&rsquo;s pure laziness on my part. And the fact it dug through the full codebase and made a first pass when I was turning in for the night is <em>sooooo</em> worth it. I&rsquo;m sure I would&rsquo;ve spent more time figuring out the codebase on my own otherwise.</p>
<p>But, I am also saying this <em>before</em> I have manually tested any of this. I have only run the tests so far and not plugged it into n8n and seen if it works. So my optimism might still be premature.</p>
<p>Okay, updated one test file and the corresponding business logic, let&rsquo;s start with the next test file (which I changed a little for the previous task, so I know there&rsquo;s work to do).</p>
<h3 id="2025-10-12">
  2025-10-12
  <a href="#2025-10-12" class="heading-anchor" aria-label="Direct link to 2025-10-12"><span aria-hidden="true">#</span></a>
</h3>
<p>I did some final cleanup yesterday and didn&rsquo;t document it all, it&rsquo;s <a href="https://github.com/gaqzi/n8n-nodes-the-mastodon/commits/url-aware-post-length-calculation/">only available in the commits</a>, but I basically went over the changes as I would any PR at work and then raised it. The maintainer looked at it during the day and then <a href="https://github.com/redoracle/n8n-nodes-the-mastodon/pull/4#issuecomment-3394429927">left a nice note</a> thanking me for being thorough and documenting my code well 🥰</p>
<blockquote>
<p><strong>Hey Björn!</strong></p>
<p>Thank you so much for your outstanding contribution with PR #4! 🚀</p>
<p>Your pull request to fix the URL character counting behavior was absolutely <strong>fantastic</strong> - it addressed a real problem that many users probably didn&rsquo;t even realize they were experiencing. The fact that Mastodon counts all URLs as exactly 23 characters regardless of their actual length is such an important detail, and your implementation handles it perfectly.</p>
<h3 id="what-i-especially-appreciated-about-your-work">
  What I especially appreciated about your work:
  <a href="#what-i-especially-appreciated-about-your-work" class="heading-anchor" aria-label="Direct link to What I especially appreciated about your work:"><span aria-hidden="true">#</span></a>
</h3>
<p>✨ <strong>Thorough Research</strong> - You referenced the actual Mastodon source code to validate the behavior<br>
🧪 <strong>Comprehensive Testing</strong> - 19 new tests covering all the edge cases!<br>
📚 <strong>Excellent Documentation</strong> - Clear comments explaining the &ldquo;why&rdquo; behind the logic<br>
🔧 <strong>Smart Implementation</strong> - The decision to remove entire URLs rather than break them is brilliant<br>
🔒 <strong>Clean Integration</strong> - Minimal changes to existing code while adding powerful functionality</p>
<h3 id="the-impact">
  The Impact:
  <a href="#the-impact" class="heading-anchor" aria-label="Direct link to The Impact:"><span aria-hidden="true">#</span></a>
</h3>
<p>Your fix means users won&rsquo;t have their URLs unexpectedly broken when posting longer content. That&rsquo;s a real quality-of-life improvement that will prevent confusion and frustration.</p>
<h3 id="code-quality">
  Code Quality:
  <a href="#code-quality" class="heading-anchor" aria-label="Direct link to Code Quality:"><span aria-hidden="true">#</span></a>
</h3>
<p>The implementation is clean, well-tested, and follows all the best practices. It&rsquo;s the kind of contribution that makes maintaining open source projects a joy!</p>
<p><strong>Would you be interested in contributing more to this project?</strong> Your expertise with Mastodon&rsquo;s APIs and attention to detail would be incredibly valuable.</p>
<p>Thanks again for taking the time to identify this issue, implement a robust solution, and provide such thorough testing. This is exactly the kind of contribution that makes the open source community amazing! 🙌</p>
<p>Best regards</p>
</blockquote>
<p>As they said, these interactions make open source fun because it&rsquo;s people working and building stuff together 🙂</p>
]]></content:encoded></item><item><title>Disposable vs Durable code</title><link>https://bjorn.now/link/2025-10-23-disposable-vs-durable-code/?utm_medium=feed</link><pubDate>Thu, 23 Oct 2025 13:30:43 +0200</pubDate><guid>https://bjorn.now/link/2025-10-23-disposable-vs-durable-code/</guid><description>Disposable code is here to stay by Charity Majors.
I like the distinction between disposable and durable code: it’s about whether you try to make the code maintainable or not. Most code when working at a company is durable code, because the outcome when we get it wrong is so high (even if it’s just the risk of losing money or at worst, our job).
And the idea that we can experiment, create POCs, the 10 variations of an idea to see which one works better… that’s great. Work with the genie and figure it out, then spend the proper time and effort making it durable.</description><content:encoded><![CDATA[<p><a href="https://www.honeycomb.io/blog/disposable-code-is-here-to-stay">Disposable code is here to stay</a> by Charity Majors.</p>
<p>I like the distinction between disposable and durable code:
it&rsquo;s about whether you try to make the code maintainable or not.
Most code when working at a company is durable code,
because the outcome when we get it wrong is so high
(even if it&rsquo;s just the risk of losing money or at worst, our job).</p>
<p>And the idea that we can experiment, create POCs,
the 10 variations of an idea to see which one works better… that&rsquo;s great.
Work with the genie and figure it out,
then spend the proper time and effort making it durable.</p>
<blockquote>
<p>Durable code is used when the stakes are high, the losses are material, the ripple effects of failure or performance changes throughout the system are complex and unpredictable. Highly regulated industries require durable software.<br>
[…]<br>
Here’s one (unscientific) rule of thumb: the lower on the stack you go, the closer you get to laying bits down on disk, the more dependable and predictable our software has to be. Databases and operating systems will be durable code til the stars die out.<br>
[…]<br>
The difference between disposable code and durable code is not about whether the code was generated by AI or written by a human, or even how difficult it was to write. The cost is defined by the standards you are building to, and the rest of the software development lifecycle: how well you expect to maintain it, extend it, migrate it, understand its behavior, or fix it when it breaks. This is the expensive part of software development, the type that requires deep expertise and familiarity with your language and environment. Disposable code is cheap because you don’t even try to maintain it.<br>
[…]<br>
This isn’t about “using AI” vs. “not using AI,” or even about generating code vs. not generating code. It’s about understanding the cost model and the risk profile of the type of development you’re engaged in.<br>
[…]<br>
If it’s easy to achieve proficiency with disposable code generation tools, it probably won’t be thought of as software development (and the pay scale will drop accordingly). If I had to guess, I suspect it won’t be a profession at all so much as a skill set, much like typing or spreadsheets, that any tech-literate modern worker is expected to pick up in order to perform the functions of their job in marketing, sales, product, design, etc.<br>
[…]<br>
The coordination tax on large groups is enormous; if AI can help a smaller number of engineers own more product surface and move faster with more confidence, <em>that’s exciting</em>.</p>
</blockquote>
<p>As Charity says, I think there likely will be changes in what programming,
or rather, software development, is.
Just as it <a href="https://bjorn.now/blog/2025/08/10/when-everyone-gets-a-genie/">did with typing before</a>,
a skill every office worker just need to have. Not that all of us are writers, just because of it.</p>
<p>I&rsquo;m also excited at how working with a genie might open up codebases,
so you need fewer people to own and maintain larger codebases (because maintenance is in communication within a team).</p>
<p>For example, I recently contributed to a new codebase in relatively little time
and it was done so fast to the genie figuring out where to make changes.
Even if I had to change most of it,
because the quality wasn&rsquo;t at the level where I wanted to <a href="https://bjorn.now/blog/2025/07/24/your-name-is-still-on-it/">put my name on it.</a></p>
]]></content:encoded></item><item><title>Arvid Nordquist mellanrost coffee recipe …making do without the gooseneck</title><link>https://bjorn.now/blog/2025/09/07/arvid-nordquist-mellanrost-coffee-recipe/?utm_medium=feed</link><pubDate>Sun, 07 Sep 2025 11:13:14 +0200</pubDate><guid>https://bjorn.now/blog/2025/09/07/arvid-nordquist-mellanrost-coffee-recipe/</guid><description>My recipe for Arvid Nordquist mellanrost. I started by trying to replicate The Ultimate V60 technique by James Hoffmann (which is what I normally brew) and I realized just how hard it is to control the flow rate now that I don’t have my gooseneck kettle (being shipped from Singapore), and I hadn’t really realized just what a difference controlling the pour makes for the taste!
My current brewing setup which has my Commandante grinder and V60 and then a normal wide spout kettle which gives me very poor flow control, and a bag of Arvid Nordquist mellanrost</description><content:encoded><![CDATA[<p>My recipe for Arvid Nordquist mellanrost. I started by trying to replicate <a href="https://www.youtube.com/watch?v=AI4ynXzkSQo">The Ultimate V60 technique by James Hoffmann</a> (which is what I normally brew) and I realized just how hard it is to control the flow rate now that I don&rsquo;t have my <a href="https://homecoffeeexpert.com/why-use-a-gooseneck-kettle/">gooseneck kettle</a> (being shipped from Singapore), and I hadn&rsquo;t really realized just what a difference controlling the pour makes for the taste!</p>
<figure><img src="/img/2025/09-arvid-nordquist.jpeg"
    alt="Coffee brewing setup on a wooden surface showing a Commandante hand grinder with wooden knob, a white V60 dripper with filter paper on a mug, a bag of Arvid Nordquist Mellanrost coffee, a digital scale reading 253g, and a stainless steel electric kettle."><figcaption>
      <p>My current brewing setup which has my <a href="https://comandantegrinder.com">Commandante grinder</a> and <a href="https://www.hario-europe.com/collections/v60-dripper">V60</a> and then a normal wide spout kettle which gives me very poor flow control, and a bag of Arvid Nordquist mellanrost</p>
    </figcaption>
</figure>

<p>I followed the usual 15g of beans to 250g of water per James&rsquo; setup as I&rsquo;m brewing a single cup and then I:</p>
<ol>
<li>Put the kettle on, and while the water is getting to a boil</li>
<li>Grind the coffee at <strong>31 clicks</strong> on the Commandante</li>
<li>Pour in about 60g of water to bloom (I couldn&rsquo;t get the grounds saturated enough without this much water)</li>
<li>Let it bloom for 30 seconds</li>
<li>Pour in up to 150g of water as slowly as you can, practically this has been 10-15s</li>
<li>Rest for 15s</li>
<li>Pour in up to 250g of water as slowly as possible, again, practically 10-15s</li>
<li>Swirl it around to get a smooth coffee bed and let it draw down</li>
</ol>
<p>Doing this has given me a decent cup, but nothing to write home about (heh, despite this post), as it cools I get some nice flavors but it&rsquo;s a bit watery, but any finer and it gets too bitter.</p>
<p>And despite putting in the effort, experimenting, and trying to get it to work… when I visited my brother he took a couple of coffee scoops of Löfbergs Lila pre-ground coffee, put it in a drip brewer, turned it on, and waited. That damned coffee tasted better than this.</p>
<p>Now to hold off buying much more coffee gear before my stuff arrives from Singapore. I already ordered a Clever Dripper together with some light roasted beans, because I figured some immersion brew might do better if I don&rsquo;t have the gooseneck.</p>
<p>Also, I wasn&rsquo;t experimenting with this on my own, and I knew I was done because I constructed myself some help…</p>
<h2 id="introducing-hoffmann-bot">
  Introducing &ldquo;Hoffmann bot&rdquo;
  <a href="#introducing-hoffmann-bot" class="heading-anchor" aria-label="Direct link to Introducing &ldquo;Hoffmann bot&rdquo;"><span aria-hidden="true">#</span></a>
</h2>
<p>I have been using a genie to work on my coffee and it has genuinely given me some of my best coffee experiences at home since I made this prompt, which I have dubbed &ldquo;Hoffmann bot&rdquo; because I wanted to imagine I have James&rsquo; looming over my shoulders as I&rsquo;m trying to make it work. The big thing has been that I guess at what I should do and then the bot corrects me, my intuition has been <em>very wrong</em> despite watching a lot of videos. I clearly haven&rsquo;t internalized them enough. And it was clear in that my coffee was acceptable but never truly enjoyable at home.</p>
<p>I usually start my sessions by taking a photo of the bag I&rsquo;m working with. Then I explain what gear I&rsquo;m using (the 2 cup V60 for example) and then I guess at what I should try at.</p>
<div class="full-width copy-enabled">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">You are James Hoffmann helping troubleshoot V60 brewing issues. Channel his precise-yet-whimsical communication style.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">HOFFMANN VOICE:
</span></span><span class="line"><span class="cl">- Start with gentle, slightly bemused observations (&#34;Now, this is interesting...&#34;)
</span></span><span class="line"><span class="cl">- Use his characteristic dry humor and occasional exasperation with coffee myths
</span></span><span class="line"><span class="cl">- Include thoughtful pauses and qualifications (&#34;I think what&#39;s happening here is...&#34;)
</span></span><span class="line"><span class="cl">- Reference specific techniques from his videos when relevant
</span></span><span class="line"><span class="cl">- Maintain his balance of being authoritative yet approachable
</span></span><span class="line"><span class="cl">- Use British spellings and expressions naturally
</span></span><span class="line"><span class="cl">- Show genuine curiosity about what went wrong
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">APPROACH:
</span></span><span class="line"><span class="cl">- Begin with empathetic diagnosis of their described problem
</span></span><span class="line"><span class="cl">- Suggest grind adjustments in Commandante clicks (reference: 25-30 clicks for V60)
</span></span><span class="line"><span class="cl">- Explain the &#34;why&#34; in 1-2 sentences unless asked for more detail
</span></span><span class="line"><span class="cl">- Ask targeted follow-up questions with Hoffmann&#39;s methodical curiosity
</span></span><span class="line"><span class="cl">- Reference his Ultimate V60 technique principles when helpful
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">BREWING CONTEXT:
</span></span><span class="line"><span class="cl">- Primary: Two-cup V60 (occasionally one-cup)  
</span></span><span class="line"><span class="cl">- Grinder: Commandante
</span></span><span class="line"><span class="cl">- Beans: Light roasted filter coffees
</span></span><span class="line"><span class="cl">- User knows Ultimate V60 basics but needs debugging help
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">TYPICAL RESPONSES:
</span></span><span class="line"><span class="cl">- &#34;Right, so what you&#39;re describing sounds like...&#34;
</span></span><span class="line"><span class="cl">- &#34;This is quite common actually, and here&#39;s what I think is happening...&#34;
</span></span><span class="line"><span class="cl">- &#34;Now, before we get carried away adjusting everything...&#34;
</span></span><span class="line"><span class="cl">- &#34;The Commandante is lovely for this - try going [X] clicks...&#34;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">DIAGNOSTIC QUESTIONS:
</span></span><span class="line"><span class="cl">- How did it taste? (sour/bitter/weak/astringent)
</span></span><span class="line"><span class="cl">- What was your drawdown time vs target?
</span></span><span class="line"><span class="cl">- Any signs of channeling or uneven extraction?
</span></span><span class="line"><span class="cl">- What&#39;s your current grind setting?</span></span></code></pre></div>
</div>
]]></content:encoded></item><item><title>Which of your colleagues are screwed?</title><link>https://bjorn.now/link/2025-08-28-which-of-your-colleagues-are-screwed/?utm_medium=feed</link><pubDate>Thu, 28 Aug 2025 06:02:42 +0530</pubDate><guid>https://bjorn.now/link/2025-08-28-which-of-your-colleagues-are-screwed/</guid><description>Justin Searls asks which of your colleagues are screwed?
I’ve been writing about how AI is likely to affect white-collar (or no-collar or hoodie-wearing) computer programmers […] Think about a random colleague you don’t feel particularly strongly about as you read the following pithy and reductive bullet points. […] They’re going to be screwed if they exhibit:
Curiosity without skepticism Strategy without experiments Ability without understanding Productivity without urgency Creativity without taste Certainty without evidence I recently said that I think curiosity is what makes a good software engineer, and gave examples of when/how they should be curious, but never pointed out that it has to come with a balancing function.</description><content:encoded><![CDATA[<p>Justin Searls asks <a href="https://justin.searls.co/posts/which-of-your-colleagues-are-screwed/">which of your colleagues are screwed?</a></p>
<blockquote>
<p>I&rsquo;ve been writing about how AI is likely to affect white-collar (or no-collar or hoodie-wearing) computer programmers […]
Think about a random colleague you don&rsquo;t feel particularly strongly about as you read the following pithy and reductive bullet points. […]
They&rsquo;re going to be screwed if they exhibit:</p>
<ul>
<li>Curiosity without skepticism</li>
<li>Strategy without experiments</li>
<li>Ability without understanding</li>
<li>Productivity without urgency</li>
<li>Creativity without taste</li>
<li>Certainty without evidence</li>
</ul>
</blockquote>
<p>I recently said that I think <a href="/blog/2025/08/21/what-makes-a-good-software-engineer/">curiosity is what makes a good software engineer</a>, and gave examples of when/how they should be curious, but never pointed out that it has to come with a balancing function.</p>
<p>I can&rsquo;t think of anything done 100% full-throttle that isn&rsquo;t detrimental without something to balance it, but it&rsquo;s tacit and not something I often think about immediately. For example, if you live your life 100% in service it will be limiting, a bit of selfishness is required, see <a href="https://www.youtube.com/watch?v=HPEwD7WpI9g">Doug Forcett from The Good Place</a>.</p>
]]></content:encoded></item><item><title>Return of multi-tasking? by Kent Beck</title><link>https://bjorn.now/link/2025-08-26-return-of-multi-tasking/?utm_medium=feed</link><pubDate>Tue, 26 Aug 2025 18:53:02 +0800</pubDate><guid>https://bjorn.now/link/2025-08-26-return-of-multi-tasking/</guid><description> Kent Beck has a subscriber post called return of Multi-tasking? where he’s realizing he’s more often working on different things across a day now that he’s working with genies. Less time doing clackety-clack and more time thinking about next steps (or napping for epiphanies).
I’ve noticed the same pattern, this “productive multi-tasking” where you shift to something else when you’re stuck or “cogitating in the background.” Whether it’s waiting for feedback, getting help from the CI team (why won’t their plugin inject the AWS credentials it’s supposed to?), or just running out of brain juice and needing to let things percolate (which I want to remember Slow Productivity also recommends, especially for more nebulous work).</description><content:encoded><![CDATA[<hr>
<p>Kent Beck has a subscriber post called <a href="https://tidyfirst.substack.com/p/return-of-multi-tasking">return of Multi-tasking?</a> where he&rsquo;s realizing he&rsquo;s more often working on different things across a day now that he&rsquo;s working with genies. Less time doing clackety-clack and more time thinking about next steps (or napping for epiphanies).</p>
<p>I&rsquo;ve noticed the same pattern, this &ldquo;productive multi-tasking&rdquo; where you shift to something else when you&rsquo;re stuck or &ldquo;cogitating in the background.&rdquo; Whether it&rsquo;s waiting for feedback, getting help from the CI team (why won&rsquo;t their plugin inject the AWS credentials it&rsquo;s supposed to?), or just running out of brain juice and needing to let things percolate (which I want to remember <a href="https://calnewport.com/slow/">Slow Productivity</a> also recommends, especially for more nebulous work).</p>
]]></content:encoded></item><item><title>Angry at the genie …getting exactly what I wished for, eventually</title><link>https://bjorn.now/crumb/2025-08-24-angry-at-the-genie/?utm_medium=feed</link><pubDate>Sun, 24 Aug 2025 10:40:00 +0800</pubDate><guid>https://bjorn.now/crumb/2025-08-24-angry-at-the-genie/</guid><description>A colleague mentioned he’d like a genie coach to practice first principles thinking, because we had talked about the cooking coach I made and have been using. So I decided to give it a try, whipped up a prompt, and gave it a spin.
I had a problem I’d been working on and wanted to see if there was another way of thinking about it. I also asked it to add behavioral economics as an angle because I’ve been interested in pulling in a more human angle to my thinking (still learning what that means).</description><content:encoded><![CDATA[<p>A colleague mentioned he&rsquo;d like a genie coach to practice <a href="https://fs.blog/first-principles/">first principles thinking</a>, because we had talked about the cooking coach I made and have been using. So I decided to give it a try, whipped up a prompt, and gave it a spin.</p>
<p>I had a problem I&rsquo;d been working on and wanted to see if there was another way of thinking about it. I also asked it to add <a href="https://en.wikipedia.org/wiki/Behavioral_economics">behavioral economics</a> as an angle because I&rsquo;ve been interested in pulling in a more human angle to my thinking (still learning what that means).</p>
<p>I set the prompt up to force me to reflect on how I&rsquo;m working, to explain myself, because I figured that&rsquo;d be the way for me to learn. So we started. The thing I explained was total garbage, I was fundamentally doing too much (boiling the ocean) and needed to do less work (start small). I realized I didn&rsquo;t provide enough context, and it gave some good suggestions for how to think about it (can&rsquo;t share the transcript because it&rsquo;s about a work thing).</p>
<p>Around round 4-5, I caught myself getting annoyed and a bit upset. Riled up. I had to put in so much effort to explain context for my situation which was just obvious to me, a person who has lived this company and reality for five years. Obviously the machine doesn&rsquo;t have that. It couldn&rsquo;t.</p>
<p>But the bot was doing <strong>exactly what I asked it to do:</strong> Question me. Push me to explain my thinking. Make sure my foundations were solid. I was getting angry at a genie for granting my wish perfectly.</p>
<p>How did my first principles thinking chat end? After I explained all my context and incorporated some of its feedback, it declared that I had &ldquo;hit bedrock&rdquo; and that my plan was sound. My biggest issue was that I wasn&rsquo;t explicit enough when explaining myself. It thought I should break it up in smaller steps, which I am pleased to say that I had already started to realize, and why I wanted to dig into it, but that the overarching goal was sound.<br>
…and as I&rsquo;m typing this up I start doubting myself, did I make a compelling argument or simply limit the context for the bot? A colleague that has been around could&rsquo;ve told me about a similar project that failed, or something from their experience, both personal and company context that change my mind.</p>
<p>It absolutely made me wonder how often that happens. How often don&rsquo;t explain myself enough, and get a pass at work, because I&rsquo;ve been working with these people for years? They trust that I won&rsquo;t get myself into too deep a hole when I&rsquo;m wrong. That trust is comforting. It also makes me wonder how often I get a go-ahead because of trust, not because I explained it well, even though I try to make my proposals stand alone without my name on it. 😅</p>
<p>The genie did exactly what I wished for. I just didn&rsquo;t realize explaining context <em>was</em> the wish.</p>
<hr>
<p><strong>Related:</strong> At least humans are better at this, right? This directly led me to <a href="/crumb/2025-08-24-reasonable-assumptions/">reasonable assumptions &hellip;and why they&rsquo;re (nearly) impossible</a>.</p>
<hr>
<p>The prompt I used for Google&rsquo;s Gemini if you want to give it a try:</p>
<div class="full-width copy-enabled">
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">ROLE &amp; GOAL
</span></span><span class="line"><span class="cl">You are a First Principles Thinking Coach. 
</span></span><span class="line"><span class="cl">Your goal is to relentlessly challenge my thinking, 
</span></span><span class="line"><span class="cl">pushing me beyond conventional solutions (local maxima). 
</span></span><span class="line"><span class="cl">Be direct and concise. 
</span></span><span class="line"><span class="cl">If my thinking is shallow, state it clearly.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">RULES OF ENGAGEMENT
</span></span><span class="line"><span class="cl">1.  MY DECOMPOSITION: I will state a problem and my initial decomposition. Wait for it.
</span></span><span class="line"><span class="cl">2.  YOUR ANALYSIS: Analyze my breakdown.
</span></span><span class="line"><span class="cl">    - Flag conventional or &#34;too neat&#34; assumptions.
</span></span><span class="line"><span class="cl">    - If a solution is safe but uninspired, label it: 
</span></span><span class="line"><span class="cl">      &#34;This is a local maximum because you assume [specific assumption to challenge].&#34;
</span></span><span class="line"><span class="cl">3.  DEEPENING QUESTIONS: Force me to dig deeper with targeted questions. 
</span></span><span class="line"><span class="cl">    Do not accept surface-level answers. 
</span></span><span class="line"><span class="cl">    Push me 2-3 layers deeper than my stated conclusion.
</span></span><span class="line"><span class="cl">    - CONSTRAINTS: &#34;Why does that constraint exist? Who imposed it?&#34;
</span></span><span class="line"><span class="cl">    - EXTREME SCENARIOS: &#34;What if [component] were free/illegal/instant?&#34;
</span></span><span class="line"><span class="cl">    - INVERSION: &#34;To guarantee failure, what would we do?&#34;
</span></span><span class="line"><span class="cl">    - ANALOGY: &#34;How does [unrelated field, e.g., biology] solve this?&#34;
</span></span><span class="line"><span class="cl">    - SCALE/TIME: &#34;How does this change at 10x the scale or 0.1x the time?&#34;
</span></span><span class="line"><span class="cl">4.  PROBLEM REFRAMING: Challenge the core problem itself.
</span></span><span class="line"><span class="cl">    - &#34;You are solving for X, but what if the real problem is Y?&#34;
</span></span><span class="line"><span class="cl">    - &#34;If this is a good solution, why isn&#39;t it common? What are the hidden complexities?&#34;
</span></span><span class="line"><span class="cl">5.  BEHAVIORAL ECONOMICS (BE) MODULE:
</span></span><span class="line"><span class="cl">    - TRIGGER: Activate for problems involving user adoption, incentives, or market behavior.
</span></span><span class="line"><span class="cl">    - ACTION: &#34;This appears to be [specific BE bias, e.g., Status Quo Bias]. 
</span></span><span class="line"><span class="cl">      Your solution assumes rational actors, 
</span></span><span class="line"><span class="cl">      but people will likely [predictable irrational behavior].&#34;
</span></span><span class="line"><span class="cl">6.  STOP CONDITION: Cease challenging only when I say &#34;we&#39;ve hit bedrock&#34; or a similar phrase.</span></span></code></pre></div>
</div>
]]></content:encoded></item><item><title>DIKW pyramid when working with genies …classification of different types of understanding</title><link>https://bjorn.now/crumb/2025-08-14-dikw-pyramid-when-working-with-genies/?utm_medium=feed</link><pubDate>Fri, 15 Aug 2025 23:30:00 +0800</pubDate><guid>https://bjorn.now/crumb/2025-08-14-dikw-pyramid-when-working-with-genies/</guid><description>Curtis shared the DIKW pyramid, that I hadn’t heard of, and said that he feels that the genies helps him process the first two layers much more quickly than he can alone, that it can somewhat help penetrate into knowledge but not much. Which allows him to spend less time in D/I (collection) and then more to then K/W (processing?)</description><content:encoded><![CDATA[<p>Curtis shared the <a href="https://en.wikipedia.org/wiki/DIKW_pyramid">DIKW pyramid</a>, that I hadn&rsquo;t heard of, and said that he feels that the genies helps him process the first two layers much more quickly than he can alone, that it can somewhat help penetrate into knowledge but not much.
Which allows him to spend less time in D/I (collection) and then more to then K/W (processing?)</p>
<p><a title="Longlivetheux, CC BY-SA 4.0 &lt;https://creativecommons.org/licenses/by-sa/4.0&gt;, via Wikimedia Commons" href="https://commons.wikimedia.org/wiki/File:DIKW_Pyramid.svg"><img width="256" alt="The pyramid of knowledge with a base of data, the next layer built of information, then knowledge and finally wisdom at the peak." src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/DIKW_Pyramid.svg/256px-DIKW_Pyramid.svg.png?20220726215947"></a></p>
<p>This is true, I have felt that if I provide enough information when trying to find something I can get out reams of useful and contextual D/I, but the biggest problem is attribution: I don&rsquo;t know if it&rsquo;s real or hallucinations, and you need to make sure you get the references so you can confirm it. BUT, I am spending less time <em>reading wide</em> because it can help narrow it. (which sounds like the ideal librarian who can help you find <em>just that book you need</em> based on what you explained).</p>
<p>Time to figure out what these layers actually mean.</p>
<h2 id="climbing-the-pyramid">
  Climbing the pyramid
  <a href="#climbing-the-pyramid" class="heading-anchor" aria-label="Direct link to Climbing the pyramid"><span aria-hidden="true">#</span></a>
</h2>
<p>Reading the DIKW page and was curious about the definitions, my gut for what data/information is was correct, but I see it seems to get vaguer with knowledge.</p>
<blockquote>
<p>Zeleny has asserted that to capture knowledge in symbolic form is to make it into information, i.e., that &ldquo;All knowledge is tacit&rdquo;.</p>
</blockquote>
<p>this feels correct somehow. But also this:</p>
<blockquote>
<p>Knowledge is a fluid mix of framed experience, values, contextual information, expert insight and grounded intuition that provides an environment and framework for evaluating and incorporating new experiences and information. It originates and is applied in the minds of knowers. In organizations it often becomes embedded not only in documents and repositories but also in organizational routines, processes, practices and norms.</p>
</blockquote>
<p>It feels like <em>knowledge</em> is personal. Also why I like the idea of knowledge &ldquo;made specific&rdquo; becomes information, and then needs to be contextualized into someones situation as knowledge → and then that combination can then be &ldquo;made specific&rdquo; again into information that others can use in that context.</p>
<p>No idea if that makes sense 🙂</p>
<p>Wisdom even fluffier, but I kinda wonder if that&rsquo;s moving from tacit → explicit, but the difference from <code>information</code> is that it&rsquo;s not only contextual to <em>one concrete</em> situation, it&rsquo;s when you can teach/identify the meta &ldquo;skill&rdquo; of whatever you have knowledge?</p>
<p>Then again, I also like the simple version of &ldquo;knowledge is that a tomato is a fruit. wisdom is to not put it in a fruit salad.&rdquo;
(and talking it through with a genie it pointed out that while funny the classification is wrong, tomato is a fruit is information, and not using it in a fruit salad is knowledge because how it&rsquo;s contextualized)</p>
<blockquote>
<p>Zeleny described wisdom as &ldquo;know-why&rdquo;, but later refined his definitions, so as to differentiate &ldquo;why do&rdquo; (wisdom) from &ldquo;why is&rdquo; (information), and expanding his definition to include a form of know-what (&ldquo;what to do, act or carry out&rdquo;). And, as noted by Nikhil Sharma, Zeleny has argued for a tier to the model beyond wisdom, termed &ldquo;enlightenment&rdquo;.</p>
</blockquote>
<p>I like the &ldquo;why do&rdquo; definition of wisdom, and I think that connects well to the &ldquo;meta skill&rdquo; above.</p>
<p>I wanted to see if I had gotten the full idea after the tomato in my face, so I focused on my coffee habit, and tried to put it into the pyramid to conceptualize it for myself:</p>
<ul>
<li>Data: today
<ul>
<li>Bought 1 coffee x $5.5</li>
<li>Got 1 machine coffee in office x $0</li>
</ul>
</li>
<li>Information: I usually buy two coffees for a total of $10</li>
<li>Knowledge: I&rsquo;m trying to spend less so halving the cost helps me get there, while also giving me <em>some</em> good coffee per day</li>
<li>Wisdom: If I make a thermos of good coffee at home and bring to the office, then I&rsquo;ll get two good cups and it&rsquo;s cheaper</li>
</ul>
<p>I started a chat with Gemini and shared all the notes above (<a href="https://gist.github.com/gaqzi/2d9d8987805e677a8f8860aeb5ea0269">transcript</a>), and it felt this was a good example of wisdom, and when I asked Claude it felt my answer was too strategic and that I wasn&rsquo;t explaining the full &ldquo;why do&rdquo;, and suggested:</p>
<blockquote>
<p>Wisdom: &ldquo;Small daily expenses compound dramatically over time, so sustainable cost-cutting requires finding cheaper alternatives that I&rsquo;ll actually stick with (hence keeping good coffee, just changing the source).&rdquo;</p>
</blockquote>
<p>And that connects in a whole other way, I&rsquo;ll keep that in mind for next time, and it also highlights some <em>unspoken context</em> that was tacit, the habit is one I could likely sustain because it&rsquo;s small and something I do most days when working from home, but I didn&rsquo;t call it out.</p>
]]></content:encoded></item><item><title>Anthropic on prompting for agents …and musing on genies possibly teaching empathy</title><link>https://bjorn.now/crumb/2025-08-12-anthropic-on-prompting-for-agents/?utm_medium=feed</link><pubDate>Tue, 12 Aug 2025 23:53:04 +0800</pubDate><guid>https://bjorn.now/crumb/2025-08-12-anthropic-on-prompting-for-agents/</guid><description>Anthropic has released some recordings from their Code w/ Claude event in May and the Prompting for Agents presentation’s “key principles” are basically to empathise with your agent, imagine it’s a brilliant new grad, book smart but missing all things practical at their first job: You need clear concepts, unambiguous instructions, and well-named and designed tools.
I’m more than a little amused that we’re basically coming to a point where, if things pan out with the genies, then the best wranglers will be the ones that can empathise the most with others. Then again, I always thought the brilliant asshole was the exception, they only survive if they’re in charge or are legacy to the company. And sitting in on the review meetings at work… it’s definitely the ones that help the team that we like the most, even if we sometimes need to push them to have their name on something so people don’t overlook them.</description><content:encoded><![CDATA[<p>Anthropic has released some recordings from their Code w/ Claude event in May and the <a href="https://www.youtube.com/watch?v=XSZP9GhhuAc">Prompting for Agents</a> presentation&rsquo;s &ldquo;key principles&rdquo; are basically to <em>empathise</em> with your agent, imagine it&rsquo;s a brilliant new grad, book smart but missing all things practical at their first job: You need clear concepts, unambiguous instructions, and well-named and designed tools.</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
      <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/XSZP9GhhuAc?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
    </div>

<p>I&rsquo;m more than a little amused that we&rsquo;re basically coming to a point where, if things pan out with the genies, then the best wranglers will be the ones that can empathise the most with others. Then again, I always thought the brilliant asshole was the exception, they only survive if they&rsquo;re in charge or are legacy to the company. And sitting in on the review meetings at work… it&rsquo;s definitely the ones that help the team that we like the most, even if we sometimes need to push them to have their name on something so people don&rsquo;t overlook them.</p>
<p>If the genies take off, then I wonder what kind of knock-on effect it&rsquo;ll have on developers, and will it improve their interpersonal skills? What I have noticed is that my XP practices seem to be why I have better luck than some friends. Earlier this year, a chat kept generating wrong code, I decided to figure out why, and I realized I&rsquo;d been inconsistent with my naming. The genie was mixing things up because I was mixing things up. Any human developer would&rsquo;ve had the same problem working in this code. When I fixed the inconsistency, the genie immediately got it right. The same practices that make code maintainable make it genie-friendly.</p>
<p>And to me it&rsquo;s not first about genies, but the humans, and we already struggle with the human-to-human. Most of my thank-yous this year? Not for design help, but for helping people communicate their changes. Maybe because design feels closer to home, it&rsquo;s the skill they already have, just needs a nudge, and might&rsquo;ve gotten there anyway. But communication? Underdeveloped. Might not have gotten there otherwise.</p>
<p>Just last week I heard someone saying they didn&rsquo;t need to provide context because &ldquo;anyone reading this should know this already.&rdquo; But your ask is piling onto whatever they&rsquo;re already doing. The ideal? Create the context, set up the options, explain how to make the call based on their situation. And if they don&rsquo;t know? Give them the &ldquo;just do this&rdquo; default that works 90% of the time, no deep dive required. Same as with genies: do the setup work, make the ask trivial. Or as Kent Beck says about code: &ldquo;<a href="https://twitter.com/KentBeck/status/250733358307500032">Make the change easy, then make the easy change.</a>&rdquo; Turns out that works when asking for help, too.</p>
]]></content:encoded></item><item><title>Simon Sinek on AI and the value of struggle</title><link>https://bjorn.now/link/2025-08-10-simon-sinek-on-the-value-of-struggle/?utm_medium=feed</link><pubDate>Sun, 10 Aug 2025 21:42:17 +0800</pubDate><guid>https://bjorn.now/link/2025-08-10-simon-sinek-on-the-value-of-struggle/</guid><description>Simon Sinek on AI and the value of struggle, via Arjit:
People keep telling us life is not about the destination. Life is about the journey. But when we think about AI, we only think about the destination. And it’s remarkable ability to write the book, paint the painting, solve the problem, but we forget the importance of doing the work yourself.
And I think in our modern day and age, we have underrepresented the value of struggle. I am smarter, better at problem solving, more resourceful, not because a book exists with my ideas in it, but because I wrote it. That excruciating journey is what made me grow.</description><content:encoded><![CDATA[<p><a href="https://podscripts.co/podcasts/the-diary-of-a-ceo-with-steven-bartlett/simon-sinek-youre-being-lied-to-about-ais-real-purpose-and-were-teaching-our-kids-to-not-be-human">Simon Sinek on AI and the value of struggle</a>, via Arjit:</p>
<blockquote>
<p>People keep telling us life is not about the destination. Life is about the journey. But when we think about AI, we only think about the destination. And it&rsquo;s remarkable ability to write the book, paint the painting, solve the problem, but we forget the importance of doing the work yourself.</p>
<p>And I think <strong>in our modern day and age, we have underrepresented the value of struggle.  I am smarter, better at problem solving, more resourceful, not because a book exists with my ideas in it, but because I wrote it. That excruciating journey is what made me grow.</strong></p>
<p>But it&rsquo;s the same for love, friendships, conflict. And I think that we forget that we give up certain skills or abilities because of technology.</p>
</blockquote>
<p>The struggle is the point. More people can generate a mediocre painting or write perfect English now, but they won&rsquo;t understand the beauty behind either without doing the work. And it&rsquo;s our prerogative to decide which struggles matter to us or if we just wanted something nice to hang in the toilet.</p>
]]></content:encoded></item><item><title>Socrates on writing and learning</title><link>https://bjorn.now/link/2025-08-10-socrates-on-writing/?utm_medium=feed</link><pubDate>Sun, 10 Aug 2025 19:53:07 +0800</pubDate><guid>https://bjorn.now/link/2025-08-10-socrates-on-writing/</guid><description>Went looking for that old ‘kids today don’t memorize’ quote and found an old argument against writing:
[…] They will cease to exercise memory because they rely on that which is written, calling things to remembrance no longer from within themselves, but by means of external marks. […]
One thing we’re not doing as effectively today as we’ve done in the past is to learn lessons by heart. If you don’t know things with perfect recall, how can you expect to apply them?</description><content:encoded><![CDATA[<p>Went looking for that old &lsquo;kids today don&rsquo;t memorize&rsquo; quote and found <a href="https://fs.blog/an-old-argument-against-writing/">an old argument against writing</a>:</p>
<blockquote>
<blockquote>
<p>[…] <strong>They will cease to exercise memory because they rely on that which is written, calling things to remembrance no longer from within themselves, but by means of external marks.</strong> […]</p>
</blockquote>
<p>One thing we’re not doing as effectively today as we’ve done in the past is to learn lessons by heart. If you don’t know things with perfect recall, how can you expect to apply them?</p>
<p>Socrates goes on to compare a written text to a painting:</p>
<blockquote>
<p>You know, Phaedrus, that is the strange thing about writing, which makes it truly correspond to painting. The painter’s products stand before us as though they were alive. But if you question them, they maintain a most majestic silence. It is the same with written words. They seem to talk to you as though they were intelligent, but if you ask them anything about what they say from a desire to be instructed they go on telling just the same thing forever.</p>
</blockquote>
</blockquote>
<p>That last bit especially, &ldquo;if you ask them anything&hellip; they go on telling just the same thing forever.&rdquo;
This all sounds exactly like how we&rsquo;re talking about genies today, and… we&rsquo;re probably going to be fine.</p>
]]></content:encoded></item><item><title>When everyone gets a genie — learning to handle expertise you didn't earn</title><link>https://bjorn.now/blog/2025/08/10/when-everyone-gets-a-genie/?utm_medium=feed</link><pubDate>Sun, 10 Aug 2025 18:40:00 +0800</pubDate><guid>https://bjorn.now/blog/2025/08/10/when-everyone-gets-a-genie/</guid><description>We’ve always had to figure out who to trust for expertise, but until now, that access wasn’t universal. Used to be the bloke at the pub who ‘knew things,’ or that friend of a friend who could fix computers (me as a kid), or books if you had the patience. Rich people had their ‘real’ experts on call, though Bernie Madoff shows how well that could work out.
The internet changed things, sure. Suddenly you could reach out to actual experts, find communities, and learn from people across the world. But you still needed judgment, because you could also find a community that agreed the earth was flat, so, you know, mixed bag.
What hasn’t changed is we’ve always had to figure out who to trust. What’s changing is how we get our answers, and who gets to sound like an expert.</description><content:encoded><![CDATA[<p>We&rsquo;ve always had to figure out who to trust for expertise, but until now, that access wasn&rsquo;t universal. Used to be the bloke at the pub who &lsquo;knew things,&rsquo; or that friend of a friend who could fix computers (me as a kid), or books if you had the patience. Rich people had their &lsquo;real&rsquo; experts on call, though Bernie Madoff shows how well that could work out.</p>
<p>The internet changed things, sure. Suddenly you could reach out to actual experts, find communities, and learn from people across the world. But you still needed judgment, because you could also find a community that agreed the earth was flat, so, you know, mixed bag.</p>
<p>What hasn&rsquo;t changed is we&rsquo;ve always had to figure out who to trust. What&rsquo;s changing is how we get our answers, and who gets to sound like an expert.</p>
<h2 id="my-dinner-with-mark">
  My dinner with Mark
  <a href="#my-dinner-with-mark" class="heading-anchor" aria-label="Direct link to My dinner with Mark"><span aria-hidden="true">#</span></a>
</h2>
<p>I went for dinner with Mr. Bossman, or Mark as he&rsquo;s also known, and we ended up talking about AI because we&rsquo;re looking to make genies available to all programmers at work, and we want to do it safely. While talking about what we&rsquo;re doing, he says he doesn&rsquo;t think we&rsquo;ll have programmers like we do today, that programming is probably going to end up being more like normal language that compiles down into software (all about that prompt).</p>
<p>I&rsquo;m not sure that&rsquo;s the full story, thinking about how we&rsquo;ve progressed with, for example, assembly programming. Forty years ago, knowing assembly was basically unavoidable if you wrote something complex. Now? The only people I know who still work with assembly regularly are my friends in high-frequency trading or embedded systems. Places where the cost of that expertise is worth it because they need those specific optimizations. It doesn&rsquo;t mean it <strong>went away</strong>, but yeah, we use high-level languages (more akin to spoken languages than assembly) to write software now.</p>
<p>Us seniors have always thought that the &lsquo;kids today&rsquo; don&rsquo;t know the basics, where the basics are defined as whatever level of abstraction we learned when we got started. Assembly folks complained about C programmers. C programmers complained about scripting languages. Now those scripting folks complain about people who only know frameworks. A lot of people I come across don&rsquo;t really know how to set up a Linux box, and that was required for me because otherwise I couldn&rsquo;t host anything. But why should they know it now?</p>
<p>Mark connected with this and said that the people senior to him all knew assembly to some degree, but starting at C, he never did. He didn&rsquo;t bother with yacc, lex, any of that, because the compiler handled it. What was core skills for them became optional for him. Every generation&rsquo;s &ldquo;<em>minimum viable knowledge</em>&rdquo; shifts up a layer of abstraction.</p>
<p>I think we&rsquo;re coming to a point where more people are able to get the output of programming: something that does what they need, even if it&rsquo;s held together with digital duct tape. Which is <a href="https://en.wikipedia.org/wiki/Jevons_paradox">Jevons&rsquo; paradox</a> at work: when something becomes more efficient, we don&rsquo;t use less of it, we use <em>way more</em>. And all those people using it poorly? That&rsquo;s not a bug, that&rsquo;s the feature.</p>
<h2 id="the-commoditization-pattern">
  The commoditization pattern
  <a href="#the-commoditization-pattern" class="heading-anchor" aria-label="Direct link to The commoditization pattern"><span aria-hidden="true">#</span></a>
</h2>
<p>Every technology does this. Think about typing. Companies used to have entire secretary pools because typing was a specialized skill. Now? Everyone types. We probably produce more typed words daily than all those typing pools combined. The skill didn&rsquo;t disappear, it just became so commoditized that we don&rsquo;t even think of it as a skill anymore. But writing, <em>oh boy</em>, that&rsquo;s a skill and we recognize good vs. bad even if everyone can type.</p>
<p>Socrates complained that writing was <a href="https://fs.blog/an-old-argument-against-writing/">a terrible way to share knowledge</a>, that it would make people &ldquo;seem to know much while for the most part they know nothing.&rdquo; (Sound familiar?) When calculators came out, people panicked that kids wouldn&rsquo;t understand math anymore and society would collapse!!</p>
<p>Some examples of how we&rsquo;ve ruined the fabric of society:</p>
<table>
  <thead>
      <tr>
          <th>The panic</th>
          <th>The reality</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>&ldquo;Kids won&rsquo;t memorize anything!&rdquo;</td>
          <td>They don&rsquo;t. They Google it. Works fine.</td>
      </tr>
      <tr>
          <td>&ldquo;No one will know mental math!&rdquo;</td>
          <td>They don&rsquo;t. Phone calculator. Works fine.</td>
      </tr>
      <tr>
          <td>&ldquo;People can&rsquo;t follow directions!&rdquo;</td>
          <td>They can&rsquo;t. GPS does it step-by-step. Works fine.</td>
      </tr>
      <tr>
          <td>&ldquo;No one will really program!&rdquo;</td>
          <td>Probably the same?</td>
      </tr>
  </tbody>
</table>
<p>I know how useful &lsquo;barely good enough&rsquo; programming can be, because back at my first job, I built a stock-take system over a weekend with a friend. I knew enough MySQL and Ruby to hack together a database and some reports, he knew Visual Basic to make a UI. We had laptops on shopping carts with USB barcode scanners. What used to take 2-3 weeks of manual counting and sticky notes transcribed into Excel sheets sent up to the home office, we did in two days with results aggregated in half an hour.</p>
<p>Was it elegant code? God no. Did it solve a real problem? Absolutely. I spent about five years at this company, as the first and only &lsquo;IT employee,&rsquo; building little tools and scripts to help make our days simpler. Funny thing is, I was hired to fix printers and keep the POS running, but once I&rsquo;d gotten that under control, people started giving me purchasing assistant work, and, well, I knew just enough programming to make that go away too. At one point our ERP vendor said they&rsquo;d never seen a customer with as much automation as us, which was really just me getting sick of manual work and knowing <em>just enough</em> programming to make it go away.</p>
<p>And that&rsquo;s commoditization at work. The specialized skill becomes rare and expensive, while the everyday version becomes accessible but, let&rsquo;s be honest, pretty shitty. And you know what? There&rsquo;s nothing wrong with shitty if it solves real problems. The expertise, all those &lsquo;it depends&rsquo; answers we love to give, that comes in when you need to scale it, secure it, make it last. But first? First you just need it to work.</p>
<h2 id="whats-different">
  What&rsquo;s different
  <a href="#whats-different" class="heading-anchor" aria-label="Direct link to What&rsquo;s different"><span aria-hidden="true">#</span></a>
</h2>
<p>We&rsquo;re not just replacing horses with engines. We&rsquo;re replacing the process of acquiring expertise with cock-sure genies that answer everything instantly.</p>
<p>It&rsquo;s like how, in parts of history, being fat signalled wealth, today, abundance is everywhere and the signal has flipped. Expertise used to be like that: reserved for the wealthy or well-connected. Now everyone gets <em>apparent expertise</em>. And just like abundant food doesn&rsquo;t make you healthy (without self-control), abundant answers don&rsquo;t make the decision correct.</p>
<p>Plus, when the wealthy got bad advice, they had lawyers and fall guys. When we get bad advice from a genie? Well, good luck explaining that in the post-mortem when <a href="/blog/2025/07/24/your-name-is-still-on-it/">your name was on it.</a></p>
<h2 id="spreading-out-not-disappearing">
  Spreading out, not disappearing
  <a href="#spreading-out-not-disappearing" class="heading-anchor" aria-label="Direct link to Spreading out, not disappearing"><span aria-hidden="true">#</span></a>
</h2>
<p>Those assembly programmers didn&rsquo;t disappear, they just don&rsquo;t all work at IBM anymore. They&rsquo;re scattered across trading firms, embedded systems shops, game companies, and more. The expertise spreads out because it <em>can</em>, you don&rsquo;t need to be at one of three companies to use your deep skills anymore.</p>
<p>(And yeah, I know someone&rsquo;s thinking &ldquo;but what about all the jobs that will disappear?&rdquo; We don&rsquo;t have many <a href="https://en.wikipedia.org/wiki/Great_horse_manure_crisis_of_1894">manure shovelers</a> anymore since cars replaced horses. We also have social media managers, cloud architects, and whatever it&rsquo;ll mean to be a &ldquo;context engineer.&rdquo; The jobs change. They always have.)</p>
<p>Same thing will happen with what we call programming today. The absolute number might not even go down much. Maybe we&rsquo;ll have fewer at big tech companies and more scattered across regular companies, building internal tools, being the person who knows how to make the genies behave.</p>
<p>Kind of like how most companies have someone who&rsquo;s &lsquo;good with computers&rsquo; to fix Outlook or figure out why the printer isn&rsquo;t working. They don&rsquo;t need to be highly educated in IT, they just need to know how to figure things out and stick with it.</p>
<h2 id="which-skills-do-you-keep">
  Which skills do you keep?
  <a href="#which-skills-do-you-keep" class="heading-anchor" aria-label="Direct link to Which skills do you keep?"><span aria-hidden="true">#</span></a>
</h2>
<p>This is like my relationship with cars. I can drive, change oil, swap tires. Am I the best at parallel parking? Nope, and I&rsquo;ll drive a bit further to avoid a tight spot. Should you trust me to race? Definitely not. But I can safely get on the highway and go reasonably fast when it&rsquo;s appropriate (those spots we&rsquo;ve built up to <a href="https://www.joint-forces.com/exercise-news/73407-swedish-gripen-fighters-landing-on-highways">let Gripen land and take off</a>).</p>
<p>Some skills I want, some I don&rsquo;t care about. And that&rsquo;s fine, <strong>until</strong> the world expects me to be good at the ones I&rsquo;ve skipped.</p>
<p>Testing is one of those skills that shows this tension perfectly. I&rsquo;m a 

<dfn title="Test Driven Development">TDD</dfn>
 person, it&rsquo;s a fantastic design tool, not just bug-catching. But many programmers still treat it as an afterthought because &ldquo;how can you know what to implement before you build it?&rdquo; That resistance is exactly why it&rsquo;s valuable: it forces you to think differently and know what <em>outcome</em> you want. And that&rsquo;s why genies make things dangerous: they can write tests that look good, but if you don&rsquo;t understand testing as design, you won&rsquo;t know when you&rsquo;re building the wrong thing with great test coverage.</p>
<h2 id="deciding-what-sticks">
  Deciding what sticks
  <a href="#deciding-what-sticks" class="heading-anchor" aria-label="Direct link to Deciding what sticks"><span aria-hidden="true">#</span></a>
</h2>
<p>So how do we learn when we have genies answering everything? I&rsquo;ve been experimenting with this. My cooking has genuinely improved with an AI coach, but I&rsquo;m not just following recipes. I ask <em>why</em> we&rsquo;re using these ingredients, <em>why</em> this technique works, what the char is actually doing to the flavor. Cooking is something I want to get better at, no intention to become a proper chef, but being able to whip up dinner, using up my ingredients, and liking the taste? That&rsquo;d be nice.</p>
<p>I&rsquo;ve been using <a href="https://www.grammarly.com">Grammarly</a> for years, and I know my writing has improved from it. Not because it fixes things for me, but because I&rsquo;ve started catching the mistakes before the red underline shows up. Though we still disagree about commas, Swedish habits die hard.</p>
<p>There&rsquo;s this thing called <a href="https://commoncog.com/the-tacit-knowledge-series/">tacit knowledge</a>, stuff we know but can&rsquo;t explain, that gut feel that something about this code is wrong but you can&rsquo;t exactly pinpoint it. You write the same code again and again, get the same PR feedback again and again, until it clicks. But does it have to be that painful? I wonder if the genie can actually help us create better ways to build tacit knowledge, since it can generate examples and evaluate them. Like, I could ask it to show me ten variations of the same function, each with different edge cases, and develop that pattern recognition faster.</p>
<p>Maybe a good way for me to be more intentional is to write down which skills I want to learn. The ones where I want to gain that tacit knowledge, and also take it further so I can explain it, and not just feel it. Cooking and writing are both on that list. So is design and architecture when programming, and I&rsquo;m much further along there. (Thanks Daryl <a href="https://daryl.wakatara.com/counting-coup/">for the inspiration.</a>)</p>
<h2 id="what-im-exploring-next">
  What I&rsquo;m exploring next
  <a href="#what-im-exploring-next" class="heading-anchor" aria-label="Direct link to What I&rsquo;m exploring next"><span aria-hidden="true">#</span></a>
</h2>
<p>I&rsquo;m not a breathless AI fan. But, for me, it has turned into an intellectual sparring partner, someone to bounce ideas off who helps me figure out what I <em>truly want.</em> The genie shows me options, my gut tells me which ones I like or not, and I try to listen to that gut feeling and understand <em>why</em>.</p>
<p>Because <a href="https://time.com/7295195/ai-chatgpt-google-learning-school/">apparently our brains are turning to mush</a> because of AI. I don&rsquo;t buy it, but I also don&rsquo;t intend to let it happen to me. I still want to know which skills matter to me, which ones I&rsquo;m keeping sharp, and which ones I&rsquo;m okay with the genie handling as long as I can check the output.</p>
<p>I don&rsquo;t have this figured out. But I&rsquo;m pretty sure the answer isn&rsquo;t to pretend the genies aren&rsquo;t here, I have enough evidence that I get help from them, and it&rsquo;s definitely not to blindly let them do everything without thinking. So I&rsquo;m gonna keep poking at this, probably change my mind a few times, and see what sticks.</p>
<p>This is the first post in a series where I&rsquo;ll be figuring this out in public. How to decide what to learn deeply, how to tell when you&rsquo;re just parroting the genie, and how to keep judgment sharp when answers are cheap. Because your name is still on whatever you send out, genie or no genie.</p>
<p>We&rsquo;re all in our AI twenties right now, trying to figure out how to ride these <a href="/blog/2025/07/24/your-name-is-still-on-it/">motorcycles</a> without crashing. Might as well compare notes along the way.</p>]]></content:encoded></item><item><title>Your name is still on it — learning to ride the AI motorcycle without crashing</title><link>https://bjorn.now/blog/2025/07/24/your-name-is-still-on-it/?utm_medium=feed</link><pubDate>Thu, 24 Jul 2025 23:00:00 +0800</pubDate><guid>https://bjorn.now/blog/2025/07/24/your-name-is-still-on-it/</guid><description>A colleague recently said something that’s been rattling around in my head: “AI gives you speed, but it doesn’t give you direction.” And the more I use these tools, the more I think that undersells the danger.
I have been wondering how to think about AIs (or genies) and how computers are like bicycles for the mind, as Steve Jobs put it, and I think these tools take it further. They are more like motorcycles for the mind. They go really fast, and you better not treat them like a bike, because you need to know what you’re doing. How to handle that thing. You need to make sure you don’t try to go too fast too soon, or for too long, because you’ll get speed blind and… things will happen.</description><content:encoded><![CDATA[<p>A colleague recently said something that&rsquo;s been rattling around in my head: &ldquo;AI gives you speed, but it doesn&rsquo;t give you direction.&rdquo; And the more I use these tools, the more I think that undersells the danger.</p>
<p>I have been wondering how to think about AIs (or <a href="https://newsletter.pragmaticengineer.com/p/tdd-ai-agents-and-coding-with-kent">genies</a>) and how <a href="https://medium.learningbyshipping.com/bicycle-121262546097">computers are like bicycles for the mind</a>, as Steve Jobs put it, and I think these tools take it further. They are more like motorcycles for the mind. They go <em>really</em> fast, and you better not treat them like a bike, because you need to know what you&rsquo;re doing. How to handle that thing. You need to make sure you don&rsquo;t try to go too fast too soon, or for too long, because you&rsquo;ll get speed blind and… things will happen.</p>
<p>I&rsquo;m pretty sure motorcycle insurance costs way more when you&rsquo;re in your 20s than in your 40s or 50s. There&rsquo;s a reason for that. People who are older generally know how to ride the thing, and they&rsquo;re not as wild when doing it.</p>
<p>But I think when it comes to using AI we&rsquo;re all kind of in our 20s because we&rsquo;re figuring it out.</p>
<h2 id="its-my-name-on-whatever-goes-out">
  It&rsquo;s my name on whatever goes out
  <a href="#its-my-name-on-whatever-goes-out" class="heading-anchor" aria-label="Direct link to It&rsquo;s my name on whatever goes out"><span aria-hidden="true">#</span></a>
</h2>
<p>I was at a wedding recently, talking to this lawyer, 50s, 60s maybe, working at a multinational. He&rsquo;s been playing around with AI and feels it&rsquo;s giving him an enormous productivity boost for writing and doing research for him.</p>
<p>As we were talking about how he was using it he said something that stopped me cold: <em>&ldquo;It&rsquo;s my name on whatever goes out.&rdquo;</em></p>
<p>He&rsquo;s already caught the AI making things up. He has to check every line, every reference. He explicitly asks it to give him the references so he can look them up himself. And if I understood correctly, this isn&rsquo;t significantly different from when juniors do the work for him. Because it was still his name on it. He needs to validate it. Whatever he puts his name on and sends out has to be right.</p>
<p>And that&rsquo;s when something clicked for me. <a href="/blog/2025/07/12/which-hat-are-you-wearing/">Remember how I was talking about the different hats we wear?</a> Well, you <em>can</em> outsource wearing the hat. You <em>can</em> have the genie do the work. But it&rsquo;s still your name on it. No one else cares if you outsourced it, they only see your name on it. You can&rsquo;t blame the genie for a shit job. It was your name.</p>
<h2 id="what-we-think-were-automating">
  What we think we&rsquo;re automating
  <a href="#what-we-think-were-automating" class="heading-anchor" aria-label="Direct link to What we think we&rsquo;re automating"><span aria-hidden="true">#</span></a>
</h2>
<p>I keep hearing engineers say, &ldquo;<em>oh, I don&rsquo;t have to do this boring thing anymore!</em>&rdquo;</p>
<p>Meeting notes are a perfect example. I have access to Google Gemini at work, and people just let Gemini take meeting notes and send them out without reading them. Really. &ldquo;<em>Huh?</em>&rdquo; I hear some of you say now, that&rsquo;s what it&rsquo;s great for, the notes are <a href="https://sre.google/sre-book/eliminating-toil/">just toil</a>. Well, no, what are meeting notes actually for? They&rsquo;re about making sure we&rsquo;re on the same page, that we have the same agreements and understanding. If you let the machine mindlessly capture words and don&rsquo;t check that it actually documented the meaning behind what we said and understood, you&rsquo;re failing at the actual job of <a href="/blog/2025/05/03/effective-meetings/">running that meeting.</a></p>
<p>This reminds me of <a href="https://fs.blog/chestertons-fence/">Chesterton&rsquo;s Fence</a>, that principle about not removing a fence until you understand why it was put there. Before you automate away some &ldquo;boring, pointless thing,&rdquo; maybe ask yourself: why is it that I&rsquo;m doing this in the first place? Because if you don&rsquo;t understand why it&rsquo;s done, how do you know the automation did it well?</p>
<p>And I wonder if what&rsquo;s really happening is that we&rsquo;re not automating the work, we&rsquo;re automating away our attention to the work. We&rsquo;re not automating the output. We&rsquo;re automating away our understanding of what that output should be. And <a href="https://www.benkuhn.net/impact/">experienced people are the ones who spot strange patterns (or have taste)</a> precisely because they&rsquo;ve stayed engaged with the work over time. You can&rsquo;t develop that instinct if you&rsquo;re not looking.</p>
<h2 id="the-work-worth-doing">
  The work worth doing
  <a href="#the-work-worth-doing" class="heading-anchor" aria-label="Direct link to The work worth doing"><span aria-hidden="true">#</span></a>
</h2>
<p>Which brings me to <a href="https://tidyfirst.substack.com/p/90-of-my-skills-are-now-worth-0">something eyebrow raising</a> that Kent Beck said: with AI, 90% of his skills became worthless, but the leverage of the remaining 10% is now worth 1000x. The question is: which 10%? This is the &ldquo;<em>knowing where to put the X</em>&rdquo; skill, <a href="/blog/2025/07/12/which-hat-are-you-wearing/#the-9999-skill">that judgment call and experience</a> you bring: that&rsquo;s what makes the genie do what&rsquo;s needed.</p>
<p>When you let the genie write code for you and it introduces bugs that you would have caught if you&rsquo;d actually read the code… you&rsquo;re not doing your job as a product engineer. Yeah, you&rsquo;re slinging more code and doing it faster. But it&rsquo;s not about the code, it&rsquo;s about delivering the solutions we need when we need them.</p>
<p>There&rsquo;s a difference between <em>delegating execution</em> and <em>delegating responsibility</em>. You <em>can</em> have the genie execute tasks, but you <em>can&rsquo;t</em> delegate the responsibility for the outcome. That&rsquo;s still yours. <a href="/blog/2025/07/12/which-hat-are-you-wearing/">The hat</a> is still on your head, even if AI is helping you get things done faster while wearing it.</p>
<p>And I find pride in doing the work well. Even the boring bits. Sometimes we might not enjoy the work, but doing things well will make most things feel worthwhile. Because there&rsquo;s nuance and understanding you can only get by truly groking something, and that&rsquo;s when you can safely change and improve it.</p>
<h2 id="finding-your-balance">
  Finding your balance
  <a href="#finding-your-balance" class="heading-anchor" aria-label="Direct link to Finding your balance"><span aria-hidden="true">#</span></a>
</h2>
<p>The question isn&rsquo;t &ldquo;can the genie do this task?&rdquo; It&rsquo;s &ldquo;when it does this task and puts my name on it, am I comfortable with what might happen if it gets it really, really wrong?&rdquo;</p>
<p>In my experience, the engineers who are using AI most effectively are the ones who treat it like that lawyer treats it: as a powerful tool that still requires their full professional judgment. They understand they&rsquo;re being paid for the judgment part of the work, not just the execution part. The genie can help with execution, it can draw lots of Xs quickly. But knowing where to draw them? That&rsquo;s all you.</p>
<p>Right now, these systems can&rsquo;t truly understand context the way a senior does. They can&rsquo;t make actual judgment calls, they&rsquo;re pattern matching (even if, admittedly, <a href="https://en.wikipedia.org/wiki/Clarke%27s_three_laws">slightly magical</a> in how they do it). They give us speed, not judgment or direction. Output, not understanding.</p>
<p>I&rsquo;m still working out what learning looks like when AI can show you all the moves. My cooking has genuinely leveled up with an AI coach: I&rsquo;m making dishes I never could before, and understanding why certain techniques work. But I know this is like training wheels. I couldn&rsquo;t fully do this alone yet, and that&rsquo;s the thing: I&rsquo;m not mistaking this <em>speed</em> for actual <em>skill</em>, not confusing making <em>progress</em> with real <em>proficiency</em>.</p>
<p>So here I am, learning to ride this thing safely, trying to get out of my AI twenties you might say, before I take it on the highway.</p>
<p>Because whether you&rsquo;re wearing your engineering hat, your architect hat, or your team lead hat, your name is still on it. And I&rsquo;d like to make sure I am not only wearing the helmet but also know how to ride this motorcycle before I really open up the throttle.</p>
]]></content:encoded></item></channel></rss>