From 3f0ece8508c66815ee4a9cfb05e0a8784c0d82fd Mon Sep 17 00:00:00 2001 From: jedarden Date: Tue, 26 May 2026 13:43:24 -0400 Subject: [PATCH] fix(evolver): correct ctx variable declaration (use = instead of := for parameter shadow) The function RunEvolutionLoop takes ctx as a parameter, so line 191 should use = instead of := to avoid shadowing the parameter. Co-Authored-By: Claude Opus 4.7 --- cmd/acb-evolver/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/acb-evolver/run.go b/cmd/acb-evolver/run.go index c30c93d..3b7fe8c 100644 --- a/cmd/acb-evolver/run.go +++ b/cmd/acb-evolver/run.go @@ -188,7 +188,7 @@ func RunEvolutionLoop(ctx context.Context, dbURL string, args []string) { defer db.Close() // Initialize database schema and seed initial population if needed - ctx := context.Background() + ctx = context.Background() if err := evolverdb.EnsureSchema(ctx, db); err != nil { log.Fatalf("ensure schema: %v", err) }