From eecb90c76bbfca4084de93b89a21c567beacdee2 Mon Sep 17 00:00:00 2001 From: DBT Date: Sun, 1 Mar 2026 03:50:18 +0000 Subject: [PATCH] config: keep deprecated autonomy notify fields for backward-compatible config loading --- pkg/config/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/config/config.go b/pkg/config/config.go index e926152..eb00e94 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -59,6 +59,10 @@ type AutonomyConfig struct { TaskHistoryRetentionDays int `json:"task_history_retention_days" env:"CLAWGO_AGENTS_DEFAULTS_AUTONOMY_TASK_HISTORY_RETENTION_DAYS"` WaitingResumeDebounceSec int `json:"waiting_resume_debounce_sec" env:"CLAWGO_AGENTS_DEFAULTS_AUTONOMY_WAITING_RESUME_DEBOUNCE_SEC"` AllowedTaskKeywords []string `json:"allowed_task_keywords" env:"CLAWGO_AGENTS_DEFAULTS_AUTONOMY_ALLOWED_TASK_KEYWORDS"` + // Deprecated: kept for backward compatibility with existing config files. + NotifyChannel string `json:"notify_channel,omitempty"` + // Deprecated: kept for backward compatibility with existing config files. + NotifyChatID string `json:"notify_chat_id,omitempty"` } type AgentTextConfig struct {