Demo seed: played sessions load again (#978) #979
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/demo-seed-canonical-names"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #978.
Problem. The demo seed set each played session's
canonical_namesto the characters present. That field holds the name generator's picks ({category, prompt, selected_name, …}), soSessionResponserefused every seeded played session with a 500, and the page said "This session could not be loaded".Change.
demo/engine.pywritescanonical_names=[].test_every_seeded_session_loads_for_the_gm_and_a_playerbuilds every seeded session's response as its GM and as a player.Checks
ValidationErroras on dev) and passes with it.tests/test_demo_seed.py: 7 passed.changelog.d/978-demo-seed-sessions-load.fixed.md.Dev's existing rows were fixed in place, with the owner's approval: 42 string-only lists set to
[]. All 91 dev sessions now build their response as GM and as player.🤖 Generated with Claude Code
The seed set each played session's canonical_names to the characters present, but that field holds the name generator's picks, so the session response refused every one of them ("This session could not be loaded"). The seed now writes an empty list, and a test builds every seeded session's response as its GM and as a player. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>