feat(simulation): wire triangle escalation and crisis events into protocol

Registers tick_triangle_escalation and apply_resolve_triangle systems
in SimulationPlugin. Adds TriangleCrisisEventWire to ObserverSnapshot
(protocol v16) for future client rendering of triangle crises (#250,
D-087). Observer emits empty vec by default; escalation system will
populate when triangles reach Active phase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 22:33:21 +01:00
co-authored by Claude Opus 4.6
parent 9eaca0b5a4
commit c436ae905f
4 changed files with 39 additions and 2 deletions
+2
View File
@@ -313,6 +313,7 @@ mod tests {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
}
}
@@ -448,6 +449,7 @@ mod tests {
examine_result: None,
player_knowledge: None,
save_result: None,
triangle_crisis_events: vec![],
};
let text = format_snapshot_text(&snap);
assert!(text.contains("Tick 0"));