A self-healing repo built with gateproof + deja.
This repo heals itself. Push triggers the loop. The loop runs until all gates pass.
prd.tsdefines what should exist (stories + gates)- Push to main triggers
.github/workflows/loop.yml - Loop runs gates, agent fixes failures, repeats until green
- Memory from deja informs each iteration
bun run loop # runs until complete
touch .gateproof/PAUSED # stop
rm .gateproof/PAUSED # resumeThis repo was built using the loop. We used gateproof to build gateproof's demo.
The loop IS failure. Each iteration heals toward completion. There's no "max tries" -
it runs until all gates pass. PAUSED is your kill switch.
Read how we built this: coey.dev/loop-demo (coming soon)