Blog
Thoughts on AI workflows, tooling, and large-scale engineering — written by me, with AI.
September 25, 2026
~4 min read
Four hundred pull requests in, I could no longer review what my AI agents shipped, so I borrowed the factory rule that the person who builds the part does not inspect it.
July 6, 2026
~5 min read
A local YOLOv8 and offline LLM pipeline maps PCB defects to the right IPC standard and process cause, with a regex firewall between the bare-board and assembly domains and a recall floor I could not beat.
July 3, 2026
~7 min read
A synthetic PCBA test-log pipeline, automated SPC and a citation-forced RAG co-pilot that refuses to answer when it isn't sure, built over eight weeks of evenings and weekends.
June 22, 2026
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.
June 2, 2026
AI agents find a fix that passes, not the reason the code broke, and manufacturing solved that discipline problem sixty years ago.
May 26, 2026
~6 min read
Every skill, message and attached document draws from the same fixed token budget, so I cut what I load and start sessions fresh.
May 25, 2026
Two AI agents writing to the same file overwrite each other silently, so I put a SQLite file-lock layer in front of every write.
May 18, 2026
An unconstrained LLM in my codebase wrote 847 lines and refactored three modules I never mentioned, so I wrote it a constitution.
May 11, 2026
The AI skill that matters most is not better prompts. It is knowing which problems fit in a prompt and which need a design first.
May 4, 2026
A 180-degree rotation error on a polarized capacitor causes a short circuit, a three-tier heuristic catches most of them, and IPC-2581 would make the problem obsolete.
April 27, 2026
If the nozzle is too large for the component body it drops the part, and a 1,600-line async pipeline checks this for every component and nozzle.
April 20, 2026
AOI defects and SMT machine events share no key, so I join them on time and cut a 20-minute defect investigation to a 30-second query.
April 13, 2026
SMT machines log a generic error just before they log the component that caused it, and a forward-fill CTE using window functions links the two.
April 6, 2026
First-Pass Yield, rolling defect rates and SQL-driven root cause analysis turn raw SMT machine logs into early warnings.
March 30, 2026
Flying Probe Tester XML files are large, deeply nested and change namespaces between firmware versions, so I parse them with a three-table schema and defensive streaming code.
March 23, 2026
AOI reports carry part numbers that almost match the component library, so I parse the columns dynamically and match in three tiers.
March 16, 2026
Hardcoded column indices fail on the second customer file, so I built a four-step heuristic pipeline that finds the header, maps the columns and fails loudly when it can't.
March 9, 2026
A 10kΩ resistor has at least eight names in the wild, so a regex-driven normalization engine maps all of them to one canonical format.
March 2, 2026
~3 min read
Python and JavaScript each held their own copy of the UI state, so I moved all of it into one Python object and pushed snapshots to the frontend.
February 23, 2026
PyQt styled too poorly and Electron was too heavy for factory edge hardware, so the assembly hub's dashboard runs on Eel.
February 16, 2026
Default SQLite blocks dashboard reads whenever a background write happens, and one pragma fixes it.
February 9, 2026
Our BOM macro grew to 240KB of VBA and cracked as the SMT line scaled, so I replaced it with a local Python, SQLite and Eel application.
February 2, 2026
asyncio is not a general speed-up; it fixes time wasted waiting on I/O, and this post covers when it wins and when it costs more than it saves.
January 26, 2026
I ran Claude Code, Cursor and Google Antigravity 2.0 side by side on real projects, and this is how I split the work between them and where the stack breaks.
January 19, 2026
~2 min read
An intro to this space: what I write about, why, and how the posts get made.