# Worktree Configuration for Multi-Agent Pipeline
# Used for worktree initialization in multi-agent workflows
#
# All paths are relative to project root

#-------------------------------------------------------------------------------
# Paths
#-------------------------------------------------------------------------------

# Worktree storage directory (relative to project root)
worktree_dir: ../aim-worktrees

#-------------------------------------------------------------------------------
# Files to Copy
#-------------------------------------------------------------------------------

# Files to copy to each worktree (each worktree needs independent copy)
# These files contain sensitive info or need worktree-independent config
copy:
  # Environment variables (uncomment and customize as needed)
  # - .env
  # - .env.local
  # Workflow config
  - .aim-studio/.developer

#-------------------------------------------------------------------------------
# Post-Create Hooks
#-------------------------------------------------------------------------------

# Commands to run after creating worktree
# Executed in worktree directory, in order, abort on failure
post_create:
  # Install dependencies (uncomment based on your package manager)
  # - npm install
  # - pnpm install --frozen-lockfile
  # - yarn install --frozen-lockfile

#-------------------------------------------------------------------------------
# Check Agent Verification (Ralph Loop)
#-------------------------------------------------------------------------------

# Commands to verify code quality before allowing check agent to finish
# If configured, Ralph Loop will run these commands - all must pass to allow completion
# If not configured or empty, trusts agent's completion markers
verify:
  # - pnpm lint
  # - pnpm typecheck
