From 43d76f6ffe567512fb5005f406fa1e9104329ec2 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 3 Dec 2026 00:51:28 +0100 Subject: [PATCH] Lane defaults: the DM runs on Opus, Personas on Sonnet (dungeon-models-dm-opus) Co-Authored-By: Claude Sonnet 5.5 --- crates/ghostlight-dungeon/src/runtime.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ghostlight-dungeon/src/runtime.rs b/crates/ghostlight-dungeon/src/runtime.rs index a15a904..e98f751 100644 --- a/crates/ghostlight-dungeon/src/runtime.rs +++ b/crates/ghostlight-dungeon/src/runtime.rs @@ -107,8 +107,8 @@ fn connector_binding() -> anyhow::Result { } /// The model each lane runs on, from env over the defaults the rulings set -/// (dungeon-model-per-role-answer): Opus for the narrator (the projector) and -/// the NPC Personas, Sonnet for the play table and the elaborator (which also +/// (dungeon-models-dm-opus): Opus for the play table (the DM) and the narrator (the projector), +/// Sonnet for the NPC Personas and the elaborator (which also /// seeds), Haiku for the interpreter and the operational agent. fn lane_models() -> (ControllerModels, String) { lane_models_from(|name| std::env::var(name).ok()) @@ -119,12 +119,12 @@ fn lane_models_from(read: impl Fn(&str) -> Option) -> (ControllerModels, ( ControllerModels { projector: lane("GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL", "claude-opus-5-5"), - persona: lane("GHOSTLIGHT_CONTROLLER_PERSONA_MODEL", "claude-opus-5-5"), + persona: lane("GHOSTLIGHT_CONTROLLER_PERSONA_MODEL", "claude-sonnet-5-5"), interpreter: lane("GHOSTLIGHT_CONTROLLER_INTERPRETER_MODEL", "claude-haiku-5-5"), operational_agent: lane("GHOSTLIGHT_CONTROLLER_OPERATIONAL_MODEL", "claude-haiku-5-5"), elaborator: lane("GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL", "claude-sonnet-5-5"), }, - lane("GHOSTLIGHT_PLAY_MODEL", "claude-sonnet-5-5"), + lane("GHOSTLIGHT_PLAY_MODEL", "claude-opus-5-5"), ) } @@ -740,9 +740,9 @@ mod tests { fn lanes_default_to_the_ruled_tiers_and_each_reads_its_own_override() { let (models, play) = lane_models_from(|_| None); assert_eq!(models.projector, "claude-opus-5-5", "the narrator"); - assert_eq!(models.persona, "claude-opus-5-5"); + assert_eq!(models.persona, "claude-sonnet-5-5"); assert_eq!(models.elaborator, "claude-sonnet-5-5"); - assert_eq!(play, "claude-sonnet-5-5"); + assert_eq!(play, "claude-opus-5-5", "the DM"); assert_eq!(models.interpreter, "claude-haiku-5-5"); assert_eq!(models.operational_agent, "claude-haiku-5-5"); for (name, lane) in [