fix(demo): switch on the actions the seeded events use (DM28) #231
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/demo-seed-enables-actions"
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 step-5 walk finding W1. On a fresh database, Server greeting, Treasure drop and Payday show as ready but fail when run with "not enabled on this deployment". The cause: no switchboard rows exist yet, so every
changeandirreversibleaction starts disabled.seed:demonow switches on every action the seeded events' steps use, uncapped, when it writes the events. Nothing else gets switched on. The new pure helpereventActionIdsis tested, including a check against the shipped fixture.Checked
rust.command.run,rust.dt.startandrust.coins.payend up enabled withcaps {}, and all three events areready.Design of record: docs#387 (DM28). The Steam-unlink fix (DM27) is Module-Rust only.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
The step-5 walk found the demo's three seeded events (Server greeting, Treasure drop, Payday) showing as ready but failing when run: a fresh database has no switchboard rows, so every change and irreversible action starts disabled ("not enabled on this deployment"). seed:demo now switches on, with the events, every action their steps use, uncapped, as an admin flipping the switch without filling the cap boxes would. Nothing else is switched on. The deny list (DM11) still keeps a visitor's own command step harmless, and the wipe drops the rows with the rest of the database. Checked on a scratch database with the v0.6.1 module: the seed leaves rust.command.run, rust.dt.start and rust.coins.pay enabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY