You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
preAction lets tool calls with no episode skip approval #2881
preAction allows a tool call when the episode is nil, so anything that runs tools without an episode skips the approval hooks entirely.
This came up reviewing #2815: a script could run a saved program whose tool calls carry no episode, and none of them asked. #2815 isn't merged, but the fail-open is in dev today, and any future path that executes tools outside a normal turn inherits it.
Suggested shape: treat a nil episode as "ask" (or refuse) for anything that isn't on the read-only allowlist, and add a test that runs a write/bash tool with no episode and expects the approval path.
Activity