chore: add Codex and agent workflow foundation

This commit is contained in:
bisco
2026-03-20 19:01:17 +01:00
parent e8363733de
commit f0c6cbf49f
13 changed files with 490 additions and 0 deletions

18
scripts/doctor.sh Normal file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
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; }
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."
fi
echo "Doctor completed."