-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathconfig.yaml.template
More file actions
130 lines (114 loc) · 2.48 KB
/
Copy pathconfig.yaml.template
File metadata and controls
130 lines (114 loc) · 2.48 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
# ContribAI configuration reference
# Generated by `contribai init`. Prefer environment variables for secrets.
locale: en
github:
token: ""
token_encrypted: null
rate_limit_buffer: 100
max_prs_per_day: 2
llm:
provider: gemini
api_key: ""
model: gemini-3-flash-preview
small_model: null
temperature: 0.2
max_tokens: 65536
base_url: null
vertex_project: ""
vertex_location: global
cache_enabled: true
cache_ttl_days: 7
copilot: false
fallback: []
analysis:
enabled_analyzers:
- security
- code_quality
- performance
max_file_size_kb: 100
max_context_tokens: 30000
skip_patterns:
- "*.min.js"
- "*.min.css"
- "vendor/**"
- "node_modules/**"
contribution:
max_changes_per_pr: 3
sign_off: false
commit_convention: conventional
pr_style: descriptive
sign_commits: false
max_pr_body_length: 4000
include_tests: true
discovery:
languages: [rust, python, typescript, go]
stars_min: 50
stars_max: 10000
max_results: 5
watchlist: []
pipeline:
dry_run: true
agent_mode: plan
max_retries: 2
min_quality_score: 0.7
max_repos_per_run: 5
max_concurrent_repos: 2
risk_tolerance: low
skip_docs_prs: true
require_bug_verification: true
skip_repos_with_open_pr: true
circuit_breaker_failure_threshold: 5
circuit_breaker_success_threshold: 2
circuit_breaker_cooldown_secs: 300
permissions:
file_read:
rules: [{ pattern: "*", action: Allow }]
file_edit:
rules: [{ pattern: "*", action: Ask }]
file_create:
rules: [{ pattern: "*", action: Ask }]
file_delete:
rules: [{ pattern: "*", action: Deny }]
shell_command:
rules: [{ pattern: "*", action: Deny }]
pr_create:
rules: [{ pattern: "*", action: Ask }]
storage:
db_path: "~/.contribai/memory.db"
multi_model:
enabled: false
strategy: cost_optimized
scheduler:
enabled: false
cron: "0 */6 * * *"
quotas:
github_daily: 1000
llm_daily: 500
llm_tokens_daily: 1000000
notifications:
slack_webhook: null
discord_webhook: null
telegram_token: null
telegram_chat_id: null
sandbox:
enabled: true
mode: local
docker_image: null
timeout_seconds: 30
require_validation: true
lsp_enabled: false
lsp_timeout_secs: 10
lsp_accept_warnings: false
web:
api_keys: []
webhook_secret: null
tls_enabled: false
tls_cert_path: null
tls_key_path: null
plugins: []
enterprise:
enabled: false
sso_url: null
audit_log_path: null
max_daily_cost_usd: 100.0
allowed_providers: []