formatRequired
1
Version of the persisted envelope; unsupported versions are refused.
idRequired
string
Stable identifier of this resource, independent of its materialization path.
workspaceIdRequired
string
Stable workspace identity to which this publication journal belongs.
optionsRequired
WorkspaceOutputOptions
Publication destination, selected paths and replacement policy recorded before writes began.
stagingRequired
string
Exclusive validated incoming directory on the destination filesystem, retained for explicit recovery.
backupRequired
string
Exclusive quarantine preserving displaced originals and rollback evidence.
operationsRequired
PublicationOperation[]
Ordered creation, replacement and deletion plan, with intent and result journal phases.
directoriesOptional
PublicationDirectory[] | undefined
Owned directory creation plan with recorded filesystem identities and conditional cleanup.
outputsOptional
readonly WorkspaceFileEntry[] | undefined
Declared protected publications performed only after successful work and sandbox closure.
lockOptional
{ readonly id: string; readonly directory: string; } | undefined
Exact destination lock identity; interrupted ownership requires explicit stopped-process recovery.
stateRequired
"complete" | "applying" | "rolled-back" | "recovery-required"
Persisted lifecycle state; uncertain or recovery-required resources are never silently reconstructed.