You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Restructure script architecture for improved maintainability
- Major refactoring of the script structure: the main script (`code-review-guardian.sh`) is now a minimal entry point (~40 lines) that delegates execution to `vendor/nowo-tech/code-review-guardian/bin/main.sh`.
- Enhanced modularity with sub-scripts for better organization and maintainability.
- The main script automatically detects the vendor directory and executes the main logic from the installed package, keeping the project root clean.
- Updated documentation to reflect these changes and improve user guidance during upgrades.
- Only installed if it doesn't exist (to preserve your customizations)
35
37
-`docs/AGENTS.md` - Code review rules file (framework-specific, used by GGA)
36
38
-`docs/GGA.md` - Git Guardian Angel setup guide
37
39
40
+
**Note:** The actual implementation code runs from `vendor/nowo-tech/code-review-guardian/bin/`, keeping your project root clean and minimal.
41
+
38
42
**Note:** Script and config files are automatically added to your `.gitignore` during installation.
39
43
40
44
### Environment Configuration
@@ -53,21 +57,21 @@ See [`docs/TOKEN_SETUP.md`](docs/TOKEN_SETUP.md) for detailed step-by-step instr
53
57
Code Review Guardian provides a complete infrastructure for code review automation:
54
58
55
59
- ✅ **Fully Implemented:**
56
-
-Plugin de Composer (instalación automática)
57
-
-Detección automática de frameworks
58
-
-Instalación de archivos de configuración
59
-
-Script de validación de dependencias
60
-
-Parsing y carga de configuración YAML
61
-
-Filtrado de archivos según patrones configurados
62
-
-Lectura de archivos de reglas (AGENTS.md)
60
+
- Composer plugin (automatic installation)
61
+
-Automatic framework detection
62
+
-Configuration file installation
63
+
-Dependency validation script
64
+
-YAML configuration parsing and loading
65
+
-File filtering according to configured patterns
66
+
-Rules file reading (AGENTS.md)
63
67
64
68
- 🚧 **In Development:**
65
-
-Integración completa con APIs de AI (OpenAI, Anthropic, GitHub Copilot)
66
-
-Ejecución real de revisión de código usando modelos de AI
67
-
-Publicación automática de comentarios a PR/MR
68
-
-Detección automática de Git provider desde URL
69
+
-Full integration with AI APIs (OpenAI, Anthropic, GitHub Copilot)
70
+
-Actual code review execution using AI models
71
+
-Automatic comment posting to PR/MR
72
+
-Automatic Git provider detection from URL
69
73
70
-
El script actualmente valida la configuración, filtra archivos correctamente y está preparado para la integración con APIs de AI. La funcionalidad completa de revisión está en desarrollo activo.
74
+
The script currently validates configuration, filters files correctly, and is ready for AI API integration. Full review functionality is under active development.
0 commit comments