Claude Code 自治智能体团队工作区配置方案
用 teams 角色、git worktree 隔离、文件锁与对手评审,把 Claude Code 配成多智能体协作团队。
Configure my Claude Code workspace for autonomous agent teams: In ~/.claude/teams, create the missing roles. Workers run on Sonnet (medium effort) in separate git worktree branches. The adversary runs on Fable. In ~/.claude/settings.json, set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 and lock the main session to effortLevel: high. Initialize tasks.json with file-level locking so workers can coordinate directly. In CLAUDE.md, require an adversary review before any PR. Show me the config diffs before applying anything.




