chore(simulation): regenerate msgpack fixtures for protocol v16

Updates all client-side msgpack test fixtures and server test
harnesses to include the new triangle_crisis_events field added
in protocol v16.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 22:33:32 +01:00
co-authored by Claude Opus 4.6
parent c436ae905f
commit 89158f2f2a
19 changed files with 15 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1092,7 +1092,7 @@ dependencies = [
[[package]]
name = "settled-reach-server"
version = "0.1.15"
version = "0.1.19"
dependencies = [
"bevy_app",
"bevy_ecs",
+1
View File
@@ -72,6 +72,7 @@ fn snapshot_roundtrip_over_unix_socket() {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
bridge
+1
View File
@@ -58,6 +58,7 @@ fn snapshot_roundtrip_over_tcp() {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
bridge
+3
View File
@@ -48,6 +48,7 @@ fn fixture_snapshot(tick: u64, entities: Vec<VisibleEntity>) -> ObserverSnapshot
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
}
}
@@ -239,6 +240,7 @@ fn generate_msgpack_fixtures() {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
write_fixture(
"snapshot_v2_full",
@@ -400,6 +402,7 @@ fn generate_msgpack_fixtures() {
acquired_tick: 10,
}],
}),
triangle_crisis_events: vec![],
};
write_fixture(
"snapshot_full",
+2 -1
View File
@@ -73,7 +73,8 @@
"scan_events": [],
"sound_events": [],
"tick": 8,
"version": 15,
"triangle_crisis_events": [],
"version": 16,
"visible_tiles": [
{
"tile_kind": "Wall",
+3
View File
@@ -169,6 +169,7 @@ fn save_state_npc_kg_isolation() {
combat_capability: None,
mood_state: None,
job_performance: None,
template_ownership: None,
};
// NPC_B (Background tier) does not carry a KG.
@@ -191,6 +192,7 @@ fn save_state_npc_kg_isolation() {
combat_capability: None,
mood_state: None,
job_performance: None,
template_ownership: None,
};
let save = SaveStateV1 {
@@ -201,6 +203,7 @@ fn save_state_npc_kg_isolation() {
player_knowledge: KnowledgeGraph::new(),
relationship_graph: RelationshipGraph::new(),
npc_states: vec![npc_a_state, npc_b_state],
template_references: Default::default(),
};
// Roundtrip: serialize → deserialize.
+4 -1
View File
@@ -36,6 +36,7 @@ fn test_snapshot(tick: u64, entities: Vec<VisibleEntity>) -> ObserverSnapshot {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
}
}
@@ -294,6 +295,7 @@ fn snapshot_v2_fields_roundtrip() {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
let bytes = rmp_serde::to_vec_named(&snapshot).expect("serialize");
@@ -348,7 +350,7 @@ fn protocol_version_constant_matches_snapshot() {
let snapshot = test_snapshot(0, vec![]);
assert_eq!(snapshot.version, PROTOCOL_VERSION);
assert_eq!(
PROTOCOL_VERSION, 15,
PROTOCOL_VERSION, 16,
"bump this assertion when protocol version changes"
);
}
@@ -398,6 +400,7 @@ fn all_facing_direction_variants_roundtrip() {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
let bytes = rmp_serde::to_vec_named(&snapshot).expect("serialize");
let decoded: ObserverSnapshot = rmp_serde::from_slice(&bytes).expect("deserialize");