[BUG] Deleted artifacts are re-armed as watches at every session start, emitting a permanent notice per artifact
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment Claude desktop app (Code tab), version 1.52386.3 Windows 11 Home, 10.0.26200 Long-running session, resumed many times Summary When a session has published an artifact that is later deleted, the session keeps trying to re-open a live watch on it at every startup. Each attempt fails with "no such artifact for this account," and each failure surfaces a Claude Code notice to the user.
The failure is permanent and unrecoverable by definition — the artifact is gone — but it is retried indefinitely, once per artifact, every time the session starts. In my case that is 4 notices at every single startup, and there is no way to clear them from inside the session.
Steps to reproduce In a session, publish one or more artifacts. Delete those artifacts (Artifact action: "delete", or from the artifact gallery). Resume or restart that same session. Observe one "Claude Code notice" per deleted artifact, every time. Expected A re-arm that fails because the artifact does not exist should drop that artifact from the session's watch list permanently. It cannot ever succeed, so it should not be retried — and it should certainly not notify the user about it again on every startup.
Actual It is retried at every startup, forever, and notifies every time.
Evidence Artifact action: "status" in the affected session:
No artifact watch is connected in this session; 4 artifacts with watch activity but no live connection:
- https://claude.ai/code/artifact/fab2838f-1a54-4493-8625-6d55e55d4be5 — NOT watching: the live subscription failed to arm at 2026-09-11T20:07:52.404Z — no such artifact for this account (it was deleted, or it has not been shared with the user). Nothing will notify this session about this artifact; there is nothing to retry unless the artifact is shared with the user again.
- (…3 more, identical, timestamps .406Z / .418Z / .429Z) Note that the status message itself says "there is nothing to retry" — yet it is retried at the next startup anyway. The status text and the actual behavior disagree.
Why the user cannot fix it Every available lever was tried and none applies:
Artifact action: "unwatch" only stops a live watch. These are failed re-arms, not live watches, so it returns: No active watch for
Impact Cosmetic but persistent and unfixable by the user. It trains people to ignore Claude Code notices, which is bad for the notices that actually matter.
What Should Happen?
Suggested fix When a re-arm fails with "no such artifact for this account," treat it as terminal: remove it from the session's watch list and never retry or notify again. Optionally, also let unwatch clear a non-live watch record, so there is a user-accessible escape hatch when this class of bug recurs.
Error Messages/Logs
4 Claude Code notices
Artifact comment monitor for Artifact · fab2838f didn't resume: it couldn't restart in this session. Publish the Artifact again to turn automatic replies back on.
Artifact comment monitor for Artifact · 49fd3a47 didn't resume: it couldn't restart in this session. Publish the Artifact again to turn automatic replies back on.
Artifact comment monitor for Artifact · 12622814 didn't resume: it couldn't restart in this session. Publish the Artifact again to turn automatic replies back on.
Artifact comment monitor for Artifact · 4500b943 didn't resume: it couldn't restart in this session. Publish the Artifact again to turn automatic replies back on.
Steps to Reproduce
Steps to reproduce In a session, publish one or more artifacts. Delete those artifacts (Artifact action: "delete", or from the artifact gallery). Resume or restart that same session. Observe one "Claude Code notice" per deleted artifact, every time.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude Code 2.1.266
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
No response
Same bug in the terminal client (Claude Code CLI 2.1.289, Windows 11 Enterprise 10.0.26200), seen right after upgrading from 2.1.287, with two details that make it worse than a repeated notice.
The notice advises republishing a deleted artifact. After a restart, the notice reads: "Artifact comment monitor for https://claude.ai/artifact//artifacts panel, stating that the artifact "cannot be published to again" and that its URL must not be passed to the Artifact tool. The client knows the artifact was deliberately deleted, keeps the watch record anyway, retries it, and then recommends undoing the user's deletion.
The record can't be cleared from inside the session. The watch listing shows both deleted artifacts as "NOT watching: the live subscription failed to arm ... no such artifact for this account". Asking to stop them (watch with on: false) returns "No active watch for
Steps:
- Publish an artifact from a CLI session.
- Delete it from the
/artifactspanel. The session receives the deletion event. - Restart the session (in my case, the restart after upgrading Claude Code from 2.1.287 to 2.1.289; the notice appears on 2.1.289).
- The notice above appears for each deleted artifact.
Expected: the deletion event removes the artifact from the session's watch list, so no resume is attempted, no notice appears and no republish is suggested. A failed re-arm with "no such artifact" should also drop the record permanently.
Also seeing this in Claude Code on MacOS Golden Gate.
Seeing the same thing on a newer version, terminal client on Linux (WSL2), Claude Code 2.1.328, claude.ai login, session opened in Cursor's integrated terminal.
Every time the session is reopened (after the machine restarts, or after the terminal is closed and the session resumed) the transcript prints one line per watched Artifact, 13 in a row in my last screenshot, all with the same text:
Artifact comment monitor for https://claude.ai/artifact/<id> didn't resume: it couldn't restart in this session. Publish the Artifact again to turn automatic replies back on.
Reproduced twice in a row on the same session (reopen, lines appear, close, reopen, same lines).
Two details that may help triage:
- I have not verified whether each of these Artifacts still exists, so I can't say deleted artifacts are the only trigger. If they are not, the generic "couldn't restart in this session" fallback is hiding the real reason (the binary has more specific messages, e.g. "automatic replies aren't carried over from the session before" and a per-session watch cap).
ArtifactComments action="watch"with no url lists the watches of the current session only, so the notices cannot be cleared from another session.
Suggested behaviour, same as above: drop watches that cannot be restored instead of retrying and notifying on every start (or collapse them into a single line), and show the actual reason.
Follow-up with a measurement that answers the open question in my previous comment (whether the Artifacts in these notices still exist).
In one affected session (Claude Code 2.1.328, Linux/WSL2) I listed the watches with ArtifactComments action="watch" (no url):
- 25 entries in total: 2 alive and 23 dead. The dead ones are Artifacts the account can no longer see (
no such artifact). - Reading the comments of the 2 live ones showed no thread at all, so nobody was commenting on them.
- A later listing, after the session was reopened: 0 alive, 17 dead, all
NOT watching ... no such artifact. action="watch"withon: falsedoes not help: on both the live and the dead ones the tool answers "No active watch ... nothing to stop". The reopen had already dropped the live ones, and a dead entry is not an active watch, so there is nothing to stop.
So the stale entries stay in the list as "watch activity" and each one produces a "didn't resume" notice on every resume, which matches this issue (dead Artifacts retried and announced at every start). There is no command to forget them, and republishing a dead Artifact is not possible.
Suggested fix, same as above: when a re-arm fails with "no such artifact", remove the entry from the session's list for good (it can never succeed), and/or offer a command to clear dead entries.