Tag: Architect

13 posts

The 21-Line Rule, Twenty Years Later

In short: A coding rule from a 1990s university computer science class — where the hard constraint was the size of a CRT screen — turned out to be one of the most practical pieces of advice I’ve ever...
Read more →

Blocky Pipeline: Build Your Own Stage Sequence

Standard mode and TDD mode cover most use cases, but sometimes you want a custom sequence — run two review loops in a row, skip deployment tests, or run a domain-specific agent you added yourself. This post covers pipeline.yaml: a separate config file that lets you define any stage sequence with explicit loop blocks, and a drag-and-drop GUI that builds it without hand-editing YAML.
Read more →

Write the Test First: TDD Pipeline Mode

The standard pipeline writes code first, then tests. This post covers a TDD mode that flips the order: QA writes tests before the engineers see the problem, then engineers implement against those tests, then a fix loop runs until the suite is green. It also covers how this forced a proper stage registry — replacing hardcoded stage sequences with a configurable system.
Read more →

The LLM Relay: Pluggable Backends and Auto-Failover

The original pipeline was hardwired to GitHub Models. This post covers how I extracted every LLM backend into its own class with a shared interface, added a relay that automatically falls back to the next backend on connection failure, and what I learned about building resilient AI infrastructure around unreliable upstream APIs.
Read more →

What I Learned Building This — and What Comes Next

Seven posts of technical depth, but what does it all mean? This closing post steps back to reflect on the lessons learned, how this project vindicates what Builder.ai was attempting, where the remaining hard problems are, and what I’m building next.
Read more →

Iterating Toward Quality: Revision Loops for PM and Architect

The first draft is never the best draft — not for requirements, not for system designs. This post covers how the pipeline runs structured review-and-revise loops before any code is written: the PM rewrites the requirements based on critique, the Architect rewrites the design based on critique, up to three times each. Better inputs at the top produce dramatically better code at the bottom.
Read more →

Tools, MCP, and RAG: Giving Agents Eyes into the Codebase

Agents that can only read what you put in their prompt are flying blind. This post covers how agents get access to external tools — searching the web, querying GitHub, reading the codebase — and how the system automatically switches strategy based on repo size: smaller projects get the full code in the prompt, larger ones use semantic search to find what’s relevant.
Read more →

Closing the Loop: PR Feedback, Human Review, and Clarification Q&A

A one-way pipeline that can’t respond to feedback is just a code generator. This post covers two features that make the system a real collaborator: a feedback loop where review comments on a pull request trigger automatic code revisions, and a Q&A mechanism where the AI pauses mid-run to ask clarifying questions before building the wrong thing.
Read more →

Agents With Memory: How I Gave the Team a Long-Term Brain

Without memory, every pipeline run starts from scratch — the agents forget what frameworks you chose last week, what they built last month, what the reviewer rejected last time. This post covers a three-tier memory system: per-run context, a searchable history of past projects, and a living knowledge base kept inside each target repo.
Read more →

Never Lose Work Again: Checkpoints, Resume, and Multi-Repo Routing

A pipeline that crashes halfway through loses all the AI work done so far. This post explains how the system saves progress after every stage so a failed run can resume exactly where it left off — never repeating work. It also covers how to route different projects to different GitHub repos from a single pipeline.
Read more →

Six Agents, One Pipeline: Building the Core Software House

The pipeline has six core roles — Product Manager, Architect, Engineers (running in parallel), Code Reviewer, and QA Engineer. Each role hands a structured output to the next. The quality of those handoffs matters more than any individual agent. A vague requirement produces a vague design, which produces broken code. Getting the handoffs right is the whole game.
Read more →

The Architecture: Why GitHub Is the Best Backbone for an AI Dev Team

Instead of building a new database or custom framework to run the AI team, I used GitHub itself — issues, branches, pull requests, and Actions — as the backbone. Agent behaviour lives in plain markdown files, not code, so anyone can read and change it. This design means adding a new agent takes minutes, not days.
Read more →