@@ -160,8 +160,8 @@ type Config struct {
160160 // PlanApproveTimeout for ask mode.
161161 PlanApproveTimeout time.Duration `yaml:"plan_approve_timeout" json:"plan_approve_timeout"`
162162
163- DryRun bool `yaml:"dry_run" json:"dry_run"`
164- Verbose bool `yaml:"verbose" json:"verbose"`
163+ DryRun bool `yaml:"dry_run" json:"dry_run"`
164+ Verbose bool `yaml:"verbose" json:"verbose"`
165165 // AutoApprove skips plan/shell/clarify HITL waits (forces recommended/allow).
166166 AutoApprove bool `yaml:"auto_approve" json:"auto_approve"`
167167
@@ -201,7 +201,7 @@ type Config struct {
201201 StaticQuality bool `yaml:"static_quality" json:"static_quality"` // reject stub/placeholder code
202202 ThinkingBudget bool `yaml:"thinking_budget" json:"thinking_budget"` // commit-to-implementation nudge
203203 // ThinkingBudgetTokens hard-abort threshold for over-long deliberation (0=4096).
204- ThinkingBudgetTokens int `yaml:"thinking_budget_tokens" json:"thinking_budget_tokens"`
204+ ThinkingBudgetTokens int `yaml:"thinking_budget_tokens" json:"thinking_budget_tokens"`
205205 FinalizeWarn bool `yaml:"finalize_warn" json:"finalize_warn"` // warn before MaxIter exhaustion
206206 RequireSmoke bool `yaml:"require_smoke" json:"require_smoke"` // coding tasks need smoke for approve
207207 ClaimsGate bool `yaml:"claims_gate" json:"claims_gate"` // reject hallucinated files_changed
@@ -247,30 +247,30 @@ func Default(root string) *Config {
247247 root , _ = os .Getwd ()
248248 }
249249 return & Config {
250- Root : root ,
251- Provider : DefaultProvider ,
252- Endpoint : DefaultEndpoint ,
253- Model : DefaultModel ,
254- Backend : BackendSLMCode ,
255- Mode : ModeFull ,
256- Temperature : 0.2 ,
257- MaxTokens : 4096 ,
258- MaxRetries : DefaultMaxRetries ,
259- MaxParallel : DefaultMaxParallel ,
260- MaxContextKB : DefaultMaxContextKB ,
261- ThinkPasses : DefaultThinkPasses ,
262- TaskTimeout : DefaultTaskTimeout ,
263- QAGate : true ,
264- QAGateMaxRounds : DefaultQAGateRounds ,
265- PostWorkerSmoke : true ,
266- ClarifyMode : "auto" ,
267- ClarifyTimeout : 2 * time .Minute ,
268- ScopeJudge : true ,
269- PlanApprove : "auto" ,
270- PlanApproveTimeout : 2 * time .Minute ,
271- Listen : "127.0.0.1:7420" ,
272- ClaudeCodeBin : "claude" ,
273- Permission : "auto" ,
250+ Root : root ,
251+ Provider : DefaultProvider ,
252+ Endpoint : DefaultEndpoint ,
253+ Model : DefaultModel ,
254+ Backend : BackendSLMCode ,
255+ Mode : ModeFull ,
256+ Temperature : 0.2 ,
257+ MaxTokens : 4096 ,
258+ MaxRetries : DefaultMaxRetries ,
259+ MaxParallel : DefaultMaxParallel ,
260+ MaxContextKB : DefaultMaxContextKB ,
261+ ThinkPasses : DefaultThinkPasses ,
262+ TaskTimeout : DefaultTaskTimeout ,
263+ QAGate : true ,
264+ QAGateMaxRounds : DefaultQAGateRounds ,
265+ PostWorkerSmoke : true ,
266+ ClarifyMode : "auto" ,
267+ ClarifyTimeout : 2 * time .Minute ,
268+ ScopeJudge : true ,
269+ PlanApprove : "auto" ,
270+ PlanApproveTimeout : 2 * time .Minute ,
271+ Listen : "127.0.0.1:7420" ,
272+ ClaudeCodeBin : "claude" ,
273+ Permission : "auto" ,
274274 ShellPermission : "allow" ,
275275 ShellWhitelist : true ,
276276 ShellAskTimeout : 2 * time .Minute ,
0 commit comments