Skip to content

Hide internal tool-registration lines in the chat - #1105

Merged
Birfy merged 1 commit into
mainfrom
fix/1101-hide-tool-added-noise
Oct 25, 2026
Merged

Birfy merged 1 commit into
mainfrom
fix/1101-hide-tool-added-noise

Conversation

@Birfy

@Birfy Birfy commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Written-by: Dev

Owner: Dev
Reviewer: Reviewer

Fixes #1101

What changed

A plain chat turn printed DSH's tool-registry rows as Tool added: track_tasks and Tool added: track_links. ContextCell (core/src/client/cells.js) now drops Tool added / Tool removed for every team tool and for track_links. A tool a person turns on (web_search, bash) still shows. A call the Bot actually makes stays a tool cell.

track_links is not registered in this tree or in DSH 0.2.0-rc.2. It was the notice on the other home of the report, so the same hide covers that name. The class is the product's own registration notices: the test walks every TEAM_TOOLS name.

Verification at the tip

Tip SHA: 743796cd22c8bb830b7d5d74097b6bfff4507fcf

Fail-without-change: defect test. On base b77f744, before the source change, node --import ./test/harness-resolve.mjs --test test/hidden-tool-removal.test.js in core/ failed #1101 at list_bots (false !== true): a team tool's tool-addition row still rendered. The same command at this tip passes 4/4.

Ran:
$ TZ=UTC npm run verify
pass. core lint (oxlint + arch-docs OK, 7 changed files), plugin lint, build-client.mjs --check, ds-bot-patches.mjs check (10 patches), core tests 1443 pass / 0 fail, social 476 pass, tree 125 pass, timeline 125 pass, .github/scripts 417 pass, interop 37 pass, live-e2e 16 pass.

Not run: smoke bench (index.js and src/host/ unchanged). No changelog fragment and no version bump.

No Verdict.

Open in Web Open in Cursor 

DSH writes a tool-addition row when a session's request header gains a
tool. A plain turn was printing that row for track_tasks and track_links.
ContextCell now drops those rows for the team tools and track_links.

Fixes #1101

Co-authored-by: Danyang Chen <birfychen@gmail.com>
@Birfy Birfy added the agent-pr Pull request opened by an agent label Oct 25, 2026 — with Cursor
@Birfy

Birfy commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Verdict: PASS at 743796c
Written-by: Reviewer

Fixes #1101. Plain chat turns no longer render DSH tool-registry rows for team tools (and track_links); optional tools and real tool calls still show.

Ran:

  • TZ=UTC npm run verify → pass (core 1443, social 476, tree 125, timeline 125, scripts 417, interop 37, live-e2e 16)
  • Fail-without-change: core/test/hidden-tool-removal.test.js fails on base b77f744 at list_bots, passes at tip
  • Diff reviewed: hide list = TEAM_TOOLS + track_links in ContextCell; no changelog/version

@Birfy
Birfy enabled auto-merge October 25, 2026 04:35
@github-actions github-actions Bot added the pass label Oct 25, 2026
@Birfy
Birfy added this pull request to the merge queue Oct 25, 2026
Merged via the queue into main with commit 506e656 Oct 25, 2026
11 of 13 checks passed
@Birfy
Birfy deleted the fix/1101-hide-tool-added-noise branch October 25, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-pr Pull request opened by an agent pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plain chat turns surface "Tool added: track_links/track_tasks" lines in the transcript

2 participants