From fc5ae34f9c33844402cb594c816c412c30513df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Randall=20Havens=20=E2=96=B3=20The=20Empathic=20Tec?= =?UTF-8?q?hnologist?= Date: Fri, 13 Feb 2026 22:21:55 -0600 Subject: [PATCH] docs(tools): add fix-frontmatter.py to README --- tools/coherence/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/coherence/README.md b/tools/coherence/README.md index 66e2ac3..8788017 100644 --- a/tools/coherence/README.md +++ b/tools/coherence/README.md @@ -8,6 +8,7 @@ Tools for maintaining site coherence. |------|---------|-------| | check-frontmatter.py | Validates YAML frontmatter exists | `python3 check-frontmatter.py ` | | check-metadata.py | Validates required fields | `python3 check-metadata.py ` | +| fix-frontmatter.py | Adds missing frontmatter | `python3 fix-frontmatter.py ` | ## Usage @@ -16,12 +17,12 @@ Tools for maintaining site coherence. python3 check-frontmatter.py ../public/fieldnotes/ python3 check-metadata.py ../public/fieldnotes/ -# Check single file -python3 check-metadata.py file.md +# Fix missing frontmatter (dry run first!) +python3 fix-frontmatter.py --dry-run ../public/fieldnotes/ +python3 fix-frontmatter.py ../public/fieldnotes/ ``` ## Exit Codes -- 0: All files pass -- 1: Some files have issues +- 0: Success - 2: Invalid arguments