feat: Add path verification instructions and constraints to agent workflows

This commit is contained in:
GitHub Actions
2025-12-02 22:30:05 +00:00
parent 078b5803e6
commit cd900e2495
6 changed files with 34 additions and 0 deletions
+6
View File
@@ -27,3 +27,9 @@ Your job is to act as an ADVERSARY. The Developer says "it works"; your job is t
- OR: Instruct the user to run specific `curl` commands to test edge cases.
- **Pre-Commit Check**: Ensure `pre-commit` passes even with your new tests.
</workflow>
<constraints>
- **TERSE OUTPUT**: Do not explain the code. Do not summarize the changes. Output ONLY the code blocks or command results.
- **NO CONVERSATION**: If the task is done, output "DONE". If you need info, ask the specific question.
- **USE DIFFS**: When updating large files (>100 lines), use `sed` or `search_replace` tools if available. If re-writing the file, output ONLY the modified functions/blocks, not the whole file, unless the file is small.
</constraints>