💾 What happens to existing data when an AI agent regenerates code?
In brief
- 🔄 In a Hacker News thread about Turri, developers ask how regenerated code should handle existing databases and migrations.
Turri aims to regenerate code from specifications and tests as requirements change. On Hacker News, a participant asked what happens to existing data if regeneration changes the database schema.
🔧 The maker said Turri is meant to compare against the current schema and generate migrations. He also said he had yet to use this on a meaningful scale. The exchange illustrates why regenerable code and persistent data need different treatment.