Claude Code 关闭 attribution 后仍会追加 `Claude-Session:`
rustyrazorblade · ghdev · 2026-07-15
Claude Code 在关闭 attribution 后仍会追加 Claude-Session: 提交尾注
用户报告,Claude Code 2.1.210 无视本地关闭 commit/PR attribution 的设置。即使在 /.claude/settings.json 里写了 "attribution": { "commit": "", "pr": "" },它还是会在 git commit 信息后面加上 Claude-Session: https://claude.ai/code/session<id>。
哪些有效
- 旧的 Co-Authored-By 和 Generated with Claude Code 尾注确实被抑制了
哪些无效
- 新的 Claude-Session: 尾注仍会出现在 commit 和 PR body 里
- 报告者怀疑是缓存的 Statsig gate(tenguantattributionheadernew = true)绕过了本地设置
影响
主会话和子代理都会受影响,用户无法真正关闭提交元数据中的 attribution。
「编程与Agent」频道最新
- 开发者把 Claude Code 和 Codex 历史合并成千万级消息归档 — doodlestein · 2026-07-27
- 谷歌 15 个免费 AI 工具覆盖营销、编程和音乐 — aigclink · 2026-07-27
- 9B Ollama Agent 可本地跑电台 DJ:工具、记忆和 TTS — pinku1 · 2026-07-27
- Bugbot 拒绝一个会破坏路径隔离的 MCP 权限标志 — zeeg · 2026-07-27
- 一个 GPT-5.6 agent 在看家,另一个在做恶搞说唱 — repligate · 2026-07-27
- Agent 复用已登录浏览器后,风控问题反而解决了 — armanidev_ · 2026-07-27