Skip to main content

Module place

Module place 

Source
Expand description

The C0 2.0 sync of one bound vault (SPEC-ENGINE §3.4.4, V1.6): clone or tail the replica, turn what the capture gate lets through into signed events, push them, tail again. Runs only when the enrolled Cloud speaks C0 2.0 (crate::bus::relay_v2::speaks_v2); against a 1.x Cloud the draft path stays as it is.

Structs§

SessionApi
The routes of a session, with its token refresh.
VaultSync
What one vault sync did.

Constants§

CAPTURE_ROLE

Functions§

canonical_instance_id
The instance id as C0 2.0 names it: the hyphenated UUID of the 1.x inst_<32 hex> id.
capture_allowed
Sync the vault record bound to the checkout at root. While a quota or policy throttle holds sync, nothing is asked of Cloud: the replica keeps its pending events and the refusal says until when. Whether sync may capture this machine’s knowledge into the vault: the same switches the knowledge remember note reads.
place_id
The C0 2.0 place id of a vault: the canonical hyphenated UUID. A 1.x link resolve may hand out the same id as 32 plain hex digits, which a C0 2.0 Cloud does not accept as its place name.
sync_vault