Files
h-school/tests/HSchool.People.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

20 lines
889 B
Markdown

# Golden roster
`roster.txt` is the fingerprint of `RosterGenerator` for a fixed seed, four classrooms, country
Russia and Russian as the native language.
Phase 31 changed this file on purpose: everyone now has `Hauling` (an `always` skill, extra
rolls on the shared family stream, so later members' traits/skills shift) and an `items=`
column (wardrobe from a separate apparel stream). Names and birth dates of the first child
in a family stay; clothes are new.
Update it **in the same commit that changes generation**, and say in the commit message what
changed (a new skill, a related-language roll, a different birth window). A red golden test is
the question "did you mean to?", not an order to revert.
To rewrite the file after an intentional change:
```
WRITE_GOLDEN=1 dotnet test tests/HSchool.People.Tests/HSchool.People.Tests.csproj --filter GoldenRoster_MatchesFixture
```