
The Tool Was Never the Point: A 12-Step Workflow for AI-Native Projects
I built an AI co-pilot for PCBA test analytics to fill a portfolio gap, and the 12-step workflow I used to govern the agents that built it turned out to matter more than the tool.
- Published
- June 22, 2026
- Author
- Hrushiekesh Reddy Kanjula
- Read time
- ~5 min
- Category
- essay

I built an AI co-pilot for PCBA test analytics because I needed a portfolio project. I'm a manufacturing engineer with four years on the line and two master's degrees. I wanted to show hiring managers that I can do AI-native work. A flying-probe test-log analyzer fit. It has a parser, a DuckDB warehouse, yield and SPC analytics, and a retrieval-augmented co-pilot that answers root-cause questions with citations.
A few weeks later, the manufacturing tool is the least interesting thing I made. The workflow I built to build it is the part I will reuse.
Why I don't trust unsupervised agents
The early evidence points toward supervising AI agents.
- One controlled 2025 study found that experienced developers using AI assistants took about 19% longer to finish their tasks, while they felt about 20% faster.
- One 2025 industry report found that close to half of the AI-generated code samples it tested had a known security weakness.
- Studies of package suggestions report that a meaningful share point to libraries that don't exist. The failure is common enough to have a name: slopsquatting.
The throughput is real. So is the entropy.
This is not an argument against agents. It is an argument against unsupervised ones. An LLM with write access to your codebase is a confident intern holding the master key. It is fast, and it is wrong in ways that only show up two hours into debugging. A better prompt doesn't fix that. A process that assumes the agent will be wrong, and catches it before it lands, does.
The 12-step loop

Every non-trivial change to the co-pilot moves through the same twelve steps:
- Document the requirement.
- Explore the code.
- Plan.
- Write a test-case plan.
- Red-team that plan.
- Clear a decision gate.
- Execute under test-driven development.
- Verify the execution.
- Triple-check it.
- Document.
- Run manual QA.
- Hand off.
Three steps are mine alone and never delegated: the planning, the decision gate and the final triple-check. The red-team step is adversarial by design. Two or three skeptic subagents are told to refute the plan before a single line of code exists.
A typo doesn't deserve twelve steps, so every task is sized first as Trivial, Small, Medium or Large. It runs only the stages it needs. A docs fix skips the red-team. A new retrieval module gets all of it. This is my own version of what the industry converged on in 2025 as spec-driven development. The spec and the plan are what you argue about. The code is the part the agent types.
What the loop caught

Three examples from this build.
A plan the red-team killed. On the retrieval slice, the skeptics caught that ChromaDB defaults to L2 distance, not cosine similarity. That is a silent correctness bug. It would have degraded every search the co-pilot made. It never reached the codebase.
A hang that was not a timeout. An evaluation hung for two and a half minutes and died with a 404. The instinct is a network timeout, so bump the retry. The real cause was that Google had retired the default Gemini model. The gRPC client was burning its full ten-minute deadline against a model that no longer existed. An agent left alone would have fixed the timeout. Reading the actual exception found the real problem, and the fix was a one-line model bump.
A test that passed alone and failed in a crowd. One parser test ran green in isolation and flaked in the full suite. A helper wrote to a single fixed file at the repo root, and Windows file locks fought over it. A stress harness reproduced it: 484 failures in 800 concurrent runs. After the file moved to a per-test path, there were zero. Patient verification finds bugs like that, not the agent.
A close runner-up was a night-shift scheduling bug. Its wrap-around correction had been written as a literal pass, a no-op that did nothing. It showed up the moment a test demanded that it work.
The result is 667 passing tests at 97% coverage. A live co-pilot evaluation has to clear a hard pass bar before anything ships, and continuous integration runs on every pull request. I trust those figures because of the process behind them.
The real deliverable is a template

The governance layer is not specific to a test-log analyzer. It holds the twelve-step rules, the tiering guide, the subagent charters and the git hooks that block dangerous commands. So I pulled all of it into a portable starter repo that I stamp onto every new project. The co-pilot was its first real stress test. The next project gets the whole setup on day one, before any feature code.
That is the difference between doing AI-assisted work and having a repeatable practice. One produces a demo. The other is a way of working I can repeat.
Deloitte's latest survey found that only one in five companies has a mature governance model for autonomous agents. I see that gap as an opportunity. The co-pilot shows I can build the thing. The workflow shows I can do it again on purpose, without ending up with a pile of confident nonsense.
The manufacturing tool will sit in my portfolio. The workflow goes into the next project. The larger manufacturing-intelligence system it now feeds is what I'm building next at the Assembly Hub.