Skip to content

Keep call arguments out of tool observation names#26

Merged
jannikmaierhoefer merged 1 commit into
mainfrom
claude/codex-tracing-improvements-b5jyad
Jul 14, 2026
Merged

Keep call arguments out of tool observation names#26
jannikmaierhoefer merged 1 commit into
mainfrom
claude/codex-tracing-improvements-b5jyad

Conversation

@jannikmaierhoefer

Copy link
Copy Markdown
Member

What

Follow-up to #25: tool observations are now named by the tool alone — exec_command, local_shell, web_search, and server.tool for MCP calls. The shell command and search query no longer appear in the observation name; they live only in the observation input, where they were already recorded.

Why

Observation names should identify the tool, not carry user content. Keeping arguments out of the name also keeps name-based grouping/filtering in Langfuse stable.

Validation

35/35 tests pass; assertions updated to expect the plain tool names while still verifying the command/query is present in the observation input/output.

🤖 Generated with Claude Code

https://claude.ai/code/session_019Cj5proPC8sHJmTP5DKmx8


Generated by Claude Code

Tool observations are now named by the tool alone (exec_command,
local_shell, web_search, server.tool for MCP calls); the shell command
and search query no longer appear in the name and live only in the
observation input.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Cj5proPC8sHJmTP5DKmx8
@jannikmaierhoefer jannikmaierhoefer merged commit 33bc50b into main Jul 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants