2 Commits

Author SHA1 Message Date
Prime Build 7953fc7774 Refactor repo with ponytail cleanup (#31) 2026-06-24 17:52:45 +02:00
Prime Build 731a537015 CPU topology v2 phase 6: migrate profiles and core masks to CpuSelection (#12)
Migrate profiles and core masks to CpuSelection

Add a conservative compatibility layer for moving persisted profiles and core masks toward topology-aware CpuSelection while preserving legacy fields.

- Add profile schema version constants and CpuSelection migration metadata
- Add ProcessProfileSnapshot with legacy ProcessorAffinity plus optional CpuSelection
- Extend ProfileModel and CoreMask with CpuSelection fields without removing legacy data
- Add CpuSelectionMigrationService for legacy affinity mask and bool core mask conversion
- Preserve legacy mask build-back only when CpuSelection is safely representable
- Wire profile save/load to read and persist CpuSelection when topology is available
- Wire core mask load/save to attach CpuSelection metadata while keeping BoolMask
- Return failure when CpuSelection profile application fails
- Add tests for CPU64 alias protection, multi-group safety, topology signature review, legacy/v2 JSON compatibility and profile load behavior

No UI, preset generator, registry/IFEO, priority guardrail, X3D detection, version or tag changes.
2026-05-20 15:32:52 +02:00