Files
h-school/tests/HSchool.AppHost.Tests/golden/README.md
T
Leonid PershinandCursor 37501c506a Dress people at generation from a separate apparel stream.
Wardrobes live on the person in people.json: everyday layers, textbooks per parallel, and chance-based bags from catalog data. Hauling and the carry cap are defs, not constants. The golden roster gains an items column; later family members shift because Hauling consumes extra appearance rolls. Old saves without items are dressed on load.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 03:24:54 +03:00

19 lines
819 B
Markdown

# Golden saves
`current/` is a school file of today's format. `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.
These files live forever: a new save field must load `current/` and must not reshuffle
`legacy-no-native/`. A real format change adds a new folder; it does not rewrite the old one.
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.
Regenerate after an intentional roster change (same commit):
```
WRITE_GOLDEN=1 dotnet test tests/HSchool.People.Tests/HSchool.People.Tests.csproj --filter Dump_HostSaveFixtures
```