frontmatter-enrichment
Installation
SKILL.md
Frontmatter Enrichment
The third link in the triage pipeline. folder-curator types a file, domain-triage routes it to its entity, then this fills the frontmatter — the base skeleton plus the context-aware values that only the driving agent's memory can supply ("why does this file exist, what is its role in the plan").
Operating principles
- Base first, then context. Stamp the declared base schema (idempotent, non-clobbering), then set the interpolated values on top.
- Never clobber, never fabricate. Preserve existing values; use
unknown/unconfirmedrather than inventing. Memory-grounded values beat guesses. - The editor is
frontmatters, not hand-edits. It preserves key order and writes atomically; hand-editing YAML risks the order/format corruption the tool exists to avoid. - Memory is the differentiator. The rich fields come from the repo's Hermes PM context — recent activity, decisions, and the Hindsight bank — not from the file alone.
- No new agent. The repo's Hermes PM drives this; its memory is the context.