Clean up auto branch rename settings (#3378)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson
2026-05-30 12:44:04 -07:00
committed by GitHub
co-authored by Orca
parent 4ea2eae432
commit e4ac0df51d
22 changed files with 816 additions and 327 deletions
+3 -3
View File
@@ -17,10 +17,10 @@ describe('buildCommitMessagePrompt', () => {
expect(prompt).toContain('Staged patch:\n```diff')
expect(prompt).toContain('+hello')
expect(prompt).toContain('Use only the staged changes below as context.')
expect(prompt).not.toContain('Additional instructions from user:')
expect(prompt).not.toContain('Additional user prompt:')
})
it('keeps custom instructions in a separate bounded section', () => {
it('keeps a custom prompt in a separate bounded section', () => {
const prompt = buildCommitMessagePrompt(
{
branch: null,
@@ -31,7 +31,7 @@ describe('buildCommitMessagePrompt', () => {
)
expect(prompt).toContain('Branch: (detached)')
expect(prompt).toContain('Additional instructions from user:\nUse Conventional Commits.')
expect(prompt).toContain('Additional user prompt:\nUse Conventional Commits.')
})
})