-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeward.example.yml
More file actions
76 lines (69 loc) · 1.91 KB
/
codeward.example.yml
File metadata and controls
76 lines (69 loc) · 1.91 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
codeward:
version: "1"
bot_username: codeward-bot
webhook_path: /webhook
port: 8420
models:
fast:
id: fast
temperature: 0.1
max_tokens: 4096
default:
id: strong
temperature: 0.1
max_tokens: 8192
strong:
id: strong
temperature: 0.1
max_tokens: 8192
code:
id: code
temperature: 0.0
max_tokens: 8192
defaults:
auto_review: true
auto_pipeline_debug: true
auto_security_triage: false
mention_trigger: "@codeward"
cooldown_seconds: 120
max_diff_lines: 2000
skip_draft_mrs: true
labels:
reviewed: "ai-reviewed"
needs_changes: "ai-needs-changes"
security_critical: "security-critical"
rate_limits:
per_project_per_hour: 30
per_user_per_hour: 20
global_per_minute: 10
# Token budgets for LLM context assembly
# token_budgets:
# total: 24000
# diff: 12000
# per_file_diff: 4000
# pipeline_logs: 3000
# description: 2000
# previous_reviews: 3000
# Secret redaction settings.
# redaction:
# entropy_threshold: 4.5
# extra_patterns:
# - name: internal_key
# pattern: "INTERNAL-[A-Z]{10,}"
# External MCP servers whose tools can be exposed to agents.
# Each key here is the name referenced from an agent YAML's `mcp_servers:` list.
# Schema: codeward/mcp_client/registry.py (MCPServerConfig).
# mcp_servers:
# context7:
# url: https://mcp.context7.com/mcp
# transport: streamable-http # streamable-http | sse
# auth_type: bearer # bearer | header | none
# auth_token_env: CONTEXT7_TOKEN # env var holding the bearer token
# enabled: true
# description: Context7 documentation lookups
# internal-kb:
# url: https://kb.internal/mcp
# transport: streamable-http
# auth_type: header
# headers:
# X-API-Key: ${INTERNAL_KB_KEY} # ${VAR} expansion is supported