Whether what is at target is still consistent with a deployment recorded
as recorded_mode. false means something else took the path over, which
is why an undeploy may leave a path behind on purpose.
Whether sync_skill would be allowed to write here, without touching
anything. For batch callers that must refuse the whole operation before
mutating any of it (#363, expectation 4).
The one place this refusal is worded. ReplaceRefused and the
TargetConflict that carries it out to callers both render through here so
the two cannot drift apart.
Remove a deployment target only while what is on disk still matches the
deployment we recorded. Returns false when the object was preserved
because it no longer does.
Row-driven removal for cleanup paths: remove only while the disk still
matches the record, and report a preserved replacement instead of falling
back to remove_target. Every caller that deletes what a skill_targets
row points at should go through here (or remove_recorded_target) — a
row is a statement about the past, never proof that whatever is on disk is
ours (#363 expectation 5, #435).