From 8b17a175c3e7e27b789812eba4e3cd760beadb10 Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 6 Jan 2026 04:08:11 +0000 Subject: Initial Control system --- makima/migrations/20250108000000_add_completion_actions.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makima/migrations/20250108000000_add_completion_actions.sql (limited to 'makima/migrations/20250108000000_add_completion_actions.sql') diff --git a/makima/migrations/20250108000000_add_completion_actions.sql b/makima/migrations/20250108000000_add_completion_actions.sql new file mode 100644 index 0000000..ba025cf --- /dev/null +++ b/makima/migrations/20250108000000_add_completion_actions.sql @@ -0,0 +1,13 @@ +-- Add completion action fields to tasks table +-- These control what happens when a task completes successfully + +-- Path to user's local repository (outside ~/.makima) +-- Overrides daemon's default_target_repo if set +ALTER TABLE tasks ADD COLUMN target_repo_path VARCHAR(512); + +-- Action to perform on completion: "none", "branch", "merge", or "pr" +-- - branch: Push task branch to target repo (default) +-- - merge: Auto-merge branch into target_branch in target repo +-- - pr: Create GitHub pull request +-- - none: Keep work in worktree only +ALTER TABLE tasks ADD COLUMN completion_action VARCHAR(32) DEFAULT 'branch'; -- cgit v1.2.3