Skip to content

feat: Enhances prompt context handling and prevent hallucinations#29

Merged
ezhang6811 merged 2 commits intoaws-actions:mainfrom
mxiamxia:enh-prompt
Dec 4, 2025
Merged

feat: Enhances prompt context handling and prevent hallucinations#29
ezhang6811 merged 2 commits intoaws-actions:mainfrom
mxiamxia:enh-prompt

Conversation

@mxiamxia
Copy link
Copy Markdown
Contributor

@mxiamxia mxiamxia commented Dec 4, 2025

Description of changes:

  • src/config/mcp-config.js - Expanded MCP tool allowlist and simplified file operation patterns
  • src/init.js - Added debug logging and explicit failure messaging for permission checks
  • src/post-result.js - Added debug logging for comment body content
  • src/prompt-builder.js - Separated issue/PR body from trigger comment and strengthened PR creation rules

Test

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811
Copy link
Copy Markdown
Contributor

LGTM, will do some spot checks with previously failing cases and approve if response improves.

@ezhang6811 ezhang6811 merged commit 8834231 into aws-actions:main Dec 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants