You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ACP history import drops literal monitor-event text #37544
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Use a load-capable ACP agent with a native conversation containing the user message Explain <monitor-event> XML.
Import that native conversation into T3 Code.
Read the imported thread history. A deterministic protocol reproduction extends the existing replays history in order, with stable earlier snapshots test in apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts with that user chunk.
Expected behavior
The imported thread preserves the user's literal text and assistant replies that mention monitor markup, while synthetic monitor chatter stays filtered.
Actual behavior
Chunks containing <monitor-event anywhere are classified as synthetic monitor chatter and omitted. A split message can lose the matching chunk while retaining later chunks, corrupting the imported text. The same broad classification also rejects post-settle assistant replies as continuation evidence.
Native ACP history import from load-capable agents; reproduced with the ACP protocol fixture on Linux. The import path is shared by clients.
Logs or stack traces
The fresh-main snapshot contained user:XML instead of user:Explain <monitor-event> XML; a separate assistant message quoting the tag was absent entirely.
Screenshots, recordings, or supporting files
Found in the Pi and ACP hunt and independently confirmed by Claude Opus 5.5 before implementation. The focused protocol tests reproduce the loss without a paid provider call.
Workaround
Avoid literal monitor markup when importing native histories.
Activity