summaryrefslogtreecommitdiff
path: root/makima/migrations/20250120000000_add_phase_guard.sql
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-18 17:08:29 +0000
committersoryu <soryu@soryu.co>2026-01-18 17:08:29 +0000
commita75ae873f652487878cb91dcf58514a3f3fe0288 (patch)
tree441c71e3cdbaabd5e143090de4a59c53e6ebd30d /makima/migrations/20250120000000_add_phase_guard.sql
parent900472091e4d9b4000508b0d266d786ef41107bd (diff)
downloadsoryu-a75ae873f652487878cb91dcf58514a3f3fe0288.tar.gz
soryu-a75ae873f652487878cb91dcf58514a3f3fe0288.zip
Fixup: Version phaseguard
Diffstat (limited to 'makima/migrations/20250120000000_add_phase_guard.sql')
-rw-r--r--makima/migrations/20250120000000_add_phase_guard.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/makima/migrations/20250120000000_add_phase_guard.sql b/makima/migrations/20250120000000_add_phase_guard.sql
new file mode 100644
index 0000000..dfa642a
--- /dev/null
+++ b/makima/migrations/20250120000000_add_phase_guard.sql
@@ -0,0 +1,9 @@
+-- Add phase_guard column to contracts table
+-- When enabled, the supervisor will wait for user confirmation before progressing to the next phase.
+-- This allows users to review and potentially amend phase outputs (plans, requirements, etc.)
+-- before the contract continues to the next phase.
+
+ALTER TABLE contracts
+ADD COLUMN IF NOT EXISTS phase_guard BOOLEAN NOT NULL DEFAULT FALSE;
+
+COMMENT ON COLUMN contracts.phase_guard IS 'Whether to wait for user confirmation before progressing to the next phase';