Terraform CI intelligence

Diagnose failures. Verify the fix.

TerraFix turns failed GitHub Actions Terraform runs into traceable diagnoses, isolated verification evidence, and human-approved pull request updates.

Explore architecture

GitHub App authorization · no personal access token required

run-1842 · PR #284

aws_ebs_volume.database

Semantic constraint violation

Verified after retry
01Collect bounded context3.2s
02Diagnose root cause96% confidence
03Generate candidate patch1 file
04Verify in isolation6 / 6 passed

Evidence summary

Throughput is only configurable for gp3 volumes. Candidate changes gp2 → gp3.

HMAC

signed webhook ingestion

4-stage

progressive verification

SHA-256

patch provenance binding

0

automatic infrastructure applies

Built for the full lifecycle

From CI signal to reviewable evidence

The dashboard coordinates authentication, repository policy, worker execution, publication, and analytics without moving Terraform reasoning into the web process.

01

Failure-aware collection

Signed workflow events are filtered before bounded logs, diffs, and Terraform context enter the diagnosis pipeline.

02

Policy-driven reasoning

Per-repository model routing controls cost and context while immutable run snapshots keep every decision auditable.

03

Verification before action

Candidate patches run through isolated Terraform checks. Only eligible evidence can reach a human-approved PR workflow.

Decoupled by design

A production-shaped control plane

Stateless web requests and long-running Terraform jobs are separated by a durable PostgreSQL queue. Each boundary has one clear responsibility.

GitHub App

OAuth · webhooks · PRs

Next.js control plane

Auth · policy · analytics

PostgreSQL

Queue · audit · telemetry

Isolated worker

Agent · Git · Terraform

Execution boundary: the Vercel-compatible control plane never runs Git, Python, or Terraform. The persistent worker claims jobs atomically and executes each exact revision in a disposable workspace.
Trust boundaries

Automation that stops at human intent.

TerraFix automates evidence collection and verification—not ownership. Source mutation is narrowly scoped, explicitly approved, and independently revalidated.

GitHub App authentication with short-lived installation tokens

HMAC-verified webhooks with delivery-level idempotency

Exact revision checkout in disposable worker workspaces

Optional AWS AssumeRole sessions—no stored access keys

Fresh verification before a single, non-force PR commit

No Terraform apply, automatic merge, or branch bypass path

Technology

Next.js · TypeScript · PostgreSQL · Prisma · AWS · Terraform

Durable jobsPR publicationIsolated verification