-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
agent-memoryContext persistence agentContext persistence agentarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact
Description
Summary
The repository only allows squash merges, but this is not documented in the skill documentation or agent instructions.
Issue Encountered
When attempting to enable auto-merge with --merge:
gh pr merge 625 --auto --merge --delete-branch
# Error: Merge method merge commits are not allowed on this repositoryHad to retry with --squash:
gh pr merge 625 --auto --squash --delete-branch
# SuccessImpact
- Agents waste tokens on failed merge attempts
- Skills like
Merge-PR.ps1default to merge strategy
Suggested Fixes
- Update Merge-PR.ps1 default: Change default strategy from "merge" to "squash"
- Add documentation: Note in AGENTS.md that squash is the only allowed merge method
- Add skill memory: Create Serena memory documenting this constraint
Files to Update
.claude/skills/github/scripts/pr/Merge-PR.ps1- Change defaultAGENTS.md- Add merge policy documentation.serena/memories/github-merge-policy.md- Create new memory
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-memoryContext persistence agentContext persistence agentarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact