You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/07/06 07:41:10 UTC
Re: [PR] Add merge procedure rules and anti-hallucination safeguards for AI agents [camel]
gnodet commented on PR #24431:
URL: https://github.com/apache/camel/pull/24431#issuecomment-4890290017
Good catch @oscerd — the agent hallucinated `@essobedo` instead of looking up the actual operator programmatically. The latest push adds explicit anti-hallucination rules to prevent this:
- **Attribution section**: agents must now use `gh api /user --jq '.login'` to determine the operator's username
- **Merge Procedure step 3**: agents must now use `gh pr view <PR> --json author --jq '.author.login'` to get the PR author
- If either lookup fails, the name must be omitted rather than guessed
The PR description has also been corrected.
_Claude Code on behalf of @gnodet_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org