Vibe Coding
Notes from coding alongside AI: workflows, prompts, and the mistakes worth avoiding.
6 posts
- Vibe Coding
The Learning Loop: Turning AI Coding Failures into Better Engineering Systems
AI can fix a problem within a single session but rarely forms engineering memory across tasks and projects. This post introduces the retrospective-aggregation layer of Loop Engineering: record scattered problems as minimal events, periodically spot recurring patterns, then let a human decide whether to promote them into general rules, project constraints, tooling — or drop them. A controlled learning mechanism, not AI rewriting its own rules.
- Vibe Coding
When the Loop Becomes the Bottleneck: Keeping AI Coding Outcome-Driven
A Loop can swing the other way: the AI follows every rule and still doesn't ship what the user actually wants. This post covers a subtler failure — no broken code, no process violation, yet the team keeps building prerequisites, revising constraints, and re-reviewing while the main line stays invisible — and how a nearest visible outcome, dual loops, and a review budget pull it back to delivery.
- Vibe Coding
Stop Asking AI to Behave: Prompt Rules to Machine Gates
From Permissions and PreToolUse hooks to the Diff Guard and approval evidence — turning the critical constraints of AI coding from written promises into enforced facts. With 202 real interceptions over three days, and the moment I broke a rule I had written myself that morning.
- Vibe Coding
Why AI Coding Drifts: Task Packets and Context Governance
From authoritative sources of truth and a single current goal to side-issue triage and machine-enforced task identity — solving context loss and drift in long tasks. Includes a real case where the work order contradicted itself, so the AI didn't drift at all: we gave it two conflicting instructions.
- Vibe Coding
Loop in Practice: Claude Code + Codex as a Closed Loop
From Maker-Checker separation and the Task Packet to machine gates and approval evidence — a working AI coding setup you can actually run. Includes two real defects (rate limiting built backwards, a CAS conflict misread) and a minimal work-order template you can copy.
- Vibe Coding
Loop Engineering: From Writing Code to Shipping Correctly
The hard part of AI coding isn't getting the model to write correct code once. It's keeping the right goal, the right implementation, independent verification and accumulated experience happening — continuously. Part one: why Loop, what it changes, and when it isn't worth it.