-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
66 lines (58 loc) · 2.71 KB
/
config.yaml
File metadata and controls
66 lines (58 loc) · 2.71 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
# Neuron-Loop Configuration
# Coding ↔ Review ↔ Test Loop Orchestrator
# ─── Model Tiers ────────────────────────────────────────────
# Tier 1: Deep reviewers (high quality, may cost money)
# Tier 2: Sweep reviewers (cheaper/free, broader coverage)
# Coder: The model that writes/fixes code
tiers:
coder:
# Model that writes and fixes code (strongest model)
model: "anthropic-coder/claude-opus-4-6"
role: "coder"
tier1:
# Deep reviewers — run in parallel, cross-reference findings
- provider: anthropic-reviewer
model: "claude-sonnet-4-6"
label: "sonnet"
- provider: openai
model: "gpt-5.4"
label: "gpt54"
tier2:
# Sweep reviewers — cheaper/free, catch obvious issues
- provider: ollama-cloud
model: "glm-5:cloud"
label: "glm5"
# ─── Gate Rules ─────────────────────────────────────────────
# How to triage findings across models
gate:
# Findings from N+ models → auto-fix (no debate)
auto_fix_threshold: 2
# Findings from 1 Tier 1 model → assess carefully (include in fixes)
tier1_single_action: "fix"
# Findings from 1 Tier 2 model only → skip unless CRITICAL
tier2_single_action: "skip_unless_critical"
# ─── Loop Limits ────────────────────────────────────────────
loop:
max_iterations: 15 # Hard stop
max_coder_rounds: 20 # Max rounds per coder session
convergence_threshold: 0 # Stop when this many or fewer significant findings remain
min_fix_severity: "MEDIUM" # Only MEDIUM+ must be fixed; LOW findings don't block convergence
max_growth_percent: 25 # Bloat guard: revert individual fixes that push total growth beyond this %
timeout_seconds: 3600 # Overall timeout
# ─── Test Configuration ────────────────────────────────────
test:
# Command to run tests. Must exit 0 on success.
# Use {workdir} placeholder for the working directory.
command: ""
# Run tests before review? (catches obvious breaks early)
before_review: true
# Run tests after fixes? (verify fixes don't break things)
after_fix: true
# ─── Output ─────────────────────────────────────────────────
output:
# Directory for reports, logs, intermediate files
dir: "./output"
# Keep intermediate review files?
keep_intermediates: true
# Verbose console output
verbose: true