Reject blueprint codes with unknown pieces, machines or molds (t78)

This commit is contained in:
2026-10-29 17:50:07 -04:00
parent f7c989db6c
commit 5e26e4634d
3 changed files with 82 additions and 1 deletions
+11
View File
@@ -4,6 +4,17 @@ What agents have done, newest first. Add an entry for every piece of work: the d
note or request it was for, what changed, the files touched, the tests run, and anything left
open or not verified. Keep each entry short; the git history has the details.
## 2026-10-29: t78 damaged blueprint code validation (Codex)
- bpValid checks block codes, non-fixed machine types and mold kinds against their
tables before import; damaged codes show the existing message and paste nothing.
Blueprint format and simulation/worldgen behaviour are unchanged.
- Files: src/ui/saves.js, new test/t_blueprint_valid.js, tasks/t78_damaged_blueprint_code.md
and this log. Regression failed first; all 32 focused checks, build.py and all 36
headless suites passed (python3 test/run_all.py; /tmp/t78-headless.log).
- Browser/GPU tests and screenshots skipped at the owner's request; owner game
playtesting remains open. No commit.
## 2026-10-29: t82 dev console material table lookup (Codex)