mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-03 11:10:23 +02:00
chore(attribution): renumber migrations 150/151 → 157/158 after merging main (MUL-4302)
main's #5162 ("unblock release migrations") renumbered the chat migrations and took 150 (agent_task_coalesced_comments) and 151 (chat_read_cursor), colliding with this branch's attribution migrations. Renumber them above main's new highest (156) so TestMigrationNumericPrefixesStayUniqueAfterLegacySet passes: - 150_agent_task_attribution → 157_agent_task_attribution - 151_agent_task_accountable_user → 158_agent_task_accountable_user Fixed the internal "migration 150" references in 158's header to 157. Migrations apply cleanly through 158 on a fresh DB; migration lint green. Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
-- Human Attribution, Phase 1 — split the accountable human off originator_user_id
|
||||
-- (MUL-4302, decided by Bohan on the MUL-4302 thread).
|
||||
--
|
||||
-- Migration 150 stamped provenance (originator_source, evidence, lineage) ONTO
|
||||
-- Migration 157 stamped provenance (originator_source, evidence, lineage) ONTO
|
||||
-- originator_user_id, treating that one column as both "who authorized this run"
|
||||
-- and "who is accountable for it". Those are two different questions with two
|
||||
-- different lifetimes, and collapsing them onto one column is a latent hazard:
|
||||
@@ -39,7 +39,7 @@
|
||||
-- lock).
|
||||
--
|
||||
-- NULL does NOT mean "pre-migration row" here. Unlike originator_source (which
|
||||
-- every new enqueue path now stamps non-NULL, migration 150), accountable_user_id
|
||||
-- every new enqueue path now stamps non-NULL, migration 157), accountable_user_id
|
||||
-- is legitimately NULL on NEW rows too, whenever the row's audit source resolved
|
||||
-- no human yet: run_only autopilot writes originator_source='unattributed' with a
|
||||
-- NULL accountable until rule_owner lands, and any classified-unattributed path is
|
||||
Reference in New Issue
Block a user