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/federation/ghost-shares.md.

federation/ghost-shares

  • Category: performance
  • Default severity: info

Issue

A package is declared in shared by only one project and is unused elsewhere in the federation graph, creating one-sided version coupling.

How to fix it

Remove the unused shared entry, or add matching shared declarations where other projects actually consume the package.

Suppress or retarget with rules["federation/ghost-shares"] set to "off" or a severity — see Suppressions and allowlists.

Sources