Update Ghostlight Persona projection handback

This commit is contained in:
Meta Vens 2026-08-16 23:09:44 +02:00
commit 4ad62ac49d
3 changed files with 8 additions and 2 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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(),