feat: CAT-002 Regla de Oro Rama vs Hoja + validaciones #35
Reference in New Issue
Block a user
Delete Branch "feature/CAT-002"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
IAvisoQueryRepositoryconNullAvisoQueryRepositorystub (PRD-002 reemplaza binding)RubroPadreEsHojaConAvisosExceptionactiva;RubroEsRamaConHijosActivosExceptiondefinida/mapeada, consumidor en PRD-002)tieneAvisos?: booleanenRubroTreeNode+ disable "Agregar subrubro" con tooltip cuando=== trueTest plan
dotnet test tests/SIGCM2.Application.Tests/→ 844/844dotnet test tests/SIGCM2.Api.Tests/→ 254/254 (sequential per #29)cd src/web && npx vitest run→ 352/352Warnings resueltos (tracking)
followup). Prioridad antes de PRD-002. Cobertura actual compositiva (handler unit + ExceptionFilter unit + DI wiring test en/arbol).a0a1874— test aprieta match exacto del literal de impl ("El rubro contiene avisos asignados. Muévalos antes de agregar sub-rubros.").NullAvisoQueryRepository.CountAvisosBatchAsyncdevuelve{}vs spec{1:0,...}: design-intentional, todos los consumers usanGetValueOrDefault(id, 0). Cerrado.Follow-ups
[CAT-002 / Infra] TestWebApplicationFactory: desacoplar RSA singleton(bloquea e2e override en PRD-002 y otros)Siguiente
IAvisoQueryRepository→ implementación real + activaRubroEsRamaConHijosActivosExceptionenCreateAvisoCommandHandlerRepeatableReado constraint DB para TOCTOU cuando existadbo.AvisoArtifacts SDD (engram)
sdd/cat-002-regla-oro-rama-vs-hoja/exploresdd/cat-002-regla-oro-rama-vs-hoja/proposalsdd/cat-002-regla-oro-rama-vs-hoja/specsdd/cat-002-regla-oro-rama-vs-hoja/designsdd/cat-002-regla-oro-rama-vs-hoja/taskssdd/cat-002-regla-oro-rama-vs-hoja/apply-progresssdd/cat-002-regla-oro-rama-vs-hoja/verify-reportsdd/cat-002-regla-oro-rama-vs-hoja/archive-report