Repository navigation
v0.96.0
v0.96.0 — Clearing the live-gear cache now rebuilds EVERY character (rotated-archive replay)
The deferred data-loss fix from the v0.95.0 log-management audit, shipped with dedicated test coverage.
- "Clear live gear cache" now restores all of your characters, not just the active one. When your TTS log had been rotated into the
logs\archive folder (which happens automatically once it grows past the size cap), clearing the live-gear cache only rebuilt the character you were currently playing. Every other character — whose recent sessions lived in the archives — silently stayed empty until you logged into them again, even though the app promised to "rebuild by replaying the whole TTS log." Now each archived character's worn loadout is reconstructed into its own profile during the replay.
The reconstruction attributes each session's equipped gear to the character that was actually playing it, and keys profiles by name and class — so a Rogue and a Barbarian who happen to share a name (e.g. both "Heoki") are never merged, and a character played across several sessions keeps its newest gear per slot.
Under the hood
- New Core
LogWatcher.ReplayCharactersrebuilds per-character loadouts from archived logs — fully headless-testable. The oldPrefeedpath (which accumulated archive gear but never surfaced it, so the rebuild was dropped) is removed. - +6 Core test assertions (1004 → 1010), including the critical case that two same-named, different-class characters reconstruct as separate profiles with no cross-contamination, and that cross-session merges keep the newest gear per slot. Build is warning-free.
- The restore runs before the live tail begins, so the currently-active character's newest session still merges cleanly on top.