The prompt.md docs tree requires every doc under docs/ to link to
another doc. Accepted ADRs are immutable: editing 0001 or 0002 to add
markdown links would rewrite decided history. The tree check flags
exactly those two files.
Decision
Accepted ADR bodies stay link-free and immutable. The link-tree rule
covers all other docs/ files. New ADRs (this one included) carry
markdown links from birth, so only pre-tree ADRs 0001 and 0002 stand
as the permanent, named exception.
Consequences
Good: history stays intact; the exception is explicit instead of a
quiet check failure; future ADRs join the tree.
Bad: the tree script must allowlist two files forever.
What this rules out: editing any accepted ADR for cosmetic reasons.
<!-- doc: docs/adr/0003-docs-link-tree-scope.md | version: 1.0 | updated: 2026-10-31 -->
# 0003: Docs link tree excludes accepted ADR bodies
- Status: accepted
- Date: 2026-10-31
- Decision makers: retoor
- Spec IDs: DOC-01
## Context
The prompt.md docs tree requires every doc under `docs/` to link to
another doc. Accepted ADRs are immutable: editing 0001 or 0002 to add
markdown links would rewrite decided history. The tree check flags
exactly those two files.
## Decision
Accepted ADR bodies stay link-free and immutable. The link-tree rule
covers all other `docs/` files. New ADRs (this one included) carry
markdown links from birth, so only pre-tree ADRs 0001 and 0002 stand
as the permanent, named exception.
## Consequences
Good: history stays intact; the exception is explicit instead of a
quiet check failure; future ADRs join the tree.
Bad: the tree script must allowlist two files forever.
What this rules out: editing any accepted ADR for cosmetic reasons.
## Links
- [Security index](../security.md), [implementation root](../implementation.md)
- SPEC.md DOC-01; ADR [0001](0001-adopt-seriousdevelopment.md),
[0002](0002-use-cpp-single-file.md)