Agentic Software Development

The Ubunatic Playbook

How one developer builds — and keeps alive — a fleet of focused, high-quality apps with AI agents.

Uwe Jugel · Ubunatic Coding

The Journey

From Babysitting to Verified Autonomy

2022 First Contact 2023–24 Babysitting Era 2025 Trust, But Verify 2027+ Wide Open
From code-davinci in a private beta to local-first agent fleets.

Core Principles

Spec Just Enough. Verify First.

Engineering Principle

Spec just enough, code for quality, verify and fail fast, iterate, succeed.

Agentic Principle

Don't automate the creation before you automate the verification.

graph LR
    S[Spec just enough] --> C[Code for quality]
    C --> V{Verify & fail fast}
    V -->|fail| S
    V -->|pass| D[Succeed & ship]

Canary-First Development

Verify Environment Capabilities

  • A canary is a minimal, standalone script that runs against the real environment.
  • Detects OS quirks, toolchain limits, and sandboxing restrictions before feature code exists.
  • Example: catching Snap confinement when printing PDFs with headless Chromium.

One Command


make canary

Verifies mdbook, chromium, and a full build → print → PDF round trip.

The Verification Gate

Numbers That Keep Us Honest

0 unverified commits allowed
1 command to prove the toolchain
100% offline-first, no CDNs

Preflight mandate: always run make preflight before completing a task.

The Golden Path

One Feature, End to End

graph LR
    S[Spec] --> C[Canary]
    C --> H[Harness]
    H --> A[Agent implements]
    A --> W{Checks pass?}
    W -->|no| A
    W -->|yes| P[Commit]

The Failure the Harness Missed

Green, and Still Wrong

  • The goldens covered slide rendering. Nothing covered spec parsing.
  • Every check passed. A human noticed the page looked wrong.
  • The honest lesson is not "the harness works" — it is where the harness ends.

The Rule

Green and still wrong is exactly where the human belongs.

Add the check, then fix the bug — in that order, or the bug comes back.

Who Holds the Wheel

Three Plates, One Contract

🤖 Agent

Mechanical and verifiable. Delegate it.

🧑‍✈️ Human

Taste, architecture, the irreversible.

🛡️ The Check

The exact command that catches the agent being wrong.

Every 🤖 in the book carries a matching 🛡️. A delegation without a check is not delegation — it is review debt arriving at machine speed.

House Rules

A Subset Chosen for Readability

Go

Stdlib first. No ORMs. No global mutable state. Table-driven tests.

Zig

Zero-allocation hot paths. Explicit memory. Compile-time specs.

Bash

Header set -euo pipefail. Use test. Continuation alignment.

Make

Sentinel ⚙️ for phony rules. Self-documenting help targets.

TUI Restoration & Safe Teardown

Surgical Precision on Raw Terminals

  • Exit Contract: disable mouse, drain inputs, erase rows, park cursor.
  • Alt-Screen Trap: avoid ?1049l unless you entered the alt-screen.
  • DEC Private Modes: the ? is load-bearing (?7l vs 7l).

The Exit Contract


\x1b[?1002l   mouse off
\x1b[6n       CPR drain
\x1b[2K       erase row
\x1b[?25h     cursor home

The Golden-Change Playbook

Proving Visual Regressions Safely

graph LR
    D[Diagnose numerically] --> P[Predict golden changes]
    P --> E[Edit the code]
    E --> R{Diff matches prediction?}
    R -->|yes| U[Update goldens deliberately]
    R -->|no| D

Agentic Dev Patterns

Workflows Built for Model Strengths

Context Recovery

Write issues, errors, and plans to issues/ before compaction.

Spec-Driven

Define constants in specs, auto-generate derivatives.

Minimize

Avoid duplicate implementations across languages.

One Static Website

Books, Decks, and PDFs from One Build

graph TD
    MD[Markdown Sources] --> B1[mdBook: Playbook]
    MD --> B2[mdBook: Emojig]
    MD --> B3[mdBook: Style Codex — theme reference]
    MD --> SC[Go Slide Compiler]
    B1 --> W[build/ Static Website]
    B2 --> W
    B3 --> W
    SC --> W
    W --> PDF[PDFs via Headless Chromium]

The Fleet Effect

Why This Compounds

n apps maintained by one developer
1 verify command per repo
0 context lost between sessions

Where It Breaks — and What to Steal

The Honest Chapter

Limits at Scale

Teams need trackers, governance, and meetings. Files alone don't page anyone at 3 a.m. — the solo purism does not transfer.

The Substrate Does

Verification-first gates, in-repo ADRs, agent-ready repos, one-command preflight, platform canaries, spec-driven config.

Full review: The Solo Fleet, Reviewed — in the book, and as its own deck.

Where to Start

Pick Your Budget

5 minutes

The Rule Index — every rule we hold ourselves to, one line each, with what enforces it.

15 minutes

The Golden Path — watch an agent build, fail a check, and recover.

Want proof?

Emojig Chronology — six weeks in Zig, where these rules were paid for in real bugs.

Everything is offline-first and local: make build renders the shelf, make preflight proves it.

✕ Exit
Slide 1 / 1