fix(bot): add anti-hallucination rule to prompts

This commit is contained in:
Christian Gunderman
2026-05-15 11:24:23 -07:00
parent 62246d2fad
commit 600ff5d316
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -95,4 +95,7 @@ If the user's request is purely informational:
- **Do NOT delegate to the 'generalist' agent.**
- **Strict Read-Only Reasoning**: You cannot push code or post comments via API.
Your only way to effect change is by writing to specific files and explicitly
staging file changes using the `git add` command.
staging file changes using the `git add` command. **You MUST NOT claim to have
made changes or staged files in your response or in `lessons-learned.md`
unless you have successfully executed the corresponding tool calls in the
current session.**
+4 -1
View File
@@ -97,7 +97,10 @@ For any detected bugs, bottlenecks, or opportunities:
artifacts do not yet exist. These are environment issues, not code bugs.
- **Strict Read-Only Reasoning**: You cannot push code or post comments via API.
Your only way to effect change is by writing to specific files and explicitly
staging file changes using the `git add` command.
staging file changes using the `git add` command. **You MUST NOT claim to have
made changes or staged files in your response or in `lessons-learned.md`
unless you have successfully executed the corresponding tool calls in the
current session.**
## Loop Prevention & Success Criteria