rule: compact data files before git commit

This commit is contained in:
James 2026-02-07 22:42:45 -05:00
parent 1a380ecb4f
commit 381213c552
1 changed files with 1 additions and 0 deletions

View File

@ -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)