The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(system_prompt): fix stale reconstruct_static_prefix docstring example
kshitij9555525a7d55
diff --git a/agent/system_prompt.py b/agent/system_prompt.pyindex ea352ef301a..8407a896893 100644--- a/agent/system_prompt.py+++ b/agent/system_prompt.py@@ -616,8 +616,8 @@ def reconstruct_static_prefix(Safety: the rebuilt stable tier is used ONLY when the stored promptliterally starts with it (checked here AND re-checked by``_apply_system_cache_markers``'s ``startswith`` gate). If any- stable-tier input changed since the prompt was persisted (skills- edited, identity changed), the prefix mismatches, the static stays+ stable-tier input changed since the prompt was persisted (identity+ changed, SOUL.md edited), the prefix mismatches, the static staysNone, and requests fall back to the legacy layout with the storedprompt bytes untouched — never a rewritten prompt.