Skip to content

fix(web): the outbound agent-message card is retired - #528

Merged
Jacksondr5 merged 1 commit into
j5/mainfrom
j5/outbound-send-card
Oct 10, 2026
Merged

Jacksondr5 merged 1 commit into
j5/mainfrom
j5/outbound-send-card

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Problem

A thread's own sends were meant to show as a card (receiver, body, "Awaiting reply" or "Replied"), but have shown as upstream's generic tool row since J5 moved to the V2 orchestrator. Upstream's server trims every tool call before it reaches the client (projectTurnItemForWire): the output is reduced to a few ids and the input is summarized, so the card's gate never had the Exchange state or the message body, on Codex or Claude. Closes #522.

What changed

The card is retired (Jackson's decision on #522, over drawing a smaller card or exempting sends from upstream's trimming).

  • renderThreadA2AOutboundTool, its presenter and SentMessageCard are removed from apps/web/src/j5/a2a/ThreadA2ARenderer.tsx, with their tests.
  • The feature definition says a sent message gets no card in the sender's thread (AC6); the message is still a card in the receiver's thread.

Received cards, inbox replies and silence notices are untouched.

UI changes

Nothing visible changes: the card never rendered, so the send is the same generic row before and after. Both captures are a Claude send in a copy of real data, dark theme, with the turn and its group of work rows opened; the send is the last row.

Before (j5/main) After
The send as a generic tool row on j5/main The same generic tool row on this branch

A Codex send was checked in the browser on j5/main and shows the same generic row; it is not pictured because the only Codex sends in the copy are in a private project. Mobile never had this card.

Upstream impact

  • apps/web/src/components/chat/MessagesTimeline.tsx: both delegations to the card are removed, so WorkEntryLogRow and the work-live branch are upstream's code again. FORK.md case 14 is retired.
  • apps/web/src/components/chat/MessagesTimeline.test.tsx: the card's test and its tooltip harness are removed; only the branding assertions still differ from upstream (case B).

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior (backend changes ship with focused tests). A removal: the card's tests go with it, and the timeline and card suites pass.
  • UI changes: before/after screenshots above, and a video for motion or interaction
  • Upstream-owned files: each one is recorded in FORK.md (case text and file-table row) in this PR
  • Upstream product: any change to what upstream's product does has a human decision linked above and a register entry in docs/j5/product/upstream.md. None: this returns two seams to upstream's behavior.
  • Surfaces: entry points, clients, providers, contracts, reverse states, connection modes (see AGENTS.md). Web only; desktop wraps it; mobile had no card. Codex and Claude both affected the same way.
  • Docs: definitions under docs/j5/product/ and user docs rewritten where this changes them

Claude Opus 5.5, Claude Code.

🤖 Generated with Claude Code

A thread's own sends were meant to show as a card but had shown as upstream's generic tool row
since J5 moved to the V2 orchestrator: the server trims a tool call's input and output before it
reaches the client, so the card never had the message body or the Exchange state. The card, its
two hooks in MessagesTimeline.tsx and its tests are removed (FORK.md case 14 retired).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Oct 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Oct 10, 2026 11:07pm UTC

Request Review

@Jacksondr5
Jacksondr5 marked this pull request as ready for review October 10, 2026 23:07
@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 205004c1-82a3-4401-a1fb-ac318f50a164

📥 Commits

Reviewing files that changed from the base of the PR and between 553119c and 9e54d34.


📒 Files selected for processing (6)
  • FORK.md
  • apps/web/src/components/chat/MessagesTimeline.test.tsx
  • apps/web/src/components/chat/MessagesTimeline.tsx
  • apps/web/src/j5/a2a/ThreadA2ARenderer.test.tsx
  • apps/web/src/j5/a2a/ThreadA2ARenderer.tsx
  • docs/j5/product/features/thread-a2a-rendering.md

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.



📝 Walkthrough

Walkthrough

The outbound A2A card renderer and its timeline integration were removed. Live and settled work entries now use the standard timeline rendering paths. Related tests, product documentation, and the integration inventory were updated.

Changes

Outbound A2A rendering

Layer / File(s) Summary
Remove outbound card rendering
apps/web/src/j5/a2a/ThreadA2ARenderer.tsx, apps/web/src/components/chat/MessagesTimeline.tsx, apps/web/src/j5/a2a/ThreadA2ARenderer.test.tsx, apps/web/src/components/chat/MessagesTimeline.test.tsx, docs/j5/product/features/thread-a2a-rendering.md, FORK.md
The outbound card presenter, renderer, and timeline hooks were removed. Live and settled work entries use the standard rendering paths. Tests for outbound cards and peer-send rendering were removed. The feature documentation and integration inventory now describe sent messages as upstream tool calls.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix · Severity of issue fixed: Low


Merge Risk: ⚪ Minimal · up to 9e54d

Sent messages now appear as ordinary tool calls in the sender’s thread. No actionable merge-blocking risk remains after normal checks.

Pre-merge checks | Passed 3 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check Warning Issue #522 requires reproducing the stored send on Codex and Claude, locating the lost output shape, rendering the outbound card from stored data, and adding a test from a recorded work entry. This PR… Implement the #522 requirements: preserve or use the stored send data to render the outbound card, add recorded-work-entry coverage, and include the required Codex and Claude reproduction and shape-loss evidence.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the primary change: retiring the outbound agent-message card in the web application.
Description check Passed The description is complete and follows the repository template. It explains the problem, implementation, UI evidence, upstream impact, testing, affected surfaces, documentation changes, issue link, a…
Out of Scope Changes check Passed The changed renderer, timeline delegation, tests, feature definition, and FORK.md entry all concern the outbound send card described by issue #522. The documentation and test removals support the sele…

Full details: Linked Issues check

Explanation

Issue #522 requires reproducing the stored send on Codex and Claude, locating the lost output shape, rendering the outbound card from stored data, and adding a test from a recorded work entry. This PR retires the card instead. It removes the outbound renderer and its tests, and changes AC6 to require an upstream tool row. The feature-definition diff records that decision, but it does not satisfy the linked issue's stated implementation requirements.


  • Fix all pre-merge checks with AI
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@Jacksondr5
Jacksondr5 merged commit 4fe4b6f into j5/main Oct 10, 2026
43 checks passed
@Jacksondr5
Jacksondr5 deleted the j5/outbound-send-card branch October 10, 2026 23:20

This branch was successfully deployed

1 active deployment
Preview — 9e54d34f Deployed Oct 10, 2026 by vercel[bot]
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.

The outbound send_message card does not render in the web timeline for stored sends

1 participant