pub struct HarnessWorkspaceSnapshotV1 {
pub workspace_id: String,
pub canonical_root: HarnessHostPathV1,
pub worktree_service_mode: Option<HarnessWorktreeServiceModeV1>,
}Expand description
RegisterWorkspace/CreateStandaloneWorkspace’s reply, and half of
CreateWorktree’s. A deliberately narrowed projection of the node’s own
WorkspaceSnapshot: sessions is dropped (redundant with the runtime
inventory, which every roster-affecting resource mutation already
invalidates on success – see HarnessOperatorRequestV1::RegisterWorkspace’s
doc comment) and managed_worktree_profiles is dropped (SpawnManagedWorktree
has no typed operator verb – see that request variant’s own doc comment
for why – so a profile-catalog listing here would serve no reachable
caller). workspace_id stays a bounded opaque string rather than a typed
selector, matching every other node-scoped workspace id on this wire
(HarnessNodeWorkspaceOriginV1.workspace_id, etc).
Fields§
§workspace_id: String§canonical_root: HarnessHostPathV1§worktree_service_mode: Option<HarnessWorktreeServiceModeV1>