Files
deepseek-harness/examples/acp-agent/tests/snapshots/hook-cc-posttool-block/workspace/posttool-once.sh
2026-07-14 01:09:07 +08:00

8 lines
149 B
Bash

#!/bin/sh
if test -e .posttool-blocked; then
exit 0
fi
: > .posttool-blocked
printf '%s\n' 'tool output rejected by policy: retry once' >&2
exit 2