Skip to content

ci: default Prime Agent tickets to Research - #1966

Merged
snimu merged 2 commits into
mainfrom
res-1241-linear-research-default
Sep 2, 2026
Merged

snimu merged 2 commits into
mainfrom
res-1241-linear-research-default

Conversation

@sethkarten

@sethkarten sethkarten commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Context

Prime Agent work now belongs in the Research team's Prime Agent: Long-Horizon research project, but the GitHub Linear check only recognizes bare ENG-* IDs and its examples direct contributors to Engineering.

Linear: https://linear.app/primeintellect/issue/RES-1241/default-prime-agent-pull-requests-to-research-linear-tickets

Changes

  • Accept only RES-* ticket references in PR titles, descriptions, branch names, and Linear issue URLs.
  • Use RES-1234 and res-1234 in failure guidance.
  • Restore the explicit No-Ticket: <short reason> opt-out.
  • Point new Prime Agent work to Research and Prime Agent: Long-Horizon research in the workflow and PR template.

This validates the Research ticket prefix and updates the default guidance. GitHub Actions cannot verify Linear project membership without a Linear API secret.

Validation

  • Parsed .github/workflows/linear-ticket.yml as YAML.
  • Tested bare and linked RES-* tickets, rejected ENG-* tickets, valid opt-outs, malformed opt-outs, and missing-ticket cases with Node.js.
  • Ran git diff --check origin/main...HEAD.

Note

Low Risk
Documentation and PR-check regex/message changes only; no runtime product or auth logic.

Overview
Updates the Linear ticket GitHub Action and PR template so Prime Agent work is steered toward Research (RES-*) tickets and the Prime Agent: Long-Horizon research project, while still accepting legacy ENG-* IDs.

The workflow regex now matches bare res- / eng- prefixes (plus existing Linear URLs). Failure text and template comments use RES-1234 / res-1234 examples and Research project guidance instead of Engineering-only wording.

Reviewed by Cursor Bugbot for commit 1101062. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Require 'RES-' ticket prefix for Prime Agent PRs and add opt-out

  • Updates linear-ticket.yml to only accept res-<num> tickets or linear.app links, dropping support for eng-<num> or other prefixes
  • Introduces a No-Ticket: line check in the PR body to explicitly bypass the Linear ticket requirement
  • Updates PULL_REQUEST_TEMPLATE.md with instructions for the Research team and Prime Agent: Long-Horizon project
  • Behavioral Change: The CI check now fails for ENG- or other non-RES prefixes unless a No-Ticket: line is present
📊 Macroscope summarized e01a7b4. 2 files reviewed, 1 issue evaluated, 0 issues filtered, 1 comment posted

🗂️ Filtered Issues

Comment thread .github/workflows/linear-ticket.yml

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e01a7b4. Configure here.

Comment thread .github/workflows/linear-ticket.yml
@snimu
snimu merged commit 408e749 into main Sep 2, 2026
25 checks passed
@snimu
snimu deleted the res-1241-linear-research-default branch September 2, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants