Open Lab¶
Create an ephemeral host worktree for read/analyze only. Not a container. Not a RAG source.
When to use¶
- "Open a lab on this repo" / "I need to orient to this codebase".
- Employer or untrusted trees that must not enter personal indexes.
What you produce¶
- Directory
~/tool-chest-data/lab/<id>/withLAB.md. - Scope recorded:
own|oss|employer-ephemeral.
Procedure¶
- Scope. Ask if missing:
own,oss, oremployer-ephemeral. - Create the dir:
- Copy or clone into that directory (not a bind-mount of
~). Prefer copy-in. - Allowed: read, diagrams, non-executing local SAST.
- Forbidden: run/build/install target deps on the host; point library/research/patterns MCP at this path; leave the tree after the engagement (
close-lab). - Execute / network / untrusted-build: stop. Use launch-isolated-sandbox.md.
Anti-patterns¶
- Don't index lab trees.
- Don't treat this as
own_projectjust because it is on your laptop. - Don't skip
close-labwhen done.