fase(19): scheduling module refactor

This commit is contained in:
debian
2026-03-08 05:49:00 -04:00
parent 1cf597fee1
commit 49e76c92b1
39 changed files with 1546 additions and 24 deletions

View File

@@ -322,31 +322,31 @@ Spec: `.ralph/specs/phase-17-licensing.md`
---
## Phase 18: CLI + CI/CD [PENDIENTE]
## Phase 18: CLI + CI/CD [COMPLETO]
Spec: `.ralph/specs/phase-18-cli-cicd.md`
- [ ] 18.1: Instalar: `npm i commander`
- [ ] 18.2: Refactorizar `src/cli/abe.ts` con commander: comando `explore` con flags --url, --config (json file), --output (json|junit|markdown), --fail-on-severity, --api-key
- [ ] 18.3: Comando `abe report` — genera report de una sesión por id
- [ ] 18.4: Comando `abe status` — ping al servidor, muestra sessions activas
- [ ] 18.5: Output JUnit XML: cada finding = failing test, cada state sin findings = passing test
- [ ] 18.6: Exit codes: 0=clean, 1=findings over threshold, 2=error
- [ ] 18.7: Crear `.github/actions/abe-explore/action.yml` — GitHub Action composite
- [ ] 18.8: Crear `Dockerfile.ci` — imagen con Chromium para CI (basada en mcr.microsoft.com/playwright)
- [ ] 18.9: Crear `.github/workflows/abe-example.yml` — ejemplo completo
- [ ] 18.10: Actualizar README.md con sección CLI
- [ ] 18.11: Verificar build completo + commit: `fase(18): cli and cicd integration`
- [x] 18.1: Instalar: `npm i commander`
- [x] 18.2: Refactorizar `src/cli/abe.ts` con commander: comando `explore` con flags --url, --config (json file), --output (json|junit|markdown), --fail-on-severity, --api-key
- [x] 18.3: Comando `abe report` — genera report de una sesión por id
- [x] 18.4: Comando `abe status` — ping al servidor, muestra sessions activas
- [x] 18.5: Output JUnit XML: cada finding = failing test, cada state sin findings = passing test
- [x] 18.6: Exit codes: 0=clean, 1=findings over threshold, 2=error
- [x] 18.7: Crear `.github/actions/abe-explore/action.yml` — GitHub Action composite
- [x] 18.8: Crear `Dockerfile.ci` — imagen con Chromium para CI (basada en mcr.microsoft.com/playwright)
- [x] 18.9: Crear `.github/workflows/abe-example.yml` — ejemplo completo
- [x] 18.10: Actualizar README.md con sección CLI
- [x] 18.11: Verificar build completo + commit: `fase(18): cli and cicd integration`
---
## Phase 19: Scheduling Module Refactor [PENDIENTE]
## Phase 19: Scheduling Module Refactor [COMPLETO]
- [ ] 19.1: Migrar scheduling existente → nueva estructura modular (domain/application/infrastructure)
- [ ] 19.2: Crear Schedule aggregate con cron validation (Zod)
- [ ] 19.3: Integrar con job queue
- [ ] 19.4: Crear SchedulingController con CRUD + toggle
- [ ] 19.5: Frontend: Schedules section en Settings
- [ ] 19.6: Verificar build + commit: `fase(19): scheduling module refactor`
- [x] 19.1: Migrar scheduling existente → nueva estructura modular (domain/application/infrastructure)
- [x] 19.2: Crear Schedule aggregate con cron validation (Zod)
- [x] 19.3: Integrar con job queue
- [x] 19.4: Crear SchedulingController con CRUD + toggle
- [x] 19.5: Frontend: Schedules section en Settings
- [x] 19.6: Verificar build + commit: `fase(19): scheduling module refactor`
---