GenAI.Approval.Live.RunView (GenAI Approval v0.1.0)

Copy Markdown View Source

Phoenix LiveView reference UI for an approval run (PRD R7.1).

Mount with the run id in the session:

live_render(conn, GenAI.Approval.Live.RunView, session: %{"run_id" => run_id})

Renders the shared GenAI.Approval.Render model: syntax-highlighted source with a breakpoint gutter, taken/untaken branch dimming, the step list, the permission prompt (approve / allow / block × scope), and the navbar (step · next · run all · retry/skip · halt + reason). All script and operator content is HEEx-interpolated, so it renders escaped (S9).