The real path and real type matter
A config change should be schema-guided, not intuition-guided.
Use this page when you need to make a config change without clobbering working settings, guessing structure, or widening a small edit into a larger outage.
Before touching config, decide exactly what field or behavior you are trying to change, which object owns it, and whether this is a narrow key update or a wider structural shift.
The safest default habit is to inspect the current value and its surrounding object before editing. If the object is large, treat it as merge-sensitive until proven otherwise.
A config change should be schema-guided, not intuition-guided.
Patch a narrow field or keyed entry instead of replacing the full parent object.
Validate right away so syntax mistakes, wrong paths, and wrong types do not spread.
A correct file edit still needs runtime verification because some settings hot-apply and others require restart.
Stop stacking more edits, isolate the smallest recent change, and restore the narrow broken layer first. Broad rewrites tend to compound damage instead of fixing it cleanly.