docs: close out phase 0 workflow foundation
This commit is contained in:
@ -6,13 +6,17 @@ echo "== Repo doctor =="
|
||||
test -f AGENTS.md && echo "AGENTS.md: OK" || { echo "AGENTS.md: MISSING"; exit 1; }
|
||||
test -f .codex/config.toml && echo ".codex/config.toml: OK" || { echo ".codex/config.toml: MISSING"; exit 1; }
|
||||
test -d .codex/agents && echo ".codex/agents: OK" || { echo ".codex/agents: MISSING"; exit 1; }
|
||||
test -d docs && echo "docs/: OK" || { echo "docs/: MISSING"; exit 1; }
|
||||
test -d .agents/skills && echo ".agents/skills: OK" || { echo ".agents/skills: MISSING"; exit 1; }
|
||||
test -f .agents/skills/task-closeout/SKILL.md && echo ".agents/skills/task-closeout/SKILL.md: OK" || { echo ".agents/skills/task-closeout/SKILL.md: MISSING"; exit 1; }
|
||||
test -f docs/WORKFLOW.md && echo "docs/WORKFLOW.md: OK" || { echo "docs/WORKFLOW.md: MISSING"; exit 1; }
|
||||
test -f docs/MACHINE_SETUP.md && echo "docs/MACHINE_SETUP.md: OK" || { echo "docs/MACHINE_SETUP.md: MISSING"; exit 1; }
|
||||
test -f docs/TASK_TEMPLATE.md && echo "docs/TASK_TEMPLATE.md: OK" || { echo "docs/TASK_TEMPLATE.md: MISSING"; exit 1; }
|
||||
|
||||
branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
echo "Current branch: ${branch}"
|
||||
|
||||
if [[ "${branch}" == "main" || "${branch}" == "develop" ]]; then
|
||||
echo "Warning: create a task branch before making changes."
|
||||
echo "Warning: do not make changes on ${branch}; create a task branch from develop first."
|
||||
fi
|
||||
|
||||
echo "Doctor completed."
|
||||
echo "Doctor completed."
|
||||
|
||||
Reference in New Issue
Block a user