③ Run your first code review
Goal
Use combo agent to review a real pull request and deliver:
- L1 static analysis (cppcheck / clang-tidy)
- L2 semantic review (MISRA-C:2012–oriented)
- Auto-post back to GitLab / Gerrit / GitHub
Prerequisites
- An active PR on GitLab / Gerrit / GitHub (C / C++)
- An access token for the target forge
Steps
Step 1 — Configure code hosting (~5 minutes)
Dashboard → Integrations → [your platform] → add token.
Step 2 — Create a review session (~1 minute)
Create a Combo named PR#123 review.
Step 3 — Kick off review (~15 minutes)
The system:
- Fetches PR diff
- Runs L1 static analysis (cppcheck / clang-tidy / semgrep)
- Runs L2 LLM-assisted semantic review
- Consolidates structured findings
Step 4 — Triage findings (~5 minutes)
Each item includes:
- Severity (Critical / Major / Minor)
- Rule ID (MISRA-C Rule X.X.X)
- Suggestion (code snippet)
- Confidence
Select items and bulk “post as comments”.
Step 5 — Post back to PR (~5 minutes)
Or GitHub / Gerrit:
Acceptance checklist
- Session captures both L1 and L2
- Comments visible on the PR UI
- Every item has severity and rule reference
- You decided on each suggestion (accept / ignore / revise)
Next steps
FAQ
Q: How are static analyzers configured? A: Bundled defaults—no manual install. On-prem, ops can toggle tools from the admin panel.
Q: Python / Java? A: Yes—rule sets adapt (PEP 8 / PMD / SpotBugs, etc.).