[AUDIT] Remove Shell Scripts - Production Architecture Violation
Production Architecture Violation
Severity: CRITICAL
Problem
Shell scripts found in project that violate production architecture rules:
grafana-dashboards/import_dashboards.sh
start-free-vibecode.sh
scripts/apidog-automation.sh
docs/configurations/config/start-librechat-integration.sh
Production Architecture Requirements
Required Actions
- Remove all shell scripts
- Convert functionality to proper CLI commands in
bin/router
- Update OpenAPI spec to document new endpoints
- Write tests BEFORE implementing
- Implement using TypeScript with Zod validation
Files to Remove
rm grafana-dashboards/import_dashboards.sh
rm start-free-vibecode.sh
rm scripts/apidog-automation.sh
rm docs/configurations/config/start-librechat-integration.sh
Migration Path
Convert each script to proper TypeScript implementation:
- Shell script → CLI command (
bin/router <command>
) - Add OpenAPI endpoint for automation
- Write integration tests
- Document in GitLab Wiki
Definition of Done
-
All shell scripts removed -
Functionality migrated to TypeScript CLI -
OpenAPI spec updated -
Tests written and passing -
Documentation in GitLab Wiki