# LLM Provider
# Options: anthropic (default), openai, google
# Install additional providers: uv sync --extra openai   or   uv sync --extra google
LLM_PROVIDER=anthropic
# Optional: override the default model for the selected provider
# Anthropic default: claude-sonnet-4-20250514
# OpenAI default:    gpt-4o
# Google default:    gemini-2.0-flash
LLM_MODEL=

# Anthropic (required when LLM_PROVIDER=anthropic)
ANTHROPIC_API_KEY=your-anthropic-api-key

# OpenAI (required when LLM_PROVIDER=openai)
OPENAI_API_KEY=your-openai-api-key

# Google AI (required when LLM_PROVIDER=google)
GOOGLE_API_KEY=your-google-api-key

# LangSmith (optional — enables tracing for development)
LANGSMITH_TRACING=true
LANGSMITH_API_KEY=your-langsmith-api-key
LANGSMITH_PROJECT=scrum-agent

# GitHub (optional — enables repo context tools; required for private repos and higher rate limits)
# Fine-grained PAT: Contents=Read, Issues=Read, Metadata=Read
# Classic PAT: public_repo (public repos) or repo (private repos)
# No token: works for public repos at 60 req/hour (unauthenticated)
GITHUB_TOKEN=your-github-personal-access-token

# Azure DevOps (optional — enables repo context tools; required for private projects)
# PAT permissions needed: Code=Read, Work Items=Read
AZURE_DEVOPS_TOKEN=your-azure-devops-personal-access-token

# Jira Cloud / Atlassian (optional — enables Jira board read + issue creation tools)
# API token: id.atlassian.com → Security → API tokens
# No trailing slash on JIRA_BASE_URL
JIRA_BASE_URL=https://your-org.atlassian.net
JIRA_EMAIL=you@example.com
JIRA_API_TOKEN=your-jira-api-token
JIRA_PROJECT_KEY=MYPROJ

# Confluence (optional — shares Atlassian auth with Jira; only space key is new)
# Space key is the short identifier visible in your Confluence space URL
CONFLUENCE_SPACE_KEY=MYSPACE

# Session management
# Auto-prune sessions older than N days (default 30, set to 0 to disable)
SESSION_PRUNE_DAYS=30

# Logging
# Controls the file logger at ~/.scrum-agent/scrum-agent.log
# Values: DEBUG, INFO, WARNING (default), ERROR
# Set to DEBUG to capture full diagnostics for troubleshooting
LOG_LEVEL=WARNING
