Clean only proven, approved workspaces
This is a focused procedure. For its place in a larger workflow, see Supporting tools and additional workflows.
Completed work may have left integrated workspaces or stale registrations.
Finish with: Exact approved removals, protected uncertain lanes, and a post-cleanup audit.
Read the diagram
Open interactive diagram · Download SVG · Editable candidate
Arrows show this suggested sequence, not declared requires dependencies. Approval arrows are conditional. Declining a gate stops that branch without authorizing its writes. The numbered steps below are the text equivalent of the diagram.
Before you start
Use a trusted project and follow its instructions. Confirm the requested scope, installed skills, runtime tools, and any required workspace or approval. This selection includes the catalogued instruction requirements isolated-workspace. Resolve them before use.
Steps
- Resolve workspace guidance.
cleanup-workspacesprovides the guidance for this step. - Audit tips/state/ownership.
cleanup-workspacesprovides the guidance for this step. - Approve exact removal plan.
cleanup-workspacesowns this approval boundary; continue only when the applicable approval or existing approved setup is established. - Apply and audit again.
cleanup-workspacesprovides the guidance for this step.
Where to stop
Do not infer integration from a similar diff. Dirty, unknown, or unproven work stays; no force removal, branch deletion, or broad cache cleanup is implied.
Optional branches
- Choose
retrowhen a bounded completed work period has enough evidence to review what helped, failed, or should change.
Optional branches are not prerequisites or permission to launch another phase. You can omit them or stop at the stated result. See relationship types for the distinction.