You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5650694
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): render the session ID block after all shared instructions
Review follow-up to anomalyco#51055: placing core/session right after core/date
still left the Code Mode catalog, AGENTS.md, skills, references, and MCP
instructions after the first per-session byte, so cross-session prefix
reuse barely improved (~2.8K → ~2.9K tokens measured by the reporter).
InstructionBuiltIns now exposes the session ID as a separate
source, and SessionContext.combine renders it last — after discovered
instructions, skills, references, MCP, and session entries — so nearly
the whole system text is shared across sessions. Built-in env and date
keep their early position, and the context tests carry mocks for the new
method.
Fixesanomalyco#51007
0 commit comments