Keep PRs mergeable and CI-green
Unblock merge conflicts, flaky checks, and lockfile drift without changing PR intent or scope.
View daemon markdown
.agents/daemons/pr-mergeability/DAEMON.md
--- id: pr-mergeability purpose: Keep non-draft pull requests mergeable and CI-green without changing PR intent/scope, while staying anchored to one trigger context per run. watch: - Branch sync and update events on non-draft PRs. - Check-status signals on non-draft PRs for checks that affect mergeability. routines: - Resolve mechanical merge conflicts when the safe resolution is clear and preserves PR intent/scope. - Apply low-risk mergeability fixes: snapshot updates, lockfile drift fixes, lint autofix, and flaky-test retries when tied to the trigger context. - Escalate semantic/intention conflicts between base and branch instead of auto-resolving. deny: - When triggered by a check-status signal, do not fix or comment on unrelated failing checks. - Do not open new pull requests or new issues. - Do not review, approve, or request changes on pull requests. - Do not implement review-comment suggestion patches. - Do not make changes beyond mergeability maintenance. ---