<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ossian Ericson on Medium]]></title>
        <description><![CDATA[Stories by Ossian Ericson on Medium]]></description>
        <link>https://medium.com/@ossian.ericson?source=rss-f973749bca31------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BP_d9qaznwUOLWCOJ22DPw.jpeg</url>
            <title>Stories by Ossian Ericson on Medium</title>
            <link>https://medium.com/@ossian.ericson?source=rss-f973749bca31------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:47:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ossian.ericson/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Spec Is the Product. The Model Is Scaffolding.]]></title>
            <link>https://medium.com/if-tech/the-spec-is-the-product-the-model-is-scaffolding-a78029c0062b?source=rss-f973749bca31------2</link>
            <guid isPermaLink="false">https://medium.com/p/a78029c0062b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ossian Ericson]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 12:25:27 GMT</pubDate>
            <atom:updated>2026-04-21T08:18:02.478Z</atom:updated>
            <content:encoded><![CDATA[<p>This is about turning expert knowledge into a self-service tool anyone on the team can use — without needing the expert in the room.</p><p>The best AI tool I built has no AI in it.</p><p>Every organisation has experts. People who know exactly how to answer the right questions — which cloud service to pick, which compliance path to follow, how to handle a specific incident. The knowledge is real and it’s valuable.</p><p>The problem is access. That expert is in a meeting. Or on leave. Or the team asking doesn’t even know who to ask. So they guess, they wait, or they send a message that takes four days to get answered with “it depends.”</p><h4><strong>The knowledge exists. It just lives on someone’s calendar.</strong></h4><p>The obvious fix is to use AI — let a model answer the question instead. That works, up to a point. But it introduces a second problem: the output isn’t reproducible. Same prompt, different day, slightly different answer.</p><h4><strong>If you can’t reproduce it, you don’t own it.</strong></h4><p>The solution was to use AI only at design time, then compile the result into a deterministic artifact that runs without it — owned, auditable, reproducible.</p><p>For a tool teams rely on to make decisions, that is a disqualifying failure. So I separated where AI lives from where the tool runs. The result looks like an interactive decision tree — one question at a time, branching on the answer, landing on a specific recommendation — with three properties that make it different from just pointing people at a chatbot:</p><ul><li>The output is a <strong>static HTML file</strong> — no server, no live model, nothing to approve or provision</li><li>It’s <strong>fully reproducible</strong> — same input always produces exactly the same tool</li><li>The <strong>domain expert writes the logic in plain text</strong>; a compiler turns it into a production-ready interactive tool</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0aZBy_t6kDs4i5CFIB4VzQ.gif" /></figure><p>Try it live: <a href="https://ossianericson.github.io/textforge/output/example-multicloud-compute-tree.html"><strong>Live demo</strong></a><strong> </strong>— no server, no database, no deployment pipeline. A static HTML file on GitHub Pages.</p><p><em>The demo tree is a placeholder — it exists to show the interactive format, not to give real architecture recommendations. No domain expert reviewed it. That’s intentional. You’ll see why.</em></p><h3>The Problem Every Organisation Has</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zG5JUT-fq66XFAKE-hE8LA.png" /></figure><h3>That workaround became architecture</h3><p>At work, we already had decision trees in Confluence — architecture guidance, service selection, troubleshooting flows. The content existed. What we lacked was a way to make it interactive without a server, a plugin, or an approval process.</p><p>The idea came from an unlikely source. One afternoon I asked Claude to turn my daughter’s rough homework notes into an interactive learning experience. Ten minutes later she had something with branching logic and result cards — more polished and interactive than anything we had managed internally.</p><p>That was the moment the idea became concrete — we had exactly this kind of structured knowledge sitting in Confluence, going to waste.</p><p>Getting it into Confluence required one workaround: upload a self-contained HTML file as a page attachment, load it in an iframe. Interactive menus, branching logic, animations — fully rendered. No plugin, no server, no approval process.</p><p>The question was how to replicate that at work — within governance constraints, without a server, and without any AI in the runtime.</p><p>Only approved tooling was available at runtime. Working within If Insurance’s governance framework, that constraint turned out to be the right one. Because the output is a self-contained HTML file, there is nothing for the governance process to act on. No model to approve, no data flow to review, no infrastructure to provision. You are fully within constraints — there is simply nothing that requires asking. Any organisation can go from idea to a working tool without touching the delivery pipeline at all.</p><p>If you can write questions in plain text, you can author a tool. Write the questions, hand them to someone technical, they run the compiler, you get the tool. That’s the entire handoff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRDBKLciIM6uOzil0U35ig.png" /></figure><p>At If Insurance, this pattern is currently used for cloud architecture decision trees and troubleshooting guides.</p><p>The spec is plain Markdown — a question, a set of options, and a destination for each. That’s the entire interface between the domain expert and the compiler. Just questions and arrows — no code, no programming. The smallest working example is in the repo <a href="https://github.com/ossianericson/textforge/blob/main/README.md">README</a> if you’re curious.</p><p>The compiler handles everything. Except one thing.</p><h3><strong>What the Compiler Cannot Catch</strong></h3><p>The example tree ships with a broken link. It passed compilation. The link returns 200 OK so every automated check says it is fine.</p><p>It is not fine. The page loads and tells you it does not exist.</p><p>I noticed it when a peer clicked it. The content has the same problem — it recommends Elastic Beanstalk for a simple website. Technically valid. Three times the cost of an S3 bucket. No hallucinations, no obvious errors. Just plausible, structured, and wrong in ways that only show up when someone who knows the domain actually reads it.</p><p>This is what an unvetted AI-generated spec looks like. Ask an AI for a spec, skip the review, and this is what goes live.</p><p>The compiler guarantees the structure is correct. It cannot guarantee the facts are. That part is still human work.</p><p>The spec is the product. But someone who knows the domain still has to read it before it goes anywhere.</p><h3>The Pattern Anyone Can Reuse</h3><p>The constraint forced a reusable pattern. If any model had been freely available at runtime, AI would have stayed in the loop and the architecture would have been worse.</p><p>The pattern has three parts. They stay in their lanes.</p><ol><li><strong>Domain expert</strong> — writes questions and answers in plain Markdown. No code needed. Use AI to draft it if you want — or write it yourself. Either way, the compiler doesn’t care.</li><li><strong>AI reasoning layer</strong> — this is where the thinking happens. Use Claude, Copilot, or whatever assistant you have access to. Draft the questions, stress-test the logic, review the output. No protected data in the loop.</li><li><strong>Compiler </strong>— deterministic, owned by you. The spec stays within your own systems — no data leaves, no external model involved at runtime. Same spec → same HTML, every time. No live model needed at runtime.</li></ol><p>You need to understand your domain deeply enough to write the questions. That is it.</p><p>This only works if the domain has structure. Open-ended advice doesn’t compile.</p><p>The same pattern applies to any structured knowledge domain: compliance checklists, onboarding wizards, incident runbooks, training flows, quiz and study tools, architecture guidance. If a domain expert can describe the decisions or questions in plain text, the compiler can turn it into a production tool.</p><p>The compiler is already built. Clone the repo, run the included prompt generator to create your spec file, and you’re live.</p><h3>If the Models Disappeared Tonight</h3><p>A thought experiment I find useful:</p><ol><li>If every AI model went away at 17:00 today — what would you have lost by tomorrow?</li><li>What would you have built that still runs without it?</li><li>What knowledge would remain — owned by your organisation, not borrowed from a vendor?</li></ol><p><strong>The question is not whether we can use AI. We already do. The question is whether we can build something with it that outlasts the prompt.</strong></p><blockquote><strong>👉 </strong><a href="http://github.com/ossianericson/textforge"><strong>github.com/ossianericson/textforge</strong></a><strong><br></strong>If you’re at If Insurance, search for textforge in our internal repositories.</blockquote><p>If your organisation has knowledge trapped in expert calendars — this is the pattern that escapes it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a78029c0062b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/if-tech/the-spec-is-the-product-the-model-is-scaffolding-a78029c0062b">The Spec Is the Product. The Model Is Scaffolding.</a> was originally published in <a href="https://medium.com/if-tech">If Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>