<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Matthew Worthington</title>
    <description>The latest articles on DEV Community by Matthew Worthington (@mzworthington).</description>
    <link>https://dev.to/mzworthington</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4282151%2Ff0606b10-0e20-48b6-ba94-7daacc2fefbd.png</url>
      <title>DEV Community: Matthew Worthington</title>
      <link>https://dev.to/mzworthington</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mzworthington"/>
    <language>en</language>
    <item>
      <title>Making Software Architecture a Living Picture</title>
      <dc:creator>Matthew Worthington</dc:creator>
      <pubDate>Fri, 04 Dec 2026 10:30:49 +0000</pubDate>
      <link>https://dev.to/mzworthington/making-software-architecture-a-living-picture-2jc4</link>
      <guid>https://dev.to/mzworthington/making-software-architecture-a-living-picture-2jc4</guid>
      <description>&lt;p&gt;Every engineering organisation has at least one architecture diagram that quietly lies. Usually it lives on a wiki page created during a kickoff eighteen months ago, neat and symmetrical, showing six well-behaved services talking through a clean API gateway. Then an incident wakes the on-call rotation at 2 AM, and you discover that three unmapped background workers, a shared database table, and a synchronous fallback call added during a Friday hotfix have turned those six boxes into a tightly coupled web.&lt;/p&gt;

&lt;p&gt;I built ArchLens to close that gap between what we think our systems look like and what is actually running in our repositories, so teams can catch architecture risk before it becomes an outage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-11-21-making-software-architecture-a-living-picture/golden-journey.gif" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fglje7lp2qbz2xzprh62u.gif" alt="ArchLens golden journey: scanning a repo and exploring the living map" width="720" height="466"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Seeing the Same Blind Spot Across Teams
&lt;/h2&gt;

&lt;p&gt;During my time as a consultant at Thoughtworks, I worked across a wide range of domains, teams, and tech stacks. The business problems changed from client to client, yet almost every organisation suffered from the same underlying blind spot: nobody had an accurate, shared map of how their software actually fit together.&lt;/p&gt;

&lt;p&gt;When teams lose a shared picture of their architecture, two predictable failure modes take over:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ivory-tower diagrams that rot on contact with production.&lt;/strong&gt; Architects produce high-level C4 diagrams in slide decks or drawing tools to secure funding or align stakeholders. Because those diagrams live outside the repository and require manual upkeep, they begin drifting from reality the week implementation starts. Within two quarters, engineers stop trusting them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code-only archaeology.&lt;/strong&gt; Without a reliable map, engineers retreat into reading individual files and pull requests in isolation. You can see every line of code in a service, yet miss the fact that four teams now depend on an internal endpoint never meant to be public, or that a single module accounts for half the change churn in the repository.
&lt;/li&gt;
&lt;/ol&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    A[Architecture Workshop Diagram] --&amp;gt; B[Saved to External Wiki]
    C[Production Codebase] --&amp;gt; D[New Dependencies &amp;amp; Hotfixes]
    D --&amp;gt; E[Structural Drift]
    B -.-&amp;gt;|No feedback loop| E
    E --&amp;gt; F[Blind Spots in Reviews &amp;amp; Incidents]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Moving back into hands-on engineering leadership roles, overseeing platform, development, and quality engineering across distributed teams, made that problem personal again. When you are accountable for delivery velocity and operational resilience across dozens of services, you cannot rely on stale drawings or tribal memory. You need a living picture of the systems you are responsible for.&lt;/p&gt;




&lt;h2&gt;
  
  
  A Canvas, a CLI, and a Few Lenses
&lt;/h2&gt;

&lt;p&gt;At its core, ArchLens is a canvas, a CLI, and a few lenses for reading a codebase as architecture so you can understand it, analyse it, and share the map.&lt;/p&gt;

&lt;p&gt;Rather than asking engineers to draw boxes from scratch, ArchLens generates a structured model from source code and git history, then layers analytical lenses on top. From there you can edit the diagram directly in the canvas, collaborate on it with your peers and save it next to your code as a &lt;code&gt;BlueprintSpec&lt;/code&gt; or export it to Mermaid. Three design choices shaped the tool from the beginning:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Browser-sandboxed and deterministic
&lt;/h3&gt;

&lt;p&gt;Architecture tooling fails adoption tests the moment it demands uploading proprietary source code to a backend analysis server or relies on opaque heuristics that return a different diagram every time you run it. At &lt;a href="https://archlens.dev" rel="noopener noreferrer"&gt;archlens.dev&lt;/a&gt;, parsing runs in your browser without sending your source code to a server; if you prefer running scans offline from your terminal or in CI, you can run the CLI locally. Either way, deterministic static analysis means the same commit always produces the same structural baseline.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. BlueprintSpec as plain-text Architecture as Code
&lt;/h3&gt;

&lt;p&gt;Visual exploration is essential when you are tracing a dependency chain, but diagrams still need to survive code review and version control. ArchLens centres on &lt;code&gt;BlueprintSpec&lt;/code&gt;, a declarative YAML representation of your system hierarchy, boundaries, relationships, and architectural annotations. Because the blueprint lives in Git alongside your application code, architectural changes can be diffed, reviewed, and validated in pull requests like any other engineering artefact.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Multi-lens analysis rather than static box-counting
&lt;/h3&gt;

&lt;p&gt;A static dependency graph tells you what imports what, which is only a third of the story. Real architectural risk hides where structure collides with change frequency and failure modes. ArchLens layers focused analytical lenses over the core structural graph:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Static and complexity analysis:&lt;/strong&gt; Multi-language Tree-sitter parsing extracts modules, boundaries, call graphs and syntax-tree complexity scores without requiring a heavy language server setup. For C# and .NET repositories, it also resolves &lt;code&gt;.csproj&lt;/code&gt; &lt;code&gt;&amp;lt;ProjectReference&amp;gt;&lt;/code&gt; edges, cross-namespace &lt;code&gt;using&lt;/code&gt; dependencies and outbound HTTP calls (&lt;code&gt;fetch&lt;/code&gt;, Axios and &lt;code&gt;HttpClient&lt;/code&gt; verbs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TraceLens (Git intelligence):&lt;/strong&gt; Mines commit history to surface temporal coupling (files that always change together even when no direct import exists), churn hotspots and single-owner knowledge bottlenecks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChaosLens (Fault simulation):&lt;/strong&gt; Uses a Go/WASM Monte Carlo engine (with a TypeScript fallback) so you can select a node or dependency edge and simulate blast radius, identifying cascading failure paths before a downstream timeout tests them in production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AdviceLens (Actionable recommendations):&lt;/strong&gt; Evaluates the model against architectural heuristics to flag concrete issues such as cyclic dependencies, leaky domain boundaries, or overloaded shared libraries.
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart BT
    subgraph Outputs [Practical Workflows]
        Canvas[Interactive C4 Canvas &amp;amp; Nested Zooms]
        CLI[CLI &amp;amp; CI Risk Checks]
        Rooms[Multiplayer Rooms &amp;amp; YAML Comments]
    end

    subgraph Engine [ArchLens Analysis Engine]
        TS[Tree-sitter Parser &amp;amp; Complexity Scoring]
        TL[TraceLens: Churn &amp;amp; Temporal Coupling]
        CL[ChaosLens: Blast Radius Simulation]
        AL[AdviceLens: Architectural Heuristics]
    end

    subgraph Inputs [Local Repository Inputs]
        Code[Source Code]
        Git[Git Commit History]
        YAML[BlueprintSpec YAML &amp;amp; Sidecars]
    end

    Code --&amp;gt; TS
    Git --&amp;gt; TL
    YAML &amp;lt;--&amp;gt; TS
    TS --&amp;gt; CL
    TS --&amp;gt; AL
    TL --&amp;gt; AL
    CL --&amp;gt; Canvas
    AL --&amp;gt; Canvas
    AL --&amp;gt; CLI
    Canvas &amp;lt;--&amp;gt; Rooms&lt;/code&gt;&lt;/pre&gt;






&lt;h2&gt;
  
  
  Shipping to Learn How Coding Agents Actually Work
&lt;/h2&gt;

&lt;p&gt;There was a second, equally practical reason I started writing ArchLens. Like most engineering leaders, I had spent months experimenting with coding agents, reading benchmarks, and testing prompts. None of the toy exercises stuck. The approach that finally changed how I work with coding agents was shipping a substantial product I genuinely needed.&lt;/p&gt;

&lt;p&gt;Building an architecture intelligence platform turns out to be an unforgiving benchmark for AI-assisted development. You cannot bluff your way through AST traversal across multiple languages, bidirectional YAML-to-canvas state synchronisation, real-time collaborative presence, or graph layout algorithms. If an agent hallucinates a schema property or subtly breaks coordinate transformations during a refactor, the canvas breaks immediately.&lt;/p&gt;

&lt;p&gt;To keep coding agents productive without letting the codebase rot, I had to build deterministic guardrails around them: strict schema contracts, automated evaluation loops, custom skills, and standard operating procedures that defined how features were specified, implemented, and verified.&lt;/p&gt;

&lt;p&gt;That agent workflow worked well enough that I extracted and open-sourced it alongside ArchLens as &lt;strong&gt;Waykit&lt;/strong&gt; (&lt;code&gt;waykit.dev&lt;/code&gt;), built on the exact same skills and evaluation-driven lifecycle.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    Spec[BlueprintSpec &amp;amp; Feature Contract] --&amp;gt; Skill[Waykit Agent Skill &amp;amp; SOP]
    Skill --&amp;gt; Impl[Agent Code &amp;amp; Test Generation]
    Impl --&amp;gt; Gate{Deterministic Gates}
    Gate --&amp;gt;|Typecheck, Tests &amp;amp; Vale Lint Pass| Merge[Commit to Main]
    Gate --&amp;gt;|Regression or Rule Violation| Feedback[Structured Error Context]
    Feedback --&amp;gt; Skill&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;In practice, ArchLens and Waykit grew up together. Every time a coding agent struggled with an ambiguous requirement or introduced subtle regressions in the parser or canvas state, that failure became a concrete rule, a stricter test harness, or a sharper skill definition in Waykit.&lt;/p&gt;




&lt;h2&gt;
  
  
  From CLI Prototype to Collaborative Map: July to November 2026
&lt;/h2&gt;

&lt;p&gt;ArchLens did not ship as one grand-design release. From July through November 2026 it moved through three waves, each driven by friction found while using the tool on live repositories: first make the map real, then make it shareable and safe to change fast, then make it fit everyday review and editor workflows.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;timeline
    title ArchLens Roadmap (July - Nov 2026)
    July 2026 : Core CLI, Tree-sitter static parser &amp;amp; C4 canvas
              : BlueprintSpec model, ChaosLens &amp;amp; AdviceLens
              : GitHub Pages deploy and early public share
    Aug - Sept 2026 : Canvas workspace polish &amp;amp; samples estate
                    : SonarCloud static analysis &amp;amp; CI hardening
                    : Zero-install ZIP scanning &amp;amp; live multiplayer rooms
    Oct - Nov 2026 : Nested child zooms from any canvas node
                   : Design token sweep &amp;amp; unified Light mode
                   : Diátaxis docs, Vale linting &amp;amp; VS Code review flow&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  Wave 1: The CLI, Core Canvas, and Analytical Lenses (July 2026)
&lt;/h3&gt;

&lt;p&gt;July was about proving the core loop: scan a local repository, generate a &lt;code&gt;BlueprintSpec&lt;/code&gt;, and render an interactive map in the browser. Tree-sitter parsing, the C4 canvas, ChaosLens fault simulation, and AdviceLens recommendations all landed that month, along with a GitHub Pages deploy so others could try the canvas without installing anything.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-11-21-making-software-architecture-a-living-picture/cli.gif" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fajr3l9rgf78ojje5wqmo.gif" alt="ArchLens CLI prompting through a local repository scan" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Early on, one-way generation proved insufficient. If you generated a diagram from code, tweaked layout groupings or added architectural context, and then re-scanned after a few commits, your manual context would either be overwritten or fall out of sync. A major chunk of early engineering went into bidirectional blueprint synchronisation, ensuring structural updates from the codebase merged cleanly with curated architectural metadata.&lt;/p&gt;

&lt;h3&gt;
  
  
  Wave 2: Collaboration Friction and CI Hardening (August to September 2026)
&lt;/h3&gt;

&lt;p&gt;Once the core engine worked, the next friction was sharing the map with other engineers and keeping rapid agent-assisted changes from degrading code quality. That wave focused on workspace UX, collaboration, and engineering hygiene:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Canvas and samples polish:&lt;/strong&gt; Workspace panels, blank-canvas entry, layout spacing, and a shared samples estate made the hosted app feel like a product rather than a local experiment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Static analysis and dependency discipline:&lt;/strong&gt; Integrating SonarCloud quality gates, strict schema validation, and automated dependency updates kept the repository stable while shipping multiple changes a day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-install ZIP scanning and TraceLens in the browser:&lt;/strong&gt; Asking a colleague to install a CLI before they can look at a repository creates unnecessary friction. Compiling the parser pipeline for the browser meant anyone could drop in a ZIP archive and inspect structure, complexity, and git churn without local setup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live multiplayer rooms:&lt;/strong&gt; Architecture reviews usually happen with one person sharing their screen. Multiplayer rooms brought live cursors and collaborative comments onto the canvas so engineers could inspect nodes together in real time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-11-21-making-software-architecture-a-living-picture/collab-cursors.jpg" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmue53n1q410rkoirjpsh.jpg" alt="Live multiplayer cursors on the ArchLens canvas during a review" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Wave 3: Nested Zooms, Docs Discipline, and Editor Fit (October to November 2026)
&lt;/h3&gt;

&lt;p&gt;The next wave hardened the docs surface, then shipped the day-to-day capabilities teams actually needed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Nested child zooms directly from any canvas node:&lt;/strong&gt; Real production systems are too dense to inspect on a single flat graph. Nested child zooms allow you to start at a high-level system context and drill directly into containers, services, and internal modules from any node without losing your mental model of where you are in the hierarchy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A full design token sweep and Light mode:&lt;/strong&gt; Developer tools default to dark themes, which work fine at a desk and wash out completely on a conference room projector or inside printed documentation. Refactoring the UI around semantic design tokens unlocked a crisp Light mode alongside dark themes without duplicating component styles.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Diátaxis documentation and Vale enforcement:&lt;/strong&gt; Rather than mixing conceptual architecture explanations with CLI flag references and onboarding steps, the documentation was restructured into tutorials, how-to guides, reference material, and explanation pages. Technical writing rules moved into an agent skill and failed CI like a broken unit test when filler words, passive hedging, or marketing hyperbole slipped through.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Making Architecture as Code Practical
&lt;/h2&gt;

&lt;p&gt;Software architecture only creates value when it helps teams make better decisions before code reaches production. When diagrams live in disconnected tools, architecture becomes theatre: something prepared for quarterly reviews and forgotten during daily delivery.&lt;/p&gt;

&lt;p&gt;By keeping the model declarative in &lt;code&gt;BlueprintSpec&lt;/code&gt;, grounding analysis in real code and git history, and making the canvas collaborative without locking your data into a proprietary format, ArchLens aims to make Architecture as Code practical for day-to-day engineering teams. Whether you are onboarding onto an unfamiliar codebase, untangling a legacy monolith, or stress-testing a service boundary before a high-traffic launch, the map should stay as current as the last commit.&lt;/p&gt;

&lt;p&gt;If you want to see how your own repositories look through that lens, try scanning a project at &lt;a href="https://archlens.dev" rel="noopener noreferrer"&gt;archlens.dev&lt;/a&gt;, explore the source and star the repo at &lt;a href="https://github.com/mzworthington/archlens" rel="noopener noreferrer"&gt;github.com/mzworthington/archlens&lt;/a&gt; (or open an issue if you hit a missing language or framework pattern), or inspect the agent skills and evaluation lifecycle behind how it was built at &lt;a href="https://waykit.dev" rel="noopener noreferrer"&gt;waykit.dev&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>architectureascode</category>
      <category>developertools</category>
      <category>treesitter</category>
    </item>
    <item>
      <title>Building a story box for Romy</title>
      <dc:creator>Matthew Worthington</dc:creator>
      <pubDate>Fri, 04 Dec 2026 10:30:14 +0000</pubDate>
      <link>https://dev.to/mzworthington/building-a-story-box-for-romy-5d7p</link>
      <guid>https://dev.to/mzworthington/building-a-story-box-for-romy-5d7p</guid>
      <description>&lt;p&gt;Bedtime still happens on the nights my wife and I are both working late. One of us is in the room. The other is stuck at the office. Romy, my daughter, gets only one voice during story time. I wanted her to hear the other one too, and I didn't want a screen in there to do it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/box.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvtvqx0u0pqiakkjhrqv7.webp" alt="The birch cube on the table, with the engraved lid and speaker grille" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it had to be
&lt;/h2&gt;

&lt;p&gt;Something she would reach for. If I am the only person who enjoys it, it ends up in a drawer.&lt;/p&gt;

&lt;p&gt;Her hands, not an app. Tap a thing, get a story. Tap it again, it stops. That is the whole interface. A tablet will play a story and then offer the next thing, with the light of the screen in a dark room. I don't want bedtime to be a negotiation with an app.&lt;/p&gt;

&lt;p&gt;Objects she already has. A small NFC tag on a toy. A tag in a book. I didn't want a new gadget she has to learn, and I didn't want a special cartridge that only works with one company's stories.&lt;/p&gt;

&lt;p&gt;Our voices, including the nights one of us is missing. We already read to her. The gap is the parent who is not in the room, so a book can be one of us, recorded, and played back from the tag in the cover.&lt;/p&gt;

&lt;p&gt;The books are not the only stories worth hearing. If something happened today, she should get a story about that. About her, about us, about the house and the toys and whoever else is in the week. That one is more fun than a recording, and it is not either of our voices.&lt;/p&gt;

&lt;p&gt;The box has to keep working when the house internet doesn't. Listening is a file on a card. The network is for us, later, when we add something.&lt;/p&gt;

&lt;h2&gt;
  
  
  How she uses it
&lt;/h2&gt;

&lt;p&gt;RoMini is a box. A Raspberry Pi, a speaker, an NFC reader and no screen. She never sees a menu.&lt;/p&gt;

&lt;p&gt;She taps a tagged toy on the pad and the story for that toy starts. She taps it again and it stops. Tap once more and it carries on from the same place. Each toy keeps its own place, so two of them are not sharing one bookmark.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
  toy["She taps a toy"] --&amp;gt; read["The box reads the tag"]
  read --&amp;gt; play["That toy's story starts"]
  play --&amp;gt; again["She taps it again and the story stops"]
  again --&amp;gt; resume["One more tap carries on from the same place"]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/toy.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4gsvjtxwrkc84w1fofxo.webp" alt="Lifting the figure off the pad" width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A book works the same way. The tag is on the book. She taps the book on the box and hears one of us reading it.&lt;/p&gt;

&lt;p&gt;The box has a charge port and a single button, and that button wakes the device and puts it to sleep with a welcome and goodbye chime. Loudness is ours to set from the dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/side-button-and-usb-c.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F51shz8w4sjids10t4vqe.webp" alt="The power button and the USB-C port" width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What went in the box
&lt;/h2&gt;

&lt;p&gt;I keep coming back to tactile, screen-free hardware for the same reason I value it in engineering platforms: low cognitive load and immediate, obvious feedback. All the complexity stays hidden - here, under a wooden lid - so the person using it never has to think about the system.&lt;/p&gt;

&lt;p&gt;The reader sits under a wooden lid. Wood is fine. A metal lid would block the tag. We have a bunch of different NFC tag styles: stickers, buttons and key rings. They are fixed to toys and books she already owns. The computer is a Raspberry Pi 4. Sound comes out of a powered speaker and an amp. A battery hat means the box can sit away from a socket, which matters when she wants to hold it. The card is partitioned, so a yanked plug is less likely to take the system down with the stories. Stories live on their own partition.&lt;/p&gt;

&lt;p&gt;The parts list and the wiring notes are in the repo: &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/hardware.md" rel="noopener noreferrer"&gt;hardware&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TB
  subgraph room ["In her room"]
    plate["She taps a figure"] --&amp;gt; audio["Story from the card"]
  end
  subgraph lan ["On the house network"]
    page["romini.local"] --&amp;gt; library["Upload and map a tag"]
    page --&amp;gt; studio["Notes, a script, then a voice"]
  end
  library --&amp;gt; audio
  studio --&amp;gt; library&lt;/code&gt;&lt;/pre&gt;



&lt;h2&gt;
  
  
  On the bench
&lt;/h2&gt;

&lt;p&gt;The box came together on the bench before it was a thing she could put a toy on. A Pi, the NFC reader, a speaker and a lot of wiring that does not belong in her room.&lt;/p&gt;

&lt;p&gt;Most of the player (Python, FastAPI and mpv) was written before that wiring existed. On a laptop the same software pretends to be the box: fake reader, fake buttons, real library. I could paste a tag ID, check that a story starts, stops and remembers its place, and only then move those rules onto the Pi.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/harness.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsnu8gdxjygn0dsmo5a1v.webp" alt="The laptop stand-in" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The wooden cube
&lt;/h2&gt;

&lt;p&gt;The wiring needed a box she can hold. One sheet of 3 mm birch, cut as a 130 mm cube. The lid carries the mark as a shallow engraving, about 0.5 mm, so it does not cut through. The walls and the lid are glued. The bottom is not. Four screws into dowels in the corners let that panel come off when the Pi, the battery or the card needs a hand.&lt;/p&gt;

&lt;p&gt;A shelf halfway up those dowels lifts the Pi toward the reader under the lid. The front is a grille. Behind it, a smaller plate has two openings for a pair of small enclosed speakers. Those are passive, so they still need an amp. The box she uses has a powered speaker.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cuttingedgecnc.co.uk/" rel="noopener noreferrer"&gt;Cutting Edge CNC&lt;/a&gt; laser-cut the birch. They turned the job around quickly and were straightforward to work with.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/enclosure-three-quarter.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F48d4h3n3lmwyvbjsr4m9.webp" alt="The birch cube, with the speaker grille and the engraved lid" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/lid-logo-closeup.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjw90313vf14m9d8kwkt3.webp" alt="The lid engraving" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmzworthington.co.uk%2Fassets%2F2026-10-24-building-a-story-box-for-romy%2Fsheet.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmzworthington.co.uk%2Fassets%2F2026-10-24-building-a-story-box-for-romy%2Fsheet.png" alt="The 3 mm sheet" width="799" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The cut file, the shop letter and these renders are in the repo: &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/fabrication.md" rel="noopener noreferrer"&gt;fabrication&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The companion app
&lt;/h2&gt;

&lt;p&gt;She never opens this. We do, on the house network, at &lt;code&gt;romini.local&lt;/code&gt;. Upload a file, map a tag, set how loud it is, see what is actually on the pad without walking in.&lt;/p&gt;

&lt;p&gt;The same pages are on the public demo at &lt;a href="https://romini.party" rel="noopener noreferrer"&gt;romini.party&lt;/a&gt;. Walk the player, the figures, the library and the story studio. Studio keys, uploads and other changes stay off.&lt;/p&gt;

&lt;h3&gt;
  
  
  The live player
&lt;/h3&gt;

&lt;p&gt;The live player is the one I open when I want to know if she is mid-story: which figure, how far through, and the volume cap. The cap is the point. Bedtime should not be able to creep up to the speaker's idea of loud.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/player.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F92eonpvyhkh526zzrjnf.webp" alt="What is playing" width="800" height="799"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Figures and tags
&lt;/h3&gt;

&lt;p&gt;The Figures and tags page lets me register a tag, give it a picture and point it at a story.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/figures.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpzdhi7ejcpnit4w5dgq7.webp" alt="Figures and their stories" width="800" height="971"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The library
&lt;/h3&gt;

&lt;p&gt;The library is a folder with a form in front of it. Drop in an MP3, give it a title, point it at a figure. Unassigned files sit there until they have a toy. I can play a track back on the laptop before it is hers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/library.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa2th7uobgugvqvs03z05.webp" alt="The library" width="800" height="811"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The system page
&lt;/h3&gt;

&lt;p&gt;Volume lives on the system page, next to whether a figure is on the plate. The keys for drafting and speaking a story are on this page too. Two activity streams sit on that page. One is the Pi's logs, for when something misbehaves. The other is the box's own record of what it did.&lt;/p&gt;

&lt;p&gt;From the same page I can push an over-the-air update, reboot the box, switch play mode between presence and tap, or raise the volume cap.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/settings.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faqmh8r338jfjbnvv2d1t.webp" alt="Volume and the box" width="800" height="1584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A story about today
&lt;/h2&gt;

&lt;p&gt;Recording ourselves is the book. Put the tag in the cover, read it once, and she can hear that parent again. I wanted another kind of track too. One we would not sit down and perform. A story that only exists because this week happened, told in a voice that is not mine and not my wife's, then stuck to a toy she already takes to bed. That part is the story studio.&lt;/p&gt;

&lt;p&gt;We start with the people in her life. Each one is a name and a bit of background: who they are to her, how they behave, what she would recognise. Romy is in that list on purpose. So are we. So is anyone else who keeps turning up, toys included. Those notes stay on the box. The next story should not have to be told who lives in the house, or what is around her.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/characters.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flo7b9z69inc0zd3mv2uo.webp" alt="Characters we reuse" width="800" height="1268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The brief for one story is small. We tick who is in it. We write an outline, a few lines on what has to happen. We set how long it should be. That is the whole ask. Gemini writes the script from those notes and from the characters we have already described.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
  cast["Who is in her life"] --&amp;gt; brief["Outline and length"]
  brief --&amp;gt; draft["Gemini writes a script"]
  draft --&amp;gt; edit["We change it until it lands"]
  edit --&amp;gt; speak["ElevenLabs reads it"]
  speak --&amp;gt; toy["We tag it to a toy"]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;We read that script before anyone speaks it. This is the part that matters. The first draft is a start. We change the lines, the ending, the bit where she would lose the thread. Titles keep her name as Romy. In the script she is Rowmy, and we are Maama and Baaba, because that is how the stories are said aloud. Marks in square brackets, a pause or a whisper or a yawn, are instructions to the reading. They are not words for her to hear.&lt;/p&gt;

&lt;p&gt;When the words are the ones we want, we send that script to ElevenLabs and pick a voice. It comes back as an MP3 on the box, the same kind of file as a book we recorded. We bind it to a figure. She taps that toy and gets a story about her, about us and about the place she is actually in. Next week we open the same notes, change the outline and do it again.&lt;/p&gt;

&lt;p&gt;Making that story uses the network only when we ask: once for Gemini to draft, once for ElevenLabs to read.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/stories.webp" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnwzq4z8msl8ebuctqbeb.webp" alt="Notes, the script and the voice" width="800" height="1268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  If you want the build
&lt;/h2&gt;

&lt;p&gt;The code is &lt;a href="https://github.com/mzworthington/RoMini" rel="noopener noreferrer"&gt;on GitHub&lt;/a&gt;. Start with the &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/hardware.md" rel="noopener noreferrer"&gt;parts and wiring&lt;/a&gt; if you are building a box, the &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/fabrication.md" rel="noopener noreferrer"&gt;wooden cube&lt;/a&gt; if you want the sheet &lt;a href="https://cuttingedgecnc.co.uk/" rel="noopener noreferrer"&gt;Cutting Edge CNC&lt;/a&gt; laser-cut for us, or &lt;a href="https://romini.party" rel="noopener noreferrer"&gt;play with the demo dashboard&lt;/a&gt; if you want the screens without a box. The notes for those pages stay &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/dashboard.md" rel="noopener noreferrer"&gt;in the repo&lt;/a&gt;. How the player is put together, including the laptop that pretends to be a Pi, is &lt;a href="https://github.com/mzworthington/RoMini/blob/main/docs/architecture.md" rel="noopener noreferrer"&gt;the architecture note&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;She taps a thing she already loves on a wooden box, and she gets a story. Sometimes that is one of us, recorded. Sometimes it was written that afternoon, about her and the people around her, and a voice that is neither of ours reads it to her. If you have built something similar (or have a better way to handle ruggedised enclosures and Pi power management), compare notes or open an issue on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-10-24-building-a-story-box-for-romy/dashboard-tour.gif" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsoh1osyo3jniv1zlv7pz.gif" alt="A walk through the parent pages" width="600" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>elevenlabs</category>
      <category>gemini</category>
      <category>opensource</category>
      <category>screenfree</category>
    </item>
    <item>
      <title>I built a build monitor, part 2</title>
      <dc:creator>Matthew Worthington</dc:creator>
      <pubDate>Fri, 04 Dec 2026 10:30:04 +0000</pubDate>
      <link>https://dev.to/mzworthington/i-built-a-build-monitor-part-2-232n</link>
      <guid>https://dev.to/mzworthington/i-built-a-build-monitor-part-2-232n</guid>
      <description>&lt;p&gt;The &lt;a href="https://mzworthington.co.uk/blog/guides/i-built-a-build-monitor" rel="noopener noreferrer"&gt;photo frame&lt;/a&gt; is still in the office. I look up and I know if a build needs me. Over the last few months I was at that desk less. More of the work was happening through cloud agents, on the move, and on the Mac I use for my own projects. The frame stays where it is, so the monitor had to grow a few more faces.&lt;/p&gt;

&lt;h2&gt;
  
  
  A site on the home screen
&lt;/h2&gt;

&lt;p&gt;On 8 August 2026 I put the status on the web, at &lt;a href="https://monitor.mzworthington.co.uk" rel="noopener noreferrer"&gt;monitor.mzworthington.co.uk&lt;/a&gt;. The Pi reads that same snapshot. So does everything that came after it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-12-03-i-built-a-build-monitor-part-2/web.png" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4hk6eum2kk6r6h5an294.png" alt="The status page, with the roll-up and the repos it is watching" width="800" height="1185"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was using agents away from the desk, and a page I have to hunt for in a browser is the same dead end as the old build tab. I installed the site as a PWA so it lives on the home screen. On 10 August 2026 it started sending a notification when a build failed, and the day after that it sent another when the builds recovered.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-12-03-i-built-a-build-monitor-part-2/pixel-all-builds-passing.svg" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmzworthington.co.uk%2Fassets%2F2026-12-03-i-built-a-build-monitor-part-2%2Fpixel-all-builds-passing.svg" alt="Android notification: Build monitor, All builds passing" width="720" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Findings next to the builds
&lt;/h2&gt;

&lt;p&gt;A green light means the pipeline finished. It does not mean the code is clean.&lt;/p&gt;

&lt;p&gt;On 12 September 2026 the snapshot started carrying open &lt;a href="https://codeql.github.com/" rel="noopener noreferrer"&gt;CodeQL&lt;/a&gt; alerts from GitHub code scanning. On 29 November 2026 it started carrying unresolved &lt;a href="https://sonarcloud.io/" rel="noopener noreferrer"&gt;SonarCloud&lt;/a&gt; issues for the same repos. That is the SonarQube analysis these projects already publish. I left both off the lights. A failed build still changes the frame, and it is still the only ping. A finding waits on the page, beside the builds, with a link back to the alert or the issue.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
  finish[A pipeline finishes] --&amp;gt; failed{Did it fail?}
  failed --&amp;gt;|yes| ping[The frame changes and the phone pings]
  failed --&amp;gt;|no| quiet[The frame stays put]
  opened[CodeQL or SonarCloud opens a finding] --&amp;gt; page[The status page lists it beside the builds]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The hub writes that page. When it refreshes, it asks GitHub for the latest workflows and the open CodeQL alerts, and it asks SonarCloud for unresolved issues. Both land on the snapshot the page already reads. A finding does not move the CI status.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;sequenceDiagram
  participant GitHub
  participant Hub as Status hub
  participant Sonar as SonarCloud
  participant Page as Status page
  Hub-&amp;gt;&amp;gt;GitHub: Workflows and open CodeQL alerts
  Hub-&amp;gt;&amp;gt;Sonar: Unresolved issues
  Hub-&amp;gt;&amp;gt;Page: One snapshot&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The snapshot is the model. A build is a repo, a workflow, a status, and a link. Pull requests and findings hang off that build. The roll-up reads pipeline status only, so a finding never moves the frame.&lt;/p&gt;

&lt;p&gt;A failed build pushes into me from the page. When I look at the frame, the site, the menu bar, or the reader, the arrow goes the other way.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TB
  me["👤 Me"]
  page[Page]
  frame["Frame (look in the room)"]
  menu["Menu bar (check on the Mac)"]
  reader["Reader (glance when out)"]
  page --&amp;gt;|Failed build reaches me| me
  me --&amp;gt; page
  me --&amp;gt; frame
  me --&amp;gt; menu
  me --&amp;gt; reader&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Under that, the adapters sit behind the domain, and the domain sits behind those four faces. GitHub and CircleCI write builds. GitHub also brings pull requests and CodeQL findings. SonarCloud adds findings. The roll-up drives the frame, the menu bar, and the reader. The page shows the build, the pull requests, and the findings.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TB
  ux["UX: Frame · Page · Menu bar · Reader"]
  domain["Domain: Build · Pull requests · Findings · Roll-up"]
  inbound["Inbound adapters: GitHub · CircleCI · SonarCloud"]
  ux --&amp;gt; domain --&amp;gt; inbound&lt;/code&gt;&lt;/pre&gt;



&lt;h2&gt;
  
  
  An e-reader in my pocket
&lt;/h2&gt;

&lt;p&gt;I wanted a reason to write C++ again, and I wanted a glance that was not the photo frame and not a bright phone. CrossPoint, the firmware on the Xteink X3, is a C++ e-reader. On 9 September 2026 I started a build monitor for that device, and on 10 September it became an overlay on CrossPoint.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-12-03-i-built-a-build-monitor-part-2/xteink-x3.jpg" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsngr13qcylqbu36qmip5.jpg" alt="The Xteink X3 showing the build monitor" width="768" height="1024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The reader asks the website for a small snapshot and draws the list. The lights stay on the Pi. When I am out, the panel is enough to know whether I need to open a laptop.&lt;/p&gt;

&lt;h2&gt;
  
  
  A toolbar on my Mac
&lt;/h2&gt;

&lt;p&gt;On 3 September 2026 I added a menu bar plugin for the machine I use on personal work. &lt;a href="https://github.com/swiftbar/SwiftBar" rel="noopener noreferrer"&gt;SwiftBar&lt;/a&gt; polls the public snapshot every half minute. The icon uses the same colours as the LEDs on the frame.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mzworthington.co.uk/assets/2026-12-03-i-built-a-build-monitor-part-2/menu-bar.png" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F72dtr817xej089i7da90.png" alt="The Mac menu bar, with a green check and the repo menu open" width="760" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Anything that needs me sits at the top of the menu. Each repo opens its workflows. The rest of the time it is a mark in the toolbar, which is as much room as a healthy build should take.&lt;/p&gt;

&lt;p&gt;The lights are still what I trust when I am in the room. They are on whether I think to check or not. Everything since the frame exists because I kept leaving that room.&lt;/p&gt;

&lt;p&gt;I leave the page closed. A failed build reaches me before I sit back down.&lt;/p&gt;

</description>
      <category>observability</category>
      <category>tech</category>
      <category>cicd</category>
      <category>pathtoproduction</category>
    </item>
    <item>
      <title>Giving Coding Agents a Release Bar</title>
      <dc:creator>Matthew Worthington</dc:creator>
      <pubDate>Fri, 04 Dec 2026 10:29:53 +0000</pubDate>
      <link>https://dev.to/mzworthington/giving-coding-agents-a-release-bar-526h</link>
      <guid>https://dev.to/mzworthington/giving-coding-agents-a-release-bar-526h</guid>
      <description>&lt;p&gt;Most engineering teams adopt coding agents the same way. Someone drops a multi-hundred-line rules file into the root of a repository, pastes a feature request into a chat window, and hopes the model remembers every architectural boundary, testing standard, and deployment constraint while generating code. On a greenfield prototype or a single isolated utility function, that workflow feels fast. On a production codebase with real operational standards, it breaks down within days.&lt;/p&gt;

&lt;p&gt;Without explicit engineering boundaries, coding agents fail in three predictable ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;They jump straight to implementation.&lt;/strong&gt; Given an ambiguous prompt, an agent will invent silent assumptions, create files across the wrong layers, and build something plausible that misses the real requirement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They drown in fat context.&lt;/strong&gt; As teams append every past mistake to &lt;code&gt;AGENTS.md&lt;/code&gt; or &lt;code&gt;.cursorrules&lt;/code&gt;, always-on instructions consume tens of thousands of tokens before the agent reads a single line of application code, degrading attention and causing the model to ignore the exact rule it needed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They suffer from session amnesia.&lt;/strong&gt; Lessons learned during a painful debugging session disappear the moment you close the chat window. By Tuesday morning, a fresh session repeats the exact regression you fixed on Monday afternoon.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No high-performing engineering organisation ships production software by handing a new joiner a vague one-line ticket and disabling code review, automated tests, static analysis, and production monitoring. Yet most teams run coding agents that way today.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Waykit&lt;/strong&gt; (&lt;a href="https://waykit.dev" rel="noopener noreferrer"&gt;waykit.dev&lt;/a&gt;) so coding agents ship under the same bar humans do: written specs, red-green TDD, cross-functional checks, and production signals that feed the next session.&lt;/p&gt;




&lt;h2&gt;
  
  
  From Shipping ArchLens to Extracting the Harness
&lt;/h2&gt;

&lt;p&gt;Waykit did not start as an abstract framework. It grew out of building &lt;a href="https://mzworthington.co.uk/blog/open-source/making-software-architecture-a-living-picture" rel="noopener noreferrer"&gt;ArchLens&lt;/a&gt;, my local-first architecture intelligence platform.&lt;/p&gt;

&lt;p&gt;When I began writing ArchLens, I wanted to test what it actually takes to build complex software alongside coding agents. ArchLens involves multi-language Tree-sitter AST parsing, bidirectional YAML-to-canvas state synchronisation, graph layout algorithms, and real-time multiplayer rooms. On a codebase like that, ad-hoc prompting collapses immediately. If an agent hallucinates a schema property or subtly alters coordinate transformations during a refactor, the canvas breaks.&lt;/p&gt;

&lt;p&gt;Every time an agent tripped over an underspecified requirement, bloated a documentation page, or introduced a subtle regression, I turned that failure into a concrete guardrail inside the repository:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Before writing code:&lt;/strong&gt; A structured interrogation step to challenge edge cases and lock down a written specification before any source file was touched.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;During implementation:&lt;/strong&gt; Strict red-green-refactor Test-Driven Development (TDD) cycles paired with automated static analysis, schema validation, and Vale prose linting in pre-commit hooks and CI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Across sessions:&lt;/strong&gt; Modular skills and Standard Operating Procedures (SOPs) versioned in Git rather than buried in ephemeral chat history.
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    subgraph AdHoc [Ad-Hoc Agent Workflow]
        P1[Ambiguous Prompt] --&amp;gt; C1[Bloated Always-On Rules]
        C1 --&amp;gt; G1[Immediate Code Generation]
        G1 --&amp;gt; R1[Manual Cleanup &amp;amp; Regressions]
        R1 -.-&amp;gt;|Lessons lost when chat closes| P1
    end

    subgraph Gated [Waykit Lifecycle]
        P2[Grill &amp;amp; Spec] --&amp;gt; C2[On-Demand Ontology Node]
        C2 --&amp;gt; G2[TDD Guard, XFN &amp;amp; Audit Gates]
        G2 --&amp;gt; R2[Verified Release &amp;amp; Telemetry]
        R2 --&amp;gt;|Updated skills, evals &amp;amp; hygiene PRs| P2
    end&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Once those guardrails were in place, rework dropped enough that the pattern was worth extracting. None of those mechanisms were specific to architecture visualisation; they were a general operating model for software delivery with coding agents. I extracted them into a dedicated repository called &lt;code&gt;agent-lifecycle-kit&lt;/code&gt;, which evolved into &lt;strong&gt;Waykit&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  How Waykit Stays Lean
&lt;/h2&gt;

&lt;p&gt;The Waykit repository (&lt;code&gt;mzworthington/waykit&lt;/code&gt;) favours a local CLI, plain-text specs, and strict context hygiene over heavy orchestration frameworks. Everything runs locally on macOS and Linux with Git and Node 22+, requiring no proprietary cloud platform or wrapper API key.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. One-Command Bootstrap and the Thin Handshake
&lt;/h3&gt;

&lt;p&gt;Getting a repository onto Waykit takes two commands (&lt;a href="https://waykit.dev/docs/start/" rel="noopener noreferrer"&gt;getting started&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://raw.githubusercontent.com/mzworthington/waykit/main/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sh
wk init . --mcp default --hook
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer links &lt;code&gt;~/.agents&lt;/code&gt;, puts the &lt;code&gt;wk&lt;/code&gt; CLI on &lt;code&gt;~/.local/bin&lt;/code&gt;, and installs dynamic shell completion stubs (&lt;code&gt;wk completion install&lt;/code&gt;) for zsh and bash that query &lt;code&gt;wk __complete&lt;/code&gt; at tab-time so new subcommands appear automatically after upgrades.&lt;/p&gt;

&lt;p&gt;Running &lt;code&gt;wk init&lt;/code&gt; inside a target repository avoids dumping hundreds of lines of boilerplate into the project. Instead, it writes a &lt;strong&gt;thin handshake&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Minimal host pointers:&lt;/strong&gt; Generates a concise &lt;code&gt;AGENTS.md&lt;/code&gt; alongside native rule pointers for Cursor, Claude Code, GitHub Copilot, and Antigravity (defined declaratively in &lt;code&gt;models/hosts/*.yaml&lt;/code&gt;) so every editor or CLI agent enters the exact same lifecycle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A lean default MCP profile:&lt;/strong&gt; Configures a minimal Model Context Protocol baseline centred on &lt;code&gt;kit-knowledge&lt;/code&gt; rather than loading twenty third-party MCP servers into every chat session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;POSIX Git hooks:&lt;/strong&gt; Installs &lt;code&gt;pre-commit&lt;/code&gt; and &lt;code&gt;commit-msg&lt;/code&gt; hooks (&lt;code&gt;wk commit-msg&lt;/code&gt;) that reject non-conventional commit subjects, enforce linear ticket suffixes where applicable, and run local hygiene checks before code ever reaches a pull request.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. A Live-Derived Knowledge Graph Instead of Fat Context
&lt;/h3&gt;

&lt;p&gt;The central architectural decision in Waykit, documented in &lt;a href="https://waykit.dev/docs/ADRs/0005-live-derived-ontology-memory-allowlist/" rel="noopener noreferrer"&gt;ADR 0005&lt;/a&gt;, is replacing static rule dumps with a &lt;strong&gt;live-derived ontology index&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Rather than maintaining a separate documentation catalogue that drifts from reality, Waykit parses its own tree of skills, subagent stubs, SOPs, Architecture Decision Records (ADRs), MCP server definitions, philosophy docs, and evaluation suites into a typed graph. Today, that graph spans &lt;strong&gt;221 entities and 387 relations&lt;/strong&gt;, rendered interactively on the &lt;a href="https://waykit.dev/docs/map/" rel="noopener noreferrer"&gt;Waykit map&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;That same index backs the &lt;code&gt;kit-knowledge&lt;/code&gt; MCP server. When an agent starts a task, it does not load the entire kit into its prompt. It queries &lt;code&gt;kit-knowledge&lt;/code&gt; to fetch only the exact skill, SOP, or philosophy node required for the job in front of it.&lt;/p&gt;

&lt;p&gt;To prevent repositories from drifting back into fat context files over time, Waykit enforces explicit &lt;strong&gt;context budgets&lt;/strong&gt; through the CLI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;wk check&lt;/code&gt; and &lt;code&gt;wk doctor&lt;/code&gt; verify structural integrity, check for dangling links across skills and SOPs, and ensure owned repositories include required community and contribution templates.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://waykit.dev/docs/align/" rel="noopener noreferrer"&gt;&lt;code&gt;wk align .&lt;/code&gt;&lt;/a&gt; (and a reusable GitHub Actions &lt;code&gt;align-consumer&lt;/code&gt; workflow) validates that a consuming repository's &lt;code&gt;AGENTS.md&lt;/code&gt;, host pointers, MCP configuration, and role skill line counts stay within budget, failing pull requests if someone pastes an unvetted wall of rules back into the repo.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Modular Packs and Scoped MCP Profiles
&lt;/h3&gt;

&lt;p&gt;Out of the box, &lt;code&gt;wk init&lt;/code&gt; installs the core engineering profile: debugging, specification, TDD, cross-functional quality, security/architecture audit, and release. Stack-specific guidance stays off until a repository needs it. Install a language or framework pack when you need it (for example TypeScript, React, or Pulumi); the full catalogue lives on the &lt;a href="https://waykit.dev/docs/map/" rel="noopener noreferrer"&gt;kit map&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;MCP servers follow the same principle of least privilege. Instead of leaving production deployment or analytics tools permanently wired into an agent's tool list, Waykit provides scoped profiles (&lt;code&gt;cloudflare-ops&lt;/code&gt;, &lt;code&gt;posthog&lt;/code&gt;, &lt;code&gt;signoz&lt;/code&gt;, &lt;code&gt;sonarqube&lt;/code&gt;, &lt;code&gt;linear&lt;/code&gt;, &lt;code&gt;playwright&lt;/code&gt;, &lt;code&gt;semgrep&lt;/code&gt;). You activate a profile for the task at hand and restore the clean baseline immediately afterward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wk mcp cloudflare-ops --project
&lt;span class="c"&gt;# ... run Worker or Pages deployment tasks ...&lt;/span&gt;
wk mcp restore --project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Four Concentric Rings
&lt;/h2&gt;

&lt;p&gt;Most agent harnesses focus exclusively on the inner loop of generating code and running unit tests. Writing code, however, is only one fraction of software delivery. If an agent builds an unvalidated feature cleanly, or ships code that degrades production latency without feeding that signal back into the backlog, the team still loses.&lt;/p&gt;

&lt;p&gt;Waykit models software delivery as &lt;strong&gt;four concentric rings&lt;/strong&gt; (see the &lt;a href="https://waykit.dev/docs/lifecycle/" rel="noopener noreferrer"&gt;feature lifecycle&lt;/a&gt;): outer rings govern standards, memory, and telemetry; inner rings drive discovery and execution.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffzvroq9re8k9g6ee9iai.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffzvroq9re8k9g6ee9iai.png" alt="Four concentric rings" width="800" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Waykit:&lt;/strong&gt; Versioned skills, SOPs, architectural principles, and release bars shared across the fleet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signals:&lt;/strong&gt; CI, RUM, Lighthouse, SonarQube, and PostHog feed structured Linear tickets instead of rotting in dashboards.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan:&lt;/strong&gt; Unproven ideas become explicit bets; technical contracts become testable specifications before implementation starts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build:&lt;/strong&gt; Specs become verified code through TDD guards, cross-functional checks, and readonly security and architecture-drift audits.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Jobs for Today
&lt;/h2&gt;

&lt;p&gt;One of the quickest ways to kill adoption of an engineering process is forcing a heavyweight ceremony onto a five-minute bug fix. Waykit solves this through a routing guide called &lt;strong&gt;&lt;a href="https://waykit.dev/docs/jobs/" rel="noopener noreferrer"&gt;Jobs for today&lt;/a&gt;&lt;/strong&gt;, which matches the workflow to the actual job in front of you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Typo, bug, or failed CI job:&lt;/strong&gt; Skips discovery and specs entirely, routing straight to &lt;code&gt;agent-debug&lt;/code&gt; (Hypothesis-Driven Debugging) plus a lightweight cross-functional check if UI, auth, or an SLO was touched.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt, skill, or tool schema change:&lt;/strong&gt; Routes into Evaluation-Driven Development (EDD) to prove routing accuracy before merge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New product capability:&lt;/strong&gt; Engages the full six-stage &lt;strong&gt;Feature Lifecycle&lt;/strong&gt;, orchestrated from the parent chat while delegating isolated execution steps to specialist host subagents.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Six-Stage Feature Lifecycle
&lt;/h2&gt;

&lt;p&gt;The full path is documented in the &lt;a href="https://waykit.dev/docs/lifecycle/" rel="noopener noreferrer"&gt;feature lifecycle guide&lt;/a&gt;. Host support for isolated roles versus skills-only mode is covered under &lt;a href="https://waykit.dev/docs/hosts/" rel="noopener noreferrer"&gt;hosts&lt;/a&gt; and &lt;a href="https://waykit.dev/docs/subagents/" rel="noopener noreferrer"&gt;subagents&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    G[1. Grill] --&amp;gt; P{Contract or Bet?}
    P --&amp;gt;|Product Bet| PRD[PRD &amp;amp; Hypothesis]
    P --&amp;gt;|Clear Contract| S[2. Spec &amp;amp; Gherkin]
    PRD --&amp;gt; S
    S --&amp;gt; T[3. TDD: Gear 1 &amp;amp; Gear 2]
    T --&amp;gt; X[4. XFN Matrix]
    X --&amp;gt; A[5. Readonly Audit]
    A --&amp;gt; R[6. Release &amp;amp; Telemetry]

    T --&amp;gt; Gate{Skill, Prompt or Tool Changed?}
    Gate --&amp;gt;|Yes| EDD[EDD Eval Suite]
    EDD --&amp;gt;|Pass| X
    EDD --&amp;gt;|Regression| T

    R -.-&amp;gt;|Timebox elapsed| BetCheck[Confirm or Kill Flagged Bet]&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  1. Grill (&lt;code&gt;agent-grilling&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Left unchecked, coding agents are overly eager to please. Give them a fuzzy idea and they will start scaffolding files immediately. &lt;strong&gt;Grill&lt;/strong&gt; reverses that behaviour: the agent interviews you until the decision frontier is clear, surfacing edge cases, failure modes, data migrations, and whether the work is a deterministic contract or an unproven product bet.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Spec (&lt;code&gt;subagent:agent-spec&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;For product bets, &lt;code&gt;agent-prd&lt;/code&gt; captures the problem, belief, leading indicator, timebox, kill criteria, and feature-flag rollout plan (&lt;code&gt;SOPs/hypothesis-driven-development.md&lt;/code&gt;). &lt;code&gt;agent-spec&lt;/code&gt; then translates the work into INVEST user stories and Gherkin acceptance scenarios covering flag-off, flag-on, and kill states.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. TDD (&lt;code&gt;subagent:agent-tdd&lt;/code&gt; + TDD Guard Hooks)
&lt;/h3&gt;

&lt;p&gt;Implementation runs in two distinct gears inside an isolated subagent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gear 1 (Domain):&lt;/strong&gt; Pure business logic, domain invariants, and state transitions tested in isolation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gear 2 (Adapters):&lt;/strong&gt; Thin HTTP handlers, CLI parsers, database repositories, and UI bindings wired to the hexagonal core.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To prevent agents from writing implementation code first and backfilling tests afterward, Waykit ships &lt;strong&gt;TDD Guard hooks&lt;/strong&gt; (&lt;code&gt;wk tdd-guard install&lt;/code&gt;). In supported hosts like Cursor and Claude Code, the hook inspects recent test execution state and mechanically blocks writes to production files until a failing test run has been recorded.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. XFN (&lt;code&gt;subagent:agent-xfn&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Before a feature is considered complete, &lt;code&gt;agent-xfn&lt;/code&gt; walks a cross-functional behavior catalog (&lt;code&gt;SOPs/behavior-catalog-and-xfn.md&lt;/code&gt;) covering accessibility, observability instrumentation, API contract compatibility, error states, and flag-on surfaces, requiring each applicable row to turn green or carry an explicit skip rationale.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Readonly Audit (&lt;code&gt;subagent:agent-security&lt;/code&gt; &amp;amp; &lt;code&gt;subagent:agent-arch-drift&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Audit roles run as &lt;strong&gt;readonly host subagents&lt;/strong&gt; so the reviewer cannot quietly mutate code to hide a finding. &lt;code&gt;agent-security&lt;/code&gt; checks input validation, secret handling, and dependency surfaces, while &lt;code&gt;agent-arch-drift&lt;/code&gt; verifies that new imports respect hexagonal boundaries before &lt;code&gt;agent-pre-commit&lt;/code&gt; runs type checks, linters, and SAST scans.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Release and Closing the Bet Loop (&lt;code&gt;agent-release&lt;/code&gt; &amp;amp; &lt;code&gt;agent-prune&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;agent-release&lt;/code&gt; prepares a conventional commit subject (with the Linear ticket ID), updates release notes, and records feature-flag rollback instructions. Once a flagged bet's timebox expires, &lt;code&gt;agent-telemetry&lt;/code&gt; and &lt;code&gt;agent-posthog&lt;/code&gt; evaluate the leading indicator in PostHog, either promoting the feature to default-on or running &lt;code&gt;agent-prune&lt;/code&gt; to strip the dead flag and code slice cleanly.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(For hosts or environments that do not support subagent isolation, setting &lt;code&gt;WK_SUBAGENTS=0&lt;/code&gt; switches &lt;code&gt;wk agents status&lt;/code&gt; cleanly into &lt;code&gt;mode: skills-only&lt;/code&gt;, executing every role sequentially inside the parent session.)&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Treating Prompts and Skills Like Code with EDD
&lt;/h2&gt;

&lt;p&gt;Editing a Markdown skill or an MCP tool description is a behavioural code change.&lt;/p&gt;

&lt;p&gt;When you refactor TypeScript logic, unit tests tell you immediately if you broke an invariant. When you reword a skill trigger, tighten an SOP, or change a parameter schema on an MCP tool, traditional unit tests remain green, even if you just caused the agent to choose the wrong workflow half the time or invent invalid tool arguments.&lt;/p&gt;

&lt;p&gt;Waykit solves this with &lt;strong&gt;&lt;a href="https://waykit.dev/docs/edd/" rel="noopener noreferrer"&gt;Evaluation-Driven Development (EDD)&lt;/a&gt;&lt;/strong&gt; (&lt;code&gt;wk eval&lt;/code&gt;), putting prompt and skill changes behind the same merge bar as application code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wk &lt;span class="nb"&gt;eval&lt;/span&gt; run --suite evals/edd/demo.yaml --model scripted
wk &lt;span class="nb"&gt;eval&lt;/span&gt; ci --suite evals/edd/demo.yaml --threshold-routing 95 --out out/reports
wk &lt;span class="nb"&gt;eval&lt;/span&gt; report --format md --out out/reports
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The evaluation runner tests three concrete dimensions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Routing accuracy:&lt;/strong&gt; Given a realistic user prompt, such as debugging a failing CI build versus scaffolding a new endpoint, does the agent select the right skill or subagent without manual steering?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool and argument fidelity:&lt;/strong&gt; Does the agent call the intended MCP tool with valid schema parameters rather than guessing architecture or hallucinating flags?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Constraint adherence:&lt;/strong&gt; Under adversarial or ambiguous inputs, does the agent respect line budgets, security rules, and handover formats?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Because &lt;code&gt;wk eval&lt;/code&gt; supports an offline &lt;code&gt;--model scripted&lt;/code&gt; driver alongside live provider keys, deterministic routing suites run in seconds inside standard GitHub Actions workflows without burning API credits on every commit.&lt;/p&gt;




&lt;h2&gt;
  
  
  Closed-Loop Maintenance: Signals, Hygiene, and the Work Picker
&lt;/h2&gt;

&lt;p&gt;Software quality rarely collapses overnight; it erodes through small papercuts: a SonarQube maintainability smell, a minor Lighthouse regression, a recurring low-volume runtime warning, or a high-churn hotspot file (&lt;code&gt;SOPs/complexity-hotspots.md&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Waykit automates that maintenance loop through its &lt;strong&gt;Signals and Hygiene&lt;/strong&gt; pipeline (&lt;a href="https://waykit.dev/docs/loops/" rel="noopener noreferrer"&gt;quality loops&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    subgraph Sources [Automated Signal Intake]
        CI[CI Failures]
        RUM[RUM Regressions]
        LH[Lighthouse Audits]
        SQ[SonarQube Findings]
        PH[PostHog Signals]
    end

    CI &amp;amp; RUM &amp;amp; LH &amp;amp; SQ &amp;amp; PH --&amp;gt; Linear[Typed Linear Tickets]
    Linear --&amp;gt; Hygiene[Scheduled Hygiene Pass: Deduplicate &amp;amp; Enrich]
    Hygiene --&amp;gt; Picker[Work Picker &amp;amp; Allowlist]
    Picker --&amp;gt; Agent[Scoped Debug / Refactor SOP]
    Agent --&amp;gt; PR[Verified Draft PR]&lt;/code&gt;&lt;/pre&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Typed signal intake:&lt;/strong&gt; Automated connectors file structured Linear tickets from CI failures, RUM errors, Lighthouse drops, SonarQube findings, and PostHog anomalies, attaching stack traces, metrics, and affected file paths.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hygiene pass:&lt;/strong&gt; A scheduled hygiene sweep deduplicates noisy alerts, filters out known kit disagreements, and enriches valid tickets with repository context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work picker to draft PR:&lt;/strong&gt; Engineers, or scheduled background runs, use the work picker to claim allowlisted hygiene tickets, execute the matching debugging or dead-code SOP, pass all local TDD and audit gates, and open a clean draft pull request ready for human review.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  From Git History to Roadmap: How Waykit Evolved
&lt;/h2&gt;

&lt;p&gt;Tracing the commit history from the early &lt;code&gt;agent-lifecycle-kit&lt;/code&gt; commits in July 2026 through the Waykit releases in autumn 2026 shows how each capability emerged from real friction across live repositories:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;timeline
    title Waykit Repository Evolution &amp;amp; Roadmap (2026 - 2027)
    July - Aug 2026 : Extracted agent-lifecycle-kit from ArchLens
                    : Codified Hexagonal + DDD philosophy &amp;amp; TDD loops
                    : Added multi-host rule pointers &amp;amp; conventional commit hooks
    Early Sept 2026 : Renamed project to Waykit across CLI, skills &amp;amp; docs
                    : Shipped one-line install.sh &amp;amp; wk init --mcp default --hook
                    : Added dynamic shell completions &amp;amp; wk mcp restore
    Late Sept - Oct 2026 : Built 221-entity live ontology graph &amp;amp; kit-knowledge MCP
                         : Added wk align, fleet --owned --scan &amp;amp; skill line budgets
                         : Automated CI failure classification &amp;amp; Linear ticket loops
    Roadmap (Next) : Graduate EDD evals from alpha to universal CI merge gates
                   : Expand production telemetry -&amp;gt; eval case generation
                   : Standardise OTel agent cost &amp;amp; token observability (SigNoz)&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;July through early September covered extraction from ArchLens (&lt;code&gt;ADR 0001&lt;/code&gt;, multi-host templates, conventional commits) and the zero-friction bootstrap (&lt;code&gt;install.sh&lt;/code&gt;, &lt;code&gt;wk init&lt;/code&gt;, completions, MCP restore). The interesting friction arrived once Waykit was running across my active repositories, including ArchLens, RoMini, SteerCo, GPIO Build Monitor, React Cloudflare Template, Edge DNS, and my personal site:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live ontology and &lt;code&gt;kit-knowledge&lt;/code&gt; (&lt;code&gt;ADR 0005&lt;/code&gt;):&lt;/strong&gt; Replaced static rule files with the 221-entity graph index and interactive browser map so agents fetch single nodes on demand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fleet alignment and line budgets:&lt;/strong&gt; Added &lt;code&gt;wk align&lt;/code&gt; and GitHub Actions PR checks so every first-party repository stays aligned to the thin handshake without &lt;code&gt;AGENTS.md&lt;/code&gt; bloating.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated failure classification:&lt;/strong&gt; Taught &lt;code&gt;agent-debug&lt;/code&gt; to recognise specific CI failure signatures automatically rather than burning tokens rediscovering environment issues.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What Comes Next
&lt;/h3&gt;

&lt;p&gt;Development is focused on three areas:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Graduating EDD from alpha to a universal merge bar:&lt;/strong&gt; Expanding deterministic evaluation suites (&lt;code&gt;evals/edd/&lt;/code&gt;) across every core skill and SOP, and automatically converting production agent misses (&lt;code&gt;SOPs/edd-production-telemetry.md&lt;/code&gt;) into regression test cases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deeper closed-loop quality automations:&lt;/strong&gt; Tightening the feedback cycle between PostHog product metrics, SonarQube findings, and Linear work pickers so teams spend less time triaging routine maintenance and more time reviewing verified draft PRs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First-class agent observability and cost governance:&lt;/strong&gt; Standardising OpenTelemetry instrumentation across local and cloud agent runs (&lt;code&gt;SOPs/coding-agent-observability.md&lt;/code&gt; with SigNoz) so engineering leaders can track token consumption, routing accuracy, and cost per merged PR with the same precision as production microservices.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Structure Over Longer Prompts
&lt;/h2&gt;

&lt;p&gt;Coding agents do not fail because models lack raw capability. They fail because we drop them into complex engineering environments without the scaffolding that makes human software teams reliable.&lt;/p&gt;

&lt;p&gt;By keeping skills and SOPs versioned in Git, serving context through a live-derived knowledge graph instead of bloated prompt files, gating changes with TDD Guard and EDD, and wiring production telemetry back into the backlog, Waykit gives agents the same delivery structure teams already expect from humans.&lt;/p&gt;

&lt;p&gt;Start with &lt;a href="https://waykit.dev/docs/start/" rel="noopener noreferrer"&gt;getting started&lt;/a&gt;, browse the live &lt;a href="https://waykit.dev/docs/map/" rel="noopener noreferrer"&gt;kit map&lt;/a&gt;, pick a job from &lt;a href="https://waykit.dev/docs/jobs/" rel="noopener noreferrer"&gt;Jobs for today&lt;/a&gt;, or read the &lt;a href="https://waykit.dev/docs/lifecycle/" rel="noopener noreferrer"&gt;feature lifecycle&lt;/a&gt;, &lt;a href="https://waykit.dev/docs/edd/" rel="noopener noreferrer"&gt;EDD guide&lt;/a&gt;, &lt;a href="https://waykit.dev/docs/loops/" rel="noopener noreferrer"&gt;quality loops&lt;/a&gt;, and &lt;a href="https://waykit.dev/docs/sops/" rel="noopener noreferrer"&gt;SOP library&lt;/a&gt;. The CLI, skills, and evaluation suites live on GitHub at &lt;a href="https://github.com/mzworthington/waykit" rel="noopener noreferrer"&gt;github.com/mzworthington/waykit&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>aiengineering</category>
      <category>devrel</category>
      <category>cicd</category>
      <category>pathtoproduction</category>
    </item>
    <item>
      <title>Why Most Internal Developer Platforms Stall</title>
      <dc:creator>Matthew Worthington</dc:creator>
      <pubDate>Fri, 04 Dec 2026 10:29:32 +0000</pubDate>
      <link>https://dev.to/mzworthington/why-most-internal-developer-platforms-stall-1clb</link>
      <guid>https://dev.to/mzworthington/why-most-internal-developer-platforms-stall-1clb</guid>
      <description>&lt;p&gt;Almost every Internal Developer Platform (IDP) starts with high energy and a compelling launch demo. A platform team stands up a portal, connects a handful of out-of-the-box plugins, asks engineering squads to invent catalog metadata from a blank page with no help, and announces a new "single pane of glass" for the organisation.&lt;/p&gt;

&lt;p&gt;Twelve months later, the picture usually looks very different. Half the services in the catalog have outdated owners. The service pages are cluttered with generic widgets nobody clicks. When an incident hits at 2 AM, on-call engineers bypass the portal entirely and ask in a chat channel who owns a failing downstream dependency.&lt;/p&gt;

&lt;p&gt;Most IDPs stall after the launch demo for a simple reason: organisations treat them as &lt;strong&gt;one-off infrastructure projects&lt;/strong&gt; rather than &lt;strong&gt;living internal products&lt;/strong&gt;. They invest heavily in initial setup, assume adoption will follow automatically, and fail to instrument how people actually use the platform once the announcement fades.&lt;/p&gt;

&lt;p&gt;We did not set out to run a discovery &lt;em&gt;for&lt;/em&gt; an IDP. We ran a structured discovery across technology and engineering practice - architecture, infrastructure, squad health and how work actually moved from idea to production. Only after that analysis did a pattern hold: an IDP with a specific set of capabilities was the cleanest answer to many of the pain points and opportunities we had found. We then built and scaled that platform on Backstage as a living product: personas once, then a continuous loop of hypothesis, MVP, measure and learn, and iterate or sunset, fed by smaller signals rather than replaying estate-wide discovery.&lt;/p&gt;




&lt;h2&gt;
  
  
  Discover Across Tech First; Let the IDP Emerge
&lt;/h2&gt;

&lt;p&gt;One of the quickest ways to build the wrong platform is deciding to deploy a developer portal first and then searching for problems to justify it. That is an IDP use-case hunt dressed as discovery.&lt;/p&gt;

&lt;p&gt;We did the reverse. The brief was not "choose or build an IDP". It was to understand where friction and opportunity lived across our technology estate and engineering practices. Before evaluating a single portal framework or vendor, we ran that discovery through four lenses:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Technical architecture reviews:&lt;/strong&gt; Examining service boundaries, deployment pipelines, local development setup and how teams discovered and consumed internal APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure audits:&lt;/strong&gt; Mapping cloud estates, account structures, networking layers and third-party vendor sprawl across environments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Soft measures and team health checks:&lt;/strong&gt; Running structured squad health-check workshops to baseline sentiment around speed, support, tooling, mission clarity and codebase health.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-discipline interviews:&lt;/strong&gt; Speaking directly with software engineers, QA specialists, product managers, operations and customer service staff, business stakeholders who only knew systems by capability name, and engineering leaders to hear how work moved from idea to production in practice.
&lt;/li&gt;
&lt;/ol&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    subgraph Discovery [Tech &amp;amp; Engineering Discovery]
        TR[Technical Reviews]
        IA[Infrastructure Audit]
        SHC[Squad Health Checks]
        INT[Cross-Discipline Interviews]
    end

    TR &amp;amp; IA &amp;amp; SHC &amp;amp; INT --&amp;gt; Gaps[Pain Points &amp;amp; Opportunities]

    Gaps --&amp;gt; Missing[Missing Capabilities: Ownership, Cost, Goals &amp;amp; Orphans]
    Gaps --&amp;gt; MissedMark[Capabilities Missing the Mark: Noisy Tools &amp;amp; Manual Wikis]

    Missing &amp;amp; MissedMark --&amp;gt; Fit[IDP Emerges as the Fit]
    Fit --&amp;gt; Caps[Required Capabilities Named]
    Caps --&amp;gt; Decision[Build vs. Buy on That Basis]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Looking across those four inputs surfaced two very different categories of problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Missing capabilities:&lt;/strong&gt; Fundamental questions nobody could answer reliably without tribal knowledge. Which team owns this service when you only know it by a business capability or system nickname? What calls it in production? Where is the runbook? How much does this domain cost to run each month? Which cloud resources have no clear owner? Which capabilities are duplicated across the estate, and which services no longer contribute to any active goal?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capabilities that missed the mark:&lt;/strong&gt; Tools and processes that existed on paper but failed in daily workflows, such as static architecture diagrams in wikis, manual onboarding checklists and fragmented dashboards that forced engineers to context-switch across a dozen tabs to diagnose a release issue.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We did not start with a portal shortlist and reverse-engineer a problem statement. The gap analysis came first. Only then was it clear that an &lt;strong&gt;IDP with a named set of capabilities&lt;/strong&gt; - ownership and runbooks next to the entity, live dependency and blast-radius maps, FinOps attribution, goal links, golden paths and estate footprint signals - was the solution that addressed many of those pain points and opportunities in one correlation layer, rather than another spreadsheet, wiki or vendor console.&lt;/p&gt;




&lt;h2&gt;
  
  
  Managed Services vs. Self-Hosted Backstage
&lt;/h2&gt;

&lt;p&gt;Once we understood the capabilities we needed, we explored the market properly. We evaluated managed IDP offerings and invited multiple vendors in to demonstrate how their platforms handled real-world enterprise estates.&lt;/p&gt;

&lt;p&gt;The demos were polished, yet a clear constraint emerged during technical deep dives. Our environment was genuinely complex: multiple cloud providers, legacy and modern runtime stacks, strict compliance boundaries and dozens of third-party vendors spanning CI/CD, observability, feature flagging, security scanning and incident management.&lt;/p&gt;

&lt;p&gt;Every managed service we looked at covered the common path well, then hit sharp extension boundaries on the estate-specific remainder. Bridging our infrastructure, vendor integrations and internal workflows would require a substantial amount of custom plugin development regardless of which platform we picked.&lt;/p&gt;

&lt;p&gt;Paying high SaaS licensing fees only to spend months working around vendor SDK constraints made little sense. Instead, we chose to self-host &lt;strong&gt;Backstage&lt;/strong&gt; as an extensible foundation, giving us full control over the data model, custom ingestion pipelines and frontend user experience.&lt;/p&gt;




&lt;h2&gt;
  
  
  Designing for Real Personas, Not "the Developer"
&lt;/h2&gt;

&lt;p&gt;Internal portals often fail because they treat "the developer" as a single uniform user. Different roles arrive with different questions.&lt;/p&gt;

&lt;p&gt;From our discovery interviews, we anchored design around &lt;strong&gt;five personas&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Operations and customer service:&lt;/strong&gt; Who owns this service, where is the runbook, what is the escalation path and which IRM playbook applies? Runbooks, docs and incident context next to the entity make the portal useful outside engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engineers:&lt;/strong&gt; Golden paths, tech docs aligned to the products and repos they join, live health, dependency maps, plus DORA, code health, build status, PR build-up and the cloud bill for infrastructure their team runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;QA:&lt;/strong&gt; Environment topology, deployment versions, coverage and contract dependencies before sign-off, with the same build and delivery signals engineers use to judge whether a change is safe to promote.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Business and product:&lt;/strong&gt; Business arrives with a system nickname or capability name and needs an owner without chat archaeology. Product needs domain-to-system maps and where capacity sits. Both need to see whether a capability still contributes to a funded goal rather than sitting as unowned inventory. We modelled goal contribution as catalog links from systems and domains to the organisation's stated goals, plus scorecards that flagged entities with spend or runtime traffic but no active goal link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech leadership:&lt;/strong&gt; Estate risk, DORA trends, delivery health, FinOps attribution and the leverage to shrink footprint: orphans, duplicates and cloud resources with no accountable owner.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Designing for those personas stopped us from turning Backstage into an engineer-only tool. Onboarding to a new team also got easier: tech docs sat next to the products and repositories people were joining, so ownership, runbooks and delivery signals were discoverable from day one rather than passed on verbally.&lt;/p&gt;




&lt;h2&gt;
  
  
  Solving the Cold-Start Problem: Automated Ingestion and Golden Paths
&lt;/h2&gt;

&lt;p&gt;The fastest way to kill an IDP early is to launch an empty catalog and ask fifty teams to invent YAML from scratch with no help. Engineers already have enough administrative work; if the only path to an accurate entry is hand-editing opaque metadata with no baseline and no UI, the catalog will rot before quarter-end.&lt;/p&gt;

&lt;p&gt;We focused on getting up and running quickly while still leaving teams owning the entity definition they live with day to day:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Automated Catalog Wiring
&lt;/h3&gt;

&lt;p&gt;We built custom ingestion plugins and entity providers that pulled from source control, cloud accounts and deployment pipelines so repositories, infrastructure resources and baseline ownership signals appeared in the Software Catalog without waiting for every squad to invent an entry from a blank page.&lt;/p&gt;

&lt;p&gt;Automation was the cold-start, not a replacement for team ownership. Teams still &lt;strong&gt;wrote and maintained their own &lt;code&gt;catalog-info.yaml&lt;/code&gt;&lt;/strong&gt; in the repository. That file was the contract they owned: owners, links, docs, lifecycle and the fields that only the team could keep honest. Owning the file made ownership of the catalog entry feel real, and made people more compelled to keep it up to date than a purely generated record they never touched.&lt;/p&gt;

&lt;p&gt;When team YAML and automated enrichment disagreed, the merge rule was explicit: the team's &lt;code&gt;catalog-info.yaml&lt;/code&gt; won for owners, docs, links and lifecycle; providers won for discovered resources, FQDN edges and cloud hierarchy facts the team should not have to maintain by hand.&lt;/p&gt;

&lt;p&gt;Scaffolders made that ownership practical. Instead of editing raw YAML as the first experience, a friendly UI walked teams through entity creation and wrote a correct &lt;code&gt;catalog-info.yaml&lt;/code&gt; into the repo. After that, the team maintained the file in source control like any other artefact, with automation continuing to enrich the graph around it.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Golden Paths via Backstage Scaffolders
&lt;/h3&gt;

&lt;p&gt;Beyond writing the initial catalog file, we used &lt;strong&gt;Backstage Scaffolders&lt;/strong&gt; as the guided path for new services, libraries and infrastructure components: repository creation, CI/CD, observability hooks, security defaults and catalog registration in one flow. Kick-off moved from multi-day boilerplate copy-paste to a short guided run.&lt;/p&gt;

&lt;p&gt;Scaffolders also covered &lt;strong&gt;vendor and tooling onboarding&lt;/strong&gt;. Instead of chasing tickets across half a dozen admin consoles, a user could request access to approved tooling through a template that drove the right RBAC grants and approval steps in the systems that already owned identity and entitlements. The portal orchestrated the request; roles, approvals and audit trails still lived with the vendor or identity provider. Getting onto the observability stack or granting a team deploy rights became a guided path rather than tribal knowledge.&lt;/p&gt;

&lt;p&gt;Scaffolders &lt;strong&gt;orchestrated&lt;/strong&gt; templates that already lived in source control. They did not become a second source of truth for application code, infrastructure or access policy.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Bridging a Multi-Vendor Estate
&lt;/h3&gt;

&lt;p&gt;Because our stack spanned so many third-party tools, we built and configured targeted plugins to pull key signals into one place. Rather than forcing engineers to remember which monitoring, security or deployment tool applied to a legacy system versus a new microservice, the service page surfaced the relevant context directly. Combined with scaffolder-driven onboarding, teams could both discover the right tool and gain access to it without leaving the platform workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  Orchestrate the Estate; Do Not Own It
&lt;/h2&gt;

&lt;p&gt;A durable IDP is a correlation and workflow layer, not a new system of record. Scaffolders pointed at templates in source control; IaC stayed in the repos and pipelines that already owned it; RBAC grants and approvals stayed with identity and vendor tooling; live signals for builds, health, incidents, spend and docs stayed in the systems that produced them.&lt;/p&gt;

&lt;p&gt;The operational test was rebuildability. If the IDP database were wiped tomorrow, we would be back at the same level of value once our processors and providers ran again, excluding a few audit logs that lived only in the portal. Catalog entities, relationships and scorecards would rehydrate from source control, cloud accounts, pipelines and vendor APIs.&lt;/p&gt;

&lt;p&gt;That boundary also failed in instructive ways. When a FinOps feed lagged or cloud tags were missing, team cost views went blank and trust dipped until we treated stale attribution as a platform incident with the same SLO urgency as a broken scaffolder. Portals that quietly become the only place a critical fact exists create a new tribal knowledge problem. Ours was designed so the graph could be reconstructed from the estate itself.&lt;/p&gt;




&lt;h2&gt;
  
  
  Running the IDP Like a Real Product (And Sunsetting What Fails)
&lt;/h2&gt;

&lt;p&gt;The shift that kept the platform useful after launch was operating the IDP team like a &lt;strong&gt;product engineering team&lt;/strong&gt;, not a back-office tooling group.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmzworthington.co.uk%2Fassets%2F2026-10-11-why-most-internal-developer-platforms-stall%2Fidp-product-loop.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmzworthington.co.uk%2Fassets%2F2026-10-11-why-most-internal-developer-platforms-stall%2Fidp-product-loop.svg" alt="Tech discovery once leads to an IDP as the fit, then a continuous cycle of hypothesis, MVP, measure and learn, and iterate or sunset, fed by asking users, discussions and RUM" width="1040" height="680"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The estate-wide tech discovery did not need to run again. What had to stay continuous was a smaller loop on the platform we had decided to build: form a hypothesis, ship an MVP, measure and learn, then iterate or sunset. That loop was fed by ongoing signals such as asking users directly, opening discussion threads and reviewing RUM and session analytics, not by another estate-wide discovery programme.&lt;/p&gt;

&lt;p&gt;We managed the platform with an explicit product roadmap, iterative delivery cycles and hypothesis-driven experiments. Equally important, we held the portal to the same operational bar as customer-facing software: full monitoring, alerting, SLOs and Incident Response Management (IRM). If an internal developer platform is slow, broken or showing stale data, people lose trust immediately and rarely come back.&lt;/p&gt;

&lt;h3&gt;
  
  
  Feedback Channels That Matched How Teams Already Worked
&lt;/h3&gt;

&lt;p&gt;Behavioural telemetry told us what people did. We still needed them to tell us what hurt.&lt;/p&gt;

&lt;p&gt;We gathered open-ended product feedback through &lt;strong&gt;discussion threads&lt;/strong&gt; on the same source-control host teams already used, where engineers, QA, operations and business stakeholders could propose ideas, share workflow friction and debate prioritisation in public. Pain points and defects went into the shared &lt;strong&gt;issue tracker&lt;/strong&gt;, so bugs, stale metadata and broken integrations were tracked with the same rigour as any other product backlog. That split kept exploratory conversation separate from actionable work, and it kept the IDP team's intake inside tools the organisation already used rather than a private form nobody checked.&lt;/p&gt;

&lt;h3&gt;
  
  
  Measuring Real Behaviour with Session Analytics
&lt;/h3&gt;

&lt;p&gt;Most platform teams measure success using vanity metrics such as total registered entities or total plugin count. Those numbers tell you nothing about whether people actually find the portal useful.&lt;/p&gt;

&lt;p&gt;We instrumented our Backstage frontend with &lt;strong&gt;session and product analytics&lt;/strong&gt; to observe real usage patterns: which pages people visited, where they clicked, what they searched for, where they hit dead ends and which widgets sat completely ignored below the fold.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ruthless Sunsetting: What We Retired
&lt;/h3&gt;

&lt;p&gt;Having real behavioural telemetry gave us the confidence to delete features that were not earning their keep, even if they were popular out-of-the-box plugins:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Retiring the work-tracker integration:&lt;/strong&gt; On paper, showing sprint tickets inside a service page sounds useful. In practice, usage telemetry showed very little real interaction, and the pages became noisy with stale issue lists. Engineers already lived inside their work tracker for sprint work; duplicating that view inside Backstage added noise without solving a real problem, so we turned it off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retiring the feature-flag plugin:&lt;/strong&gt; Similarly, telemetry showed minimal engagement with the embedded feature-flag widget. Teams preferred managing flag rollouts in their feature-flag console, where they had full targeting controls and audit logs. Removing the plugin simplified the UI and reduced maintenance overhead.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Doubling Down on High-Signal Customisation
&lt;/h3&gt;

&lt;p&gt;Every plugin we retired freed capacity to build where telemetry and interviews showed demand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Custom observability and delivery plugins:&lt;/strong&gt; Instead of generic iframe embeds, we built plugins for the operational metrics, error budgets, DORA signals, code health, build status and PR build-up views that engineers, QA, operations and tech leadership used in triage and delivery reviews.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom frontend graph components:&lt;/strong&gt; The default Backstage dependency graph quickly becomes unreadable on a large, interconnected estate. We built richer interactive maps so users could filter by domain, trace blast radius and inspect system health visually.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  High-Leverage Automations That Made the Graph Useful Day to Day
&lt;/h2&gt;

&lt;p&gt;Once we stripped away noisy widgets, adoption turned on &lt;strong&gt;automations&lt;/strong&gt; that answered questions no spreadsheet, wiki or standalone vendor dashboard could answer cleanly.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Automated Relationship Detection Using FQDN
&lt;/h3&gt;

&lt;p&gt;Manual &lt;code&gt;dependsOn&lt;/code&gt; annotations in YAML files are almost always incomplete. Engineers forget to update them when they add a new downstream HTTP client, queue consumer or database connection, leaving blind spots during incidents and migrations.&lt;/p&gt;

&lt;p&gt;We built the &lt;strong&gt;service map&lt;/strong&gt; from two complementary feeds: signals from our observability tools where they were available, and custom &lt;strong&gt;FQDN plugins&lt;/strong&gt; that scanned service configurations, ingress rules, DNS records and runtime routing metadata. Together they resolved which services communicated with which endpoints and generated verified dependency edges in the catalog graph. Teams could see undocumented runtime dependencies before an outage revealed them.&lt;/p&gt;

&lt;p&gt;That dual path mattered for &lt;strong&gt;legacy products and tools&lt;/strong&gt; that could not adopt, or actively broke on, the recommended observability platform. They still appeared on an up-to-date service map through FQDN resolution and estate metadata, so ownership, blast radius and dependency views did not stop at the modern stack's boundary.&lt;/p&gt;

&lt;p&gt;The same FQDN spine also gave us a path from the &lt;strong&gt;public URL inward&lt;/strong&gt;. Starting at front-door DNS tooling for a hostname, we could walk from the public name through DNS records, edge routing and ingress down to the owning service and the cloud resources behind it. Paste a public URL, land on the catalog entity for that host, and expand the full resource graph: edge, service, dependencies, ownership and infrastructure. That made incident triage and "what sits behind this customer-facing name?" questions answerable from one lookup instead of a scavenger hunt across DNS consoles, cloud accounts and wiki pages.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    URL[Public URL / Hostname] --&amp;gt; DNS[Front-Door DNS]
    DNS --&amp;gt; Edge[Edge, Ingress &amp;amp; Routing]
    Edge --&amp;gt; Svc[Owning Service]
    Obs[Observability Signals] --&amp;gt; Map[Service Map]
    Svc --&amp;gt; Map
    Map --&amp;gt; Graph[Dependencies, Ownership &amp;amp; Cloud Resources]&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  2. Mimicking Cloud Hierarchies in Resource Flows
&lt;/h3&gt;

&lt;p&gt;Enterprise cloud estates rarely map cleanly to flat lists of components. Teams work across multiple cloud accounts, projects, environments and resource groupings, each carrying distinct access, networking and compliance boundaries.&lt;/p&gt;

&lt;p&gt;We modelled our Backstage resource flows to &lt;strong&gt;mimic the organisation's real cloud hierarchies&lt;/strong&gt;. Grouping cloud resources under their actual organisational accounts, projects and environments meant engineers and infrastructure teams could trace a service down to the hierarchy hosting it. That same graph made cloud ownership concrete: every resource sat under a team, not in a shared pool nobody felt responsible for.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Estate-Wide FinOps and Footprint Reduction
&lt;/h3&gt;

&lt;p&gt;Cloud and third-party vendor spend is hard to connect back to engineering ownership when billing exports are full of untagged resources and shared infrastructure. Without that link, teams cannot be responsible for the cost of their infrastructure, and leadership cannot tell which capabilities still earn their keep against organisational goals.&lt;/p&gt;

&lt;p&gt;We integrated &lt;strong&gt;FinOps tooling and billing data&lt;/strong&gt; into the Backstage model, attributing cloud and vendor spend to &lt;strong&gt;systems, domains and teams&lt;/strong&gt;. Cost sat next to ownership, dependency maps and goal links, so a team could see the bill for what they ran rather than an opaque shared cloud line item. Engineering leads and product owners could spot runaway non-production spend, weigh architectural trade-offs with cost context and hold teams accountable for the infrastructure they owned.&lt;/p&gt;

&lt;p&gt;Estate-wide visibility made a second job decidable: &lt;strong&gt;shrinking the tech footprint&lt;/strong&gt;. With ownership, relationships, spend and goal links on one map, we could find orphaned services with no traffic and no owner, duplicate capabilities solving the same problem in several places and cloud resources with no active goal link. The platform team published a weekly footprint backlog from those scorecards; the owning team ran the decommission. Done meant the cloud resource was gone, the catalog entity was marked retired or removed and the attributed spend line dropped on the next FinOps ingest.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    subgraph Sources [Live Estate Signals]
        Cloud[Cloud Accounts, Projects &amp;amp; Environments]
        Billing[FinOps Billing Feeds]
        Goals[Stated Organisational Goals]
        Map[Service Map &amp;amp; Ownership]
    end

    subgraph Engine [Backstage Correlation]
        Hier[Team Ownership Mapper]
        Cost[Cost Attributor]
        Align[Goal Link &amp;amp; Scorecard Evaluator]
    end

    Cloud --&amp;gt; Hier
    Billing --&amp;gt; Cost
    Goals --&amp;gt; Align
    Map --&amp;gt; Hier
    Map --&amp;gt; Align

    Hier &amp;amp; Cost &amp;amp; Align --&amp;gt; Catalog[(Catalog Graph)]
    Catalog --&amp;gt; Spend[Team Cost Views]
    Catalog --&amp;gt; Footprint[Orphans, Duplicates &amp;amp; Decommission Backlog]&lt;/code&gt;&lt;/pre&gt;






&lt;h2&gt;
  
  
  Adoption Is a Long Journey
&lt;/h2&gt;

&lt;p&gt;Even with automated ingestion, golden-path scaffolders and live FQDN and FinOps graphs, &lt;strong&gt;adoption did not happen overnight&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Rolling out an IDP across a large organisation is a long, iterative journey. Habits built over years do not change because a new URL goes live. Sustaining momentum required continuous product work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Office hours and ownership SLAs:&lt;/strong&gt; Weekly drop-ins with squads, plus a rule that catalog ownership disputes older than a sprint became platform issues, not chat folklore.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Golden-path gates:&lt;/strong&gt; New services created outside the scaffolder still had to pass catalog registration and baseline scorecards before production access, which pulled stragglers onto the graph.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback in the open:&lt;/strong&gt; Ideas through discussion threads; bugs and pain points in the shared issue tracker; plugin requests rejected unless they served a validated persona need, including operations, customer service and the business.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Run Your IDP Like a Product, Not a Project
&lt;/h2&gt;

&lt;p&gt;Internal Developer Platforms do not stall because Backstage or any other framework lacks features. They stall because organisations start with a portal decision and stop doing product discovery the day it launches.&lt;/p&gt;

&lt;p&gt;Start with the estate, not the portal shortlist. When the capabilities the organisation actually needs are named first, an IDP can earn its place as the correlation layer. The rebuildability test is the trust test: if the catalog can rehydrate from the estate, the portal is orchestrating rather than hoarding tribal knowledge. The payoff is when FinOps attribution, goal-linked scorecards and decommission backlogs make the map how the organisation decides what to keep running, not only where people look things up.&lt;/p&gt;

&lt;p&gt;Treat that platform as a living product with telemetry, operational rigour and a willingness to prune, and the map becomes something the whole organisation relies on rather than a URL people visit out of obligation.&lt;/p&gt;

</description>
      <category>platformengineering</category>
      <category>devrel</category>
      <category>backstage</category>
      <category>finops</category>
    </item>
  </channel>
</rss>
