备份、恢复与重置

flowchart TD
Intent -- Backup --> Temp["temp + atomic replace"]
Intent -- Restore --> Validate{"valid backup?"}
Validate -- 是 --> Apply
Validate -- 否 --> Keep
Intent -- Reset --> Confirm{"confirm exact scope?"}
Confirm -- 是 --> Scoped["scoped destructive action"]