-- Roles remember the manifest JOBS they were composed from (venue-modules.md ยง"Permissions -- matrix", move 2) so a role built from a job chip can be flagged and re-applied when a -- later release grows that job's bundle. The permission grid stays the enforcement layer. CREATE TABLE `role_jobs` ( `role_id` text NOT NULL, `job_id` text NOT NULL, FOREIGN KEY (`role_id`) REFERENCES `roles`(`id`) ON UPDATE no action ON DELETE no action ); --> statement-breakpoint CREATE UNIQUE INDEX `role_jobs_role_id_job_id_unique` ON `role_jobs` (`role_id`,`job_id`);