<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko" -->

---
title: The Phoenix Architecture | daily.dev
description: The "deletion test" is a thought experiment: imagine deleting your entire codebase and regenerating it from scratch. If that's terrifying, it reveals that...
canonical: https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Phoenix Architecture | daily.dev
og:description: The "deletion test" is a thought experiment: imagine deleting your entire codebase and regenerating it from scratch. If that's terrifying, it reveals that...
og:url: https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko
og:image: https://api.daily.dev/og/posts/6hWtu9dKo.png
og:image:alt: The Phoenix Architecture
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Phoenix Architecture

**[Programming Digest](https://daily.dev/sources/programmingdigest)** · 4 min read · 61 upvotes · 4 comments

## Summary

The "deletion test" is a thought experiment: imagine deleting your entire codebase and regenerating it from scratch. If that's terrifying, it reveals that critical knowledge lives only in the code itself, not in specifications, tests, or contracts. As code generation becomes cheaper through AI, the bottleneck shifts from production to validation. Systems should be built around durable oracles (property-based tests, invariants, contracts) that can mechanically verify correctness without referencing old implementations. When you have strong evaluation mechanisms, code becomes disposable and regeneration becomes safe.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aicoding.leaflet.pub/3md5ftetaes2e>

## Community discussion

Top comments from developers on daily.dev.

**@a\_meb\_a** · 3 upvotes

> interesting and terrifying

**@hammerpath** · 2 upvotes

> Where should the source of truth reside, if not in the source code?
>
>
> From my experience, it would be a nightmare to create the codebase from old jira tickets and figma designs. There are so many undocumented decisions that only are documented in the source code.

**@musikk** · 2 upvotes

> 1. Why oh why with the one sentence paragraphs. Is that an LLM thing?
> 2. Read Spolsky's [classic post](https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/). Also google Hyrum's Law. That is to say, there is a lot more nuance to recreating a piece of software than the post makes it seem. As soon as you interact with external "things" (humans or systems), uncertainty starts to increase _a lot_. I think the post has a point when the system in question is relatively small and you have control over your clients. But then it is already possible to create this context from...

## Similar posts on daily.dev

- [The Revenge of QA: How AI Code Generation Is Exposing Decades of Process Debt](https://daily.dev/posts/the-revenge-of-qa-how-ai-code-generation-is-exposing-decades-of-process-debt-agfvtrinz) · IT Revolution · 0 upvotes · 0 comments
- [Partly in the Right](https://daily.dev/posts/partly-in-the-right-dacnffkio) · RUBYLAND · 0 upvotes · 0 comments
- [The bottleneck isn't writing code anymore. It's understanding it.](https://daily.dev/posts/the-bottleneck-isn-t-writing-code-anymore-it-s-understanding-it--oqefvqhf8) · Three Dots Labs · 152 upvotes · 31 comments
- [AI demands more engineering discipline. Not less \(xpost\)](https://daily.dev/posts/ai-demands-more-engineering-discipline-not-less-xpost--bqwd3ghl5) · Charity · 39 upvotes · 2 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#architecture](https://daily.dev/tags/architecture), [#technical-debt](https://daily.dev/tags/technical-debt)

[View this post on daily.dev](https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Phoenix Architecture","url":"https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko"},"datePublished":"2026-02-08T19:42:32.805Z","dateModified":"2026-02-08T19:43:00.310Z","description":"The \"deletion test\" is a thought experiment: imagine deleting your entire codebase and regenerating it from scratch. If that's terrifying, it reveals that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/707700339ddb179806c58fd8465248a2?_a=AQAEunF","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/707700339ddb179806c58fd8465248a2?_a=AQAEunF","isAccessibleForFree":true,"articleSection":"Programming Digest","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Programming Digest","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4637f2287b44420aa9a44f432116043d","url":"https://daily.dev/sources/programmingdigest"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":61},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"testing,architecture,technical-debt","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Programming Digest","item":"https://daily.dev/sources/programmingdigest"},{"@type":"ListItem","position":3,"name":"The Phoenix Architecture"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/the-phoenix-architecture-6hwtu9dko","comment":[{"@type":"Comment","text":"interesting and terrifying","datePublished":"2026-02-20T11:15:24.187Z","url":"https://daily.dev/posts/6hWtu9dKo#c-e0Q45LPjk","author":{"@type":"Person","name":"Phillippe Michel Weir","url":"https://daily.dev/a_meb_a","image":"https://media.daily.dev/image/upload/s--BwH-uTMq--/f_auto/v1740136991/avatars/avatar_N403VFK9lAHNRwlSAhl1h"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Where should the source of truth reside, if not in the source code?\nFrom my experience, it would be a nightmare to create the codebase from old jira tickets and figma designs. There are so many undocumented decisions that only are documented in the source code.","datePublished":"2026-03-25T05:38:29.931Z","url":"https://daily.dev/posts/6hWtu9dKo#c-jm94eeuZ9","author":{"@type":"Person","name":"André Hammarstig","url":"https://daily.dev/hammerpath","image":"https://lh3.googleusercontent.com/a/ACg8ocK6iIc7om5vSeYLcIU7JEe5qRg525FiVObsYfLx6aetdOmEn_0=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Why oh why with the one sentence paragraphs. Is that an LLM thing?\nRead Spolsky’s classic post. Also google Hyrum’s Law. That is to say, there is a lot more nuance to recreating a piece of software than the post makes it seem. As soon as you interact with external “things” (humans or systems), uncertainty starts to increase a lot. I think the post has a point when the system in question is relatively small and you have control over your clients. But then it is already possible to create this context from code with the help of LLMs.","datePublished":"2026-03-11T08:37:06.835Z","url":"https://daily.dev/posts/6hWtu9dKo#c-qkmr5Hie2","author":{"@type":"Person","name":"Werner Hahn","url":"https://daily.dev/musikk","image":"https://lh3.googleusercontent.com/a/ACg8ocJr9LIXrt1E5zAmLx3QtOkq4iGvcwdh-t__bh6z4dhVoZyOEgE=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

