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」频道最新
- Anthropic 研究员:99% 工程师已跑 300+ 自改进 agent 群 — AlishaOutridge · 2026-09-11
- Gergely Orosz 观察:AI Agent 提速十倍交付,却带来一堆小退化 — ducha_aiki · 2026-09-11
- 同题 Echo Maze 实测:三大模型看似成功,代码里藏着同一个 bug — eyishazyer · 2026-09-11
- Astra 分镜+Minimax H3 分镜逐帧生成,视频创作成功率大增 — Hailuo_AI · 2026-09-11
- Codex 用户实测:Sol 搭配 Astra/Luna 子代理更省额度 — pvncher · 2026-09-11
- 开源 Agent Skill 2.3k 星:生成 MVP 蓝图并审计重构 agentic harness — tom_doerr · 2026-09-11