What problem does it solve?
Managing pull requests in the Open Mercato repository requires repo-specific rules—label taxonomy, QA approval gates, diff-scope classification, and permission-aware claiming—that a generic PR automation skill cannot know. This extension layers those rules onto the shared om-pr-autopilot skill so automated PR triage, review, and merge decisions follow this repository's exact conventions.
Core Features & Use Cases
- Diff-scope classification: Categorizes PR changes as spec-only, docs-only, UI-touching, migration/schema, or contract-surface, driving risk levels and review depth.
- Label taxonomy and QA gate enforcement: Applies the repo's label rules, blocks merges when
needs-qa lacks qa-approved, and treats qa-failed, blocked, and do-not-merge as hard stops.
- Permission-aware claiming: Handles triage-permission 403 errors gracefully for outside-contributor accounts, degrading the claim to a comment and reporting intended labels to maintainers.
- Use Case: An AI agent triaging an incoming PR classifies its diff as UI-touching, applies
needs-qa, refuses to merge until qa-approved appears, and—if running as a contributor without triage rights—records the intended labels in a summary comment instead of failing.
Quick Start
Ask the agent to run the PR autopilot workflow on an open pull request in this repository, applying the Open Mercato label and QA gate rules.