upgrade autonomy with task-state persistence and proactive notify cooldown

This commit is contained in:
DBT
2026-02-24 00:19:18 +00:00
parent 680e38b9ae
commit f644ae83ff
6 changed files with 151 additions and 12 deletions

View File

@@ -99,6 +99,9 @@ func Validate(cfg *Config) []error {
if aut.MaxDispatchPerTick <= 0 {
errs = append(errs, fmt.Errorf("agents.defaults.autonomy.max_dispatch_per_tick must be > 0 when enabled=true"))
}
if aut.NotifyCooldownSec <= 0 {
errs = append(errs, fmt.Errorf("agents.defaults.autonomy.notify_cooldown_sec must be > 0 when enabled=true"))
}
}
texts := cfg.Agents.Defaults.Texts
if strings.TrimSpace(texts.NoResponseFallback) == "" {