diff options
Diffstat (limited to 'makima/migrations/20260510000000_drop_directive_goal.sql')
| -rw-r--r-- | makima/migrations/20260510000000_drop_directive_goal.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/makima/migrations/20260510000000_drop_directive_goal.sql b/makima/migrations/20260510000000_drop_directive_goal.sql new file mode 100644 index 0000000..0848239 --- /dev/null +++ b/makima/migrations/20260510000000_drop_directive_goal.sql @@ -0,0 +1,16 @@ +-- Drop directives.goal and directive_goal_history. +-- +-- The unified contract surface makes contracts the source of truth for +-- spec text. A directive is now a folder of contracts; the orchestrator +-- daemon reads the currently-active contract's body when it spawns, +-- replanned, or runs completion. directives.goal was the pre-contract +-- spec field — superseded. +-- +-- directive_goal_history tracked edits to the goal field. Contract +-- bodies have their own version field on the contracts table; the +-- amend/replan flow now queries that instead. + +DROP TABLE IF EXISTS directive_goal_history; + +ALTER TABLE directives DROP COLUMN IF EXISTS goal; +ALTER TABLE directives DROP COLUMN IF EXISTS goal_updated_at; |
