- Require PALACE_SAVE_KEY env var in production (fail-fast) - Add try-catch to deleteSave for robustness Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
- Data layer: palace-db.json, persona-dict.json, world templates (古代中国 + 架空王朝) - Backend engines: persona-analyzer, background-gen, plot-engine, save-manager - Backend routes: start.js, interact.js, save.js - Backend server: Express on port 3003 - Frontend: index.html, game.html, save.html, game.js, save.js, style.css - .gitignore: exclude save data files Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>