ππΌββοΈ The blackboard for coding agents - agentic development environment for claude code, codex, cursor, opencode, grok and more.
Rust adeai-agentsclaudeclaude-codecodexcursorgeminigrokopencodespec-driven-developmentvibe-codingvim
docs: clarify worktree base branch configuration (#54)
Romekb283586d7714
diff --git a/README.md b/README.mdindex 75c2889..bba2946 100644--- a/README.md+++ b/README.md@@ -141,11 +141,28 @@ When writing a task description, you can reference files, skills, and other taskConfig file location: `~/.config/agtx/config.toml`+### Worktree Base Branch++agtx creates a new git worktree for each task. By default it auto-detects the base branch in this+order: `main`, then `master`, then the current branch. You can override this to force a specific+base branch (for example `dev` or `develop`).++Global worktree defaults can be set here:++```toml+# ~/.config/agtx/config.toml+[worktree]+base_branch = "dev"+```+### Project ConfigurationPer-project settings can be placed in `.agtx/config.toml` at the project root:```toml+# Base branch used when creating new task worktrees (optional)+base_branch = "dev"+# Files to copy from project root into each new worktree (comma-separated)# Paths are relative and preserve directory structurecopy_files = ".env, .env.local, web/.env.local"@@ -154,7 +171,10 @@ copy_files = ".env, .env.local, web/.env.local"init_script = "scripts/init_worktree.sh"```-Both options run during the Backlog β Research/Planning/Running transition, after worktree creation+`base_branch` controls which branch new task worktrees are created from. If omitted or empty, agtx+auto-detects `main`, `master`, or falls back to the current branch.++These options run during the Backlog β Research/Planning/Running transition, after worktree creationand before the agent session starts.### Per-Phase Agent Configuration