Bogdan Dragomir
/
TIL

TIL on February 9, 2026

February 9, 2026

AI to ALLOW or DENY commands in Claude Code

I am following Boris Cherny and in this tweet he mentions:

c. Route permission requests to Opus 4.5 via a hook — let it scan for attacks and auto-approve the safe ones (see code.claude.com/docs/en/hooks#permissionrequest)

Based on this I steered Claude to build a plugin called smart-permissions - there are two layers, one regex search that automatically allow non harmful commands, everything else that escapes is catched by layer 2 which is an AI evaluation tool that decide ALLOW or DENY. It’s not perfect.

I’m having some trouble getting the default dialog to show when AI denies the tool call.

Notion As CRM

Using Notion as a CRM for the website is really cool! I've had this in mind for a long time, but back then the Notion API wasn't public, so it was only possible in hacky ways. Cool!