Skip to content

feat(native-chat): read a tool batch as a group - #19372

Merged
brennanb2025 merged 6 commits into
mainfrom
brennanb2025/native-chat-tool-run-pills
Sep 8, 2026
Merged

brennanb2025 merged 6 commits into
mainfrom
brennanb2025/native-chat-tool-run-pills

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 5 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​200 $\color{#cf222e}{\Huge{\mathbf{−}}}$​14 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​186
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​101 $\color{#cf222e}{\Huge{\mathbf{−}}}$​16 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​85

A run of several tool calls collapsed to one joined string, so you could not tell which tools were in it:

🔧 3× mcp__linear__list_issues · browser.open {"url":"https://example.com" · tools/read READM…  ✓ ⌄

Names and arguments run together, separated by a middle dot that also occurs inside browser.open and tools/read — three calls read as one string. The overflow is cut mid-token, so the last thing you read is an unbalanced brace and the third member is a stub. Opened, the member rows sat flush with the header and with the message content around them (mt-1, no indent), so the batch had no visible end.

What changed

Presentation only. Both changes use the strings the row already renders — the tool name as-is and the existing briefToolArg preview. Nothing here derives a new value or changes how a name is parsed.

Each member is glyph-led in the collapsed header. Every call in the run is preceded by its own category glyph and separated by spacing, so the boundary between calls is no longer a character that also occurs inside the names. The list stays on one line and truncates as a whole, exactly as it did before this branch — it never wraps. +N more sits outside the truncating span, so the count of what is not shown survives a pane too narrow to print the list; today an 11-call batch renders three names with nothing to say the other eight happened.

Opened members are indented (pl-4), which is what marks where the run ends.

Members carry data-tool-run-member for styling and test hooks.

Rendered, not assumed

Captured on an isolated dev instance (CDP + Playwright, seeded transcript read through the real nativeChat:readSession), five calls in one run, at both a 1728px window and a 1000px one:

Natural Narrow (337px header)
Header height 24px 24px
Member offsetTop 38 / 38 / 38 38 / 38 / 38
Member background transparent transparent
+2 more visible visible after the ellipsis

This is the second design. The first used filled bg-accent chips with flex-wrap. Rendered, it was wrong twice over: accent is reserved for hover/active row backgrounds and its only full-strength use in native chat is on payload and diff surfaces, so each chip read as a shrunken content block; and at a 337px pane each chip measured 274–288px against a 297px container, so every one took its own line, the header tripled from 24px to 72px, and the 5× centred against the block landed beside the second member as though it counted that call alone. The max-w-72 cap also clipped browser.open mid-token — the same defect this PR set out to remove, relocated into a chip. The glyph was already marking each member's start, so the fill was carrying nothing the icon wasn't.

Shared selector

toolRunSummaryMembers keeps the run's leading calls apart instead of pre-joining them. summarizeToolRun now derives its string from it, so:

  • mobile's header (MobileNativeChatToolRun) is byte-identical — its assertions pass untouched and the full mobile suite is green;
  • the two can never disagree about which calls speak for a run, since there is one traversal and one cap.

Known weakness

The rationale is that each member's glyph marks its own boundary, and that is only partly true today. nativeChatToolCategory deliberately does not parse slash- or dot-style names, so browser.open and tools/read both resolve to the generic wrench — at wide widths two of three boundaries are marked by identical icons and the real delimiter is the spacing. The expanded list differentiates properly (plug / wrench / wrench / magnifier / terminal). Fixing this means teaching the category resolver about those name shapes, which is the naming change deliberately excluded below.

Deliberately not fixed

Both are naming decisions rather than layout ones, and both are pinned by test so they stay visible:

  • The header still prints mcp__linear__list_issues while the row directly beneath prints Linear / list_issues. Reconciling them means running the header through NativeChatToolName, which changes what a tool is called.
  • A call carrying only a url still falls through to a clipped JSON preview. This is the real source of {"url":"https://example.com" in the original screenshot: url is a PRIMARY_ARG_KEY but not a BRIEF_ARG_KEY, so briefToolArg falls through to the bounded JSON preview and slices it at 28 characters. Adding url to BRIEF_ARG_KEYS fixes it in one word — and moves mobile's summary string too, so it belongs in its own change.

Verification

  • pnpm tc — clean
  • pnpm run check:code-quality:changed — passed, React Doctor included (member keys use the file's own content-signature idiom, not the array index)
  • pnpm test src/renderer/src/components/native-chat src/shared/native-chat-tool-summary.test.ts — 113 files, 1207 tests passing
  • pnpm test in mobile/ — 516 files, 4204 tests passing
  • Rendered in the app at two widths, as above

Six existing assertions were updated, all for one reason: the header no longer emits a single joined text node, so getByText('shell pnpm test') no longer matches — getByText compares an element's direct text nodes, and the argument now sits in its own muted span. Their intent is preserved; they query the run header and assert its text content. One markup fix came out of that: a member's name and argument share a single text run, so the header still reads shell pnpm test to a screen reader and to a text selection rather than shellpnpm test.

Not applied to MobileNativeChatToolRun, which has its own header markup.

A run of several tool calls collapsed to one joined string: names and
arguments run together, separated by a middle dot that also occurs inside
`browser.open` and `tools/read`, with the overflow cut mid-token. Opened,
the member rows sat flush with the header and with the message content
around them, so the batch had no visible end.

Two presentation changes, no new derivation:

- Each member gets its own bounded pill in the collapsed header, carrying
  its own category glyph, so the boundary between calls is a shape rather
  than a character. Pills wrap instead of truncating, and members past the
  summary cap are counted in `+N more` rather than dropped silently.
- Opened members are indented under the header, which is what marks where
  the run ends.

`toolRunSummaryMembers` keeps the run's leading calls apart instead of
pre-joining them; `summarizeToolRun` now derives its string from it, so
mobile's header is byte-identical and the two cannot disagree about which
calls speak for a run.

Two existing behaviours are pinned by test rather than changed, both being
naming decisions rather than layout ones: the header still prints the raw
`mcp__linear__list_issues` while the row beneath prints the split name, and
a call carrying only a `url` still falls through to a JSON preview clipped
at 28 characters.
@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: fbf46a6a-e0f0-480d-9cea-2f87d731198e

📥 Commits

Reviewing files that changed from the base of the PR and between 91f58a7 and 1caae61.

📒 Files selected for processing (2)
  • src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx
  • src/renderer/src/components/native-chat/NativeChatToolRun.tsx

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The shared tool summary logic now returns individual tool-run members with names, arguments, and optional MCP identities. NativeChatToolRun renders each member separately, adds per-member glyphs, indents expanded rows, and displays a localized overflow count. Tests cover grouped rendering, settled states, identities, disclosure behavior, and updated selectors.

Merge Risk: ⚪ Minimal · up to 1caae

Tool runs now display grouped call summaries with member labels, glyphs, overflow counts, and indented expanded rows. The supplied validation indicates the presentation and interaction behavior is working as intended, with no remaining merge-blocking risk.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description clearly explains the change, rationale, visual behavior, known limitations, and verification results. However, it omits the required Linked Issue entry, does not provide the required b… Add the linked issue after Fixes #. Add before-and-after screenshots or video for the UI change, or use N/A with a reason only if no visual or interaction change exists. Complete the required checklist items and include any applicable A…
Docstring Coverage ⚠️ Warning Docstring coverage is 71.43% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 9 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the primary change: rendering a batch of native-chat tool calls as a group.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description clearly explains the change, rationale, visual behavior, known limitations, and verification results. However, it omits the required Linked Issue entry, does not provide the required before-and-after visual attachments or an explicit Visual Proof section, and does not complete the template checklist.

Resolution

Add the linked issue after Fixes #. Add before-and-after screenshots or video for the UI change, or use N/A with a reason only if no visual or interaction change exists. Complete the required checklist items and include any applicable AI Disclosure, Review, Agent skill upstream boundary, and Notes sections.

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

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.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

A presentation-only change to the desktop native-chat tool-run header so a batch of tool calls reads as a group instead of one joined string that ran names together and truncated mid-token.

  • Shared toolRunSummaryMembers — extracts the run's leading calls as { name, arg, mcpIdentity }[] under the same MAX_TOOL_RUN_SUMMARY_PARTS cap and blank-name skip the joined string always used; summarizeToolRun is now derived from it, so mobile's header stays byte-identical.
  • Per-member pills — the settled header renders one pill per member, each with its own category glyph, so a mixed run no longer collapses to a single generic wrench; members past the cap become +N more.
  • Indented members — opened member rows gain pl-4 so the batch has a visible end.
  • Tests — new cases pin the member boundaries, the +N more count, the blank-name fallback, and both deliberately-unfixed naming decisions; the six updated assertions preserve intent after the header stopped emitting one joined text node.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The follow-up commit bundles the new moreCalls string into the renderer's boot-bundle catalog.

  • Runtime-required i18n entry — adds components.native-chat.tool.moreCalls (+{{value0}} more) to en-runtime-required.json, matching en.json. The catalog generator marks this key required because the translate(...) call site passes NATIVE_CHAT_TOOL_ACTIVITY_COPY.moreCalls (an object-property expression, not a string literal), so i18next cannot rebuild it from a call-site default and it must ship in the runtime catalog. The value and key placement are byte-identical to en.json and alphabetically sorted.

No new issues. The prior review's findings were informational, and this commit cleanly completes the catalog sync the previous commit missed.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Electron CDP validation at 1e90644c6a4f9d17e2af04250c69272e4d1fdced passed for the settled five-call native-chat run.

  • Collapsed at a 1100×800 viewport (437 px chat content width): three discrete member pills, +2 more, three-line wrapping, and no horizontal overflow.
  • Expanded: all five calls and results render with a 16 px member indent; the five calls show plug, generic tool, terminal, and search glyph categories, making the group extent and mixed call types visible.
  • window.api.app.getIdentity() identified skipjack @ brennanb2025/native-chat-tool-run-pills; renderer console had zero errors. The live Grok request returned HTTP 402 due exhausted usage, so the settled tool records were added to that QA session's real chat_history.jsonl and exercised through Orca's production transcript reader and rendered UI.

Collapsed settled tool run

Expanded settled tool run

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Review status: LAND

The review/fix loop is clean at 1e90644c6a4f9d17e2af04250c69272e4d1fdced. I found and fixed one meaningful issue: the new components.native-chat.tool.moreCalls string was absent from the bundled runtime localization catalog, which caused static analysis to fail. Commit 1e90644c6a regenerates that artifact and is pushed to this PR.

  • Functional correctness: Clean. Settled batches retain structured calls, show up to three distinct pills plus the omitted count, and preserve the full expanded group. Mobile retains its existing joined summary.
  • Architecture: Clean. The shared selector preserves structured data and the desktop renderer owns presentation/truncation; this removes the ambiguous joined-label behavior without adding a parallel state path or a compensating guard.
  • Precedent: Clean. Local reference implementations support retaining structured members through presentation, bounded collapsed summaries with explicit omitted counts, and distinct expanded member rows. No material architectural deviation was found.
  • Performance/regressions: Clean. The summary work is bounded to three visible entries, with no new polling, effects, subprocesses, transcript scans, or unbounded retained data. The iterative same-model review and $perf pass found no remaining issue worth changing.
  • Readiness: Both the opening and closing $readiness-checklist passes returned PASS with no P0/P1/P2 candidates.

Validation passed: 113 native-chat test files / 1,207 tests, focused selector and rendering tests, pnpm tc, changed-file code quality, runtime localization catalog coverage, package and Windows package jobs, all 8 CI test shards, static analysis, Pullfrog, guards, and aggregate verify. The branch is clean and matches its upstream commit.

Electron QA used the exact branch in an isolated background profile through Playwright CDP. The narrow renderer showed three separately wrapping pills, +2 more, no horizontal overflow, all five expanded calls with four glyph categories, a measured 16 px member indent, and zero renderer console errors:

The requested Grok reviewer could not run because its weekly limit was exhausted. A Codex orchestration fallback performed the Electron validation. Its live Grok request then returned HTTP 402, so it inserted deterministic settled records into the isolated QA transcript and exercised Orca's production transcript reader and renderer. This proves the changed presentation and interaction, but does not test live Grok execution or streaming. That gap does not block this renderer-focused PR.

Mobile emulator, remote Windows, and SSH/Linux QA were not applicable to this desktop presentation change; Windows packaging still passed in CI.

Rendered in the app, the filled chips were wrong twice over. `bg-accent` is
reserved for hover/active row backgrounds, and the only full-strength use of
it in native chat is on payload and diff surfaces — so each member read as a
shrunken content block, and a run became the loudest thing in the transcript.
Worse, `flex-wrap` degenerated: at a 297px pane each member is 274-288px, so
every one took its own line, the header grew 24px to 72px, and the `5x` count
centred against the block landed beside the second member as though it counted
that call alone.

The glyph already marks where a member starts, so the fill was carrying no
information the icon wasn't. Members are now inline, glyph-led, and separated
by spacing; the list stays one line and truncates as a whole, as it did before
this branch. `+N more` moves outside the truncating span so the count of what
is not shown survives a pane too narrow to print the list.

Members carry `data-tool-run-member` rather than being found by their fill.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The latest commit replaces the filled per-member pill with a glyph-led, single-line member list, then re-anchors the affected assertions on an explicit marker instead of the removed styling.

  • Glyph-led segments instead of bg-accent pills — drops the pill chrome in favor of a plain monospace list where each member's own NativeChatToolIcon glyph marks the boundary (a separator character cannot: · also occurs inside browser.open and tools/read).
  • Single-line truncation with a surviving remainder count — the member list now truncates as a whole instead of wrapping into a block, and +N more moved outside the truncating span (shrink-0) so the hidden count survives a too-narrow pane.
  • data-tool-run-member selector — replaces the .bg-accent queries in tests with an explicit attribute, decoupling assertions from visual classes.
  • Re-anchored assertions — existing tests now query the run header / code selector after the header stopped emitting a single joined text node; summarizeToolRun stays byte-identical for mobile.

One minor note: the PR description still describes the superseded approach ("one pill per member … pills wrap instead of truncating"). Worth a one-line refresh so it matches the shipped glyph-led, truncating header.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/shared/native-chat-tool-activity.ts (1)

17-17: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use a named interpolation key.

Change +{{value0}} more to +{{count}} more. Pass { count: hiddenCallCount } in NativeChatToolRun.tsx and update the matching catalog entries.

Based on learnings, new user-facing strings must use intent-named localization IDs with named interpolation placeholders.

Source: Learnings


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: b30d748f-4c24-452a-afd6-c0127c8975d9

📥 Commits

Reviewing files that changed from the base of the PR and between 2265fce and 88ec261.

📒 Files selected for processing (11)
  • src/renderer/src/components/native-chat/NativeChatMessageList.test.tsx
  • src/renderer/src/components/native-chat/NativeChatSubagentRun.test.tsx
  • src/renderer/src/components/native-chat/NativeChatToolRun.identity.test.tsx
  • src/renderer/src/components/native-chat/NativeChatToolRun.test.tsx
  • src/renderer/src/components/native-chat/NativeChatToolRun.tsx
  • src/renderer/src/components/native-chat/native-chat-tool-summary.ts
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json
  • src/shared/native-chat-tool-activity.ts
  • src/shared/native-chat-tool-summary.test.ts
  • src/shared/native-chat-tool-summary.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.

`flex-1` on the truncating member list made it claim the header's slack, so
`+N more` was pushed to the far right edge with a gap between it and the last
member it counts. Without it the span still shrinks and truncates — `min-w-0`
plus the default shrink is what drives the ellipsis, which is how the header
worked before this branch — and the count now sits directly after the list at
every width.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The latest commit stops the settled run header from stretching its member list full-width, so the trailing +N more / completion / chevron marks sit against the content rather than being pushed to the far edge.

  • flex-1 dropped from the member list and fallback spans — NativeChatToolRun.tsx removes flex-1 from the two truncating spans in the settled header (min-w-0 truncate), leaving the active-call header's flex-1 untouched. callCount×, the member list, and +N more are all shrink-0/min-w-0 siblings under gap-1.5, so the list still truncates on a narrow pane and left-packs on a wide one.

No behavior or test changes accompany this commit; the six prior assertions querying the run header and data-tool-run-member markers remain intact, and summarizeToolRun (and mobile's header) are untouched.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The new commit is a merge of origin/main into the branch (91f58a7), pulling in upstream changes from #19228 (compaction/plan/image notices) and #19398 (sidebar worktree reveal). The PR's own eleven files are byte-identical to the last-reviewed state (8b84b4e).

  • Clean merge — none of the upstream changes overlap the PR's reviewed code: NativeChatToolRun.tsx, native-chat-tool-summary.ts, and the test files are untouched by the merge.
  • No semantic interaction — the merged native-chat-types.ts additions (presentation, tone) extend NativeChatTextBlock, while the PR's toolRunSummaryMembers operates on tool-call blocks and reads mcpIdentity, which the merge does not change.
  • i18n is disjoint — the merge's en.json additions (native-chat.notices.*) are a sibling of the PR's native-chat.tool.moreCalls; no key collision or runtime-required change.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

brennanb2025 commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Screenshots — tool-run header at 91f58a706a

Captured in a dev Orca instance on this branch, native chat over a five-call run
(mcp__linear__list_issues, browser.open, tools/read, Grep, Bash), so the
header reads 5× with three glyph-led members and +2 more.

Collapsed run

The three members each lead with their own category glyph, and the whole list is one
truncating line.

pr19372-1-collapsed-full-window.png

pr19372-4a-header-closeup-wide.png

Expanded run

Member rows sit indented under the header, so the batch has a visible end.

pr19372-2-expanded-full-window.png

Collapsed run, narrow chat pane

Same run at a 1000px viewport (chat pane ~340px). The list still occupies one line —
it truncates as a whole rather than stacking, and +2 more survives outside the
truncating span, so the count of what is hidden is still legible.

pr19372-3-collapsed-narrow.png

pr19372-4b-header-closeup-narrow.png


The transcript is a seeded fixture in a dev build, not a real session — the ticket ids and file counts in the screenshots are demo content.

An `ml-3` margin marks the boundary on screen but is invisible to a copied
selection and to the button's accessible name, so the header read
`ls -latools/read`. Adds a space text node between members and trims the
margin to pay for its width. `+N more` also picks up the hover transition
every other header segment already had.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

The new commit (1caae61) fixes the run header's member boundaries so a copied selection and the button's accessible name actually separate members, instead of relying on a CSS margin that invisible text consumers cannot see.

  • Real whitespace between members — each member is now wrapped in a Fragment and preceded (after the first) by a literal space, so the header reads ls -la tools/read rather than ls -latools/read; the separator margin is trimmed ml-3 → ml-2 to pay for the added width.
  • Hover consistency — the +N more span gains the same transition-colors group-hover:text-foreground/80 treatment as its callCount× and member-list siblings.
  • New regression test — separates members with real whitespace, not only a margin pins the header's exact textContent, alongside a reformatted glyph assertion.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Merge gate — verdict at 1caae61f92

Review leg ran the standard template with fresh-context adversarial subagent passes (correctness/regression + ref-oss precedent in parallel, then a verification pass against the pushed head, which returned clean). It found and fixed one real regression, pushed as 1caae61f92.

The defect it caught

Members in the collapsed header were separated by an ml-3 margin and nothing else. A margin marks the boundary on screen but is invisible to a copied selection and to the button's accessible name, so the header serialized as:

5×mcp__linear__list_issues todoBash ls -latools/read README.md+2 more

That is a regression against the pre-PR behaviour, which put a copyable · between members. The in-member seam (name + argument) was already correct; this was the adjacent one, and the author missed it.

Fix: a literal space text node between members, with ml-3 trimmed to ml-2 to pay for its ~6.6px advance. Pinned by a test asserting the header's exact textContent. +N more also picked up the transition-colors group-hover treatment every other header segment already had.

Independently re-verified at 1caae61f92

Check Result
pnpm tc clean
pnpm test — native-chat + shared summary 114 files, 1221 tests passing
pnpm test — mobile/ 516 files, 4204 passing, 3 skipped
oxfmt --check, oxlint clean
verify:localization-catalog / -runtime-catalog / -extraction pass
Changed-code quality gate clean on all tracked files

summarizeToolRun equivalence holds by construction — same iteration, same name.trim() skip, same briefToolArg, same >= 3 break, and briefToolArg returns a string rather than null so the old and new falsy branches are identical. Mobile imports the same shared module and its suite is green.

Note for anyone reading the thread

The earlier "Review status: LAND" comment is pinned to 1e90644c6a. That SHA predates the redesign — it reviewed the filled-chip version that was scrapped after rendering, four commits ago. It does not apply to the current branch. This comment supersedes it.

Known, deliberate, and not fixed here

  • The header prints the raw mcp__linear__list_issues while the member row below prints the split Linear / list_issues. Reconciling them changes what a tool is called.
  • A url-only call still falls through to a JSON preview clipped at 28 chars (url is a PRIMARY_ARG_KEY but not a BRIEF_ARG_KEY); fixing it moves mobile's summary string too.
  • browser.open and tools/read both take the generic wrench, since the category resolver deliberately does not parse dot/slash names — so between those two, spacing rather than the glyph carries the boundary.

Each is a naming decision rather than a layout one, and each is pinned by test so it stays visible.

@brennanb2025
brennanb2025 merged commit c1e15c4 into main Sep 8, 2026
28 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.

1 participant