Support harness-scoped tool hooks for policy enforcement and auditing #168
Replies: 3 comments
-
|
Hello -- I've implemented this feature so that I can build some deterministic checks around agent executions to ensure that it does not execute commands that are outside what is expected. The implementation is initially quite simple, and raising exceptions on the |
Beta Was this translation helpful? Give feedback.
-
|
Are discussions here ever likely to actually get discussion? I am curious why pull requests are automatically closed, but then not discussed? |
Beta Was this translation helpful? Give feedback.
-
|
I think that this will be a very useful feature as well. Will enable workflows whereby hooks can be used for automatic steering of a background agent. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Allow init({ hooks }) to run before/after each model tool execution, with before throws surfaced as tool errors to the LLM; task sessions inherit hooks; session.shell synthetic bash runs the same hook path.
Original implementation from #167 by @jchristman
Beta Was this translation helpful? Give feedback.
All reactions