Feature Builder and Bug Fixer automations have two triggers that can fire near-simultaneously: a PULL_REQUEST_EVENT_MERGED webhook and a */10 * * * * cron. When a PR merges close to a cron tick, both triggers spawn separate agent instances, producing duplicate PRs for the same issue.
Observed duplicates:
Fix: Remove the webhook trigger. The cron is sufficient — work is picked up within 10 minutes.
Feature Builder and Bug Fixer automations have two triggers that can fire near-simultaneously: a
PULL_REQUEST_EVENT_MERGEDwebhook and a*/10 * * * *cron. When a PR merges close to a cron tick, both triggers spawn separate agent instances, producing duplicate PRs for the same issue.Observed duplicates:
Fix: Remove the webhook trigger. The cron is sufficient — work is picked up within 10 minutes.