Content-as-Code
Plain-Language Definition
Content-as-code is a workflow pattern where a file’s location tells you its status. Moving a file from an inbox/ folder to a processing/ folder means someone picked it up. Moving it to done/ means it’s finished. No status field to update — the folder is the state.
Technical Definition
A universal paradigm for folder-based workflows where a file’s directory location represents its processing state. Moving a file between stage directories advances it through the workflow. Each stage directory contains an AGENTS.md defining acceptance criteria and processing instructions. Pipelines live in how/pipelines/{pipeline_name}/. (aDNA Standard §14.1)
Usage Examples
- This vault’s
how/pipelines/prd_rfc/directory uses content-as-code: research notes flow frominbox/throughprocessing/toreview/, with each folder’s AGENTS.md defining what happens at that stage. - The session lifecycle is itself a content-as-code pattern: session files move from
how/sessions/active/tohow/sessions/history/YYYY-MM/on completion.