From 47811b09280f40bd303e994ae4b3cd4f9fc4b95c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 3 Dec 2026 00:52:45 +0100 Subject: [PATCH] Narrator context: wrap list fields as arrays Co-Authored-By: Claude Sonnet 5.5 --- crates/ghostlight/src/controllers.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/ghostlight/src/controllers.rs b/crates/ghostlight/src/controllers.rs index b61796e..6c5f66e 100644 --- a/crates/ghostlight/src/controllers.rs +++ b/crates/ghostlight/src/controllers.rs @@ -4967,14 +4967,14 @@ impl SelectedDecision { ("present", Value::Array(self.present_labels())), ("exits", Value::Array(self.narrator_exits())), ("material", self.projector_material()), - ("holdings", self.projector_holdings()), - ("dependencies", self.projector_dependencies()), - ("authority", self.projector_authority()), - ("offices_held", self.projector_offices(&self.subject.offices_held)), - ("offices_granted", self.projector_offices(&self.subject.offices_granted)), - ("redress", self.projector_redress()), - ("commitments", self.projector_commitments()), - ("pressures", self.projector_pressures()), + ("holdings", Value::Array(self.projector_holdings())), + ("dependencies", Value::Array(self.projector_dependencies())), + ("authority", Value::Array(self.projector_authority())), + ("offices_held", Value::Array(self.projector_offices(&self.subject.offices_held))), + ("offices_granted", Value::Array(self.projector_offices(&self.subject.offices_granted))), + ("redress", Value::Array(self.projector_redress())), + ("commitments", Value::Array(self.projector_commitments())), + ("pressures", Value::Array(self.projector_pressures())), ]; let present: serde_json::Map = fields .into_iter()