{"version":"2.1.233","anchor":"process-wide-state-moved-into-class-instances","canonical_anchor":"process-wide-state-moved-into-class-instances","heading":"Process-wide state moved into class instances","tier":"internal","area":"Internals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.233\/e\/process-wide-state-moved-into-class-instances","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.233","markdown":"### Process-wide state moved into class instances\n\nLots of shared process-wide state moved into per-instance holders; nothing changes for you.\n\n**What**\n\nMCP connection and cache maps, child-process tracking with its exit-time SIGTERM sweep, the transcript-recording hook, several path and homedir lookup caches, the plans-directory lookup and a text-width cache all moved from module-level globals into class instances reached through accessors, with ad-hoc `reset()` methods dropped in favour of releasing the holder. Nothing changes for users.\n\n**Evidence**\n\n`killAll`\n\n- Area: Internals\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}