fix: dev-poll pre-lock merge scan should only merge own PRs #374
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
dev/dev-poll.sh pre-lock merge scan merges any approved+green PR regardless of who created it. With two dev agents (dev-bot, dev-qwen), each agent merges the other's PRs. This causes:
Fix
In the pre-lock merge scan, resolve the current agent identity and only merge PRs where the issue is assigned to this agent:
The identity resolution should happen once at the start of dev-poll (cache $me), not per-PR.
Affected files
Acceptance criteria