Drops the artifact's override, if it has one.
The configured default, or ask while none has been chosen.
The effective mode for an artifact: its override if it has one, the default otherwise.
True once the user has explicitly chosen a default, as opposed to inheriting the schema default. Gates the one-time "should this happen automatically?" prompt.
Override key for an artifact, e.g. skill:my-skill-id or mcp:io.github.foo/bar.
ProtectedreadWrites the artifact's override, or removes it when mode equals the current default.
Resolves the effective auto-update mode for a registry artifact and maintains the per-artifact override map.
An artifact without an override follows the global default. Setting an artifact to the value that currently is the default removes its override rather than writing a redundant one, so the artifact keeps following the default if the user later changes it. An artifact therefore cannot be pinned to the current default value; that is intentional, and it is what lets the gear menu show whether a mode is inherited or explicitly set.