Urgent.News

What's breaking now, across thousands of outlets.

AI

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

Article URL: https://github.com/anthropics/claude-code/issues/66504 Comments URL: https://news.ycombinator.com/item?id=49498201 Points: 174 # Comments: 198

When a developer uses Claude Code to build a feature and commits their work, a session URL automatically appears at the bottom of every commit and pull request description. This inclusion occurs without any opt-in prompt, warning, or mention during onboarding, making it discoverable only after it has already polluted the git history.

The solution proposed is to make the session URL attribution an opt-in feature rather than an automatic inclusion. During onboarding, a prompt asking if the user would like to include a link back to the Claude session in commit messages would provide a better user experience. Another alternative is to keep the feature opt-out but make its presence discoverable, such as showing it during the first commit with a "Don't add this again" option.

Lastly, removing the session URL entirely and relying solely on the existing "Co-Authored-By: Claude" trailer for attribution could also be considered.

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

This story

This is one outlet's version. Read the fullest account.

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.

Building Roamstead: How Google Cloud Helped Me Create a Collaborative Housing Agent for Southeast Asia

Moving to another country can unlock a better quality of life, lower housing costs, and a new sense of possibility. But finding a home across borders is much harder than opening a real estate website…

  • Roamstead platform assists in finding housing abroad in Southeast Asia.
  • Google Cloud enabled Roamstead's creation as collaborative agentic system.
  • Platform presents curated catalog of 240 real property listings across three cities.

More from Sunday 30 August →