<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Adds an issue triage workflow and upgrades the duplicate-detection
workflow to a newer Anthropic model.
>
> - **CI Workflows**:
> - **New `triage-issues.yml`**:
> - Runs on new issues; installs `opencode` and labels non-English
(`issue/lang`) and incomplete (`issue/incomplete`) reports, posting
guidance comments.
> - **`duplicate-issues.yml`**:
> - Updates `opencode` model to `anthropic/claude-sonnet-4-5-20250929`
for duplicate detection.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
11a89c6cfec1691c68837d599b8e3fc6888df09e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Switches the duplicate-issues GitHub Action from
anthropic/claude-sonnet-4-20250514 to openai/gpt-5 to reduce cost.
Updates the workflow to use OPENAI_API_KEY instead of ANTHROPIC_API_KEY.
<!-- End of auto-generated description by cubic. -->
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
Adds a GitHub Action to detect and comment on potential duplicate issues
when a new issue is opened. This reduces triage time and keeps issue
lists clean.
- **New Features**
- Adds .github/workflows/duplicate-issues.yml triggered on issues:
opened.
- Uses opencode with Anthropic Claude Sonnet 4 to scan existing issues
and comment with links if duplicates are likely; stays silent otherwise.
- Runs with minimal permissions; allows gh issue commands and denies
webfetch.
- **Migration**
- Create the ai-bots environment and add the ANTHROPIC_API_KEY secret
(GITHUB_TOKEN is provided by GitHub).
<!-- End of auto-generated description by cubic. -->