Skip to content

feat: delegate issue triage to subject agents - #584

Draft
neubig wants to merge 2 commits into
mainfrom
factory/triage-subject-turns
Draft

feat: delegate issue triage to subject agents#584
neubig wants to merge 2 commits into
mainfrom
factory/triage-subject-turns

Conversation

@neubig

@neubig neubig commented Sep 14, 2026

Copy link
Copy Markdown
Member

Why

The existing issue-triage extension attaches its scanner to a conversation and runs the scanner inside that agent runtime. Scanning and deduplication are deterministic automation work; only the selected issue needs an agent and a Docker runtime.

Summary

Keep github-issue-triage as a lightweight scheduled scanner. For every changed eligible issue, it submits an idempotent subject turn keyed by GitHub's immutable repository ID and the issue number. The delegated agent uses the selected profile to publish a readable triage comment, priority, and ready-for-dev label directly on GitHub.

The extension no longer imports the SDK or handles Agent Server URLs, session keys, workspaces, conversations, result artifacts, or runtime lifecycle. Those responsibilities are provided once by the Automation service.

Issue Number

Closes #583

How to Test

  • 3 focused triage selection, deduplication, and capability-token tests pass.
  • 216 triage, catalog, and setup tests pass with 18 expected skips.
  • Ruff and generated catalog checks pass.
  • Live Agent Canvas evidence is pending before this draft is marked ready.

Dependencies

This is an independent main-based PR. Its runtime behavior requires OpenHands/automation#468. Profile-scoped credentials require OpenHands/automation#466 and OpenHands/software-agent-sdk#5046; the delegated Docker agent uses the profile/runtime boundary from OpenHands/software-agent-sdk#5017 and #3403.

Co-authored-by: openhands <openhands@all-hands.dev>
@github-actions github-actions Bot added the type: feat A new feature label Sep 14, 2026
Co-authored-by: openhands <openhands@all-hands.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delegate GitHub issue triage through automation subject turns

2 participants