6 months ago
4ff42e4This addresses the new PR #83 mobile regression where ui_surface feed items reached ThreadFeedItem before the mobile feed row renderer understood that variant. The mobile thread feed now routes ui_surface entries into the existing A2uiSurfaceCard instead of falling through the log/error/system chrome path. A focused Bun regression test locks that branch selection in place. Constraint: Mobile A2UI feed items must not crash the thread view when workspace A2UI is enabled Rejected: Drop ui_surface items from the mobile feed again | loses parity with the projected session snapshot and hides live A2UI state from mobile Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep mobile snapshotReducer, protocol types, and ThreadFeedItem rendering in sync whenever new feed item kinds are added Tested: bun test test/mobile.thread-feed-item.test.tsx test/a2ui/mobileReducer.test.ts test/mobile.jsonrpc-client.test.ts; bun run typecheck; apps/mobile bunx tsc --noEmit Not-tested: GitHub Actions on the new commit
Parent654383e