04 / Agentic AI
Agents never push: guardrails for AI coding agents
A supervised multi-agent workflow that takes a ticket to reviewed, merge-ready pull requests, with human gates at every publication.
01The problem
Fixing a ticket across several repositories means reading code, reproducing the bug, changing multiple services and proving the fix. AI agents can speed that up, but unsupervised agents push unreviewed code. I wanted the speed without giving up review.

02What I did
- Designed roles: one AI lead routes work to a planner, per-repo builders (each in an isolated git worktree), a cross-vendor reviewer (OpenAI Codex reviewing Claude's code) and a runner.
- Guardrails by design: agents cannot push or open pull requests. A PR opens only after an approving agent review and my sign-off.
- Every change runs tests, gitleaks and Trivy and writes a receipt. Loop limits escalate to a human. Fixes are deployed to a DEV tenant and proven with a ticket-named integration test.
- Supporting pieces: a domain knowledge base of 29 files as agent memory, 18 custom skills and a React dashboard with a live agent view and ticket state.
- Generalized the idea into AgentLoop, a project-agnostic version with per-project plugins and a test that forbids project-specific text in the core.
03Result
- About 42 tickets worked over roughly 440 sessions. 13 pull requests opened by the pipeline itself, 2 merged and the rest reviewed and ready to merge.
- Quality gates rejected 117 of 156 agent attempts, retries included, before human review.
- A replay benchmark cut token cost by 48% (93% on the fix step), to about $1 per ticket.