Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
117 lines (82 loc) · 3.41 KB
/
Copy path.env.example
File metadata and controls
117 lines (82 loc) · 3.41 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
# ============================================================
# GitHub Configuration
# ============================================================
# Personal Access Token with repo scope
# Generate at: https://github.com/settings/tokens
# Required permissions: Contents (R/W), Issues (R/W), Pull requests (R/W), Checks (R)
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Repository to monitor (owner/repo format)
GITHUB_REPO=your-username/your-repo
# Your GitHub username (for identifying bot comments)
GITHUB_USERNAME=your-username
# ============================================================
# Scheduler Configuration
# ============================================================
# How often to poll GitHub (milliseconds)
# Default: 300000 (5 minutes)
POLL_INTERVAL_MS=300000
# Maximum concurrent tasks
# Each task uses ~500MB-1GB RAM (OpenCode + LSP)
# Default: 2
MAX_CONCURRENT_TASKS=2
# ============================================================
# OpenCode Configuration
# ============================================================
# Path to project repository (main worktree) - ABSOLUTE PATH
PROJECT_PATH=/path/to/your/project
# Worktree directory (relative to PROJECT_PATH)
WORKTREE_DIR=.worktrees
# Note: OpenCode model and API keys are managed by opencode/oh-my-opencode
# Configure these in ~/.config/opencode/ (see README for details)
# ============================================================
# Testing Strategy
# ============================================================
# Enable Ralph Loop for autonomous testing
RALPH_LOOP_ENABLED=true
# Max Ralph Loop iterations before declaring failure
RALPH_LOOP_MAX_ITERATIONS=100
# Enable Playwright E2E testing for web features
PLAYWRIGHT_E2E_ENABLED=true
# Minimum test coverage percentage (0-100)
MIN_TEST_COVERAGE=80
# ============================================================
# Quality Gates
# ============================================================
# Enforce quality gates before PR creation
ENFORCE_QUALITY_GATES=true
# Max attempts to fix quality gate failures
MAX_QUALITY_ATTEMPTS=3
# ============================================================
# Task State Management
# ============================================================
# Post checkpoint comments every X minutes
CHECKPOINT_INTERVAL_MINUTES=30
# Keep worktrees for X days after task completion
WORKTREE_RETENTION_DAYS=7
# Automatically clean worktrees older than retention
AUTO_CLEAN_WORKTREES=false
# ============================================================
# CI/CD Integration
# ============================================================
# Max minutes to wait for CI completion
CI_WAIT_TIMEOUT_MINUTES=10
# Require CI to pass before creating PR
REQUIRE_CI_PASS=true
# ============================================================
# Documentation
# ============================================================
# Auto-generate documentation after implementation
AUTO_GENERATE_DOCS=true
# Auto-update README for user-facing features
AUTO_UPDATE_README=true
# Documentation framework (typedoc, jsdoc, etc.)
DOC_FRAMEWORK=typedoc
# ============================================================
# Logging & Debugging
# ============================================================
# Log level: debug, info, warn, error
LOG_LEVEL=info
# Share OpenCode sessions publicly (for transparency)
SHARE_SESSIONS=true
# Progress update frequency during long tasks (minutes)
PROGRESS_UPDATE_INTERVAL_MINUTES=10