Parallel sessions in worktrees
A step of the Claude Code development environment tree on Gradus, in the Guardrails area: Permissions, verify, review.
Run independent tasks in separate git worktrees so parallel sessions never edit the same checkout.
Usually comes after: Permission rules.
Prompt for your AI assistant
Add a script that creates a git worktree for a new branch under a dedicated directory, installs dependencies there and prints the path. Document in CLAUDE.md that each parallel assistant session should work in its own worktree and how to merge one back.This is https://gradus.kazet.blog/tree/claude-dev-environment/step/parallel-worktrees as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.