From 3a494fe70358aca03ff2e3b678c5b1988b013f2f Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 2 Feb 2026 16:52:10 -0500 Subject: [PATCH] docs: add verification script to pre-commit checklist - Add 'Run verification script' as first step in Before Committing - Add verification script to Phase Completion Verification - Ensures guideline compliance before commits - Catches errors early in development workflow - Verification must pass (0 errors) before declaring complete --- PROJECT_GUIDELINES.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PROJECT_GUIDELINES.md b/PROJECT_GUIDELINES.md index f5fa698..df9a51f 100644 --- a/PROJECT_GUIDELINES.md +++ b/PROJECT_GUIDELINES.md @@ -300,6 +300,8 @@ git checkout -- internal/handlers/auth.go - [ ] Verify backward compatibility ### Before Committing +- [ ] **Run verification script**: `bash scripts/verify-guidelines.sh` +- [ ] **Fix any errors** before committing (warnings should be reviewed) - [ ] Run tests: `go test ./... -v` - [ ] Run lint/typecheck if available - [ ] Ensure no secrets in changes @@ -327,6 +329,7 @@ git checkout -- internal/handlers/auth.go - [ ] No unintended code was deleted - [ ] All affected files compile successfully - [ ] Run `go build ./...` for entire project +- [ ] **Run verification script**: `bash scripts/verify-guidelines.sh` - must pass (0 errors) - [ ] No critical functionality was broken - [ ] Git diff shows only intended changes - [ ] Review all modified files with `git diff --stat`