Tenant-scoped read model for reviewer dashboard pages.
Use this module when a Scoria dashboard page needs reviewer-ready maps for
live runs, approvals, review candidates, connectors, incidents, and trace
evidence. The caller supplies the tenant scope that ScoriaWeb.DashboardScope
already resolved from the host-authenticated dashboard boundary.
Route params and query values may select runs, traces, incidents, review candidates, and connectors after mount, but they never establish tenant authority. Functions are pure reads: they take a tenant, trace, or run scope and return plain maps ready for rendering.
Read guides/reviewer-verification.md for dashboard proof workflows and
guides/ownership-boundary.md for the host-owned authentication and tenant
membership boundary.
Summary
Functions
Compact badge assigns merged onto a trace row when evidence is loaded.
Tenant-scoped incident lookup for routed incident detail pages.
Tenant-scoped review candidate projection for workflow detail deep links.
Tenant-scoped workflow detail lookup for routed workflow pages.
Newest tenant incident linked to a workflow run, used for legacy ?from=run links.
All incidents for a tenant, newest first — the /incidents triage list.
Recent workflow runs for a tenant, newest first — the /workflows list.
Runtime posture rows for a tenant, annotated with live presence status.
Functions
Compact badge assigns merged onto a trace row when evidence is loaded.
Tenant-scoped incident lookup for routed incident detail pages.
Tenant-scoped review candidate projection for workflow detail deep links.
Tenant-scoped workflow detail lookup for routed workflow pages.
Newest tenant incident linked to a workflow run, used for legacy ?from=run links.
All incidents for a tenant, newest first — the /incidents triage list.
Recent workflow runs for a tenant, newest first — the /workflows list.
Runtime posture rows for a tenant, annotated with live presence status.