Expand description
The held vault call.
A vault operation an agent asks for parks here, in the workspaceโs own registry, until the person at a client answers it: the blocked MCP handler awaits a oneshot this module hands back, and no operation runs in the vault unless that answer approved it. It sits beside the Slack draft and the hand-offs for the same reason they do - the parking is workspace state, not a sessionโs pending set, so a seat with no domain can still hold one.
The lock state is not stored here. The draft is parked without it and stamped from the live session on every read, which is what lets a card whose sibling unlocked first re-base to an ordinary approve card.
Re-exportsยง
use uuid::Uuid;๐use crate::SessionSlot;๐use crate::protocol::PendingAsk;๐use crate::protocol::SessionUpdate;๐use crate::workspace::Workspace;๐use forge_primitives::vault::VaultAskAnswer;๐use forge_primitives::vault::VaultAskEnding;๐use forge_primitives::vault::VaultDraft;๐
Type Aliasesยง
- Parked
Vault ๐Ask - One vault call held for a decision: the session that asked, the draft the card draws, and the sender the blocked tool handler awaits.