{"version":"2.1.227","anchor":"module-wide-mutable-state-gathered-into-containers","canonical_anchor":"module-wide-mutable-state-gathered-into-containers","heading":"Module-wide mutable state gathered into containers","tier":"internal","area":"Session State","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/module-wide-mutable-state-gathered-into-containers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Module-wide mutable state gathered into containers\n\nSkills, team context, MCP sockets and ingress tokens moved into resettable containers.\n\n**What**\n\nA large sweep moves file-level variables, maps and sets onto singleton objects reached through accessors, covering skills and commands, team context, MCP monitor sockets, swarm permissions, ingress tokens and the lazy-value helper. Nothing changes for users, but per-process and per-session state can now be reset in one go.\n\n**Evidence**\n\n`bundledSkillSessionResetHooks`\n\n- Area: Session State\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}