From 381213c552c77e16024b044d952cda28dd510069 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 7 Feb 2026 22:42:45 -0500 Subject: [PATCH] rule: compact data files before git commit --- MEMORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/MEMORY.md b/MEMORY.md index bdea785..a74e33b 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -291,6 +291,7 @@ Automated document processing pipeline for scanned paperwork. - **Validate config schema before patching** — Check docs/schema for required fields and valid keys before changing gateway config. - **Spam → Trash, Archive → Reference** — Archive is for things worth finding later. Marketing emails have no future value. - **Config color values = hex codes** — Not CSS names. Pattern: `^#?[0-9a-fA-F]{6}$` (e.g., `00FF00` not `green`) +- **Compact data files before committing** — JSON/CSV data files go into git as compact/single-line (`jq -c`), never pretty-printed. Pretty-print is for humans reading; git tracks lines. 854 records ≠ 96K insertions. ## Technical Learnings (Week of Jan 26-Feb 1)