From 662090ea68323ebd7160941f8cb5c96145c3e9d4 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 26 Jan 2026 18:19:03 +0000 Subject: Add local_only flag to contracts database and models Co-Authored-By: Claude Opus 4.5 --- makima/migrations/20260126000000_add_local_only_mode.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 makima/migrations/20260126000000_add_local_only_mode.sql (limited to 'makima/migrations') diff --git a/makima/migrations/20260126000000_add_local_only_mode.sql b/makima/migrations/20260126000000_add_local_only_mode.sql new file mode 100644 index 0000000..27af087 --- /dev/null +++ b/makima/migrations/20260126000000_add_local_only_mode.sql @@ -0,0 +1,7 @@ +-- Add local_only column to contracts +ALTER TABLE contracts ADD COLUMN local_only BOOLEAN NOT NULL DEFAULT false; + +-- Index for filtering by local_only mode +CREATE INDEX idx_contracts_local_only ON contracts(local_only) WHERE local_only = true; + +COMMENT ON COLUMN contracts.local_only IS 'When true, tasks do not auto-execute completion actions and work stays in worktrees'; -- cgit v1.2.3