Clean Architecture Refactor
Workflow
- Map current layers and identify dependency violations.
- Define target boundaries (Web, Application, Domain, Infrastructure).
- Extract interfaces/ports and move implementations outward.
- Isolate domain logic from frameworks and persistence details.
- Propose incremental migration slices with risk notes.
Output template
## Boundary violations
- Item:
## Refactor slices
1. Slice, impact, rollback
2. Slice, impact, rollback