Render dynamic agent instructions with Frappe's sandboxed renderer
instead of a raw Jinja template. Mark the admin-only render_template
calls and the link-preview commit as reviewed with nosemgrep, and pass
str(e) to the translated OpenAI error.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>