From 4c89cb1a65dc244f4083db58101a3b1ad1c75372 Mon Sep 17 00:00:00 2001 From: Vitalii Mishchenko Date: Wed, 3 Jun 2026 10:34:06 -0700 Subject: [PATCH] Enforce plain PR title format without ticket numbers Adds explicit constraint to PR title generation prompt to exclude ticket IDs and references from tracking systems. Ensures PR titles remain focused on change description rather than metadata. --- src/draft/steps/open_pr/open_pr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draft/steps/open_pr/open_pr.md b/src/draft/steps/open_pr/open_pr.md index a64f3c1..b99999e 100644 --- a/src/draft/steps/open_pr/open_pr.md +++ b/src/draft/steps/open_pr/open_pr.md @@ -20,7 +20,7 @@ You are writing a GitHub Pull Request title and description. Do not run any shel {{GIT_LOG}} ``` -Write a concise title (one line) and a body that follows the PR body template structure above. +Write a concise title (one line) and a body that follows the PR body template structure above. The PR title must be a plain description of the change — do not include any ticket numbers, issue IDs, or references from Jira or similar tracking systems. Output contract. Your stdout is parsed by `open-pr`. Output exactly two fenced blocks, in this order, with the opening and closing markers on their own lines: