What is the difference between global, gem, and shard settings?

Global settings are app-wide defaults, such as appearance, terminal behavior, agent defaults, the MCP catalog, and the default worktree target. Gem settings override project behavior such as approval mode, agent setup, MCP selection, identity, and integration target. A shard is a running terminal inside the gem; it has identity and lifecycle actions, but no broad settings page of its own.