diff --git a/.gitea/workflows/template-compliance.yml b/.gitea/workflows/template-compliance.yml index 157a6d668..60c5c780a 100644 --- a/.gitea/workflows/template-compliance.yml +++ b/.gitea/workflows/template-compliance.yml @@ -21,7 +21,6 @@ jobs: missing=0 required_files=( - "AGENTS.md" ".codex/project.md" "README.md" ) @@ -32,6 +31,11 @@ jobs: "docs/agent-handoff.md" ) + if [ ! -e "AGENTS.md" ] && [ ! -f "CLAUDE.md" ]; then + echo "Missing required Codex agent file: AGENTS.md or CLAUDE.md" + missing=1 + fi + for file in "${required_files[@]}"; do if [ ! -f "$file" ]; then echo "Missing required Codex file: $file"