refactor(scripts): reorganize scripts/ into seed/ and validate/ subfolders

Move 9 init/seed scripts into scripts/seed/ and 7 validation scripts
(+ validators/ subfolder) into scripts/validate/ to reduce clutter in
the root scripts/ directory. Update all references across Makefile,
CI/CD configs, pre-commit hooks, docs (~40 files), and Python imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 21:35:53 +01:00
parent d201221fb1
commit 7a9dda282d
63 changed files with 173 additions and 174 deletions

View File

@@ -2,7 +2,7 @@
This document describes the architectural patterns and design decisions that must be followed throughout the codebase.
> **Note:** These patterns are enforced automatically by `scripts/validate_architecture.py`. Run the validator before committing code.
> **Note:** These patterns are enforced automatically by `scripts/validate/validate_architecture.py`. Run the validator before committing code.
---
@@ -609,16 +609,16 @@ function storesManager() {
```bash
# Validate entire codebase
python scripts/validate_architecture.py
python scripts/validate/validate_architecture.py
# Validate specific directory
python scripts/validate_architecture.py app/api/
python scripts/validate/validate_architecture.py app/api/
# Verbose output with context
python scripts/validate_architecture.py --verbose
python scripts/validate/validate_architecture.py --verbose
# Errors only (suppress warnings)
python scripts/validate_architecture.py --errors-only
python scripts/validate/validate_architecture.py --errors-only
```
### Pre-commit Hook
@@ -644,7 +644,7 @@ Add to your CI pipeline:
# .github/workflows/ci.yml
- name: Validate Architecture
run: |
python scripts/validate_architecture.py
python scripts/validate/validate_architecture.py
```
---
@@ -703,4 +703,4 @@ class StoreService:
---
**Remember:** These patterns are enforced automatically. Run `python scripts/validate_architecture.py` before committing!
**Remember:** These patterns are enforced automatically. Run `python scripts/validate/validate_architecture.py` before committing!