28 lines
888 B
Bash
Executable File
28 lines
888 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
WORKFLOW_FILES=(
|
|
"skills/create-plan/pi/SKILL.md"
|
|
"skills/do-task/pi/SKILL.md"
|
|
"skills/implement-plan/pi/SKILL.md"
|
|
)
|
|
|
|
# These terms cover the Codex-only constructs explicitly called out by the plan.
|
|
# Expand this deny-list if later pi workflow ports introduce new harness-specific tokens.
|
|
|
|
for file in "${WORKFLOW_FILES[@]}"; do
|
|
test -f "$file"
|
|
grep -q 'docs/PI-SUPERPOWERS.md' "$file"
|
|
done
|
|
|
|
test -f skills/create-plan/pi/templates/continuation-runbook.md
|
|
test -f skills/create-plan/pi/templates/milestone-plan.md
|
|
test -f skills/create-plan/pi/templates/story-tracker.md
|
|
test -f skills/do-task/pi/templates/task-plan.md
|
|
test -x skills/reviewer-runtime/pi/run-review.sh
|
|
test -x skills/reviewer-runtime/pi/notify-telegram.sh
|
|
|
|
! rg -n 'update_plan|plan mode|sub-agent|subagents' "${WORKFLOW_FILES[@]}"
|
|
|
|
echo "pi workflow skill docs verified"
|