Skip to content

GEN-2114: Preserve plain text in rendered agent prompts - #180

Merged
exe-dev-github-integration[bot] merged 1 commit into
mainfrom
fix/gen-2114-plain-text-prompts
Sep 18, 2026
Merged

exe-dev-github-integration[bot] merged 1 commit into
mainfrom
fix/gen-2114-plain-text-prompts

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Mustache's default HTML escaping changed a manual task URL into https://... before encrypting and persisting the prompt. Job prompts, run-name templates, and custom Linear prompt templates now use a per-render plain-text escape function, preserving URLs, JSON, Markdown, and code. UI HTML escaping and Mustache's global defaults remain intact.

Regression tests cover double/triple-brace substitutions, conditionals, literal entities, custom Linear templates, and the encrypted/persisted manual prompt. Documents the plain-text contract; existing stored prompts are unchanged.

Validation: npm run build:css, npm run check (151 tests, API boundary checks, workspace TypeScript checks, app and Tail relay Worker dry runs), and git diff --check passed.

Fixes GEN-2114.

@github-actions
github-actions Bot enabled auto-merge September 18, 2026 22:09
@linear

linear Bot commented Sep 18, 2026

Copy link
Copy Markdown

GEN-2114

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit 8c0c716 Sep 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant