Skip to main content

Module studio_workspace_wal

Module studio_workspace_wal 

Source
Expand description

Quin-backed audit trail for studio workspace deploys.

Each manifest save appends a deploy checkpoint Quin plus one placement Quin per pane. History is recoverable from {storage}/studio-workspace.wal.

Structs§

StudioDeployRecord
StudioUndoFrameRecord

Constants§

MAX_UNDO_FRAMES
REVISION_SNAPSHOT_PREFIX
STUDIO_WAL_FILE
UNDO_FRAME_SNAPSHOT_PREFIX

Functions§

append_undo_frame
Append an undo-stack frame Quin plus on-disk snapshot (bounded to MAX_UNDO_FRAMES).
append_workspace_deploy
Append deploy + pane placement Quins for a saved workspace manifest.
list_deploy_history
Recover deploy checkpoints from the studio WAL (most recent last).
list_undo_frames
List undo-frame checkpoints from the studio WAL (oldest first).
load_undo_frame_manifest
Load a single undo-frame manifest snapshot by sequence id.
persist_revision_snapshot
reconstruct_manifest_from_pane_quins
Reconstruct a minimal workspace manifest from pane placement Quins at revision.
recover_undo_chain_manifests
Recover the last N undo manifests in chronological order for history hydration.
replay_workspace_manifest
Load a saved revision snapshot, falling back to pane-quin reconstruction.
revision_snapshot_path
studio_wal_path
undo_frame_snapshot_path
unpack_placement