Opening an artifact you cannot edit now shows a view-only page with commenting hidden.
What's wrong with this entry?
Someone opening an Artifact without edit rights now sees a page marked view only, with the comment bubble, composer, slide comment action and panel reply rows all hidden and the composer refusing to open. The page shows "View only. Edits stay in this tab." Behind the same skill gate as the rest of Artifacts.
- Capability resolution waits up to about 3 seconds for the host page to attach its API, and requests both artifact and user permissions.
- Only an explicit "cannot edit" answer counts as denial; anything else is treated as unconfirmed rather than refused.
- The resolved mode is written onto the page as a
data-kit-modeattribute, and the per-artifact-kind CSS hides editing affordances off that attribute. - A comment draft started before the page resolved as read-only is torn down when the attribute changes.
- Server refusals (
not_writer,not_granted,not_declared,capability_disabled,capability_removed) demote a writer back to reader in the middle of a session.
View only. Edits stay in this tab.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.