Files
ECShopX/tdd-guard/.env.example
2026-03-27 18:01:17 +08:00

31 lines
1.2 KiB
Plaintext

# TDD Guard Configuration
# Validation client for TDD enforcement (optional)
# Options: 'sdk' (default), 'api', 'cli' (Claude CLI), 'cursor-cli' (Cursor CLI)
VALIDATION_CLIENT=sdk
# Model version for validation (optional)
# Default: claude-sonnet-4-0
# Used when VALIDATION_CLIENT is 'api' or 'sdk'
# See https://docs.anthropic.com/en/docs/about-claude/models/overview
TDD_GUARD_MODEL_VERSION=claude-sonnet-4-0
# Anthropic API Key for TDD Guard
# Required when VALIDATION_CLIENT is set to 'api'
# Get your API key from https://console.anthropic.com/
TDD_GUARD_ANTHROPIC_API_KEY=
# Use system-installed Claude CLI (optional)
# When VALIDATION_CLIENT=cli: if 'true', use 'claude' from PATH; else use ~/.claude/local/claude
# USE_SYSTEM_CLAUDE=false
# Use system-installed Cursor CLI (optional)
# When VALIDATION_CLIENT=cursor-cli: if 'true', use 'agent' from PATH; else use ~/.local/bin/agent
# Install: curl https://cursor.com/install -fsS | bash
# USE_SYSTEM_CURSOR=false
# Linter type for refactoring phase support (optional)
# Options: 'eslint', 'golangci-lint' or unset (no linting)
# Only set this if you want automatic code quality checks during refactoring
# LINTER_TYPE=eslint