fix(simulation): PR #68 review — version bump, tracing warns, test coverage

- Bump PROTOCOL_VERSION 14 → 15 for save_result field addition
- Add tracing::warn on SaveLoadPending command overwrite (double-tap F5)
- Add tracing::warn on KnowledgeGraph::new() fallback during save
- Fix misleading WouldBlock comment in tcp.rs
- Document SimSpacePressure.active_count pre-eviction timing
- Document entity-based eviction tie-breaking non-determinism
- Add ScopePinned eviction survival regression test
- Regenerate msgpack fixtures for protocol v15

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 12:32:35 +01:00
co-authored by Claude Opus 4.6
parent 17a9197b65
commit 23fbfdbfc5
17 changed files with 150 additions and 9 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
"scan_events": [],
"sound_events": [],
"tick": 8,
"version": 14,
"version": 15,
"visible_tiles": [
{
"tile_kind": "Wall",
+1 -1
View File
@@ -346,7 +346,7 @@ fn protocol_version_constant_matches_snapshot() {
let snapshot = test_snapshot(0, vec![]);
assert_eq!(snapshot.version, PROTOCOL_VERSION);
assert_eq!(
PROTOCOL_VERSION, 14,
PROTOCOL_VERSION, 15,
"bump this assertion when protocol version changes"
);
}