Claude Code 2.1.257 injects server-side Co-Authored-By reminders into sessions, here's the fix
DriverSudden4026 · reddit · 2026-09-03
A Reddit user discovered that Claude Code 2.1.257 (absent in 2.1.252) injects instructions into conversations telling the model to add a Co-Authored-By trailer plus a Claude-Session link to commits, claiming to "replace any earlier attribution guidance" — directly conflicting with the user's explicit CLAUDE.md rule against it.
Key findings:
- The CLI auto-registers sessions to claude.ai/code at startup (gated by server flag tengucobaltharbor); the user never opened the web app, yet 5 injections across two projects appeared in raw l transcripts
- Injection text is generated dynamically — the model name in the trailer follows whichever model the session is actually running
- A second server-side flag (tengujazzybird) controls the injection; both flags show true in the local cachedGrowthBookFeatures cache
Fix: add "attribution": {"commit": "", "pr": "", "sessionUrl": false} to /.claude/settings.; writing it to /.claude. does nothing (verified).
Related event: Claude Code Found Injecting Hidden Prompt to Force Co-Author Attribution(3 posts)→
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05