fingerprintRequired
string
SHA-256 of every other plan field. restoreRecoveryTransfer() rejects a plan that no longer matches it.
manifestSha256Required
string
SHA-256 of the transfer’s checksums.json at planning. Restoration rejects with code configuration when the manifest has changed.
commitRequired
string
Commit the destination will be detached at: the last synchronized commit for previous, the sandbox HEAD for incoming.
payloadsRequired
readonly string[]
Untracked file paths, relative to the checkout, copied from previous-files/ or incoming/ into the destination after the patches.
stagingRequired
"unavailable" | "preserved"
preserved for previous: the staged changes are restored to the index. unavailable for incoming: the sandbox’s staging is not captured.
directoryRequired
string
Retained transfer directory, as named by details.recovery of the synchronization error. It must contain state.json and checksums.json.
repositoryRequired
string
Host Git repository cloned into the destination; it is only read. Partial, shallow or alternates-based repositories fail the Git check.
destinationRequired
string
New directory to create. Its parent must exist; the path must not exist and must lie outside the repository, its Git metadata and the transfer.
sideRequired
"previous" | "incoming"
previous restores the host worktree as backed up before the transfer, staged index included; incoming restores the sandbox’s commits, uncommitted changes and untracked files.
maxBytesOptional
number | undefined
Maximum transfer bytes copied and hashed, default 1073741824 (1 GiB). Exceeding it rejects with code configuration.