AI agents · Architecture-aware code repair
DNAFix - Autonomous Software Engineer
DNAFix is an architecture-aware autonomous software engineering system. Instead of guessing a patch, it first runs Project DNA - a deterministic analysis of the repository's architecture, dependencies and risk - then plans against that evidence, executes scoped coding tasks in isolated Git worktrees, verifies the result in a Docker sandbox and only opens a draft pull request after a human approves.
- Year
- 2026
- Role
- Solo engineer - architecture, agents, API and web app
- Focus
- TypeScript, AI Agents, Node.js
Screenshots
Problem
General-purpose coding agents patch code without a verified model of the repository, claim tests pass without running them, and edit shared working trees with broad shell access.
Solution
Built an evidence-first pipeline: deterministic repository intelligence, Muse Wonder planning with Muse Spark coding and verification agents, file-scoped execution in Git worktrees, real test runs in a sandbox, and human approval gates before any pull request.
Result
Verified end-to-end through the human approval gate with a real model plan and a real failing baseline executed in Docker - backed by 345 passing automated tests.
What it does
- Project DNA: deterministic architecture, dependency and impact analysis
- Lead planner plus parallel coding and verification agents
- Isolated Git worktrees with approved file scopes only
- Real test execution in a Docker sandbox or AWS CodeBuild
- Human approval before planning runs and before draft PRs - never auto-merge
- Docker MCP connector with tiered L1-L3 tool permissions
Scope of work
- Modular monolith with API, worker and web apps (hexagonal ports and adapters)
- Fastify + Zod API with live run updates over SSE
- React + Vite workbench for runs, approvals, connectors and audit history
- GitHub App integration that publishes draft pull requests only
Timeline
Phase 1
Architecture
Designed the run state machine, ports and adapters and safety invariants.
Phase 2
Intelligence
Integrated Project DNA for deterministic impact analysis bound to a commit.
Phase 3
Agents
Built planning, scoped coding and verification agents with budget limits.
Phase 4
Delivery
Added sandboxed verification, MCP connectors and draft PR publishing.
Outcomes
345
Automated tests passing across 41 files
~27k
Lines of TypeScript across 13 packages and 3 apps
$0.55
Typical measured model cost per real run