-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
178 lines (166 loc) · 6.1 KB
/
Copy pathconfig.example.yaml
File metadata and controls
178 lines (166 loc) · 6.1 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# Loki Mode Configuration File
# Copy to .loki/config.yaml in your project or ~/.config/loki-mode/config.yaml
# Environment variables override these values
# Version: 4.1.0
#===============================================================================
# Core Settings
#===============================================================================
core:
# Max retry attempts for rate limits and transient failures
max_retries: 50
# Base wait time in seconds for exponential backoff
base_wait: 60
# Maximum wait time in seconds
max_wait: 3600
# Skip prerequisite checks (not recommended)
skip_prereqs: false
#===============================================================================
# Dashboard Settings
#===============================================================================
dashboard:
# Enable web dashboard
enabled: true
# Dashboard port
port: 57374
#===============================================================================
# Resource Monitoring
#===============================================================================
resources:
# Check resources every N seconds
check_interval: 300
# CPU percentage threshold to warn
cpu_threshold: 80
# Memory percentage threshold to warn
mem_threshold: 80
#===============================================================================
# Security & Safety
#===============================================================================
security:
# Require approval before execution (staged autonomy)
staged_autonomy: false
# Enable audit logging
audit_log: false
# Limit concurrent agent spawning
max_parallel_agents: 10
# Run in sandboxed container (requires Docker)
sandbox_mode: false
# Comma-separated paths agents can modify (empty = all)
allowed_paths: ""
# Comma-separated blocked shell commands
blocked_commands: "rm -rf /,dd if=,mkfs,:(){ :|:& };:"
#===============================================================================
# Testing Phases (enable/disable specific test phases)
#===============================================================================
phases:
unit_tests: true
api_tests: true
e2e_tests: true
security: true
integration: true
code_review: true
web_research: true
performance: true
accessibility: true
regression: true
uat: true
#===============================================================================
# Completion & Iteration Control
#===============================================================================
completion:
# EXPLICIT stop condition text (empty = runs until stopped)
promise: ""
# Max loop iterations before exit
max_iterations: 1000
# Ignore ALL completion signals (runs forever)
perpetual_mode: false
# Uncertainty-gated escalation (v7.19.2, default-on).
# When >=2 of 3 stuck-proxies (no-change counter, diff-hash oscillation,
# persistent council split) co-occur for `uncertainty.rounds` consecutive
# rounds, Loki escalates proactively via PAUSE + notification + handoff
# instead of silently burning iterations.
# IMPORTANT: when autonomy_mode is "perpetual" (the default), PAUSE is
# auto-cleared by the consumer so escalation degrades to notify-only; it
# does NOT halt the run. These are heuristics, not true metacognition.
#
# uncertainty:
# # Master toggle. Set to 0 to disable (byte-identical when off).
# escalation: 1
#
# # Consecutive rounds where >=2 of 3 proxies must co-occur before
# # escalating. Recommended range 2-3. Higher = less noise, later warning.
# rounds: 2
#
# # Proxy 1 threshold: consecutive_no_change must reach this value to mark
# # the no-change proxy hot. Default is COUNCIL_STAGNATION_LIMIT - 1
# # (one below the circuit-breaker limit). Leave unset to use the default.
# # nochange_min: 4
#
# # Proxy 3 threshold: trailing council verdicts that must be
# # REJECTED-with-at-least-one-approver (split) to mark the split proxy hot.
# split_rounds: 2
#===============================================================================
# Model & Routing Settings
#===============================================================================
model:
# Enable prompt repetition for Haiku agents
prompt_repetition: true
# Enable confidence-based routing
confidence_routing: true
# Autonomy level: perpetual, checkpoint, or supervised
autonomy_mode: perpetual
# Suggest compaction every N iterations
compaction_interval: 25
#===============================================================================
# Parallel Execution (Git Worktrees)
#===============================================================================
parallel:
# Enable git worktree-based parallelism
enabled: false
# Maximum parallel worktrees
max_worktrees: 5
# Maximum concurrent Claude sessions
max_sessions: 3
# Run testing stream in parallel
testing: true
# Run documentation stream in parallel
docs: true
# Run blog stream if site has blog
blog: false
# Auto-merge completed features
auto_merge: true
#===============================================================================
# Complexity Tier
#===============================================================================
complexity:
# Force complexity tier: auto, simple, moderate, complex, enterprise
tier: auto
#===============================================================================
# GitHub Integration
#===============================================================================
github:
# Import open issues as tasks
import: false
# Create PR when feature complete
pr: false
# Sync status back to issues
sync: false
# Override repo detection (owner/repo)
repo: ""
# Filter by labels (comma-separated)
labels: ""
# Filter by milestone
milestone: ""
# Filter by assignee
assignee: ""
# Max issues to import
limit: 100
# Label for PRs (empty = no label)
pr_label: ""
#===============================================================================
# Notifications
#===============================================================================
notifications:
# Enable desktop notifications
enabled: true
# Play sound with notifications
sound: true