Frontmatter holds what tools act on; the body holds what people read
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Designing what goes in a lesson's frontmatter versus body.
Decision#
A lesson's frontmatter holds only fields a tool must act on (filter, decide, enforce). The body holds everything a person reads, and no fact is stored in both places. Links are plain Markdown links in the body, with no links: field. status and superseded_by stay in the frontmatter so the search filter never parses prose, and the supersede reason goes in a ## Why superseded section.
Why#
A link in prose carries its reason, and rs-web builds its backlink graph from content links. rkb move and rkb rename rewrite links, and lint fails on a broken one.
Rejected options#
A separate links: list, because it duplicates the body and has no context.
Also found by searching
- links field in frontmatter or links in prose
- frontmatter holds only fields a tool acts on
- rkb move and rename rewrite links
- status and superseded_by in frontmatter