summaryrefslogtreecommitdiff
path: root/makima/migrations/20250119000000_add_phase_guard.sql
Commit message (Collapse)AuthorAgeFilesLines
* Add phase_guard field to Contract model and databasesoryu2026-01-171-0/+9
This adds a new boolean field to control whether the supervisor should wait for user confirmation before progressing to the next phase. When enabled, users can review and potentially amend phase outputs (like plans, requirements docs) before the contract continues. Changes: - Add migration for phase_guard column (defaults to false) - Add phase_guard to Contract, CreateContractRequest, and UpdateContractRequest structs - Update create_contract_for_owner and update_contract_for_owner repository functions to handle phase_guard - Update all CreateContractRequest instantiations with phase_guard field Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>