A restricted artifact mode accepts only a plain publish and rejects everything else.
A publish-only artifact mode rejects other actions with stub_mode_publish_only; nothing selects it here.
What's wrong with this entry?
A restricted artifact mode is present in which the tool accepts only a plain publish. Any other explicit action, and any live-doc input, is rejected both when validating input and at call time with the error code stub_mode_publish_only.
- A URL that does not resolve while in this mode is rejected as
stub_mode_real_urlorstub_mode_unknown_slug. - The not-logged-in check now passes when this mode is active, so publishing works without a login.
- Two artifact onboarding tips were narrowed so they do not appear in this mode.
- The whole thing is active only when the stub-mode accessor returns a value; otherwise every existing artifact behaviour is unchanged.
stub_mode_publish_only
Strings lifted out of the shipped bundle, so the claim above can be checked against them.