test #415

Merged
klaus merged 17 commits from test into main 2026-04-08 01:50:50 +00:00
Showing only changes of commit bebdf6a379 - Show all commits

View File

@@ -112,6 +112,18 @@ if [ -n "$body" ] && printf '%s\n' "$body" | grep -Eq '^Refs:'; then
fi
fi
if [ -n "$body" ]; then
if printf '%s\n' "$body" | grep -Fq 'Ultraworked with [Sisyphus]'; then
echo "[FAIL] Sisyphus attribution footer must not be included"
exit_code=1
fi
if printf '%s\n' "$body" | grep -Ei '^Co-authored-by:[[:space:]]*Sisyphus[[:space:]]*<clio-agent@sisyphuslabs\.ai>$' >/dev/null; then
echo "[FAIL] Automatic Sisyphus co-author footer must not be included"
exit_code=1
fi
fi
if [ $exit_code -eq 0 ]; then
echo "[PASS] Commit message follows AGENTS.md rules"
else