diff --git a/apps/agent/agent/prompt.py b/apps/agent/agent/prompt.py index 5b3f1286..535b93a4 100644 --- a/apps/agent/agent/prompt.py +++ b/apps/agent/agent/prompt.py @@ -64,7 +64,7 @@ When you have completed your implementation, follow these steps in order: **Commit message**: Should be concise and focus on the "why" rather than the "what". If not provided, the PR title is used. - + Always call `commit_and_open_pr` as the final step once your implementation is complete and code quality checks pass. diff --git a/apps/agent/agent/tools/commit_and_open_pr.py b/apps/agent/agent/tools/commit_and_open_pr.py index 87182a9e..c29078c1 100644 --- a/apps/agent/agent/tools/commit_and_open_pr.py +++ b/apps/agent/agent/tools/commit_and_open_pr.py @@ -22,7 +22,9 @@ def commit_and_open_pr( The PR title MUST follow this exact format: - : [closes -] + : [closes -] + + The description MUST be entirely lowercase (no capital letters). Where is one of: - fix: for bug fixes