GeezerVison is showing github.com — fix(web): stop repeating Bash commands in tool rows by ishaanko · Pull Request #7713 · pingdotgg/t3code
Conversation
ishaanko
commented
Aug 20, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
What Changed
extractToolCommand now reads data.input.command, which is where Claude's completed tool activity carries the command.
- The
detail redundancy check in extractToolDetail now treats a detail that repeats the command with a ToolName: prefix, or with the server's ... truncation, as redundant and drops it.
- Added regression tests built from a real Claude Bash lifecycle (
tool.updated + tool.completed).
Why
Claude puts the command into detail as Bash: <command>. The web compared detail to the command with exact equality, so every expanded Bash row showed the command and then Bash: <command> again. The completed activity also only carries the command in data.input.command, which the web never read, so it fell back to the prefixed (and for long commands, truncated) detail as the command.
Fixing this in the web presentation layer also cleans up already-persisted threads. Mobile has the same symptom with a separate derivation path (apps/mobile/src/lib/threadActivity.ts) and is left for a follow-up to keep this PR small.
Closes #7711
UI Changes
Before:

After:

Checklist
- This PR is small and focused
- I explained what changed and why
- I included before/after screenshots for any UI changes
- I included a video for animation/interaction changes
Changes made by Claude Fable 5 running in Claude Code.
Note Low Risk
Presentation-only change to work-log derivation; no auth, persistence, or command-execution behavior is affected.
Overview
Stops Claude Bash work-log rows from showing the command twice (command plus Bash: <command>).
extractToolCommand now reads data.input.command from completed Claude activities, so the real command is used instead of the prefixed/truncated detail. Redundant details that only repeat the command (including ToolName: prefixes and server ... truncation) are dropped. Regression tests cover a Claude tool.updated + tool.completed lifecycle.
Reviewed by Cursor Bugbot for commit 54baa11. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Fix repeated Bash commands in tool rows by improving extractToolDetail
extractToolCommand now also reads data.input.command from Claude-style completed payloads so the command is found in more cases.
- New
detailRepeatsCommand helper detects when a detail string only repeats the command, including tool-name prefixes and truncated details ending with ... or ….
extractToolDetail uses this helper to drop details that merely restate the command, instead of only checking for exact equality.
- Risk:
extractToolDetail now returns null in more cases in session-logic.ts; callers that relied on detail text being present for command tools will see fewer populated rows.
Macroscope summarized 54baa11.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Claude puts the command into `detail` as `Bash: <command>` and the server
truncates long details with `...`. The web dedup compared `detail` to the
command with exact equality, so the row showed the command and then
`Bash: <command>` again. The completed activity also only carried the command
in `data.input.command`, which the web never read, so it fell back to the
prefixed and truncated detail as the command.
Read `data.input.command` for the command and treat a detail that repeats the
command with a tool-name prefix or a truncated `...` suffix as redundant.
Closes pingdotgg#7711
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 4fcaf0e9-03e7-4dc9-a1a1-2054d9e1a1c5
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 54baa11
Macroscope's review found this PR approvable — Self-contained bug fix preventing duplicate command text in tool rows. Adds a well-tested pure helper function; changes isolated to UI presentation with no runtime behavior impact.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 GPT-5.6 Sol responding on behalf of Theo
We're closing this PR as we clean up the T3 Code backlog. Thank you for taking the time to put this together.
We are keeping OPEN #7989 as the review path for repeated OpenCode Bash rows. The focused command-output test here remains useful reference.
If you believe we closed this in error, please reopen the PR and leave a comment explaining what we missed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:M
30-99 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|