pub fn write_candidate(
output_root: &Path,
candidate: &SkillCandidate,
now: &str,
) -> Result<WriteOutcome, String>Expand description
Write a candidate, creating a new file or merging into an existing one. Idempotent: an unchanged body is left untouched.