Repository navigation
fix(cli): let the Cursor adapter explain the agent-only user scope - #980
Conversation
The generic CLI branched on the Cursor client identity to hint at --scope project, which the client-identity budget rejects and which turned Required red on main. The Cursor detector now supplies the hint and the CLI only shows it.
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
selectExplicitClient no longer takes the scope it stopped using.
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #980 +/- ##
==========================================
+ Coverage 63.09% 63.14% +0.05%
==========================================
Files 2254 2264 +10
Lines 135180 135721 +541
==========================================
+ Hits 85294 85704 +410
- Misses 37525 37610 +85
- Partials 12361 12407 +46 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Required has been red on main since #972:
TestClientIDBudgetDoesNotGrowrejects the new Cursor identity branch incli/internal/agentpluginscli/preflight.go.The hint now comes from the Cursor detector (
Detection.NotDetectedHint->DetectedClient.NotDetectedHint, shown only when the client ends up not detected). The CLI prints it and no longer knows about Cursor.Checked locally: archtest, cursor, clientdetect (goldens gain an empty
NotDetectedHintfield), the CLI package, golangci-lint on changed lines.Summary by CodeRabbit