upvote
The design is inspired by how eBPF works including the hooks and verification aspects. From the article:

>> This is the design we adopt in ext, inspired by eBPF [21]. Just as Linux lets developers attach programs at specific hooks and verifies each program before loading it, ext exposes narrow, typed hooks for decisions such as compaction, tool-output shaping, and reasoning effort. The agent writes a policy before the run (and can optionally revise it mid-run), and the harness invokes it whenever that decision arises. Before any policy or revision takes effect, a verifier first checks it against both the harness’s built-in rules and the operator’s project-specific rules. In doing so, ext keeps safety-critical mechanisms fixed and protected inside the harness while offering flexibility and extensibility.

EDIT: The title of that section is also important - "Towards a verifiable policy interface"

reply
I thought we already had that though. Transcripts are stored on device and we have hooks already for things like MCPs and what not. I generally agree that eventually we'll need a standard that isn't harness specific but I don't think we know all use cases yet enough to be able to make sure that standard applies appropriately to all models and harnesses.
reply
yeah, hooks (and now mods) in Claude offer an awful lot of Claude-specific flexibility for things like this. I was experimenting last week with intercepting all tool calls and calculating an evolving risk score for each call based on the blast radius, reversibility, etc. of the task it was trying to do. Only a PoC so it was essentially an over complicated allowlist but I think in general it has a lot of promise for people who want better controls.
reply