From 99806b8b3dac920eddc4be99be69705bcf98bae7 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Fri, 5 Jun 2026 09:59:18 +0200 Subject: [PATCH] fix(ingest): Add frontmatter missing warning to index-append.py --- skills/ingest/scripts/index-append.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skills/ingest/scripts/index-append.py b/skills/ingest/scripts/index-append.py index a4fc718..bb91238 100644 --- a/skills/ingest/scripts/index-append.py +++ b/skills/ingest/scripts/index-append.py @@ -50,6 +50,10 @@ def main() -> int: if fm_open and ln.startswith("last_updated:"): lines[i] = f"last_updated: {today}" + if not fm_open: + print("index-append: warning: no frontmatter found, last_updated not bumped", + file=sys.stderr) + # 2. Locate the target section [start, end) start = None for i, ln in enumerate(lines):