Workspace Files
Control which files are copied into agent worktrees and what happens when worktrees are cleaned up.
workspace_include
A file containing glob patterns (one per line) for files that should be copied from your main repo into each agent's worktree. Useful for files that aren't tracked by git.
# .botster/shared/workspace_include
.env
config/secrets.yml
node_modules
workspace_teardown
A bash script that runs before a worktree is deleted. Use it for cleanup tasks like stopping services or removing generated files.
# .botster/shared/workspace_teardown
#!/bin/bash
docker compose down 2>/dev/null
rm -rf tmp/pids