II.
OrchestrationPrimitive overview
Reference · liveorch-primitive:workspace-cleanup
Workspace Cleanup overview
Clean up a completed or abandoned task workspace. The primitive deletes temporary branches, removes worktree directories, stops containers, and releases any resources held by the workspace. Triggered automatically when a task reaches a terminal state or when the orchestrator detects orphaned workspaces during reconciliation.
Attributes
displayName
Workspace Cleanup
description
Clean up a completed or abandoned task workspace. The primitive deletes
temporary branches, removes worktree directories, stops containers, and
releases any resources held by the workspace. Triggered automatically
when a task reaches a terminal state or when the orchestrator detects
orphaned workspaces during reconciliation.
orchestrationKind
workspace-lifecycle
trigger
on-state-change
Outgoing edges
orch_applies_to1
- topic:agent-run-lifecycle·TopicAgent Run Lifecycle
realizes1
- layer:13-orchestration·LayerOrchestration
Incoming edges
orch_triggers3
- orch-primitive:pr-creation·OrchestrationPrimitivePR Creation
- orch-primitive:rollback·OrchestrationPrimitiveRollback
- orch-primitive:auto-merge·OrchestrationPrimitiveAuto Merge
supports_orchestration_primitive1
- agent-core-impl:symphony.core@current·AgentCoreImplSymphony Core (current)