Show HN: Turri – a coding agent with the power of regenerative software github.c...
Show HN @show
Show HN: Turri – a coding agent with the power of regenerative software github.com · 7 points · 5 comments · HN thread
TL;DR Turri is an open-source (MIT) coding agent built on the pi harness that works from a durable 'system definition' written in the ***plain language (specs, tests, ADRs) rather than from the code itself. The agent regenerates affected code from that definition whenever it changes, and the harness enforces validation steps in code rather than prompts. The author says it was built to restore human understanding of software written with coding agents; it currently only supports new projects.
- Code is treated as derived and disposable; the ***plain system definition (specs, tests, ADRs) is the source of truth and is what the user reviews.
- A capable harness model talks to the user and writes ***plain; a smaller, cheaper coding model writes the code, and a judge model checks conformance.
- When ***plain changes, turri compares versions and regenerates only the changed or new functionalities; a 'regenerate' command can rebuild the whole codebase from scratch.
- Validation is enforced by the harness through gates, and conformance tests are generated separately so the coding agent cannot edit tests to pass.
- Installed via npm (@turri-dev/cli) on macOS, Linux and WSL, requires Node.js 22.19+; a desktop app is also available.
- Limitations stated by the author: only new projects are supported for now, not existing codebases.
Links in the post
- Why I built turri: Author's essay on losing understanding of agent-written code and the regenerative software approach behind turri.
Discussion The thread is small, with only a handful of comments. The main substantive exchange is about persistent state: a commenter asks how regeneration handles database schema changes and migrations, and the author replies that turri generates migrations but admits it has not yet tested this at real scale and considers it one of the biggest open problems. Other comments are brief: a pointer to Chad Fowler's Phoenix Architecture series, and an encouraging note that more tools testing regenerative software are needed, with the author promising to open-source some internal tools. The mood is curious and mildly supportive, with the questions focused on practicality rather than the concept.
- Migrations and persistent data are the hardest unsolved problem (some): A commenter argues that regenerating code from specs breaks down when the data layer must survive changes, since data cannot simply be thrown away. The author agrees it is a major problem and says it is addressable, but has not validated it in practice.
- Interested in regenerative software as an idea worth testing (some): Commenters welcome the approach and say more tools are needed to see whether regenerative software works in practice. They point to Chad Fowler's essays as background reading.
Links from the comments
#codingAgents #regenerativeSoftware #specDrivenDevelopment #llmTools #opensource