Skip to content

The open alternative to Salesforce, designed for AI.

Suppress Claude session URL in generated PR bodies and commits (#22651)

martmull2f5e9d47ef0d
diff --git a/.claude/settings.json b/.claude/settings.json
index ca23ce8ab65..eacf91db754 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -2,7 +2,8 @@
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"attribution": {
"commit": "",
- "pr": ""
+ "pr": "",
+ "sessionUrl": false
},
"hooks": {
"SessionStart": [
@@ -10,7 +11,7 @@
"hooks": [
{
"type": "command",
- "command": "cat <<'EOF'\nInstructions for this session:\n- Do NOT add any signature, footer, co-author tag, \"Generated with Claude\" or \"Co-Authored-By\" mention in commits, PRs, or files.\n- Be concise. Get to the point, no preamble or unnecessary recap.\n- Write like a human: natural, direct tone, no marketing language or overwrought phrasing.\n- No weird punctuation: never use em dashes, no emojis unless explicitly asked, standard punctuation only.\nEOF"
+ "command": "cat <<'EOF'\nInstructions for this session:\n- Do NOT add any signature, footer, co-author tag, session link, \"Generated with Claude\" or \"Co-Authored-By\" mention in commits, GitHub PR descriptions, PR or issue comments, reviews, or files.\n- Be concise. Get to the point, no preamble or unnecessary recap.\n- Write like a human: natural, direct tone, no marketing language or overwrought phrasing.\n- No weird punctuation: never use em dashes, no emojis unless explicitly asked, standard punctuation only.\n- Do NOT add code comments unless strictly necessary, such as TypeScript directives or a short \"why\" comment for non-obvious business logic. Code should be as self-explanatory as possible.\nEOF"
}
]
}