Close Lab¶
Destroy a lab worktree. Persist only notes already captured elsewhere (Work space / findings you chose). Source tree is deleted.
When to use¶
- Lab engagement finished.
- User says close / tear down / delete the analysis copy.
Procedure¶
- Confirm the lab id (directory name under
data_root/lab/). - Confirm any notes to keep are already outside the lab dir.
- Delete:
The CLI refuses ids with .. or /.
4. Do not copy the tree into git, Calibre, or a RAG index on the way out.
Anti-patterns¶
- Don't persist employer source "just in case".
- Don't run
rm -rfon paths outsidedata_root/lab/.