Repository navigation
Expand file tree
/
Copy path.env.template
More file actions
134 lines (97 loc) · 4.83 KB
/
Copy path.env.template
File metadata and controls
134 lines (97 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# {{PROJECT_SHORT}} SAFe Multi-Agent Development - Environment Configuration Template
# Copy this file to .env and fill in your values
# DO NOT commit .env to version control (already in .gitignore)
# ============================================================================
# PROJECT CONFIGURATION
# ============================================================================
# Your project name (replaces {{PROJECT_NAME}} in templates)
PROJECT_NAME="YourProjectName"
# Linear/Jira ticket prefix (e.g., PROJ, TEAM, WOR)
TICKET_PREFIX="PROJ"
# Primary development branch (main, dev, develop)
PRIMARY_DEV_BRANCH="main"
# GitHub handle of the system architect
ARCHITECT_GITHUB_HANDLE="your-github-handle"
# ============================================================================
# API KEYS & AUTHENTICATION
# ============================================================================
# Claude API Key (for Claude Code agent system)
# Get from: https://console.anthropic.com/
CLAUDE_API_KEY="sk-ant-api03-..."
# Linear API Key (for issue tracking integration)
# Get from: https://linear.app/settings/api
LINEAR_API_KEY="lin_api_..."
# GitHub Personal Access Token
# Get from: https://github.com/settings/tokens
# Required scopes: repo, workflow, write:packages
GITHUB_TOKEN="ghp_..."
# ============================================================================
# OPTIONAL: JIRA INTEGRATION (Alternative to Linear)
# ============================================================================
# Jira API Token (if using Jira instead of Linear)
# Get from: https://id.atlassian.com/manage-profile/security/api-tokens
# JIRA_API_TOKEN="your_jira_token"
# JIRA_EMAIL="your_email@example.com"
# JIRA_DOMAIN="your-domain.atlassian.net"
# ============================================================================
# OPTIONAL: CONFLUENCE INTEGRATION
# ============================================================================
# Confluence URL (for documentation integration)
# CONFLUENCE_URL="https://your-domain.atlassian.net/wiki"
# Confluence API Token (same as Jira token if using Atlassian)
# CONFLUENCE_API_TOKEN="your_confluence_token"
# ============================================================================
# OPTIONAL: DATABASE CONFIGURATION
# ============================================================================
# Database connection string (for local development)
# DATABASE_URL="postgresql://user:password@localhost:5432/dbname"
# Direct database URL (for migrations, bypasses connection pooling)
# DIRECT_URL="postgresql://user:password@localhost:5432/dbname"
# Database superuser role (for migrations and admin operations)
# DB_SUPERUSER_ROLE="postgres"
# Database application user role (for RLS enforcement)
# DB_APP_USER_ROLE="app_user"
# ============================================================================
# OPTIONAL: MONITORING & OBSERVABILITY
# ============================================================================
# Monitoring endpoint (for agent activity tracking)
# MONITORING_ENDPOINT="https://your-monitoring-service.com/api/events"
# Sentry DSN (for error tracking)
# SENTRY_DSN="https://...@sentry.io/..."
# ============================================================================
# OPTIONAL: CI/CD CONFIGURATION
# ============================================================================
# CI/CD provider (github-actions, gitlab-ci, jenkins, circleci)
# CI_PROVIDER="github-actions"
# Deployment environment (development, staging, production)
# DEPLOYMENT_ENV="development"
# ============================================================================
# OPTIONAL: FEATURE FLAGS
# ============================================================================
# Enable/disable specific agent features
# ENABLE_PATTERN_LIBRARY_CHECKS="true"
# ENABLE_RLS_VALIDATION_HOOKS="true"
# ENABLE_LINEAR_AUTO_UPDATE="true"
# ============================================================================
# DEVELOPMENT SETTINGS
# ============================================================================
# Log level (debug, info, warn, error)
# LOG_LEVEL="info"
# Enable debug mode for agents
# AGENT_DEBUG_MODE="false"
# ============================================================================
# NOTES
# ============================================================================
# 1. After copying this file to .env, fill in at minimum:
# - PROJECT_NAME
# - TICKET_PREFIX
# - CLAUDE_API_KEY (if using Claude Code)
# - LINEAR_API_KEY or JIRA credentials
# - GITHUB_TOKEN
# 2. The .env file is automatically ignored by git (see .gitignore)
# 3. For team sharing, use a secrets management system (e.g., 1Password, AWS Secrets Manager)
# 4. Never commit API keys or tokens to version control
# 5. For production deployments, use environment-specific .env files:
# - .env.development
# - .env.staging
# - .env.production