{"version":"2.1.236","anchor":"agent-mcp-and-ui-caches-scoped-per-session","canonical_anchor":"agent-mcp-and-ui-caches-scoped-per-session","heading":"Agent, MCP and UI caches scoped per session","tier":"internal","area":"Session State","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236\/e\/agent-mcp-and-ui-caches-scoped-per-session","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236","markdown":"### Agent, MCP and UI caches scoped per session\n\nAgent, MCP and interface caches now die with the session instead of lingering in the process.\n\n**What**\n\nAgent definition loading, MCP connection, tool, resource and prompt caches, task-list watching, teammate mode snapshots, telemetry header caching, output path bindings, fleet roster and editor state, artifact stop latches and voice level smoothing all moved out of module globals. These caches are now discarded with their session rather than surviving for the life of the process.\n\n**Evidence**\n\n`agentDefinitions`\n\n- Area: Session State\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}