agent-orchestrator/packages/plugins
i-trytoohard 9510863184 fix(scm-github): drop fork PRs and default-branch sessions from detectPR
`gh pr list --head <branch>` matches PRs across all forks, so when a
session's branch is the project default (typically "main") we'd match
unrelated contributors' fork PRs. Two defenses:

1. Short-circuit when session.branch === project.defaultBranch — a worker
   session should never legitimately have its head ref on the default
   branch, and matching there is unsafe by construction.
2. Request `headRepositoryOwner` from gh and discard PRs whose head owner
   differs from the project repo owner. Fork PRs are someone else's work.

Refs #1724.
2026-05-08 02:51:42 +05:30
..
agent-aider chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
agent-claude-code chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
agent-codex chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
agent-cursor chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
agent-kimicode chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
agent-opencode chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-composio chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-desktop chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-discord chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-openclaw chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-slack chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
notifier-webhook chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
runtime-process chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
runtime-tmux chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
scm-github fix(scm-github): drop fork PRs and default-branch sessions from detectPR 2026-05-08 02:51:42 +05:30
scm-gitlab chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
terminal-iterm2 chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
terminal-web chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
tracker-github chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
tracker-gitlab chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
tracker-linear chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
workspace-clone chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
workspace-worktree chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30