# {{project_name}} — environment. Copy to .env and fill in.  cp env .env

# ── Required ──
LEAFMESH_LICENSE_KEY=
ANTHROPIC_API_KEY=            # planner + reviewer LLMs AND the Claude Agent SDK
OPENAI_API_KEY=               # (manager)

# ── State store ──
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=

# ── Developer + QA agents (Claude Agent SDK) ──
# Host prerequisite: `pip install claude-agent-sdk` + the Claude Code CLI
# on the host (the customer's environment provides these).
DEV_REPO_PATH=                # absolute path to the repo checkout the developer works in (QA reads the same)
GH_TOKEN=                     # gh CLI auth — for opening the PR
# git user.name / user.email must be configured in that environment.
QA_DISCIPLINE=backend         # the qa_agent's lane: backend | api | frontend
                              # (duplicate the qa_agent block per discipline to run all three)

# ── Tuning (optional) ──
DEV_SQUAD_MAX_WIP=1           # max tickets in flight at once (serial by default)

# ── Connectors (inert until set) ──
JIRA_MCP_URL=                 # ticket pull + status write-back + bug filing (PO / planner / QA)
GITHUB_MCP_URL=               # reviewer pulls the PR diff
# Event broker — Jira pushes "assigned/created" events here (planner/QA/PO listen_events).
# Defaults to local Redis; point at your bus in prod (see brokers: in config.yaml).
JIRA_EVENTS_REDIS_URL=redis://localhost:6379
