From 4ad62ac49da610a8792601716b2cdde5ec366d45 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 16 Aug 2026 23:09:44 +0200 Subject: [PATCH] Update Ghostlight Persona projection handback --- Cargo.lock | 2 +- epiphany-core/Cargo.toml | 2 +- epiphany-core/src/persona_turn.rs | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0fc953dc..f305a103 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2712,7 +2712,7 @@ dependencies = [ [[package]] name = "ghostlight-persona-projection" version = "0.1.0" -source = "git+https://github.com/GameCult/Ghostlight.git?rev=51fc7495f3667fccfe371c62cca3f458a273edc5#51fc7495f3667fccfe371c62cca3f458a273edc5" +source = "git+https://github.com/GameCult/Ghostlight.git?rev=22281891cbf9258db80c15a9fd465e6fa251e7dd#22281891cbf9258db80c15a9fd465e6fa251e7dd" dependencies = [ "serde", "sha2 0.10.9", diff --git a/epiphany-core/Cargo.toml b/epiphany-core/Cargo.toml index 7592b0f1..66c40cb5 100644 --- a/epiphany-core/Cargo.toml +++ b/epiphany-core/Cargo.toml @@ -348,7 +348,7 @@ epiphany-release-construction = { path = "../epiphany-release-construction" } epiphany-model-adapter = { path = "../epiphany-model-adapter" } epiphany-tool-adapter = { path = "../epiphany-tool-adapter" } epiphany-state-model = { path = "../epiphany-state-model" } -ghostlight-persona-projection = { git = "https://github.com/GameCult/Ghostlight.git", rev = "51fc7495f3667fccfe371c62cca3f458a273edc5", package = "ghostlight-persona-projection" } +ghostlight-persona-projection = { git = "https://github.com/GameCult/Ghostlight.git", rev = "22281891cbf9258db80c15a9fd465e6fa251e7dd", package = "ghostlight-persona-projection" } ed25519-dalek = "2" fs2 = "0.4" ignore = "0.4.23" diff --git a/epiphany-core/src/persona_turn.rs b/epiphany-core/src/persona_turn.rs index 623b0d8a..bee322da 100644 --- a/epiphany-core/src/persona_turn.rs +++ b/epiphany-core/src/persona_turn.rs @@ -370,9 +370,15 @@ Dynamic self-memory recall from the Persona output: .unwrap_or(input.dynamic_semantic_memory_recall.as_str()) ), ); + let typed_context = format!( + "Allowed channel ids:\n{}\n\nPending addressed-pressure records:\n{}", + render_allowed_channels(&input.allowed_channel_ids), + render_pending_mentions(&input.pending_mentions), + ); ghostlight_persona_projection::build_interpreter_prompt( &ghostlight_persona_projection::InterpreterPrompt { identity: &input.identity.display_name, + typed_context: &typed_context, lived_stream: input.persona_prompt.trim(), persona_output: input.persona_output.trim(), output_schema: &persona_interpreter_effect_set_json_schema(),