diff --git a/tests/test-governance-layer.sh b/tests/test-governance-layer.sh index fa79931..b74d6bb 100755 --- a/tests/test-governance-layer.sh +++ b/tests/test-governance-layer.sh @@ -83,9 +83,9 @@ echo "--- Supporting docs ---" && pass "docs/ai-constitution.md exists" \ || fail "docs/ai-constitution.md missing" -[[ -f "$REPO_ROOT/docs/HUMANS.md" ]] \ - && pass "docs/HUMANS.md exists" \ - || fail "docs/HUMANS.md missing" +[[ -f "$REPO_ROOT/docs/wiki/HUMANS.md" ]] \ + && pass "docs/wiki/HUMANS.md exists (moved to wiki)" \ + || fail "docs/wiki/HUMANS.md missing" [[ ! -f "$REPO_ROOT/docs/research/governance_principles/ai-constitution.md" ]] \ && pass "ai-constitution.md removed from research folder (moved to docs/)" \ diff --git a/tests/test-instructions-and-docs.sh b/tests/test-instructions-and-docs.sh index 7a9b7c3..754d74b 100755 --- a/tests/test-instructions-and-docs.sh +++ b/tests/test-instructions-and-docs.sh @@ -158,15 +158,15 @@ echo "" echo "--- 0008: docs/ restructure ---" -for dir in prd notes adr; do +for dir in notes adr; do [[ -d "$REPO_ROOT/docs/$dir" ]] \ && pass "docs/$dir/ exists" \ || fail "docs/$dir/ missing" done -[[ -f "$REPO_ROOT/docs/prd/chunk-1.md" ]] \ - && pass "docs/prd/chunk-1.md exists (migrated)" \ - || fail "docs/prd/chunk-1.md missing" +[[ ! -d "$REPO_ROOT/docs/prd" ]] \ + && pass "docs/prd/ deleted (migrated to Gitea)" \ + || fail "docs/prd/ still exists — should have been deleted after Gitea migration" [[ ! -f "$REPO_ROOT/docs/prd-chunk-1.md" ]] \ && pass "docs/prd-chunk-1.md removed from docs root" \