fix(setup): preserve current recovery snapshots and decoding failures

This commit is contained in:
morluto
2026-10-13 14:51:55 +08:00
parent 5f0f25ad61
commit f6775a3669
13 changed files with 835 additions and 142 deletions
+10
View File
@@ -26,6 +26,16 @@ export type ClientConfigurationResult =
| {
readonly status: "failed";
readonly reason: "path" | "backup" | "write" | "readback";
}
| {
readonly status: "failed";
readonly reason: "rollback";
readonly backupPath?: string;
readonly failure: {
readonly kind: "restore";
readonly path: string;
readonly detail: string;
};
};
/** Read-only state used to block unsafe setup plans before any mutation. */