DownloadArchitecture Decision Records (ADR)
Architectural decisions for Adaptive Entity Manager core ? context, decision, consequences, alternatives.
RFC proposals (change requests) live in ../rfc/README.md. User guides: ../README.md.
Index
| # | Document | Priority | Summary |
|---|----------|----------|---------|
| 1 | ADR-001 | High | Remove static EntityFactory in EntityPersister (long-running / multi-EM isolation) |
| 2 | ADR-002 | High | Replace raw metadata arrays with typed DTOs |
| 3 | ADR-003 | Medium | Replace laminas-code with string templates for proxy generation |
| 4 | ADR-004 | Low | Formalize UnitOfWork lifecycle event dispatch order |
Dependencies
ADR-001 (static EntityFactory)
??? independent
ADR-002 (metadata DTOs)
??? eases RFC-002 (PHPStan 8) ? see ../rfc/RFC-002-phpstan-level-8-roadmap.md
ADR-003 (laminas-code removal)
??? independent
ADR-004 (event order)
??? prerequisite context for RFC-001 (batch operations) ? see ../rfc/RFC-001-batch-operations-interface.md
Suggested implementation order (core)
-
ADR-003 ? low risk, fewer dependencies
-
ADR-001 ? when long-running / multi-EM matters (likely major if public API changes)
-
ADR-002 ? large; phased migration
-
ADR-004 ? before batch operations semantics change
Full combined backlog (RFC + ADR): ../rfc/README.md.
|