Skip to content

Tweet by nicopreme

November 7, 2026

Hot take: Pi has extensions because I wanted an undo button. Last December I opened a PR for Pi to snapshot every turn so jumping backwards in a convo could restore your file changes. Mario said no to adding it to core, then floated: "hooks could be a way to actually extend pi." I opened the first hooks PR for Pi the next day. Mario rebuilt it into core based on my proposal, crediting me for the design and implementation. I began shipping many Pi hooks right away, starting with pi-rewind-hook. A few weeks later, Pi hooks grew into a full-blown extension system. I kept contributing to core and building on top of Pi: 37 extensions and 23k+ GitHub stars combined. Not bad for a rejected PR!

Author
nicopreme
Date
November 7, 2026