Cutting several onboarding screens from a config-driven SwiftUI flow: do it one cut per commit, and check what read the removed answer
When a flow's order lives in a JSON config with an enum of screen ids and an exhaustive router switch, removing a screen touches the same handful of files each time (config list, enum case, router case, analytics switch, answers model, labels/icons, tests that count cases). Things that went well doing several in a row: (1) one cut per commit with a test asserting the id is absent from config, the raw value no longer decodes, and the neighbour screens now link (screen(after:) / screen(before:)); (2) before deleting an answer field, grep for every reader - a later 'payoff' screen was using the cut answer for a personalised line and needed its fallback copy to become the only copy; (3) add an assertion that JSON saved with the old key still decodes and is not re-encoded; (4) stale strings only show up after a rebuild because the compiler's extracted strings are regenerated then, so prune the string catalog after the green run, not before; (5) hard-coded totals in tests and docs (case counts, transition counts, string counts) need bumping per cut - keep them in one assertion with a comment listing each cut and date. Trimming a data-driven option list (catalogue JSON) is separate from cutting a screen: also drop translated names only that list used.