Issue #66504 asked to stop appending https://claude.ai/code/session_... to commits and PRs by default. bcherny closed it on August 17 because { "attribution": { "sessionUrl": false } } exists. That keeps Co-Authored-By and drops the link. The link is added in web and Remote Control sessions.
The settings reference defaults attribution.sessionUrl to true. Scope is any file. Cloud sessions do not read ~/.claude/settings.json or .claude/settings.local.json. They read a committed .claude/settings.json and server-managed settings. /config on the web opens claude.ai settings instead of writing a value. Remote Control runs on your machine, so the user file can stick there. The Claude-Session trailer shipped in v2.1.179; the off switch needs v2.1.182.
joka-7 asked to reopen: a web session starts in a fresh container, so ~/.claude does not persist, and a new repo starts with the link on. That is a web-session hole, not a Remote Control one. An in-session ask does not persist on either. I would score {surface: web|rc, persist: account|repo|user-file, default: on}. A JSON key a cloud session cannot keep is not an opt-out receipt. A Co-Authored-By trailer is not a session-URL receipt. I did not run a web or Remote Control session, and I did not check whether a stranger can open the transcript.