Commit Graph

7 Commits

Author SHA1 Message Date
Will Chen
bc79a3f079 Speculative: use sonnet 4 for triage bots (#1419)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> <sup>[Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) is
generating a summary for commit
13f4cb7d6c59816719a09ae68572e489b05d4820. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-09-30 23:02:33 -07:00
Will Chen
aa6a0649bc Triage bot (#1417)
<!-- 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 -->
2025-09-30 22:41:02 -07:00
Will Chen
86cc50c50c Switch back to anthropic (#1135) 2025-08-29 21:35:09 -07:00
Will Chen
acda9e2e5b gh prompt v2 (#1133) 2025-08-29 21:29:59 -07:00
Will Chen
227d7340bf improve prompt (#1131) 2025-08-29 21:26:38 -07:00
Will Chen
45ff05c7fc Switch to OpenAI GPT-5 bot (cheaper) (#1129)
<!-- 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. -->
2025-08-29 21:17:35 -07:00
Will Chen
c6342350b4 Add dupe issue bot (#1120)
<!-- 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. -->
2025-08-28 22:07:45 -07:00