FRESH
Body bytes and trust-bearing frontmatter fields match the declared digests.
summary_trust=fresh_tether_declared
governed frontmatter for agent-readable Markdown
Frontmattering validates document frontmatter, tethers summaries to exact body bytes, and produces a freshness-aware brief an agent can rely on when it is FRESH — and reject when it is STALE.
$ pip install frontmattering $ frontmattering init . --set-id MYDOCS --title "My docs" $ frontmattering new docs/10_GUIDE.md --profile guide --title "My guide" $ frontmattering tether update --add . $ frontmattering validate . VERDICT: GO $ echo "edit" >> docs/10_GUIDE.md $ frontmattering brief . FRESH x1 | STALE x1 summary_trust: do_not_rely_without_reading_body
what gets added
Not a generic frontmatter parser — a governance and freshness layer for Markdown corpora. Bodies are untouched, byte for byte; the governed block sits above them.
--- ai_document_contract: schema_version: frontmattering_fm/v0_1_5 document_id: PYTHON-TO-RUST-ENGINE document_role: authoring_guide routing: agent_summary: Build a tested engine first. load_order: 20 read_when_tags: [engine, implementation] body_tether: schema_version: frontmattering_body_tether/v1 body_sha256: "9b41…" tethered_fields_sha256: "c07d…" --- # Engine implementation …your Markdown, unchanged…
trust states
FRESH
Body bytes and trust-bearing frontmatter fields match the declared digests.
summary_trust=fresh_tether_declared
STALE
Something drifted since the tether was declared. The brief marks it where an agent would have trusted it.
summary_trust=do_not_rely_without_reading_body
UNTETHERED
No tether declared. Fine for orientation, but blocking under the strict trust profile.
summary_trust=orientation_only
workflow
The validator is the tutorial: every finding names the field, the line, and the fix.
Create the project — one closed schema, no fallbacks, no permissive mode.
Create governed docs or govern Markdown you already have while preserving body bytes.
Digest exact body bytes and trust fields. Drift becomes a finding, not a surprise.
Emit GO or VIOLATED and a compact brief with inline freshness state.
claim boundary
commercial use
Professional, organizational, CI/CD, client, hosted, managed-service, and revenue-connected use is covered by a 30-day evaluation. Continued use needs a commercial license.