From c743b9e11530e98be32caa111f481b1b1e2e1b1c Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 12 Oct 2026 07:17:03 -0400 Subject: [PATCH] Keep cellular core publisher internal --- migrations/0033_fix_cellular_action_tick_offset.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/migrations/0033_fix_cellular_action_tick_offset.sql b/migrations/0033_fix_cellular_action_tick_offset.sql index fa8c783..87fd506 100644 --- a/migrations/0033_fix_cellular_action_tick_offset.sql +++ b/migrations/0033_fix_cellular_action_tick_offset.sql @@ -68,7 +68,8 @@ BEGIN r.head_tick; END $$; -REVOKE ALL ON FUNCTION evolution.publish_cellular_checkpoint(bytea,bytea,bytea) FROM PUBLIC; -GRANT EXECUTE ON FUNCTION evolution.publish_cellular_checkpoint(bytea,bytea,bytea) - TO :"runtime_role"; +-- The three-argument publisher is the internal action-only core. Runtime callers +-- must use the four-argument publication API, which supplies birth evidence. +REVOKE ALL ON FUNCTION evolution.publish_cellular_checkpoint(bytea,bytea,bytea) + FROM PUBLIC, :"runtime_role"; INSERT INTO evolution.schema_migrations(version, sha256) VALUES (33, :'migration_sha_33');