How to Build a Permission Gate Extension for Pi

Pi is a minimal, extensible coding agent. This article walks through building a permission gate extension that intercepts dangerous bash commands before they run.