Test character slot seed determinism

This commit is contained in:
2026-06-27 17:54:46 +02:00
parent 8a1a34ad08
commit 7e0c9ed13b
2 changed files with 70 additions and 0 deletions
+6
View File
@@ -228,6 +228,12 @@ Common trap: `row_number` participates in `seed_config.axis_rng`. If two
workflows have the same seeds but different `row_number`, they are not expected
to match.
Character `slot_seed` is more specific than the `person` axis. A fixed
`slot_seed` owns that slot's random age/body/appearance/hair choices, so
rerolling `person_seed` will not drift that character. Leave `slot_seed=-1`
when the slot should follow `person_seed` or the global seed like the fallback
cast generator.
Each generated row stores `generation_trace.seed_axes` in `metadata_json`.
Use it to verify whether an axis followed the main seed or a configured seed,
and to compare the exact per-axis RNG seed used for the row.