auto-claude: 200-bug-changelog-and-release-generation (#1729)

* auto-claude: subtask-1-1 - Add anti-questioning directive to buildChangelogPrompt

* fix: add anti-questioning directive to buildGitPrompt (qa-requested)

Complete the implementation by adding the anti-questioning directive
to buildGitPrompt() function. This was already added to buildChangelogPrompt()
but was missed for buildGitPrompt().

Fixes changelog generation for git-history and branch-diff modes.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Andy
2026-02-06 18:21:50 +01:00
committed by GitHub
parent ac4fe4f423
commit 826583b826
@@ -196,7 +196,9 @@ ${taskSummaries}
${request.customInstructions ? `Note: ${request.customInstructions}` : ''}
CRITICAL: Output ONLY the raw changelog content. Do NOT include ANY introductory text, analysis, or explanation. Start directly with the changelog heading (## or #). No "Here's the changelog" or similar phrases.`;
CRITICAL: Output ONLY the raw changelog content. Do NOT include ANY introductory text, analysis, or explanation. Start directly with the changelog heading (## or #). No "Here's the changelog" or similar phrases.
DO NOT ask questions or request clarifications. Work with the information provided and make reasonable assumptions if needed. Generate the changelog immediately based on the completed tasks listed above.`;
}
/**
@@ -313,7 +315,9 @@ ${commitLines}
${request.customInstructions ? `Note: ${request.customInstructions}` : ''}
CRITICAL: Output ONLY the raw changelog content. Do NOT include ANY introductory text, analysis, or explanation. Start directly with the changelog heading (## or #). No "Here's the changelog" or similar phrases. Intelligently group and summarize related commits - don't just list each commit individually. Only include sections that have actual changes.`;
CRITICAL: Output ONLY the raw changelog content. Do NOT include ANY introductory text, analysis, or explanation. Start directly with the changelog heading (## or #). No "Here's the changelog" or similar phrases. Intelligently group and summarize related commits - don't just list each commit individually. Only include sections that have actual changes.
DO NOT ask questions or request clarifications. Work with the information provided and make reasonable assumptions if needed. Generate the changelog immediately based on the git commits listed above.`;
}
/**