Skip to content

Commit 8b746f3

Browse files
committed
fix: allow public fast validation without agent docs
1 parent eefb9d4 commit 8b746f3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/validate_fast.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ python3 scripts/release_sbom.py >/dev/null
2525

2626
step "Routing and agent surfaces"
2727
python3 scripts/validate_skill_routing.py
28-
python3 scripts/validate_instruction_docs.py --require-agent-docs
28+
if [ -f AGENTS.md ] || [ -f .claude/CLAUDE.md ]; then
29+
python3 scripts/validate_instruction_docs.py --require-agent-docs
30+
else
31+
python3 scripts/validate_instruction_docs.py
32+
fi
2933
"$UV_BIN" run --with pyyaml python scripts/validate_agent_tools.py
3034

3135
step "Supply-chain and text security"

0 commit comments

Comments
 (0)