test: update stale file-existence checks after PRD and HUMANS.md moves

## Why
Two test suites were asserting on paths that were intentionally changed:
- docs/HUMANS.md moved to docs/wiki/HUMANS.md (wiki submodule)
- docs/prd/ deleted after migrating all PRDs to Gitea (#16–#19)

Updated checks to assert the new locations and confirm the old
directories are gone.

---
Refs: #15
This commit is contained in:
2026-06-28 16:59:36 +00:00
parent 13959f384c
commit 9ed3652de9
2 changed files with 7 additions and 7 deletions

View File

@@ -83,9 +83,9 @@ echo "--- Supporting docs ---"
&& pass "docs/ai-constitution.md exists" \ && pass "docs/ai-constitution.md exists" \
|| fail "docs/ai-constitution.md missing" || fail "docs/ai-constitution.md missing"
[[ -f "$REPO_ROOT/docs/HUMANS.md" ]] \ [[ -f "$REPO_ROOT/docs/wiki/HUMANS.md" ]] \
&& pass "docs/HUMANS.md exists" \ && pass "docs/wiki/HUMANS.md exists (moved to wiki)" \
|| fail "docs/HUMANS.md missing" || fail "docs/wiki/HUMANS.md missing"
[[ ! -f "$REPO_ROOT/docs/research/governance_principles/ai-constitution.md" ]] \ [[ ! -f "$REPO_ROOT/docs/research/governance_principles/ai-constitution.md" ]] \
&& pass "ai-constitution.md removed from research folder (moved to docs/)" \ && pass "ai-constitution.md removed from research folder (moved to docs/)" \

View File

@@ -158,15 +158,15 @@ echo ""
echo "--- 0008: docs/ restructure ---" echo "--- 0008: docs/ restructure ---"
for dir in prd notes adr; do for dir in notes adr; do
[[ -d "$REPO_ROOT/docs/$dir" ]] \ [[ -d "$REPO_ROOT/docs/$dir" ]] \
&& pass "docs/$dir/ exists" \ && pass "docs/$dir/ exists" \
|| fail "docs/$dir/ missing" || fail "docs/$dir/ missing"
done done
[[ -f "$REPO_ROOT/docs/prd/chunk-1.md" ]] \ [[ ! -d "$REPO_ROOT/docs/prd" ]] \
&& pass "docs/prd/chunk-1.md exists (migrated)" \ && pass "docs/prd/ deleted (migrated to Gitea)" \
|| fail "docs/prd/chunk-1.md missing" || fail "docs/prd/ still exists — should have been deleted after Gitea migration"
[[ ! -f "$REPO_ROOT/docs/prd-chunk-1.md" ]] \ [[ ! -f "$REPO_ROOT/docs/prd-chunk-1.md" ]] \
&& pass "docs/prd-chunk-1.md removed from docs root" \ && pass "docs/prd-chunk-1.md removed from docs root" \