← back to work

01 · Design & implementation at Mirabel Technologies

Autonomous Auto-Fix PRs

ClaudeGitHub AppRAG

An autonomous coding agent that turns a triaged ticket into a candidate code change, opened as a draft GitHub pull request with a human feedback loop.

The agent synthesizes changes from a retrieval-augmented analysis of the codebase, then runs them through guardrails that block unsafe patches, type/lint failures, and high-risk file mutations before pushing. A short-lived GitHub App token opens or refreshes the PR, and review comments feed back in for revisions.

Built with a dry-run-by-default posture and a full audit trail so every automated change is traceable and reversible.

Architecture

// hand-built portfolio diagram · click to view full size