Urgent.News

What's breaking now, across thousands of outlets.

AI

Claude Session URL appended to commit messages and PR descriptions by default

Claude Code, the AI coding assistant from Anthropic, automatically appends a session URL to every commit message and pull request description created by the tool. This information, like https://claude.ai/code/session_..., is displayed without any prior warning or opt-in from the user. The URL appears at the bottom of each commit and PR, cluttering the commit history and appearing unprofessional to other developers who review the code.

There is currently no way for users to disable this feature upon setup or after it has started occurring. The only available options are to enable the feature during initial onboarding, make it discoverable during the first commit, or remove the URL entirely and rely on the existing "Co-Authored-By: Claude" attribution.

This automatic inclusion of a session URL was discovered by some users only after it had already polluted their git history. While there are ways to suppress the URL with specific settings (like in .claude/settings.json) or through commit-msg git hooks, these methods are not widely known or reliable, especially in remote or cloud environments.

Many developers consider this feature to be of medium priority, as it would be very helpful to have an opt-in option that prevents the session URL from being included in commit messages and PR descriptions unless explicitly enabled by the user.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at github.com →

More in AI

Build a Tested Agent Skill with SKILL.md and Python Scripts

AI agents are good at interpreting goals, but prose instructions are a weak place to enforce exact rules. If a skill says "keep the commit subject short" or "never commit without approval," an agent…

  • SKILL.md file defines agent skill's contract and validation boundaries
  • Python validator enforces Conventional Commit message rules
  • Repository includes unit tests for validator's accuracy

Live API specs for coding agents

Live API specs for coding agents An agent writing frontend code has to know the backend's API. It has three options. It can read the backend source and work out from scratch what the service already…

  • docs-mcpserver simplifies coding frontend agent apps with live API specs.
  • Agent accesses backend API via cached OpenAPI document, definition name, or keyword search.
  • Advantages include reduced code burden, always-up-to-date specs, and uninterrupted development.

More from Sunday 30 August →