agent-orchestrator/packages
Jayesh Sharma 1194697b3b
fix: skip PR auto-detection for orchestrator sessions (#442)
* fix: skip PR auto-detection for orchestrator sessions

Orchestrator sessions sit on the base branch (e.g. master) and should
never own a PR. When the lifecycle worker ran detectPR for these
sessions, any PR whose head branch matched master (e.g. a master->prod
deploy PR) would get incorrectly attached and keep re-attaching after
manual cleanup.

Add a role=orchestrator check to the PR auto-detection guard so
orchestrator sessions are skipped entirely.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add session ID suffix fallback for orchestrator PR auto-detection skip

Pre-existing orchestrator sessions spawned before the role metadata field
was added lack role=orchestrator. Mirror the session-manager pattern by
also checking session.id.endsWith("-orchestrator") as a fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 14:46:39 +05:30
..
agent-orchestrator feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
cli fix: separate orchestrators from worker status output 2026-03-11 23:33:25 +05:30
core fix: skip PR auto-detection for orchestrator sessions (#442) 2026-03-12 14:46:39 +05:30
integration-tests fix: make opencode bootstrap exit before attach (#427) 2026-03-11 20:02:15 +05:30
mobile fix: enable cleartext traffic on Android for local/Tailscale HTTP 2026-03-03 05:17:03 +05:30
plugins fix: make opencode bootstrap exit before attach (#427) 2026-03-11 20:02:15 +05:30
web feat: add dedicated all-projects portfolio view 2026-03-12 05:13:21 +05:30