Add project guidelines verification script

Created comprehensive verification script to check codebase against PROJECT_GUIDELINES.md

Features:
- Checks for custom CSS (TailwindCSS requirement)
- Detects JavaScript files that should be TypeScript
- Verifies no secrets committed (.env, credentials.json)
- Validates code compiles (go build)
- Finds local binaries (should use container builds)
- Quick checks with clear pass/fail/warning output

Usage:
  make verify-guidelines
  ./scripts/verify-quick.sh

Current codebase status:
  - 12 templates with custom CSS (need Tailwind conversion)
  - 2 .js files in web/static/ (need TypeScript conversion)
  - 1 binary file (./bookhoard)

This addresses the trust issue: AI now has a tool to prove guideline compliance
This commit is contained in:
2026-02-02 09:55:39 -05:00
parent 2726455578
commit e0b95ba297
4 changed files with 420 additions and 0 deletions
+5
View File
@@ -57,3 +57,8 @@ test-env-up:
# Stop test environment
test-env-down:
podman compose down -v
# Verify project guidelines compliance
verify-guidelines:
@echo "Running project guidelines verification..."
@./scripts/verify-quick.sh