Technical Report: The Agentic Analyzer Architecture Subject: Feasibility and Architecture of Blending Roslyn Analyzers with GitHub Copilot SDK Date: February 6, 2026 To: Development Team
- Executive Summary This report outlines the architectural pattern for "Agentic Analyzers"—a hybrid tooling approach that combines the deterministic speed of Roslyn (static analysis) with the semantic reasoning of the GitHub Copilot SDK (Generative AI). By bridging these technologies, we can move beyond checking syntax (e.g., "Is this variable camelCase?") to checking intent (e.g., "Does this API endpoint violate our specific 2026 security idempotency standards?"). This enables analyzers that are dynamic (rules update without recompilation), runtime-aware (checking logs/metrics), and adaptive.
- The Core Architecture The system functions as a two-stage pipeline:
- The Sensor (Roslyn): A lightweight DiagnosticAnalyzer runs in the IDE background. It acts as a highly specific trigger, identifying relevant syntax nodes (e.g.,