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
fix(workspace): Reports tab shows raw JSON to clients — reuse the display_hint renderers #2162
The Workspace agent page's Reports tab renders raw JSON to external clients. The Workspace is a client-facing surface — a report must always render in a human-readable form; a JSON blob is never an acceptable presentation there.
Context
The Agent Detail surface already has the full renderer set for reports (#918/#1535): src/frontend/src/components/reports/ picks a renderer by display_hint → report_type prefix → fallback. The Workspace agent page (ent#360) fetches report metadata/detail through src/backend/client_portal/agent_page.py::reports / report_detail but does not reuse those renderers, so payloads land as raw JSON.
Acceptance Criteria
The Workspace Reports tab renders reports through the shared components/reports/ renderer set (display_hint → report_type prefix → fallback), same behavior as Agent Detail
The fallback for an unknown/malformed payload is a human-readable presentation (e.g. titled key-value summary), never a raw JSON dump — stricter than Agent Detail's JSON-viewer fallback, because the audience is an external client
Activity
fix(workspace): Reports tab renders through the shared display_hint r…
feat(workspace): deliverables — reports gain an audience and a place …
feat(workspace): deliverables — reports gain an audience and a place …
fix(reports): the five review findings on ent#365, which merged befor…