job2: F4 design hook ignores harness notifications; sync test oracle to job1 pointer message (3f639b3 regression)

This commit is contained in:
Bastien Chanot
2026-07-06 12:16:44 +02:00
parent b4ad134d9a
commit 860b803203
2 changed files with 11 additions and 1 deletions
+6
View File
@@ -25,6 +25,12 @@ prompt="$(printf '%s' "$input" \
2>/dev/null || true)"
[ -z "$prompt" ] && prompt="$input"
# Harness-generated turns (subagent/task notifications) are not user
# requests — never fire on them (CLAUDE.md trigger = a design/UI *request*).
case "$prompt" in
'<task-notification>'*) exit 0 ;;
esac
lc="$(printf '%s' "$prompt" | tr '[:upper:]' '[:lower:]')"
# UI/design build and review signals (FR + EN). Word boundaries (\b) avoid