.agents/skills/reducing-entropy/references/expensive-to-add-later.md
"When should you override YAGNI? When the cost of adding something later is so dramatically expensive compared with the cost of adding it early on that it's worth taking the risk."
YAGNI is a good default. But some things are genuinely cheaper to build in from the start than to retrofit later. Know the difference.
Ruthless YAGNI application can backfire when:
The avoiding-complexity skill pushes toward less. This mindset identifies the exceptions where "add it now" beats "add it later."
Data you can't get back:
created_at / updated_at timestamps on every tableInfrastructure that's painful to retrofit:
Security fundamentals:
Before invoking PAGNI, ask:
If yes to all three, it's a PAGNI. Otherwise, YAGNI still applies.
PAGNI is not an escape hatch for over-engineering. It's a small, specific list of exceptions learned from painful experience. When in doubt, YAGNI wins.
Most features: YAGNI. Infrastructure and data collection: probably PAGNI.