fix: treat validation warnings as blocking failures

Warnings were previously non-blocking — the verdict step only
checked for "issues that need fixing." Now any warning also
triggers FAIL.
This commit is contained in:
Kevin Turcios 2026-03-27 06:17:50 -05:00
parent 037b1940eb
commit b81c50f7f4

View file

@ -144,10 +144,10 @@ jobs:
</step>
<step name="verdict">
If ANY step above found issues that need fixing, write FAIL:
If ANY step above found issues OR warnings, write FAIL. Warnings are blocking — treat them the same as errors.
Run: python3 -c "open('/tmp/validation-verdict','w').write('FAIL')"
If all steps passed with no issues, write PASS:
Only write PASS if every step passed with zero issues and zero warnings:
Run: python3 -c "open('/tmp/validation-verdict','w').write('PASS')"
</step>
claude_args: '--model us.anthropic.claude-sonnet-4-6 --allowedTools "Agent,Read,Glob,Grep,Bash(gh pr diff*),Bash(gh pr view*),Bash(gh pr comment*),Bash(gh api*),Bash(git diff*),Bash(git log*),Bash(git status*),Bash(cat *),Bash(python3 *),Bash(jq *)"'