Phase 39 dropped GoldenSaveTests when format 2 saves became unstartable. Recheck restores the missing-field and seed-equals-id assertions against a stamped copy, and records the recheck. Co-authored-by: Cursor <cursoragent@cursor.com>
1.3 KiB
Golden saves
current/ and legacy-no-native/ are historic format-2 school files (no countryId). They
must not start as-is: later slices made CanStart require today's format and a country.
legacy-no-native/ is the same school without nativeLanguage, so a missing field still has
to mean "first language of the name set" rather than a new roll — the host test stamps format,
country and owner onto a copy rather than rewriting this folder.
These files live forever: a real format change does not rewrite them. Load tests that need a running school copy the folder and stamp current fields in the test.
Phase 31 rewrote current/1.people.json because people are born dressed (items on each
person, plus Hauling). legacy-no-native/ is left as it was: no inventory, so load still
has to dress them and must not reshuffle names.
Phase 32 rewrote current/1.people.json again: Warmth plus HeatLoving / ColdLoving in
the trait pool. legacy-no-native/ stays historic.
current/1.people.json still names the abstract Underwear parent (later split into
Briefs/Boxers/Panties). Stamping today's format onto that file does not start the school.
Regenerate after an intentional roster change (same commit):
WRITE_GOLDEN=1 dotnet test tests/HSchool.People.Tests/HSchool.People.Tests.csproj --filter Dump_HostSaveFixtures