fix: give Lyra an accurate self-model of her dream cycle
Live finding: her real reflections ARE injected every turn, but unlabeled — so
when asked about her "dream cycle" she recited the obsolete Dec-2025 spec from
imported memory (NVGRAM/awake-sleep) and confabulated fake example reflections
instead of reading the real ones in front of her.
- self_state.render_for_context: label the reflections as her own autonomously
generated dream-cycle thoughts ("these are really yours, not hypotheticals"),
not a vague "on your mind lately"
- persona: describe the dream cycle as her actual running mechanism, instruct
her to answer from the inner-state block, not recite old design docs, and
never invent example reflections to demo the feature
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -87,7 +87,11 @@ def render_for_context(state: dict) -> str:
|
||||
ds = ", ".join(f"{k} {float(v):.2f}" for k, v in drives.items())
|
||||
lines.append(f"- What's pulling at you (drives): {ds}")
|
||||
if refs:
|
||||
lines.append(f"- On your mind lately: {' | '.join(refs[-3:])}")
|
||||
lines.append(
|
||||
"- Thoughts you came up with on your own, reflecting while idle between "
|
||||
"conversations (your dream cycle — these are really yours, not hypotheticals): "
|
||||
+ " | ".join(refs[-3:])
|
||||
)
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user