pub struct WorkspaceConfig {
pub provider: Option<String>,
pub remote: Option<RemoteWorkspaceConfig>,
pub teardown_mode: Option<String>,
}Expand description
Workspace provider seam config (design D-B, ticket
workspace-provider-seam): which
crate::workspace_provider::WorkspaceProvider supplies the mission’s
runnable environment. A DIFFERENT config surface from
SandboxConfig — sandbox = process containment, workspace = the
runnable environment — and the two stay separate even where runtime code
could later be shared.
Fields§
§provider: Option<String>Workspace provider name. Absent (or "local-worktree") selects
today’s isolation cwd (the default). Unknown names fail closed at run
start — never a silent fallback to local.
remote: Option<RemoteWorkspaceConfig>Remote-substrate settings (ticket workspace-remote-coder-provider),
consulted only when provider = "remote": "remote" resolves ONLY
with these complete — a missing key fails closed at resolve (plan
approval AND run start) with the key named, never a silent fallback
to local.
teardown_mode: Option<String>The teardown mode the engine drives when a run reaches a TERMINAL
state — Complete/Failed/Abandoned (ticket
workspace-idle-hibernate): "keep" (the default) | "hibernate"
| "destroy". A non-terminal run end (Blocked/Paused) always Keeps
so the mission can resume; local-worktree is always Keep regardless
(its filesystem lifecycle belongs to the mission-branch/merge
machinery). Unknown modes fail closed at run start with this key
named — never a silent default.
Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Source§fn clone(&self) -> WorkspaceConfig
fn clone(&self) -> WorkspaceConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more