From d6d6e7774467b5ade8f6a77ee06ff136a881efd7 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 20:17:08 +0200 Subject: [PATCH] =?UTF-8?q?kin:=20KIN-INFRA-006=20=D0=98=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20command=20injection=20=D1=87?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=B7=20deploy=5Fpath=20=D0=B2=20SSH-=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/db.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/db.py b/core/db.py index 09ac716..dfc7047 100644 --- a/core/db.py +++ b/core/db.py @@ -702,6 +702,13 @@ def _migrate(conn: sqlite3.Connection): conn.execute("ALTER TABLE projects ADD COLUMN test_command TEXT DEFAULT NULL") conn.commit() + # KIN-102: Reset legacy 'make test' default — projects using old schema default get auto-detection. + # Any project with a real Makefile should have test_command set explicitly, not via this default. + conn.execute( + "UPDATE projects SET test_command = NULL WHERE test_command = 'make test'" + ) + conn.commit() + # Rename legacy 'auto' → 'auto_complete' (KIN-063) conn.execute( "UPDATE projects SET execution_mode = 'auto_complete' WHERE execution_mode = 'auto'"