CLI-620 beforePromptSubmit hook for Cursor#436
CLI-620 beforePromptSubmit hook for Cursor#436sophio-japharidze-sonarsource wants to merge 1 commit into
Conversation
✅ Deploy Preview for sonarqube-cli canceled.
|
✅ Deploy Preview for sonarqube-cli canceled.
|
a31f8aa to
136183f
Compare
136183f to
660161d
Compare
Agentic Analysis: Early ResultsAgentic Analysis and Context Augmentation are available on your project. Here are some issues that could have been prevented. Follow the links to learn how to put them into action. 1 issue(s) found across 1 file(s):
Analyzed by SonarQube Agentic Analysis in 2.9 s |
CI failed: An integration test in the analyze-sqaa suite timed out during hook execution when simulating an on-premise connection. This appears to be a resource contention or cleanup issue in the test harness rather than a regression from the Cursor hook implementation.OverviewA single integration test failure was identified in the FailuresIntegration test hook timeout (confidence: high)
Summary
Code Review ✅ Approved 2 resolved / 2 findingsImplements the beforePromptSubmit hook for Cursor to enable secret scanning on prompts and refactors MCP configuration helpers. All previous findings regarding payload naming and feature advertising have been addressed. ✅ 2 resolved✅ Quality: cursor command advertises SQAA/CAG it doesn't install
✅ Bug: Verify Cursor block payload field name user_message
Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|


Add a new feature to
sonar integrate cursor- scanning prompts for secrets