split-monolith
A file split done wrong breaks every caller. Follow this procedure exactly — it is reversible at every step.
Step 0 — Confirm the file needs splitting
wc -l app/services/<file>.py
| Lines | Action |
|---|---|
| < 400 | Do not split — you're solving a non-problem |
| 400–600 | Plan the split now, execute when convenient |
| > 600 | Split immediately (Principle A7 hard cap) |
Also ask: does this file mix multiple concerns? A file that is long but
[Description truncada. Veja o README completo no GitHub.]