-- Restore the pre-441 whitelist. Existing CodeArts rows remain valid because -- the replacement constraint is NOT VALID, but new CodeArts profiles are -- blocked. ALTER TABLE runtime_profile DROP CONSTRAINT IF EXISTS runtime_profile_protocol_family_check; ALTER TABLE runtime_profile ADD CONSTRAINT runtime_profile_protocol_family_check CHECK (protocol_family IN ( 'claude', 'codebuddy', 'codex', 'copilot', 'opencode', 'openclaw', 'hermes', 'pi', 'cursor', 'kimi', 'reasonix', 'dsh', 'kiro', 'antigravity', 'qoder', 'qoderclicn', 'traecli', 'deveco', 'grok', 'qwen', 'qwenpaw', 'mcode', 'dim', 'zeroclaw' )) NOT VALID;