From 69e4ba7b8a6761662d64ac7568c823673931f781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 10 Sep 2026 00:27:54 +0200 Subject: [PATCH] docs(ops): name the backup precondition on the distance repair An in-place multiplier with no reverse operation was documented with only a dry run in front of it. Point at the backup runbook where the write happens. Review finding M1. --- docs/ops/apple-health-distance-repair.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/ops/apple-health-distance-repair.md b/docs/ops/apple-health-distance-repair.md index fd24ff16a..f67263e5e 100644 --- a/docs/ops/apple-health-distance-repair.md +++ b/docs/ops/apple-health-distance-repair.md @@ -99,6 +99,10 @@ first. ## Apply +Take a backup first — `docs/ops/backup-restore.md`. The multiply is in place +and has no reverse operation: once an account is written wrong, the database +copy you took beforehand is the only way back. + ```bash pnpm dlx tsx scripts/repair-apple-health-distance.ts --apply ```