> Markdown twin of https://adna.network/glossary/glossary-content-as-code/
> Index: https://adna.network/llms.txt · Full corpus: https://adna.network/llms-full.txt
> State is a build-time snapshot generated 2026-08-30 (UTC); nothing here is live.

# Content-as-Code — aDNA Glossary

## 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](/glossary/glossary-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 from `inbox/` through `processing/` to `review/`, 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/` to `how/sessions/history/YYYY-MM/` on completion.

## See Also

- [Content-as-Code (pattern)](/reference/specification/14-content-as-code-pipelines/)
- [Session](/glossary/glossary-session)
- [AGENTS.md](/glossary/glossary-agents-md)
