From fef67e49659586de76e264f9adccb3b28592156c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:57:13 +0000 Subject: [PATCH] chore: reword "Fix:" comment to "Rationale:" in cron tool Co-authored-by: hobbyistlabs-coder <267281733+hobbyistlabs-coder@users.noreply.github.com> --- pkg/tools/cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/cron.go b/pkg/tools/cron.go index 666ce43d1..1183ef9d1 100644 --- a/pkg/tools/cron.go +++ b/pkg/tools/cron.go @@ -146,7 +146,7 @@ func (t *CronTool) addJob(ctx context.Context, args map[string]any) *ToolResult everySeconds, hasEvery := args["every_seconds"].(float64) cronExpr, hasCron := args["cron_expr"].(string) - // Fix: type assertions return true for zero values, need additional validity checks + // Rationale: type assertions return true for zero values, need additional validity checks // This prevents LLMs that fill unused optional parameters with defaults (0) from triggering wrong type hasAt = hasAt && atSeconds > 0 hasEvery = hasEvery && everySeconds > 0