For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/rules/shared/singleton-risk.md.

shared/singleton-risk

  • Category: reliability
  • Default severity: warning

Issue

Multiple framework runtimes can split global state, contexts, hooks, or renderers.

How to fix it

Share stateful framework runtimes as singletons and align their versions.

Suppress or retarget with rules["shared/singleton-risk"] set to "off" or a severity — see Suppressions and allowlists.

Sources