A 264-Line Agent Hook System That Can Block, Roll Back, and Survive a Broken Hook

The kube-apiserver admission chain, translated into Python. Full source included.