AI agents are not dumb. They are amnesiac. Every session starts from zero. No context, no history, no conventions. You spend 20 minutes re-explaining the project before getting anything useful done.
Spec-Driven Development (spec-kit · Kiro · Tessl) generates specs from intent — feature-scoped, ephemeral, all Markdown. DDD is the superset: it hosts and versions those specs for the whole project, and adds what SDD lacks — contract, execution memory, Knowledge Capital.
SDD: "how do I turn intent into a spec?" · DDD: "and where it lives, versions & compounds — forever."
Every architectural decision in a .md file. Every migration step written before execution. Every convention versioned alongside the code.
Memory = the .md files. Documental context = the harness.
Documental Engineering — the ghost in the machine.
skills/permanent-dev-stack.mdspecs-functional.mdspecs-technical.mdDONE.mdIf you lost the codebase tomorrow, your .md files must allow you to:
A MUD from 1992 came back online in 2026. Not because someone had the original server code — because the structured text files describing the world had survived: zones, characters, rules, quests, lore.
The executable was gone. The documentation was not. The game was rebuilt from its data files alone.
Your .md files are those data files.
In DDD, the real intellectual property lives in the documentation — not the code. The code is a snapshot. The .md files encode why decisions were made, what failed, and what the team learned.
A team that loses its codebase can rebuild. A team that loses its Knowledge Capital starts from zero.
⚠️ malus.sh proposes AI robots that reconstruct any lib from its docs alone — zero attribution. Real or not: when docs outlive code, IP law hasn't caught up.
19 models · 52 documents · 20 interactions
Top models: ~25% corrupted. Average: ~50%. No plateau. Agentic tools: +6% worse.
Only Python (verifiable) held at 98%+. Prose? Silently degraded.
DDD answer: AI adds to done/ — human reviews — Git tracks. No silent writes.