Task-level approval (requiresApproval, mergeRequiresApproval, pending_approval status) was redundant with executionMode (yolo vs review_per_phase) and blocked the orchestrator's phase completion flow. Tasks now complete directly; phase-level review via executionMode is the right granularity. Removed: schema columns (left in DB, removed from Drizzle), TaskPendingApprovalEvent, approveTask/listPendingApprovals procedures, findPendingApproval repository method, and all frontend approval UI.
7 lines
369 B
SQL
7 lines
369 B
SQL
-- Migrate any pending_approval tasks to completed (unblock the pipeline)
|
|
UPDATE tasks SET status = 'completed' WHERE status = 'pending_approval';
|
|
|
|
-- Note: SQLite cannot drop columns. The merge_requires_approval column on
|
|
-- initiatives and requires_approval column on tasks are left in the DB but
|
|
-- removed from the Drizzle schema. Drizzle ignores extra DB columns.
|