docs(release): state installer doctor contract

This commit is contained in:
Peter Steinberger
2026-07-10 07:39:17 -07:00
parent 98a2229b79
commit 3eb3f0d3bc
+2
View File
@@ -482,6 +482,8 @@ if (typeof updateStep.command !== "string" || !updateStep.command.includes(expec
throw new Error(`global update step missing expected tgz URL: ${JSON.stringify(updateStep)}`);
}
const doctorStep = steps.find((step) => step?.name === "openclaw doctor");
// Every baseline that passes verify_installed_cli implements this contract;
// the sole earlier npm artifact has no CLI and cannot reach this parser.
if (!doctorStep) {
throw new Error("missing openclaw doctor step in update JSON");
}