Document type: design
Table of Contents
This page defines the design document type — one entry in the
document types taxonomy. The general contract every document follows
(frontmatter, state, linking, tags) lives on the taxonomy page; this
page carries only what is specific to design.
1. Contract
- Implements
- loading, recording. See Regulatory Functions.
- (no term)
- Lives in its story's folder as
design.org, besidestory.organd the task files. One design per story at most. - Level
s2. A design belongs to a story, never to a sprint: a story that carries into the next sprint takes its design with it, where a sprint-scoped design would orphan.- State
#+todo: DRAFT STARTED | LANDED SUPERSEDED ABANDONED.#+outcome:- the UUID of the durable document the design produced.
Mandatory once the state is
LANDED. - (no term)
- Opens with a note saying it describes a transition rather than the current state, and that it must not be linked from durable documentation.
- (no term)
- Links run one way, and the story is the hub. A design links
forward to the durable document it produces, so a reader who lands on
the design is redirected. The durable document links back to neither
the design nor the story: a durable page pointing at transitional
content walks an agent grounding itself straight into a description of
a state that no longer exists, and most work never needs the history
at all. The story carries a
* Documentstable naming everything it produced, which is the way in when history is genuinely wanted, and the design's#+outcome:is the machine-readable trail.
2. When to use it, against plan
A plan is how we will do this work: the working strategy, written when a task or story starts, transient, cleared or summarised at close. It is a section, never a file.
A design is what the target state is, and why: the argument that produced the tasks rather than the strategy for executing one. Reach for it only when both hold:
- The argument spans many tasks, so no single task's
* Planowns it, and it precedes the tasks rather than describing how to run one. - It will be distilled into a durable document — knowledge, an
architecture page, a manual chapter — which the
#+outcome:names.
If only the first holds, the content belongs in the story's * Plan. If
neither holds, it belongs in the task's * Plan. A design that produces
no durable outcome was a plan all along.
3. The story is the hub
A durable document is about the target state. It carries no pointer to how it came to be, because in the great majority of sessions that history is a distraction, and following it costs an agent a description of the world as it used to be.
The path back exists, but it must be walked deliberately. The story's
* Documents table names every document the work produced, durable and
transitional alike, with what each is for. An agent that genuinely needs
the reasoning goes to the story and finds it; an agent that needs the
framework reads the durable page and never learns the story exists.
4. Why it lives with the story and not in doc/
A transitional document in the durable tree is a trap: an agent
grounding itself finds a confident description of a state that no longer
exists, which is worse than finding nothing. Ninety-four such documents
accumulated under doc/plans/ before we stopped writing them there.
Keeping the design in its story folder solves this with machinery that
already exists rather than new machinery: compass search excludes
past-sprint documents by default, so a design drops out of the default
grounding path the moment its sprint closes. Nothing has to remember to
retire it.
5. Lifecycle
DRAFTwhile the argument is being built.STARTEDonce tasks are executing against it.LANDEDwhen the story closes, with#+outcome:naming the durable document distilled from it. The design is never deleted; it stays as the record of why the durable document says what it says.SUPERSEDEDif a later design replaces it before the work lands.ABANDONEDif the work is dropped.
A design whose story is DONE but whose #+outcome: is empty is drift,
and belongs to the audit channel alongside the link-integrity checks.
6. See also
- Document Types — the taxonomy this type belongs to.
- Document type: plan — the transient sibling this type is not.
- Document type: story — the parent a design is always scoped to.