An IA assisted dive into domain from legacy code

This commit is contained in:
2026-04-10 12:27:36 +02:00
parent f0bfb48acd
commit 3142cc1f45
7 changed files with 1153 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
# <Any> Bundle Deep Dive
## Ubiquitous Language
Understand business terms, list them.
Propose adaptation if ambiguity.
## Domain Core
Identify what carries business meaning.
Need key entities. What is domain/ application/infra (logic from legacy code is not DDD)
Mainly in `src/.../[Entity, Model, Repository, Controller]/` paths
## Invariants / Concistency
Understand what's always be true, list them as rule.
## Cross-context Dependencies
Map coupling in contexts of bundles.
## DDD Slicing
Define migration-safe target model.
- Aggregates (target)
- Value Objects (first candidates)
- Domain services to extract
- Repository interfaces (domain-facing)
- Domain events (optional first)
## Reading Order
Fast onboarding for understanding bundle