Expand description
Frontmatter parsing and canonical serialization.
Files are ----fenced YAML followed by a markdown body. Unlike the
original Python tool — which hand-parsed a “constrained” flat YAML — this
uses a real YAML parser (serde_norway), so custom fields may carry nested
mappings, sequences, and multiline/block scalars. The serializer still
emits canonical, minimal frontmatter (core fields first, then remaining
keys alphabetically), formatting flat scalars and scalar lists inline and
falling back to block YAML for complex custom values.
Structs§
- Frontmatter
- Parsed frontmatter, retaining the full YAML mapping so
verifycan inspect wrong-typed values (rather than failing to parse them). - Parse
Error - A frontmatter parse failure, carrying a human-readable message.
Constants§
- RESERVED_
FIELDS - Feature field keys with first-class meaning; everything else is a declared
custom field (or rejected by
verify).referencesis the uniform ID->title map linking to other features and work items;blocked_by/blocksare the directional blocker-relation maps (seerefs.rs). - WI_
RESERVED_ FIELDS - Work-item reserved field keys. Work items share
id/status/tags/created/updated/references/blocked_by/blockswith features and addblocked_reason.