~/talk

How to Verify AI-Generated Code with AI Coding Agents

Talkat Sonar Summit 2026 · on Tuesday, 2026-03-03· [ai-assisted-development, testing]
links:none on file
slides:none on file

Sonar integrates with MCP-enabled AI agents (Claude demoed) to run run advanced code analysis on code diffs, returning deep static-analysis results in 1–3 seconds. The agent sends file contents and branch context to SonarQube, Sonar checks rules (quality gate enforces 80% coverage), reports a found async issue—synchronous file I/O in an async function—applies a memory-CSV fix, updates imports and toml, reruns tests (all pass) and logs the issue; beta available.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22AI Writes Code Fast, But Is It Correct?
  3. 0:50New Beta: Static Analysis Built for AI Coding Agents
  4. 1:07Fast Code Analysis Results in 1–3 Seconds
  5. 1:56Exploring SonarQube MCP Tools for Agent Workflows
  6. 2:44MCP Demo: Listing SonarQube Projects
  7. 3:38Task Setup on the Insider Project
  8. 4:49Planning First, Then Writing Tests (TDD Workflow)
  9. 5:19Claude.md Rules Enforcing Test Coverage and TDD
  10. 5:53Workflow Rule: Always Run Static Code Analysis
  11. 6:50Writing Tests First and Intentionally Failing Them
  12. 7:23The Analyze Skill and Required Permissions
  13. 8:01Sending Code Diffs and Branch Context to Sonar
  14. 8:36Fixing Issues by Referencing Sonar Static Analysis Rules
  15. 9:16Logging Issues to Prevent Repeating Bugs Later
  16. 9:42Implementation Complete and Ready for Analysis
  17. 10:23Fast Analysis Execution with Preparation Steps
  18. 11:32Detecting a Deep Issue in Asynchronous Code
  19. 12:12Using Rule Details to Guide the Fix
  20. 13:27Reanalyzing Code After the Fix and Rerunning Tests
  21. 14:18Updating Claude Guidance to Prevent Future Issues
  22. 14:50Clean Analysis Results and Ready for Pull Request
  23. 15:15Why Agent-Side Static Analysis Accelerates Development
  24. 15:31Beta Availability and Closing Invitation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.