Move the memory profile repository into the profile package

This commit is contained in:
2026-09-22 04:30:02 +00:00
parent ff73104f7e
commit c892eacb65
8 changed files with 195 additions and 51 deletions

View File

@@ -132,6 +132,15 @@ Purpose: move a self-contained repository before changing engine assembly.
Acceptance: `WithProfiles` uses the internal repository in the active engine;
public behavior is unchanged and no duplicate root repository remains.
### Completion
- [x] Moved the in-memory repository, normalization, validation, and defensive
copies into `internal/profile`.
- [x] Kept public conversion and `WithProfiles` application timing at the root.
- [x] Moved focused repository coverage to `internal/profile` and retained
facade-level copy timing coverage.
- [x] Updated the implemented component and source ownership documentation.
## Stage 3: Move Engine Assembly And Delegation Inward
Purpose: establish the internal engine while leaving source-option relocation