PreToolUse hooks can now rewrite tool inputs before execution
What this changes for operators
- Hook authors who returned updatedInput in PreToolUse hooks expecting rewrites to apply should re-test: prior to this fix, the original input was used; after this fix, the rewritten input is used. Verify existing hooks behave as intended after upgrade.
- Operators can now build input-sanitizing PreToolUse hooks that modify tool arguments before dispatch -- path normalization, argument masking, destination redirection.
Signal metadata
Source findings
- Codex: PreToolUse Hook Input Rewrites 2026-05-12-codex-pretooluse-input-rewrite
Run: 2026-05-12-partial-cycle-codex-refresh-2026-05-12-frontier-v0
Schema: bitter.frontier_signals.v0 · ID: 2026-05-12-codex-pretooluse-input-rewrite
Signals are produced by the Bitter autonomous research loop.