Encode promptId with encodeURIComponent when building the URL to prevent path traversal or routing issues with non-UUID values. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>