Public report — semantic-kernel, published 19 Jul 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 19-07-2026 @ 18:48 UTC Public
Code Health Audit

Microsoft/semantic-Kernel

56% At Risk

Large · 116,862 LoC · 201 projects · rebuild ~3.3 person-years · weakest lens: Code Health (49%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

60/65dimensions tool-verifieddeterministic · confidence 1.0 · 5 LLM-assisted, advisory
1253findings with an exact file:lineof 1320 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
65/104dimensions across the health lenses116862 LoC · 201 projects — wide & deep

Executive summary

Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.

microsoft/semantic-kernel carries serious risk (56%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.

It is strongest in Domain Modelling (100%) — the domain model is expressive and well-guarded. Architecture (83%) is solid too.

Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.

The area that most needs attention is Code Health (49%) — changes there are slower and more error-prone. Security (50%) is the next concern — exposure to security and compliance incidents is elevated.

Leadership focus, highest impact first: Finish or delete the unfinished stubs (NotImplementedException… (Incompleteness & stubs); Encrypt sensitive data at rest (ASP.NET Core Data Protection /… (Data Protection); 111 NoWarnInCsproj finding(s) (Explicit Debt).

For scale: Large (~116,862 production lines); rebuilding it from scratch would take roughly ~3.3 person-years (~1–7 engineers). Approximate, ±~30%.

It builds on a genuinely strong Domain Modelling foundation (100%); the priorities above are the highest-leverage way to bring the rest up to that level.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Code Health 49% · 46% weightSecurity 50% · 25% weightPerformance 64% · 14% weightReadiness 77% · 8% weightMaturity 77% · 4% weightArchitecture 83% · 2% weightDomain Modelling 100% · 1% weight

Raise Code Health 49 → 70 (the Healthy floor) ⇒ headline 56 → ~61.

Code composition — where the lines go
Business logic 11%Plumbing 26%Tests 63%
New since the last scan (4+)

4 finding(s) are new versus the previous scan (2026-07-19) — surfaced by this scheduled scan itself, no pull request required.

  • D19 · LLM evaluation failed
  • D20 · No consequences/trade-offs (e.g. cost of maintaining dual-service fallback) are stated in a visible portion docs/decisions/0038-completion-service-selection.md
  • D20 · Decision and consequences are present but trade-offs (e.g. extensibility cost, hybrid query complexity) are only hinted rather than stated docs/decisions/0058-vector-search-design.md
  • D20 · Decision outcome (when the ADR is applied) and consequences/trade-offs are not yet stated in a visible portion docs/decisions/0066-concepts-guidelines.md

A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Rebuild cost & value ~ Modeled — €160,000–€810,000
Cost to rebuild€160,000–€810,000 (1.6–5.1 person-years (2,683–8,568 h), ~1–7 engineers)
Domain complexityStandard — harder problems cost more per line
Quality factor0.8× (at 56% quality) — the last 20% of quality is most of the work
Size & shapeLarge · 56% boilerplate · 15% straight-line · 30% branching logic

This codebase represents roughly ~3.3 person-years of build effort (about ~€490,000 to rebuild). Its weakest lens is Code Health at 49% — the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.2) — service/app, domain model × a 0.8× quality factor, at €60–95/h; indicative, ±~30%. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 2 EmptyCatchBlock finding(s) in Explicit Debt — start with KernelFunction.cs, KernelFunctionLogMessages.cs.
+4.7 pts · Low effort · Explicit Debt
2
Resolve the 2 NoWarnInCsproj repeated across 43 files finding(s) in Explicit Debt — start with Weaviate.UnitTests.csproj (2).
+4.7 pts · Low effort · Explicit Debt
3
Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
+6.5 pts · Medium effort · Incompleteness & stubs

Diagnosis — what's actually going on

Value concentrated against a weak lens · Medium · Value at risk
This is a Large asset (~3.3 person-years to rebuild), and its weakest lens is Code Health at 49%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Large, ~3.3 person-years rebuild (116,862 LoC) · weakest lens: Code Health 49%
→ Direct remediation budget at Code Health first — highest risk-reduction per euro on an asset this size.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.

Architecture — module dependency graph

Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways — a layering smell or cycle. A clean layered graph has none.

arch AgentOrchestrations_Step01_Concurrent AgentOrchestrations_Step01_Concurrent Agents.AzureAI AzureAI AgentOrchestrations_Step01_Concurrent->Agents.AzureAI Agents.Core Core AgentOrchestrations_Step01_Concurrent->Agents.Core Agents.Orchestration Orchestration AgentOrchestrations_Step01_Concurrent->Agents.Orchestration SemanticKernel.MetaPackage MetaPackage AgentOrchestrations_Step01_Concurrent->SemanticKernel.MetaPackage AgentOrchestrations_Step02_Sequential AgentOrchestrations_Step02_Sequential AgentOrchestrations_Step02_Sequential->Agents.AzureAI AgentOrchestrations_Step02_Sequential->Agents.Core AgentOrchestrations_Step02_Sequential->Agents.Orchestration AgentOrchestrations_Step02_Sequential->SemanticKernel.MetaPackage Agents.Abstractions Abstractions SemanticKernel.Abstractions Abstractions Agents.Abstractions->SemanticKernel.Abstractions Agents.AzureAI->Agents.Abstractions SemanticKernel.Core Core Agents.AzureAI->SemanticKernel.Core Agents.Core->Agents.Abstractions Agents.Core->SemanticKernel.Core Agents.OpenAI OpenAI Agents.OpenAI->Agents.Abstractions Agents.OpenAI->Agents.Core Connectors.OpenAI OpenAI Agents.OpenAI->Connectors.OpenAI Agents.Orchestration->Agents.Abstractions Agents.Orchestration->SemanticKernel.Core ChatWithAgent.ApiService ApiService ChatWithAgent.ApiService->Agents.Core Connectors.AzureOpenAI AzureOpenAI ChatWithAgent.ApiService->Connectors.AzureOpenAI ChatWithAgent.ApiService->Connectors.OpenAI PromptTemplates.Handlebars Handlebars ChatWithAgent.ApiService->PromptTemplates.Handlebars ChatWithAgent.ApiService->SemanticKernel.Abstractions ChatWithAgent.ApiService->SemanticKernel.Core Connectors.AzureOpenAI->Connectors.OpenAI Connectors.AzureOpenAI->SemanticKernel.Core Connectors.OpenAI->SemanticKernel.Core CopilotAgentPluginsDemoSample CopilotAgentPluginsDemoSample CopilotAgentPluginsDemoSample->Connectors.AzureOpenAI CopilotAgentPluginsDemoSample->Connectors.OpenAI CopilotAgentPluginsDemoSample->SemanticKernel.Core Process.Abstractions Abstractions Process.Abstractions->Agents.Abstractions Process.Abstractions->Agents.AzureAI Process.Abstractions->Connectors.OpenAI Process.Abstractions->SemanticKernel.Core Process.Core Core Process.Core->Agents.Abstractions Process.Core->Agents.AzureAI Process.Core->Process.Abstractions Process.Core->SemanticKernel.Core Process.LocalRuntime LocalRuntime Process.LocalRuntime->Agents.Core Process.LocalRuntime->Agents.OpenAI Process.LocalRuntime->Process.Abstractions Process.LocalRuntime->SemanticKernel.Core Process.Runtime.Dapr Dapr Process.Runtime.Dapr->Agents.AzureAI Process.Runtime.Dapr->Agents.Core Process.Runtime.Dapr->Agents.OpenAI Process.Runtime.Dapr->Process.Abstractions Process.Runtime.Dapr->SemanticKernel.Core PromptTemplates.Handlebars->SemanticKernel.Core SemanticKernel.Core->SemanticKernel.Abstractions SemanticKernel.MetaPackage->Connectors.AzureOpenAI SemanticKernel.MetaPackage->SemanticKernel.Core TelemetryWithAppInsights TelemetryWithAppInsights TelemetryWithAppInsights->Agents.Core TelemetryWithAppInsights->Connectors.AzureOpenAI TelemetryWithAppInsights->SemanticKernel.Core __more__ +107 more projects

At a glance — Code Health · 49% · Weak · gated by D17, IC1

At a glance — Architecture · 83% · Strong

At a glance — Maturity · 77% · Strong

At a glance — Readiness · 77% · Strong

At a glance — Security · 50% · Weak · gated by D29, D36, D38, C1

At a glance — Domain Modelling · 100% · Exemplary

At a glance — Performance · 64% · Adequate

Security & Compliance — OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A06:2021 — Vulnerable & Outdated Components51High / Critical
A03:2021 — Injection50High / Critical
A02:2021 — Cryptographic Failures3High / Critical

Roadmap

First, eliminate dead code by finishing or removing the 690 incomplete method stubs to remove false signals of functionality. Next, secure sensitive data by implementing encryption at rest and managing keys in a vault, while also adding essential security response headers to harden the web posture. Then, address the explicit technical debt by resolving the 111 warnings in the specified project files. Finally, improve observability by fixing the 13 instances of interpolated log messages to enable structured logging.

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 2 EmptyCatchBlock finding(s) in Explicit Debt — start with KernelFunction.cs, KernelFunctionLogMessages.cs.+4.7 ptsLowExplicit Debt
Resolve the 2 NoWarnInCsproj repeated across 43 files finding(s) in Explicit Debt — start with Weaviate.UnitTests.csproj (2).+4.7 ptsLowExplicit Debt
Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.+6.5 ptsMediumIncompleteness & stubs
Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).+6.0 ptsMediumData Protection
Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.+5.7 ptsMediumWeb-Security Posture
Interpolated log message defeats structured logging+4.9 ptsMediumStructured logging
Sync-over-async (deadlock risk)+4.8 ptsMediumAsync correctness
Swallowed exception (empty catch)+4.8 ptsMediumException handling

File quality

Per-file score 0–10 — a quality signature. Of 542 files carrying findings, judged against the Production bar: 0% slop · 41% mixed · 59% near-clean.

FileScoreBandWorst signal
python/uv.lock0.2SlopOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
.github/workflows/dotnet-build-and-test.yml4.4MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/dotnet-ci.yml4.5MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/devflow-pr-review.yml4.6MixedStatic Analysis (SAST): High: pull-request-target-code-checkout
.github/workflows/python-build.yml4.6MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/codeql-analysis.yml4.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
dotnet/src/SemanticKernel.Abstractions/Functions/KernelFunction.cs4.9MixedExplicit Debt: EmptyCatchBlock
.github/dependabot.yml5.1MixedStatic Analysis (SAST): High: dependabot-missing-cooldown
.github/workflows/dotnet-integration-tests.yml5.1MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/label-discussions.yml5.1MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/python-integration-tests.yml5.1MixedStatic Analysis (SAST): High: gha-workflow-env-secret
dotnet/src/Connectors/Connectors.OpenAI/Connectors.OpenAI.csproj5.8MixedExplicit Debt: NoWarnInCsproj
dotnet/src/Connectors/Connectors.AzureOpenAI/Connectors.AzureOpenAI.csproj5.8MixedExplicit Debt: NoWarnInCsproj
dotnet/test/VectorData/Weaviate.UnitTests/Weaviate.UnitTests.csproj5.8MixedExplicit Debt: NoWarnInCsproj repeated across 43 files
.github/workflows/dotnet-format.yml5.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/markdown-link-check.yml5.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs6.0MixedExplicit Debt: TodoComment
dotnet/samples/Demos/OpenAIRealtime/Program.cs6.0MixedExplicit Debt: BarePragmaDisable
dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs6.0MixedExplicit Debt: TodoComment
dotnet/src/Experimental/Process.Core/Workflow/WorkflowBuilder.cs6.0MixedExplicit Debt: TodoComment

Methodology & how to trust this report

Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 60 of 65 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.

Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.

What we checked — 65 dimensions across the health lenses
D1D2D3D4D5D6D7D8D9D10D11D12D13D14D15D16D17D18D20D21D24D25D26D27D28D29D30D31D33D35D36D37D38AX1AX10AX2AX3AX4AX5AX6AX8C1C2C5DM6GD1IC1M1M2M3M4P1P2P3P4P8PF1PF2PF3S1X1X2X3X4X5

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 1253 of 1320 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
jscpdCode duplication✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.302✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.302✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019f7bb5-10ec-74b6-8469-fede5c625399.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
  • D32 Data Compliance (PII/GDPR) — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D40 Network Egress Confinement — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D41 Kernel & Syscall Confinement — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D42 Runtime Threat Enforcement — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.

Limitations & what we did not check

Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
  • D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
  • D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
  • D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
  • D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
  • D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (EF migrations, designer files, snapshots) is excluded — it is never the team's dead code to delete.
  • D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
  • D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
  • D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
  • D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
  • D25 ADR Conformance: ADR conformance is the LLM-scored fraction of sampled code that follows recorded decisions — it checks the decisions that were written down and the slices it sampled, not unrecorded rules or the whole tree.
  • D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
  • D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and the advisory database — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen.
  • D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
  • AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
  • C5 Data-Subject Rights: This control is scored from in-repo evidence only — absence of evidence here means the scan found no in-repo trace, not that the control does not exist.
  • DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
  • M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".

The LLM boundary

LLM-set scores this run (5): D20, D21, D24, D25, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) — D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 · Cyclomatic Complexity6.5 / 10Adequate✓ Tool-verified

What it measures: How tangled the control flow is — methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 6.5 / 10 · rule-coverage 100% · ceiling Prevented

38 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was PromptExecutionSettingsExtensions.ToChatOptions at 63.

PromptExecutionSettingsExtensions.ToChatOptions (cyclomatic 63)dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs:18
FlowExecutor.ExecuteFlowAsync (cyclomatic 50)dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:165
CodeTokenizer.Tokenize (cyclomatic 45)dotnet/src/SemanticKernel.Core/TemplateEngine/CodeTokenizer.cs:53
ClientCore.CreateRequestMessages (cyclomatic 37)dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:730
FlowExecutor.ExecuteStepAsync (cyclomatic 37)dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:605

+ 33 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 PromptExecutionSettingsExtensions.ToChatOptions (cyclomatic 63) finding(s) in Cyclomatic Complexity — start with PromptExecutionSettingsExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 FlowExecutor.ExecuteFlowAsync (cyclomatic 50) finding(s) in Cyclomatic Complexity — start with FlowExecutor.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 CodeTokenizer.Tokenize (cyclomatic 45) finding(s) in Cyclomatic Complexity — start with CodeTokenizer.cs. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.

D2 · Cognitive Complexity5.6 / 10Adequate✓ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 5.6 / 10 · rule-coverage 100% · ceiling Prevented

74 method(s) exceeded the cognitive complexity threshold of 15; the worst was FlowExecutor.ExecuteFlowAsync at 151.

FlowExecutor.ExecuteFlowAsync (cognitive 151)dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:165
FlowExecutor.ExecuteStepAsync (cognitive 99)dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:605
PromptExecutionSettingsExtensions.ToChatOptions (cognitive 86)dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs:18
MistralClient.GetChatMessageContentsAsync (cognitive 73)dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:49
CodeTokenizer.Tokenize (cognitive 71)dotnet/src/SemanticKernel.Core/TemplateEngine/CodeTokenizer.cs:53

+ 69 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 FlowExecutor.ExecuteFlowAsync (cognitive 151) finding(s) in Cognitive Complexity — start with FlowExecutor.cs. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 FlowExecutor.ExecuteStepAsync (cognitive 99) finding(s) in Cognitive Complexity — start with FlowExecutor.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 PromptExecutionSettingsExtensions.ToChatOptions (cognitive 86) finding(s) in Cognitive Complexity — start with PromptExecutionSettingsExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.

D3 · God Classes9.5 / 10Exemplary✓ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.5 / 10 · rule-coverage 100% · ceiling Prevented

12 god class(es) detected.

ClassTooLong: KernelFunctionFromMethod · ×7dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:0
FileTooLong: Core/ClientCore.ChatCompletion.cs · ×5dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:0
TooManyMethods: ClientCore · ×4dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.AudioToText.cs:0

✓ On the Gold path — maintain.

Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.

D4 · Code Duplication9.9 / 10Exemplary✓ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Verified

36 duplicated block group(s) detected.

Duplicated block (13 lines × 2) · ×4dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandService.cs:59
Duplicated block (10 lines × 2) · ×4dotnet/src/Connectors/Connectors.MistralAI/Services/MistralAIChatCompletionService.cs:31
Duplicated block (18 lines × 2) · ×3dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:58
Duplicated block (16 lines × 2) · ×3dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:161
Duplicated block (6 lines × 2) · ×3dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/AnthropicService.cs:58

+ 14 more group(s) — more in Appendix A; the complete list is findings.md.

✓ On the Gold path — maintain.

Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.

D5 · Coupling9.4 / 10Exemplary✓ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.

Maturity: DocumentedVerifiedPrevented · effective 9.4 / 10 · rule-coverage 100% · ceiling Prevented

201 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).

Off the main sequence: SemanticKernel.Core(net10.0) · ×20

✓ On the Gold path — maintain.

Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.

D6 · Cohesion (LCOM4)9.9 / 10Exemplary✓ Tool-verified

What it measures: Whether a class's methods are focused on a single responsibility.

Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.

Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.

Maturity: DocumentedVerifiedPrevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Verified

2 of 222 classes have LCOM4 above 3.

Low cohesion: Kernel (LCOM4 7) · ×2dotnet/src/SemanticKernel.Abstractions/Kernel.cs:26

✓ On the Gold path — maintain.

Detailed fixes: d6_recommendation.md · top locations in Appendix A, every location in findings.md.

D7 · Architectural Integrity10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the code respects its intended layering / architecture rules.

Method: Enforcement rung (Prevented/Verified/Documented) per checkable ADR via Roslyn, plus dependency cycles via the engine shared with D5/AX3. Deterministic, exact.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Of 48 mechanizable ADRs, 46 are prevented by analyzers, 2 by tests, 0 exist only in prose. Coverage: 100 %. Cycles found: 0.

✓ On the Gold path — maintain.

Detailed fixes: d7_recommendation.md.

D8 · Code Coverage9.1 / 10Exemplary✓ Tool-verified

What it measures: How much of the code is actually exercised by tests.

Method: Coverage from coverlet runs or committed reports (Cobertura/OpenCover/lcov), computed per-file with structured exclusions for generated, trivial, and glue code. When the suite can't be built/run in-image AND no report is committed, coverage is reported NOT-MEASURED (excluded from the score) with the precondition to make it measurable — never a LoC-ratio proxy folded in as if measured. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.1 / 10 · rule-coverage 100% · ceiling Verified

Line coverage 57.4%, branch coverage 42.5%.

✓ On the Gold path — maintain.

Detailed fixes: d8_recommendation.md.

D9 · Test Distribution10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

4713 test methods: 4268 unit, 445 integration, 0 BDD, 0 e2e.

✓ On the Gold path — maintain.

Detailed fixes: d9_recommendation.md.

D10 · Test Quality9.8 / 10Exemplary✓ Tool-verified

What it measures: Whether the tests truly assert behaviour rather than just running the code.

Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.8 / 10 · rule-coverage 100% · ceiling Prevented

189 skipped (189 with a documented reason), 410 zero-assertion, 28 mock references across 5109 tests (5 harness-style project(s) excluded from the assertion penalty).

No assertions: UseSimplestProcessAsync · ×64dotnet/samples/GettingStartedWithProcesses/Step00/Step00_Processes.cs:23
No direct assertions: UseStreamingAgentAsync · ×346dotnet/samples/Concepts/Agents/AzureAIAgent_Streaming.cs:16
Skipped (documented): AudioToTextAsync · ×189dotnet/samples/Concepts/AudioToText/OpenAI_AudioToText.cs:18
Mock framework: Moq · ×28

✓ On the Gold path — maintain.

Detailed fixes: d10_recommendation.md · top locations in Appendix A, every location in findings.md.

D11 · Test Reliability10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the tests pass reliably, with no flakiness.

Method: Suite re-run N times within tiered wall-clock budgets (unit to e2e); tests failing non-deterministically across runs flagged; guarded tests retried when #if guards detected.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 flaky across 1 measured tier(s). unit: measured (0 flaky); integration: not included — too large to re-run within its budget; other: not included — too large to re-run within its budget.

✓ On the Gold path — maintain.

Detailed fixes: d11_recommendation.md.

D12 · Dependency Hygiene10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether dependencies are current, secure, and not bloated.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 outdated, 0 vulnerable, 0 deprecated packages.

✓ On the Gold path — maintain.

Detailed fixes: d12_recommendation.md.

D13 · Secret Scanning10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

D14 · License Compliance10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether the licenses of third-party packages are compatible with your policy.

Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 188 packages use a banned license.

✓ On the Gold path — maintain.

Detailed fixes: d14_recommendation.md.

D15 · Churn × Complexity Hotspots9.9 / 10Exemplary✓ Tool-verified

What it measures: Files that change often and are also complex — the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: DocumentedVerifiedPrevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Documented

Top hotspots: dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs (2×63=126); dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs (3×37=111)

Hotspot: dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs · ×2dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.

D16 · Bus Factor9.3 / 10Exemplary✓ Tool-verified

What it measures: Whether knowledge is concentrated in too few people (the "bus factor").

Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.

Maturity: DocumentedVerifiedPrevented · effective 9.3 / 10 · rule-coverage 100% · ceiling Documented

49 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is dotnet/src/VectorData/SqlServer/SqlServerCommandBuilder.cs.

Off-boarding risk: anonymized user #1 · ×3
Further sole-owners (lower concentration)

✓ On the Gold path — maintain.

Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.

D17 · Explicit Debt0.0 / 10Critical✓ Tool-verified

What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.

Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

1131 deducted debt markers + 0 dead symbols across 116862 LoC (8.1/KLoC) → score 0.0.

NoWarnInCsproj — 12 warning codes suppressed in one element · ×111dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj:9
EmptyCatchBlock · ×2dotnet/src/SemanticKernel.Abstractions/Functions/KernelFunction.cs:675
NoWarnInCsproj repeated across 43 files · ×2dotnet/test/VectorData/Weaviate.UnitTests/Weaviate.UnitTests.csproj:11
NoWarnInCsproj repeated across 13 files · ×2dotnet/test/VectorData/SqliteVec.UnitTests/SqliteVec.UnitTests.csproj:11
NoWarnInCsproj repeated across 44 filesdotnet/src/SemanticKernel.Core/SemanticKernel.Core.csproj:9

+ 9 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 111 NoWarnInCsproj finding(s) in Explicit Debt — start with Connectors.AzureOpenAI.csproj (3), Connectors.OpenAI.csproj (3), AIModelRouter.csproj (2). — One of this dimension's main actionable groups (111 issue-level).
  2. Resolve the 2 EmptyCatchBlock finding(s) in Explicit Debt — start with KernelFunction.cs, KernelFunctionLogMessages.cs. — One of this dimension's main actionable groups (2 issue-level).
  3. Resolve the 2 NoWarnInCsproj repeated across 43 files finding(s) in Explicit Debt — start with Weaviate.UnitTests.csproj (2). — One of this dimension's main actionable groups (2 issue-level).

Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.

D18 · Solution Shape9.9 / 10Exemplary✓ Tool-verified

What it measures: Whether the solution is laid out in a sensible, conventional structure.

Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Documented

201 projects, 9142 source files, 273283 hand-written lines of code (116862 production / 156421 test), 765 inter-project edges.

Monorepo: only 1 of 4 solutions was scored
Shell project: SemanticKernel.MetaPackage(net10.0) · ×3dotnet/src/SemanticKernel.MetaPackage/SemanticKernel.MetaPackage.csproj
Thin analysable surface across projects

✓ On the Gold path — maintain.

Detailed fixes: d18_recommendation.md · top locations in Appendix A, every location in findings.md.

D20 · ADR Quality / 10Strong◐ Sampled · advisory

What it measures: Whether architecture decisions are recorded well (context, decision, consequences).

Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.

Maturity: DocumentedVerifiedPrevented · effective Strong / 10 · rule-coverage 100% · ceiling Documented

Evaluated 73 ADR(s) individually; mean quality 8.1/10 (consistently complete and clear). 3 flagged with a specific gap.

No consequences/trade-offs (e.g. cost of maintaining dual-service fallback) are stated in a visible portiondocs/decisions/0038-completion-service-selection.md
Decision and consequences are present but trade-offs (e.g. extensibility cost, hybrid query complexity) are only hinted rather than stateddocs/decisions/0058-vector-search-design.md
Decision outcome (when the ADR is applied) and consequences/trade-offs are not yet stated in a visible portiondocs/decisions/0066-concepts-guidelines.md

What to do

  1. Resolve the 1 No consequences/trade-offs (e.g. cost of maintaining dual-service… finding(s) in ADR Quality — start with 0038-completion-service-selection.md. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Decision and consequences are present but trade-offs (e.g. extensibility… finding(s) in ADR Quality — start with 0058-vector-search-design.md. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 Decision outcome (when the ADR is applied) and consequences/trade-offs… finding(s) in ADR Quality — start with 0066-concepts-guidelines.md. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d20_recommendation.md · top locations in Appendix A, every location in findings.md.

D21 · Naming Consistency / 10Exemplary◐ Sampled · advisory

What it measures: Whether names — types, methods, variables — are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

0 naming inconsistencies across 200 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

D24 · Comment Value / 10Weak◐ Sampled · advisory

What it measures: Whether comments are worth it — explaining WHY (valuable) rather than WHAT (redundant).

Method: Judged by language model at low temperature (0.0-0.1) on deterministically sampled inline comments with surrounding code; findings verified back to sampled comments by substring match. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Weak / 10 · rule-coverage 100% · ceiling Documented

12 valuable / 1 redundant across 200 sampled comments; 1 shown with locations.

redundant commentdotnet/samples/Demos/AgentFrameworkWithAspire/ChatWithAgent.ApiService/Program.cs:231

What to do

  1. Resolve the 1 redundant comment finding(s) in Comment Value — start with Program.cs. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d24_recommendation.md · top locations in Appendix A, every location in findings.md.

D25 · ADR Conformance / 10Exemplary◐ Sampled · advisory

What it measures: Whether the code actually follows the decisions recorded in the project's ADRs.

Method: Judged by language model at low temperature against ADRs plus a deterministic structural code summary; findings linked to repo-rooted ADR paths for traceability. Advisory.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

6 conform / 0 violate across 73 ADRs.

✓ On the Gold path — maintain.

Detailed fixes: d25_recommendation.md.

D26 · Project Cohesion9.1 / 10Exemplary✓ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic, LLM-independent.

Maturity: DocumentedVerifiedPrevented · effective 9.1 / 10 · rule-coverage 100% · ceiling Documented

5 of 114 projects flagged as possibly oversized/incoherent.

Split Concepts
Split IntegrationTests
Split SemanticKernel.UnitTests

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md · top locations in Appendix A, every location in findings.md.

D27 · Navigability7.8 / 10Strong✓ Tool-verified

What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.

Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.

Maturity: DocumentedVerifiedPrevented · effective 7.8 / 10 · rule-coverage 100% · ceiling Documented

86 % of calls cross a namespace and 4 % go through an interface, but 87 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: large — vertical-slice locality expected.

What to do

  1. Improve Navigability — currently 7.8/10. — 86 % of calls cross a namespace and 4 % go through an interface, but 87 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: large — vertical-slice locality expected.

Detailed fixes: d27_recommendation.md.

D28 · Secrets (history)8.0 / 10Strong✓ Tool-verified

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Documented

2 finding(s): 0 critical, 2 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.

Secret: generic-api-key · ×2samples/dotnet/openapi-skills/GitHubSkill/openapi.json:5142detected by gitleaks finding
Rotate the exposed credentials — git history can't be un-committed

What to do

  1. Resolve the 2 Secret finding(s) in Secrets (history) — start with openapi.json (2). — One of this dimension's main actionable groups (2 issue-level).
  2. Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d28_recommendation.md · top locations in Appendix A, every location in findings.md.

D29 · Static Analysis (SAST)0.0 / 10Critical✓ Tool-verified

What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

153 finding(s): 0 critical, 130 high, 22 medium, 1 low.

High: dependabot-missing-cooldown · ×50.github/dependabot.yml:9detected by semgrep finding

What to do

  1. Resolve the 50 High finding(s) in Static Analysis (SAST) — start with dotnet-build-and-test.yml (9), dotnet-ci.yml (6), devflow-pr-review.yml (5). — One of this dimension's main actionable groups (50 issue-level).

Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.

D30 · Dependency Vulnerabilities9.4 / 10Exemplary✓ Tool-verified

What it measures: Whether any dependencies have known published vulnerabilities (CVEs), direct or transitive.

Method: NuGet CVE scan via dotnet list package --vulnerable including transitive; severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer. Exhaustive, deterministic; degrades when absent.

Maturity: DocumentedVerifiedPrevented · effective 9.4 / 10 · rule-coverage 100% · ceiling Documented

1 vulnerable package(s): 0 critical, 1 high, 0 medium, 0 low.

High CVE: Prompty.Core 0.2.3-betadetected by dotnet list package --vulnerable

✓ On the Gold path — maintain.

Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.

D31 · IaC & Container Security10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

trivy found no infrastructure-as-code or container misconfigurations.

✓ On the Gold path — maintain.

Detailed fixes: d31_recommendation.md.

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D35 · Change Coupling10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: azure_ai_inference_chat_completion.py↔azure_ai_inference_text_embedding.py 67%; QdrantFilterTranslator.cs↔RedisFilterTranslator.cs 60%; LocalKernelProcessContext.cs↔LocalStep.cs 60%

Change coupling: azure_ai_inference_chat_completion.py ↔ azure_ai_inference_text_embedding.py · ×8python/semantic_kernel/connectors/ai/azure_ai_inference/services/azure_ai_inference_chat_completion.py

✓ On the Gold path — maintain.

Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.

D36 · Supply-chain Provenance & Signing0.0 / 10Critical✓ Tool-verified

What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.

Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).

Unpinned build actions
No build provenance
No artifact signing
No SBOM

What to do

  1. Resolve the 1 Unpinned build actions finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 No build provenance finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
  3. Resolve the 1 No artifact signing finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d36_recommendation.md · top locations in Appendix A, every location in findings.md.

D37 · Vulnerability-disclosure Policy10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.

Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.

✓ On the Gold path — maintain.

Detailed fixes: d37_recommendation.md.

D38 · OSV Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — npm and other lockfile ecosystems, parsed natively. Complements D33 (npm via trivy) and D30 (.NET via dotnet).

Method: npm/multi-ecosystem CVE scan via osv-scanner (queries the osv.dev database + parses lockfiles natively: package-lock/yarn/pnpm/bun); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable without a JS lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

102 finding(s): 1 critical, 13 high, 71 medium, 17 low.

High CVE: [GHSA redacted] · ×13python/uv.lockdetected by osv-scanner finding
Critical CVE: [GHSA redacted]python/uv.lockdetected by osv-scanner finding
Medium CVE: [GHSA redacted] · ×36python/uv.lockdetected by osv-scanner finding

What to do

  1. Resolve the 36 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with uv.lock (36). — One of this dimension's main actionable groups (36 warning-level).
  2. Resolve the 13 High CVE finding(s) in OSV Dependency Vulnerabilities — start with uv.lock (13). — One of this dimension's main actionable groups (13 issue-level).
  3. Resolve the 1 Critical CVE finding(s) in OSV Dependency Vulnerabilities — start with uv.lock. — One of this dimension's main actionable groups (1 issue-level).

Detailed fixes: d38_recommendation.md · top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

AX1 · Captive dependencies10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether any singleton service captures a scoped/transient dependency — a silent lifetime/threading bug.

Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.

AX10 · Code composition8.9 / 10Strong✓ Tool-verified

Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified.

Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.

Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.

What to do

  • The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX2 · Stateful singletons5.1 / 10Adequate✓ Tool-verified

Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.

Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.

  • `AudioPlaybackService` is a singleton (one shared instance) but mutates instance state outside any lock (_waveOut, _isPlaying; e.g. `_waveOut` at line 31). — AudioPlaybackService.cs:6
  • `VadService` is a singleton (one shared instance) but mutates instance state outside any lock (_preroll, _inSpeech, _speech, _silenceFrames; e.g. `_preroll` at line 74). — VadService.cs:5
  • `ResourceTemplateDefinition` is a singleton (one shared instance) but mutates instance state outside any lock (_kernelFunction, _regex; e.g. `_kernelFunction` at line 58). — ResourceTemplateDefinition.cs:13
  • `ResourceDefinition` is a singleton (one shared instance) but mutates instance state outside any lock (_kernelFunction; e.g. `_kernelFunction` at line 79). — ResourceDefinition.cs:12
  • `CopilotStudioTokenHandler` is a singleton (one shared instance) but mutates instance state outside any lock (_clientApplication; e.g. `_clientApplication` at line 71). (×3) — CopilotStudioTokenHandler.cs:24, CopilotStudioTokenHandler.cs:24, CopilotStudioTokenHandler.cs:24

What to do

  • Keep singletons stateless or back their state with thread-safe types (Concurrent*/Immutable*); otherwise concurrent callers race.
AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).

Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.

AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.

Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.

AX5 · Architecture & structure10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.

Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.

AX6 · Interface segregation10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').

Method: Roslyn scan: public interface member counts; fat-interface threshold (over 15 members) flagged per type. Deterministic, type-level.

AX8 · Test isolation10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether production projects stay free of references to test projects — tests may depend on production, never the reverse.

Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.

C1 · Data Protection3.0 / 10Weak✓ Tool-verified

Other · Security — Whether sensitive data is encrypted at rest and in transit and keys are vaulted.

Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.

  • No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.

What to do

  • Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
C2 · Access Controls10.0 / 10Exemplary○ Nothing flagged

Other · Security — Whether access is authorized by default — [Authorize]/policies or imperative guard methods (throw-on-violation) called from handlers.

Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.

C5 · Data-Subject Rights4.0 / 10Weak✓ Tool-verified

Other · Security — Whether GDPR data-subject requests are supported in code — erasure, export/portability, consent.

Method: Roslyn scan: GDPR data-subject-rights corroboration (erasure/export/consent vocabulary co-occurring with subject-id store crossing or explicit GDPR pattern). Deterministic, gated by PII.

  • Corroborated rights: erasure ✓ · export ✗ · consent ✗. The missing right(s) would have to be fulfilled manually.

What to do

  • Implement data export/portability for a data subject (a machine-readable export of their personal data).
  • Track GDPR consent (lawful basis) alongside the personal data it authorises.
DM6 · Domain ↔ infrastructure boundary10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether the domain layer stays free of infrastructure dependencies — a domain aggregate fused to a persistence ORM (TypeORM/Prisma/MikroORM/Sequelize/Mongoose) on its own declaration (active-record) couples the domain to infrastructure. The clean-architecture dependency rule.

Method: Roslyn (DDD-gated): domain-layer types scanned for infrastructure usage in member SIGNATURES and inside method/accessor BODIES — resolved calls and object-creations into EF/Marten/HTTP/Mongo/Redis/message-bus types (not just a namespace allowlist). Deterministic, symbol-resolved, exhaustive over domain-layer bodies, DDD-native.

Coverage: Domain layer identified by NAMESPACE heuristic; infrastructure then resolved by symbol in member SIGNATURES and method/accessor BODIES — rename the layer and the check evaporates.

GD1 · Unfinished & placeholder code10.0 / 10Exemplary✓ Tool-verified

Other · Code Health — Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.

Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.

  • A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×23) — KernelFunctionSamples.cs:35, PipelineEvents.cs:23, PipelineEvents.cs:28, …
  • A placeholder string ("sales.report@example.com") is still in shipped code — typical of generated boilerplate that was never filled in. — MailboxUtils.cs:30
  • A placeholder string ("hr.department@example.com") is still in shipped code — typical of generated boilerplate that was never filled in. — MailboxUtils.cs:40

What to do

  • Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs3.5 / 10Weak✓ Tool-verified

Other · Code Health — Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.

Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.

  • `GetAgentCardAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×3) — A2AHostAgent.cs:93, A2AHostAgent.cs:93, A2AHostAgent.cs:93
  • `InvokeAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×3) — AggregatorAgent.cs:48, AggregatorAgent.cs:48, AggregatorAgent.cs:48
  • `InvokeStreamingAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×3) — AggregatorAgent.cs:59, AggregatorAgent.cs:59, AggregatorAgent.cs:59
  • `InvokeAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×6) — AggregatorChannel.cs:26, AggregatorChannel.cs:26, AggregatorChannel.cs:26, …
  • `InvokeStreamingAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×6) — AggregatorChannel.cs:56, AggregatorChannel.cs:56, AggregatorChannel.cs:56, …
  • `ToDescendingAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×3) — ChatHistoryExtensions.cs:28, ChatHistoryExtensions.cs:28, ChatHistoryExtensions.cs:28
  • `GetStepsAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×3) — AgentRunExtensions.cs:21, AgentRunExtensions.cs:21, AgentRunExtensions.cs:21
  • `CreateInternalAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×3) — CopilotStudioAgentThread.cs:35, CopilotStudioAgentThread.cs:35, CopilotStudioAgentThread.cs:35

What to do

  • Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
  • Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)7.9 / 10Strong✓ Tool-verified

Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

What to do

  • Add a 'Testing' section to the root README — how to run the test suite.
  • Add a README to the 79 of 114 project(s) that lack one — worth up to 1.4 pts.
M2 · Architecture documentation10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

M3 · Folder & project structure6.0 / 10Adequate✓ Tool-verified

Maturity · Maturity — Whether the repo is organised deliberately — src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

  • Production code isn't grouped under a src/ folder — application code, tests and tooling are mixed at the repository root.
  • Tests aren't grouped in a dedicated test folder — the test surface isn't separable from production code at a glance.

What to do

  • Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
  • Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy8.0 / 10Strong◐ Sampled · advisory

Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

  • README advertises a microservices architecture, but the repo is a single project with no service manifests

What to do

  • Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P2 · Observability9.4 / 10Exemplary✓ Tool-verified

Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • Only 129/158 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log).

What to do

  • Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
P3 · Security & performance tooling7.0 / 10Strong✓ Tool-verified

Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem/Roslyn scan: CodeQL, Dependabot, secret-scanning, and BenchmarkDotNet presence in pipelines and projects. Exhaustive, deterministic.

What to do

  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback7.0 / 10Strong✓ Tool-verified

Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

  • Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.

What to do

  • Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
P8 · Schema migrations6.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether EF Core schema changes go through versioned migrations rather than the un-evolvable EnsureCreated().

Method: Roslyn scan: EF Core DbContext for a versioned migrations directory versus bare EnsureCreated usage. Exhaustive per project, deterministic.

  • EF Core is used but neither migrations nor EnsureCreated were detected — confirm how the production schema is created and evolved.

What to do

  • Adopt a versioned schema-migration mechanism (with EF Core: dotnet ef migrations add + Migrate() on startup) as the explicit, versioned schema strategy — no migration mechanism was detected.
PF1 · Benchmark discipline6.0 / 10Adequate✓ Tool-verified

Readiness · Performance — Whether the library protects its performance with benchmarks — a BenchmarkDotNet suite, an allocation MemoryDiagnoser, and (ideally) a CI gate. Presence is credited as a bonus, never a deduction.

Method: Repo + source scan: BenchmarkDotNet referenced (csproj/source), [Benchmark]/[MemoryDiagnoser] attribute counts, and a benchmark step in CI — scored as a bonus ladder (absence is neutral, never a deduction). Deterministic, presence detection.

  • No benchmark suite was found. For a performance-sensitive library, a benchmark guards against silent regressions — but it's a bonus here, not a deduction.

What to do

  • Add a benchmarking harness for the hot paths and run it in CI to catch regressions (for .NET, a BenchmarkDotNet project with [MemoryDiagnoser] to track allocations).
PF2 · Allocation hygiene7.7 / 10Strong✓ Tool-verified

Readiness · Performance — Whether the code is written to minimise allocations so it doesn't pressure its host's GC — Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc, ValueTask, value-type structs and buffer writers. Reward-only: credited where present, never penalised where a simpler style is fine.

Method: Production-source scan: density (per 1k LoC) of allocation-aware APIs — Span/Memory, ArrayPool/ObjectPool, stackalloc, ValueTask, value-type structs, IBufferWriter, string.Create, SkipLocalsInit. Reward-only. Deterministic, syntax/text detection.

What to do

  • Raise allocation-aware density on the hot paths — currently 2701 use(s) across 802,226 production line(s) (~3.4/1k). More Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc and ValueTask on the allocation-heavy paths climbs this toward 10.
PF3 · Async & latency hygiene6.0 / 10Adequate✓ Tool-verified

Readiness · Performance — Whether asynchronous code keeps its host responsive — a library awaits with ConfigureAwait(false) (so it never captures and stalls the host's context) and avoids sync-over-async blocking (.Wait()/.GetAwaiter().GetResult()) that wastes threads and risks deadlock.

Method: Production-source scan: sync-over-async blocking (.Wait()/.GetAwaiter().GetResult()) counted everywhere, and — for a library with ≥5 awaits — the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.

  • 12 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) — these waste a thread and can deadlock in a consumer with a synchronization context.

What to do

  • Make the call chain async end-to-end and await it — never block on a Task with .Wait()/.GetAwaiter().GetResult() in library code.
S1 · Web-Security Posture6.5 / 10Adequate✓ Tool-verified

Other · Security — Transport security, security headers, secure cookies, input validation, middleware order and crypto hygiene (presence, not runtime).

Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. Deterministic.

  • No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
  • No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.)

What to do

  • Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.
  • Set secure cookie flags — CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 · Async correctness7.9 / 10Strong✓ Tool-verified

Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

  • Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. (×12) — AgentProxy.cs:82, AgentProxy.cs:82, AgentProxy.cs:82, …

What to do

  • Sync-over-async (deadlock risk)
X2 · Cancellation propagation8.4 / 10Strong✓ Tool-verified

Other · Code Health — Whether async methods accept a CancellationToken so work can be cancelled (adoption curve).

Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage.

  • Only 2517/3453 async methods accept a CancellationToken, so requests can't be cancelled cleanly under load or on client disconnect. In Blazor Server circuits and other short-write hosts, omitting it can be an accepted convention — judge against your hosting model.
  • No CancellationToken parameter — work can't be cancelled cleanly on disconnect/shutdown. (×25) — Program.cs:15, KernelFunctionSamples.cs:23, KernelPluginSamples.cs:24, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling8.0 / 10Strong✓ Tool-verified

Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

  • An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×6) — KernelFunction.cs:675, KernelFunctionLogMessages.cs:143, KernelFunction.cs:675, …

What to do

  • Swallowed exception (empty catch)
X4 · Structured logging7.9 / 10Strong✓ Tool-verified

Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.

Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. Deterministic.

  • Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. (×13) — VoiceChatPipeline.cs:105, VoiceChatPipeline.cs:112, AudioPlaybackService.cs:40, …

What to do

  • Interpolated log message defeats structured logging
X5 · Nullable reference types9.3 / 10Exemplary✓ Tool-verified

Other · Code Health — Whether nullable reference types are enabled and not undermined by heavy `!` suppression.

Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.

  • ~0.9 `!` suppressions per 1k syntax nodes — each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.

What to do

  • Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.

Reference — by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health49%Weak — gated by D17, IC1Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture83%StrongSolid.
Maturity77%StrongSolid.
Readiness77%StrongSolid.
Security50%Weak — gated by D29, D36, D38, C1Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Domain Modelling100%ExemplaryStrongest area.
Performance64%AdequateAcceptable, with room to improve.
Not included — 39 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
  • AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
  • AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
  • AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
  • AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
  • AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
  • AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
  • AXB2 Runtime readiness — no data
  • C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
  • C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
  • D19 Documentation Quality — LLM evaluation failed
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — Bounded contexts not declared
  • D32 Data Compliance (PII/GDPR) — No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) — data compliance is not assessed in this scan.
  • D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
  • D39 IL Efficiency — The target did not build, so no IL was available to measure.
  • D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
  • D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
  • D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
  • DM1 Aggregate boundaries — not gated in TS source-only: aggregate-vs-value-object classification is not 0-FP-separable (every class-holding-class reads alike) — advisory (the Swift/Dart/Rust parity)
  • DM2 Strongly-typed ids — not gated in TS source-only for the Stage-D scaffold: the branded-type idiom (`type Id = string & {__brand}`) is idiom-rare in TS (4 calibration carriers), so a bare-string-id gap is advisory — Stage-E diversification target (tsjs-stageC.md LESSON-A)
  • DM3 Integration-event coupling — not gated in TS source-only: a cross-package domain leak is not 0-FP-separable from a legitimate shared-kernel package, and most calibration repos are single-package — advisory (candidate-demote)
  • DM4 Rich vs anemic model — not gated in TS source-only for the Stage-D scaffold: the anemic-vs-rich gate is candidate-DETERMINISTIC for TS (behaviour + the component/DTO/readonly-VO exemptions) but the calibration corpus is high-quality (0 witnesses) — advisory, settled at the Stage-E holdout (the Rust/Swift/Dart precedent)
  • DM5 Encapsulated state — not gated in TS source-only for the Stage-D scaffold: TS idiom favours #private/private/readonly (idiom-rare public-mutable break), so DM5 is advisory pending Stage-E messier-repo witnesses (the Rust/Swift/Dart precedent)
  • DM7 Repository granularity — not gated in TS source-only: 'a repository per CHILD entity' needs the aggregate-root structure, which is not source-resolvable; the softest gated dim — advisory
  • ED1 Event-Driven — applicable but skipped (2/3 markers — below the conservative bar): 1 event handler(s); a message-bus package
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not run — 0/3 markers found
  • P12 CI test-gate honesty — no data
  • P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
  • P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
  • P7 Outbound HTTP resilience — no outbound HTTP usage detected
  • P9 Domain vs controller coverage — coverage data present but no domain-layer files were identified (no /Domain//Aggregates/ paths)
  • SC1 Supply-chain hygiene — no data
  • X6 Hand-rolled structured-format parsing — no data
  • X7 Silent fallback defaults — no data
  • X8 JS interop contract — no data

Appendix A — Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Issue — 187 finding(s)
D17 · Explicit Debt · NoWarnInCsproj · ×111
  • NoWarnInCsproj — 12 warning codes suppressed in one element dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj:9 — A single <NoWarn> suppresses 12 warning codes (CA2007;CA1861;IDE1006;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0050;SKEXP0110;SKEXP0120;SKEXP0130;MEVD9000;OPENAI001) in one stroke — one team-wide decision, not 12 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 8 warning codes suppressed in one element dotnet/src/SemanticKernel.AotTests/SemanticKernel.AotTests.csproj:12 — A single <NoWarn> suppresses 8 warning codes (VSTHRD111;CA2007;CA1031;CA1812;CS1998;IDE1006;SKEXP0120;SKEXP0001) in one stroke — one team-wide decision, not 8 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 13 warning codes suppressed in one element dotnet/src/IntegrationTests/IntegrationTests.csproj:8 — A single <NoWarn> suppresses 13 warning codes (CA2007;CA1861;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0080;SKEXP0110;SKEXP0130;OPENAI001;MEVD9000) in one stroke — one team-wide decision, not 13 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 16 warning codes suppressed in one element dotnet/samples/LearnResources/LearnResources.csproj:10 — A single <NoWarn> suppresses 16 warning codes (CS8618;IDE0009;CA1051;CA1050;CA1707;CA2007;VSTHRD111;CS1591;RCS1110;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101) in one stroke — one team-wide decision, not 16 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 19 warning codes suppressed in one element dotnet/samples/GettingStartedWithVectorStores/GettingStartedWithVectorStores.csproj:10 — A single <NoWarn> suppresses 19 warning codes (CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101) in one stroke — one team-wide decision, not 19 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 19 warning codes suppressed in one element dotnet/samples/GettingStartedWithTextSearch/GettingStartedWithTextSearch.csproj:10 — A single <NoWarn> suppresses 19 warning codes (CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101) in one stroke — one team-wide decision, not 19 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 23 warning codes suppressed in one element dotnet/samples/GettingStartedWithProcesses/GettingStartedWithProcesses.csproj:12 — A single <NoWarn> suppresses 23 warning codes (CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0080;SKEXP0081;SKEXP0101;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 23 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 22 warning codes suppressed in one element dotnet/samples/GettingStartedWithAgents/GettingStartedWithAgents.csproj:12 — A single <NoWarn> suppresses 22 warning codes (NU1008;CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 22 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 19 warning codes suppressed in one element dotnet/samples/GettingStarted/GettingStarted.csproj:10 — A single <NoWarn> suppresses 19 warning codes (CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101) in one stroke — one team-wide decision, not 19 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 24 warning codes suppressed in one element dotnet/samples/Concepts/Concepts.csproj:11 — A single <NoWarn> suppresses 24 warning codes (CS8618;IDE0009;IDE1006;CA1051;CA1050;CA1707;CA1054;CA2007;VSTHRD111;CS1591;RCS1110;RCS1243;CA5394;SKEXP0001;SKEXP0010;SKEXP0020;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0101;SKEXP0110;OPENAI001;CA1724;MEVD9000) in one stroke — one team-wide decision, not 24 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 9 warning codes suppressed in one element dotnet/test/VectorData/Redis.UnitTests/Redis.UnitTests.csproj:11 — A single <NoWarn> suppresses 9 warning codes (CA2007;CA1806;CA1869;CA1861;IDE0300;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0050) in one stroke — one team-wide decision, not 9 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 9 warning codes suppressed in one element dotnet/test/VectorData/Qdrant.UnitTests/Qdrant.UnitTests.csproj:11 — A single <NoWarn> suppresses 9 warning codes (CA2007;CA1806;CA1869;CA1861;IDE0300;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0050) in one stroke — one team-wide decision, not 9 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 9 warning codes suppressed in one element dotnet/test/VectorData/Pinecone.UnitTests/Pinecone.UnitTests.csproj:11 — A single <NoWarn> suppresses 9 warning codes (CA2007;CA1806;CA1869;CA1861;IDE0300;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0050) in one stroke — one team-wide decision, not 9 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 7 warning codes suppressed in one element dotnet/test/VectorData/InMemory.UnitTests/InMemory.UnitTests.csproj:11 — A single <NoWarn> suppresses 7 warning codes (CA2007;CA1806;CA1869;CA1861;IDE0300;VSTHRD111;SKEXP0001) in one stroke — one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 9 warning codes suppressed in one element dotnet/test/VectorData/Chroma.UnitTests/Chroma.UnitTests.csproj:11 — A single <NoWarn> suppresses 9 warning codes (CA2007;CA1806;CA1869;CA1861;IDE0300;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0050) in one stroke — one team-wide decision, not 9 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 8 warning codes suppressed in one element dotnet/src/Functions/Functions.UnitTests/Functions.UnitTests.csproj:10 — A single <NoWarn> suppresses 8 warning codes (CA2007;CA1861;CA1869;VSTHRD111;CS1591;CS0618;SKEXP0040;SKEXP0001) in one stroke — one team-wide decision, not 8 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 8 warning codes suppressed in one element dotnet/src/Functions/Functions.Prompty.UnitTests/Functions.Prompty.UnitTests.csproj:10 — A single <NoWarn> suppresses 8 warning codes (CS1591;CA2007;CA1861;CA1869;VSTHRD111;SKEXP0040;SKEXP0010;SKEXP0001) in one stroke — one team-wide decision, not 8 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.Utilities.UnitTests/Process.Utilities.UnitTests.csproj:9 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 11 warning codes suppressed in one element dotnet/src/Experimental/Process.UnitTests/Process.UnitTests.csproj:9 — A single <NoWarn> suppresses 11 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001;CA1024) in one stroke — one team-wide decision, not 11 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.Runtime.Dapr.UnitTests/Process.Runtime.Dapr.UnitTests.csproj:10 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.IntegrationTests.Shared/Process.IntegrationTests.Shared.csproj:9 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.IntegrationTests.Resources/Process.IntegrationTests.Resources.csproj:9 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.IntegrationTestRunner.Local/Process.IntegrationTestRunner.Local.csproj:8 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1812;CA1861;CA1063;VSTHRD111;SKEXP0001;SKEXP0050;SKEXP0080;SKEXP0110;OPENAI001) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.IntegrationTestRunner.Dapr/Process.IntegrationTestRunner.Dapr.csproj:10 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1861;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0080;SKEXP0110) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • NoWarnInCsproj — 10 warning codes suppressed in one element dotnet/src/Experimental/Process.IntegrationTestHost.Dapr/Process.IntegrationTestHost.Dapr.csproj:10 — A single <NoWarn> suppresses 10 warning codes (CA2007;CA1861;VSTHRD111;SKEXP0001;SKEXP0010;SKEXP0040;SKEXP0050;SKEXP0060;SKEXP0080;SKEXP0110) in one stroke — one team-wide decision, not 10 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)
  • + 86 more in this group — see findings.md.
D29 · Static Analysis (SAST) · High · ×50
  • High: dependabot-missing-cooldown .github/dependabot.yml:9 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: dependabot-missing-cooldown .github/dependabot.yml:28 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: dependabot-missing-cooldown .github/dependabot.yml:38 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: github-actions-mutable-action-tag .github/workflows/close-inactive-issues.yml:13 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/codeql-analysis.yml:35 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/codeql-analysis.yml:41 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/codeql-analysis.yml:55 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/codeql-analysis.yml:68 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: pull-request-target-code-checkout .github/workflows/devflow-pr-review.yml:66 — This GitHub Actions workflow file uses `pull_request_target` and checks out code from the incoming pull request. When using `pull_request_target`, the Action runs in the context of the target repository, which includes access to all repository secrets. Normally, this is safe because the Action only runs code from the target repository, not the incoming PR. However, by checking out the incoming PR code, you're now using the incoming code for the rest of the action. You may be inadvertently executing arbitrary code from the incoming PR with access to repository secrets, which would let an attacker steal repository secrets. This normally happens by running build scripts (e.g., `npm build` and `make`) or dependency installation scripts (e.g., `python setup.py install`). Audit your workflow file to make sure no code from the incoming PR is executed. Please see https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ for additional mitigations.
  • High: github-actions-mutable-action-tag .github/workflows/devflow-pr-review.yml:67 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/devflow-pr-review.yml:76 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/devflow-pr-review.yml:86 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/devflow-pr-review.yml:91 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:32 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:35 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:72 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:77 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:129 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:187 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:194 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:235 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-build-and-test.yml:242 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-ci.yml:27 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-ci.yml:58 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/dotnet-ci.yml:75 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • + 25 more in this group — see findings.md.
D38 · OSV Dependency Vulnerabilities · High CVE · ×13
  • High CVE: [GHSA redacted] python/uv.lock — cryptography 46.0.5: [GHSA redacted] — upgrade to 48.0.1
  • High CVE: [GHSA redacted] python/uv.lock — mcp 1.26.0: [GHSA redacted] — upgrade to 1.27.2
  • High CVE: [GHSA redacted] python/uv.lock — mcp 1.26.0: [GHSA redacted] — upgrade to 1.27.2
  • High CVE: [GHSA redacted] python/uv.lock — mcp 1.26.0: [GHSA redacted] — upgrade to 1.28.1
  • High CVE: [GHSA redacted] python/uv.lock — mistune 3.2.1: [GHSA redacted] — upgrade to 3.3.0
  • High CVE: [GHSA redacted] python/uv.lock — pyasn1 0.6.2: [GHSA redacted] — upgrade to 0.6.3
  • High CVE: [GHSA redacted] python/uv.lock — pyopenssl 25.3.0: [GHSA redacted] — upgrade to 26.0.0
  • High CVE: [GHSA redacted] python/uv.lock — python-multipart 0.0.26: [GHSA redacted] — upgrade to 0.0.30
  • High CVE: [GHSA redacted] python/uv.lock — python-multipart 0.0.26: [GHSA redacted] — upgrade to 0.0.27
  • High CVE: [GHSA redacted] python/uv.lock — soupsieve 2.8.3: [GHSA redacted] — upgrade to 2.8.4
  • High CVE: [GHSA redacted] python/uv.lock — soupsieve 2.8.3: [GHSA redacted] — upgrade to 2.8.4
  • High CVE: [GHSA redacted] python/uv.lock — transformers 4.57.6: [GHSA redacted] — upgrade to 5.3.0
  • High CVE: [GHSA redacted] python/uv.lock — transformers 4.57.6: [GHSA redacted] — upgrade to 5.5.0
D17 · Explicit Debt · EmptyCatchBlock · ×2
  • EmptyCatchBlock dotnet/src/SemanticKernel.Abstractions/Functions/KernelFunction.cs:675 — empty catch block
  • EmptyCatchBlock dotnet/src/SemanticKernel.Abstractions/Functions/KernelFunctionLogMessages.cs:143 — empty catch block
D17 · Explicit Debt · NoWarnInCsproj repeated across 43 files · ×2
  • NoWarnInCsproj repeated across 43 files dotnet/test/VectorData/Weaviate.UnitTests/Weaviate.UnitTests.csproj:11 — The identical NoWarnInCsproj (`VSTHRD111`) appears in 43 files (43 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 43 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
  • NoWarnInCsproj repeated across 43 files dotnet/test/VectorData/Weaviate.UnitTests/Weaviate.UnitTests.csproj:11 — The identical NoWarnInCsproj (`CA2007`) appears in 43 files (43 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 43 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D17 · Explicit Debt · NoWarnInCsproj repeated across 13 files · ×2
  • NoWarnInCsproj repeated across 13 files dotnet/test/VectorData/SqliteVec.UnitTests/SqliteVec.UnitTests.csproj:11 — The identical NoWarnInCsproj (`CS1591`) appears in 13 files (13 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 13 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
  • NoWarnInCsproj repeated across 13 files dotnet/src/Agents/Yaml/Agents.Yaml.csproj:8 — The identical NoWarnInCsproj (`SKEXP0110`) appears in 13 files (13 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 13 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D28 · Secrets (history) · Secret · ×2
  • Secret: generic-api-key samples/dotnet/openapi-skills/GitHubSkill/openapi.json:5142 — matched rule 'generic-api-key'
  • Secret: generic-api-key samples/apps/copilot-chat-app/webapi/Skills/OpenApiSkills/GitHubSkill/openapi.json:5142 — matched rule 'generic-api-key'
D17 · Explicit Debt · NoWarnInCsproj repeated across 44 files · ×1
  • NoWarnInCsproj repeated across 44 files dotnet/src/SemanticKernel.Core/SemanticKernel.Core.csproj:9 — The identical NoWarnInCsproj (`SKEXP0001`) appears in 44 files (44 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 44 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D17 · Explicit Debt · NoWarnInCsproj repeated across 11 files · ×1
  • NoWarnInCsproj repeated across 11 files dotnet/test/VectorData/Weaviate.UnitTests/Weaviate.UnitTests.csproj:12 — The identical NoWarnInCsproj (`MEVD9001`) appears in 11 files (11 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 11 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D17 · Explicit Debt · NoWarnInCsproj repeated across 20 files · ×1
  • NoWarnInCsproj repeated across 20 files dotnet/samples/AgentFrameworkMigration/Playground/SemanticKernelBasic/SemanticKernelBasic.csproj:8 — The identical NoWarnInCsproj (`CA1707`) appears in 20 files (20 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 20 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D30 · Dependency Vulnerabilities · High CVE · ×1
  • High CVE: Prompty.Core 0.2.3-beta — Prompty.Core 0.2.3-beta (transitive) has a High advisory; affects 3 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D38 · OSV Dependency Vulnerabilities · Critical CVE · ×1
  • Critical CVE: [GHSA redacted] python/uv.lock — chromadb: [GHSA redacted]
Warning — 547 finding(s)
D17 · Explicit Debt · ObsoleteWithCallers · ×90
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIAssistantCapabilities.cs:12 — [Obsolete] OpenAIAssistantCapabilities
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIAssistantDefinition.cs:11 — [Obsolete] OpenAIAssistantDefinition
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIAssistantExecutionOptions.cs:14 — [Obsolete] OpenAIAssistantExecutionOptions
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIAssistantInvocationOptions.cs:15 — [Obsolete] OpenAIAssistantInvocationOptions
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIClientProvider.cs:21 — [Obsolete] OpenAIClientProvider
  • ObsoleteWithCallers dotnet/src/Agents/OpenAI/OpenAIThreadCreationOptions.cs:12 — [Obsolete] OpenAIThreadCreationOptions
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockKernelBuilderExtensions.cs:89 — [Obsolete] AddBedrockTextEmbeddingGenerationService
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockServiceCollectionExtensions.cs:116 — [Obsolete] AddBedrockTextEmbeddingGenerationService
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Amazon/Bedrock/Services/BedrockTextEmbeddingGeneratorService.cs:18 — [Obsolete] BedrockTextEmbeddingGenerationService
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureAIInference/Services/AzureAIInferenceChatCompletionService.cs:20 — [Obsolete] AzureAIInferenceChatCompletionService
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:282 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:324 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:364 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIServiceCollectionExtensions.cs:162 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIServiceCollectionExtensions.cs:202 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIServiceCollectionExtensions.cs:240 — [Obsolete] AddAzureOpenAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Services/AzureOpenAITextEmbeddingGenerationService.cs:20 — [Obsolete] AzureOpenAITextEmbeddingGenerationService
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.AzureOpenAI/Settings/AzureOpenAIPromptExecutionSettings.cs:130 — [Obsolete] FromExecutionSettingsWithData
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIKernelBuilderExtensions.cs:63 — [Obsolete] AddGoogleAIEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIServiceCollectionExtensions.cs:58 — [Obsolete] AddGoogleAIEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIMemoryBuilderExtensions.cs:26 — [Obsolete] WithGoogleAITextEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/VertexAIKernelBuilderExtensions.cs:124 — [Obsolete] AddVertexAIEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/VertexAIKernelBuilderExtensions.cs:168 — [Obsolete] AddVertexAIEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/VertexAIServiceCollectionExtensions.cs:117 — [Obsolete] AddVertexAIEmbeddingGeneration
  • ObsoleteWithCallers dotnet/src/Connectors/Connectors.Google/Extensions/VertexAIServiceCollectionExtensions.cs:158 — [Obsolete] AddVertexAIEmbeddingGeneration
  • + 65 more in this group — see findings.md.
D17 · Explicit Debt · TodoComment · ×77
  • TodoComment dotnet/samples/Concepts/Agents/DeclarativeAgents.cs:71 — //TODO: this eventually needs to be added to all CAP or DA but we're still discussing where should those facilitators live — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Abstractions/AggregatorAgent.cs:54 — // TODO: Need to determine the correct approach here. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Abstractions/AggregatorAgent.cs:65 — // TODO: Need to determine the correct approach here. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/AzureAI/Extensions/AgentDefinitionExtensions.cs:103 — // TODO: Implement — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/OpenAI/Extensions/AgentDefinitionExtensions.cs:48 — // TODO: Implement — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/OpenAI/Extensions/AgentDefinitionExtensions.cs:102 — // TODO: Implement — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/OpenAI/Extensions/AgentDefinitionExtensions.cs:114 — // TODO: Implement — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/OpenAI/Extensions/AgentDefinitionExtensions.cs:87 — // TODO: Verify that the fileIds are strings — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/Abstractions/IAgent.cs:35 — // TODO: How do we express this properly in .NET? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/Abstractions/TopicId.cs:123 — // TODO: Implement < for wildcard matching (type, *) — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/Core/AgentsAppBuilder.cs:80 — // TODO: Expose skipClassSubscriptions and skipDirectMessageSubscription as parameters? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/InProcess/InProcessRuntime.cs:96 — // TODO: Do we want detach semantics? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/InProcess/InProcessRuntime.cs:453 — // TODO: Bind tracing — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Agents/Runtime/InProcess/InProcessRuntime.cs:461 — // TODO: Bind tracing — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:808 — // TODO: Currently SK doesn't support prompt feedback/finish status, so we just throw an exception. I told SK team that we need to support it: https://github.com/microsoft/semantic-kernel/issues/4621 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Core/GoogleAI/GoogleAIEmbeddingRequest.cs:73 — // todo: enum — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Core/VertexAI/VertexAIEmbeddingRequest.cs:42 — // todo: enum — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIKernelBuilderExtensions.cs:34 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIKernelBuilderExtensions.cs:68 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIKernelBuilderExtensions.cs:103 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIServiceCollectionExtensions.DependencyInjection.cs:35 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIServiceCollectionExtensions.cs:31 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Extensions/GoogleAIServiceCollectionExtensions.cs:63 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Services/GoogleAIEmbeddingGenerator.cs:33 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment dotnet/src/Connectors/Connectors.Google/Services/GoogleAIGeminiChatCompletionService.cs:34 — // todo: change beta to stable when stable version will be available — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • + 52 more in this group — see findings.md.
D10 · Test Quality · No assertions · ×64
  • No assertions: UseSimplestProcessAsync dotnet/samples/GettingStartedWithProcesses/Step00/Step00_Processes.cs:23 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: UsePrepareStatefulFriedFishProcessNoSharedStateAsync dotnet/samples/GettingStartedWithProcesses/Step03/Step03a_FoodPreparation.cs:61 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: UsePrepareStatefulFriedFishProcessSharedStateAsync dotnet/samples/GettingStartedWithProcesses/Step03/Step03a_FoodPreparation.cs:81 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: UsePrepareStatefulPotatoFriesProcessSharedStateAsync dotnet/samples/GettingStartedWithProcesses/Step03/Step03a_FoodPreparation.cs:97 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: RunAndStoreStatefulFriedFishProcessStateAsync dotnet/samples/GettingStartedWithProcesses/Step03/Step03a_FoodPreparation.cs:125 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: RunAndStoreStatefulFishSandwichProcessStateAsync dotnet/samples/GettingStartedWithProcesses/Step03/Step03a_FoodPreparation.cs:137 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: RunMapReduceAsync dotnet/samples/GettingStartedWithProcesses/Step05/Step05_MapReduce.cs:39 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: IngestDataIntoInMemoryVectorStoreAsync dotnet/samples/GettingStartedWithVectorStores/Step1_Ingest_Data.cs:17 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: DeletingThreadTwiceDoesNotThrowAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/AgentThreadTests.cs:21 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: DeleteThreadWithServiceFailureThrowsAgentOperationExceptionAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/ChatCompletionAgentThreadTests.cs:10 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: OnNewMessageWithServiceFailureThrowsAgentOperationExceptionAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/ChatCompletionAgentThreadTests.cs:17 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: OnNewMessageWithServiceFailureThrowsAgentOperationExceptionAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/OpenAIResponseAgentThreadTests.cs:10 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: UsingThreadBeforeCreateCreatesAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/OpenAIResponseAgentThreadTests.cs:17 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: QueryInstacartPluginFromStreamAsync dotnet/src/IntegrationTests/Plugins/OpenApi/OpenApiPluginsTests.cs:52 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: QueryInstacartPluginUsingRelativeFilePathAsync dotnet/src/IntegrationTests/Plugins/OpenApi/OpenApiPluginsTests.cs:84 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: QueryInstacartPluginWithDynamicPayloadAsync dotnet/src/IntegrationTests/Plugins/OpenApi/OpenApiPluginsTests.cs:115 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: ItAllowsToImportTheSamePluginMultipleTimes dotnet/src/SemanticKernel.UnitTests/KernelTests.cs:87 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: ConversationCreatedAsyncBaseImplementationSucceeds dotnet/src/SemanticKernel.UnitTests/Memory/AIContextProviderTests.cs:18 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: MessageAddingAsyncBaseImplementationSucceeds dotnet/src/SemanticKernel.UnitTests/Memory/AIContextProviderTests.cs:28 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: ConversationDeletingAsyncBaseImplementationSucceeds dotnet/src/SemanticKernel.UnitTests/Memory/AIContextProviderTests.cs:39 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: SuspendingAsyncBaseImplementationSucceeds dotnet/src/SemanticKernel.UnitTests/Memory/AIContextProviderTests.cs:49 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: ResumingAsyncBaseImplementationSucceeds dotnet/src/SemanticKernel.UnitTests/Memory/AIContextProviderTests.cs:59 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: TokenCounterCountStateful dotnet/src/SemanticKernel.UnitTests/Text/TextChunkerInternationalTests.cs:36 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: TokenCounterCountStateless dotnet/src/SemanticKernel.UnitTests/Text/TextChunkerInternationalTests.cs:43 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: ItShouldNotThrowIfNotFrozen dotnet/src/SemanticKernel.UnitTests/Utilities/Model/FreezableTests.cs:45 — Test method exercises code but verifies nothing — add an assertion.
  • + 39 more in this group — see findings.md.
D17 · Explicit Debt · BarePragmaDisable · ×57
  • BarePragmaDisable dotnet/samples/Concepts/Plugins/ApiManifestBasedPlugins.cs:107 — #pragma warning disable SKEXP0050
  • BarePragmaDisable dotnet/samples/Concepts/Plugins/CopilotAgentBasedPlugins.cs:275 — #pragma warning disable SKEXP0050
  • BarePragmaDisable dotnet/samples/Concepts/Plugins/ApiManifestBasedPlugins.cs:123 — #pragma warning disable SKEXP0040
  • BarePragmaDisable dotnet/samples/Concepts/Plugins/CopilotAgentBasedPlugins.cs:238 — #pragma warning disable SKEXP0040
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/CustomRouter.cs:3 — #pragma warning disable SKEXP0001
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/Program.cs:8 — #pragma warning disable SKEXP0001
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/SelectedServiceFilter.cs:5 — #pragma warning disable SKEXP0001
  • BarePragmaDisable dotnet/src/Agents/Core/Internal/ChatMessageForPrompt.cs:27 — #pragma warning disable SKEXP0001
  • BarePragmaDisable dotnet/src/SemanticKernel.UnitTests/Contents/ChatMessageContentTests.cs:14 — #pragma warning disable SKEXP0001
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/CustomRouter.cs:4 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/Program.cs:9 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/samples/Demos/AIModelRouter/SelectedServiceFilter.cs:6 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/samples/GettingStarted/Step1_Create_Kernel.cs:48 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/src/Connectors/Connectors.HuggingFace.UnitTests/Services/HuggingFaceImageToTextTests.cs:32 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/src/IntegrationTests/Connectors/Onnx/OnnxRuntimeGenAIChatClientTests.cs:3 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/src/SemanticKernel.UnitTests/Contents/ChatMessageContentTests.cs:15 — #pragma warning disable SKEXP0010
  • BarePragmaDisable dotnet/samples/Demos/AgentFrameworkWithAspire/ChatWithAgent.Web/Extensions/HttpClientBuilderExtensions.cs:12 — #pragma warning disable EXTEXP0001
  • BarePragmaDisable dotnet/samples/Demos/OpenAIRealtime/Program.cs:15 — #pragma warning disable OPENAI002
  • BarePragmaDisable dotnet/samples/Demos/QualityCheck/QualityCheckWithFilters/Services/FakeChatCompletionService.cs:10 — #pragma warning disable CS1998
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:190 — #pragma warning disable CA2000
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:219 — #pragma warning disable CA2000
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:248 — #pragma warning disable CA2000
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:273 — #pragma warning disable CA2000
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:314 — #pragma warning disable CA2000
  • BarePragmaDisable dotnet/src/Connectors/Connectors.Google.UnitTests/Core/Gemini/Clients/GeminiChatGenerationFunctionCallingTests.cs:348 — #pragma warning disable CA2000
  • + 32 more in this group — see findings.md.
D38 · OSV Dependency Vulnerabilities · Medium CVE · ×36
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.13.4
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.0
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.1
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.0
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.13.4
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.13.4
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.13.4
  • Medium CVE: [GHSA redacted] python/uv.lock — aiohttp 3.13.3: [GHSA redacted] — upgrade to 3.14.1
  • Medium CVE: PYSEC-2026-2094 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2094 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2095 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2095 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2096 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2096 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2097 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2097 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2098 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2098 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2099 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2099 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2100 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2100 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2101 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2101 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2102 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2102 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2103 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2103 — upgrade to 3.13.4
  • Medium CVE: PYSEC-2026-2104 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2104 — upgrade to 3.14.0
  • Medium CVE: PYSEC-2026-2105 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2105 — upgrade to 3.14.0
  • Medium CVE: PYSEC-2026-2106 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2106 — upgrade to 3.14.0
  • Medium CVE: PYSEC-2026-2107 python/uv.lock — aiohttp 3.13.3: PYSEC-2026-2107 — upgrade to 3.14.1
  • + 11 more in this group — see findings.md.
D17 · Explicit Debt · CommentedOutCode · ×20
  • CommentedOutCode dotnet/src/Experimental/Orchestration.Flow.UnitTests/XunitHelpers/TestConsoleLogger.cs:23 — 5 consecutive commented-code lines
  • CommentedOutCode dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:546 — 5 consecutive commented-code lines
  • CommentedOutCode dotnet/src/Extensions/Extensions.UnitTests/XunitHelpers/TestConsoleLogger.cs:23 — 5 consecutive commented-code lines
  • CommentedOutCode dotnet/src/SemanticKernel.UnitTests/XunitHelpers/TestConsoleLogger.cs:23 — 5 consecutive commented-code lines
  • CommentedOutCode dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:567 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/AzureOpenAI/AzureOpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:49 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/AzureOpenAI/AzureOpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:189 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:45 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:185 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:205 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/SemanticKernel.UnitTests/AI/FunctionChoiceBehaviors/FunctionChoiceBehaviorTests.cs:197 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/SemanticKernel.UnitTests/AI/FunctionChoiceBehaviors/FunctionChoiceBehaviorTests.cs:220 — 3 consecutive commented-code lines
  • CommentedOutCode dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:587 — 11 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/AzureOpenAI/AzureOpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:55 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/AzureOpenAI/AzureOpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:195 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/AzureOpenAI/AzureOpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:211 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:51 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/IntegrationTests/Connectors/OpenAI/OpenAIChatCompletion_RequiredFunctionChoiceBehaviorTests.cs:191 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/Plugins/Plugins.Document/DocumentPlugin.cs:19 — 4 consecutive commented-code lines
  • CommentedOutCode dotnet/src/SemanticKernel.UnitTests/Functions/KernelJsonSchemaTests.cs:96 — 7 consecutive commented-code lines
D5 · Coupling · Off the main sequence · ×20
  • Off the main sequence: SemanticKernel.Core(net10.0) — SemanticKernel.Core(net10.0): abstractness 0.04, instability 0.01, distance 0.95 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Connectors.OpenAI(net10.0) — Connectors.OpenAI(net10.0): abstractness 0.01, instability 0.04, distance 0.95 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Connectors.AzureOpenAI(net10.0) — Connectors.AzureOpenAI(net10.0): abstractness 0.00, instability 0.11, distance 0.89 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Agents.Abstractions(net10.0) — Agents.Abstractions(net10.0): abstractness 0.10, instability 0.03, distance 0.87 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Agents.AzureAI(net10.0) — Agents.AzureAI(net10.0): abstractness 0.00, instability 0.13, distance 0.87 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: PromptTemplates.Handlebars(net10.0) — PromptTemplates.Handlebars(net10.0): abstractness 0.00, instability 0.13, distance 0.87 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Plugins.Web(net10.0) — Plugins.Web(net10.0): abstractness 0.01, instability 0.14, distance 0.85 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Functions.Yaml(net10.0) — Functions.Yaml(net10.0): abstractness 0.00, instability 0.17, distance 0.83 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Runtime.Abstractions(net10.0) — Runtime.Abstractions(net10.0): abstractness 0.17, instability 0.00, distance 0.83 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Agents.Core(net10.0) — Agents.Core(net10.0): abstractness 0.06, instability 0.12, distance 0.82 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: SemanticKernel.Abstractions(net10.0) — SemanticKernel.Abstractions(net10.0): abstractness 0.18, instability 0.00, distance 0.82 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Connectors.Onnx(net10.0) — Connectors.Onnx(net10.0): abstractness 0.00, instability 0.20, distance 0.80 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Functions.OpenApi(net10.0) — Functions.OpenApi(net10.0): abstractness 0.00, instability 0.25, distance 0.75 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Plugins.Core(net10.0) — Plugins.Core(net10.0): abstractness 0.00, instability 0.25, distance 0.75 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Runtime.InProcess(net10.0) — Runtime.InProcess(net10.0): abstractness 0.05, instability 0.20, distance 0.75 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Runtime.Core(net10.0) — Runtime.Core(net10.0): abstractness 0.12, instability 0.14, distance 0.74 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Agents.OpenAI(net10.0) — Agents.OpenAI(net10.0): abstractness 0.00, instability 0.26, distance 0.74 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Process.Abstractions(net10.0) — Process.Abstractions(net10.0): abstractness 0.02, instability 0.26, distance 0.72 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Connectors.AzureAIInference(net10.0) — Connectors.AzureAIInference(net10.0): abstractness 0.00, instability 0.29, distance 0.71 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Plugins.Memory(net10.0) — Plugins.Memory(net10.0): abstractness 0.00, instability 0.29, distance 0.71 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
D35 · Change Coupling · Change coupling · ×8
  • Change coupling: azure_ai_inference_chat_completion.py ↔ azure_ai_inference_text_embedding.py python/semantic_kernel/connectors/ai/azure_ai_inference/services/azure_ai_inference_chat_completion.py — `python/semantic_kernel/connectors/ai/azure_ai_inference/services/azure_ai_inference_chat_completion.py` and `python/semantic_kernel/connectors/ai/azure_ai_inference/services/azure_ai_inference_text_embedding.py` change together 67% of the time (8 shared commits) with no explicit dependency — a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling.
  • Change coupling: QdrantFilterTranslator.cs ↔ RedisFilterTranslator.cs dotnet/src/VectorData/Qdrant/QdrantFilterTranslator.cs — `dotnet/src/VectorData/Qdrant/QdrantFilterTranslator.cs` and `dotnet/src/VectorData/Redis/RedisFilterTranslator.cs` change together 60% of the time (6 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: LocalKernelProcessContext.cs ↔ LocalStep.cs dotnet/src/Experimental/Process.LocalRuntime/LocalKernelProcessContext.cs — `dotnet/src/Experimental/Process.LocalRuntime/LocalKernelProcessContext.cs` and `dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs` change together 60% of the time (6 shared commits) with no explicit dependency — a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling.
  • Change coupling: LocalStep.cs ↔ StepActor.cs dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs — `dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs` and `dotnet/src/Experimental/Process.Runtime.Dapr/Actors/StepActor.cs` change together 56% of the time (9 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: open_ai_chat_completion.py ↔ open_ai_text_completion.py python/semantic_kernel/connectors/ai/open_ai/services/open_ai_chat_completion.py — `python/semantic_kernel/connectors/ai/open_ai/services/open_ai_chat_completion.py` and `python/semantic_kernel/connectors/ai/open_ai/services/open_ai_text_completion.py` change together 56% of the time (14 shared commits) with no explicit dependency — a hidden/logical coupling. They already sit in the same directory, so if they share structure, extract the common part into one unit; otherwise break the coupling.
  • Change coupling: AgentChat.cs ↔ ChatCompletionAgent.cs dotnet/src/Agents/Abstractions/AgentChat.cs — `dotnet/src/Agents/Abstractions/AgentChat.cs` and `dotnet/src/Agents/Core/ChatCompletionAgent.cs` change together 55% of the time (11 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: ProcessBuilder.cs ↔ LocalProcess.cs dotnet/src/Experimental/Process.Core/ProcessBuilder.cs — `dotnet/src/Experimental/Process.Core/ProcessBuilder.cs` and `dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs` change together 55% of the time (6 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: bedrock_agent.py ↔ chat_completion_agent.py python/semantic_kernel/agents/bedrock/bedrock_agent.py — `python/semantic_kernel/agents/bedrock/bedrock_agent.py` and `python/semantic_kernel/agents/chat_completion/chat_completion_agent.py` change together 53% of the time (10 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
D3 · God Classes · ClassTooLong · ×7
  • ClassTooLong: KernelFunctionFromMethod dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:0 — ClassTooLong — 532 lines, 27 methods.
  • ClassTooLong: GeminiChatCompletionClient dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:0 — ClassTooLong — 503 lines, 27 methods.
  • ClassTooLong: MistralClient dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:0 — ClassTooLong — 495 lines, 28 methods.
  • ClassTooLong: KernelFunctionFromPrompt dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs:0 — ClassTooLong — 467 lines, 21 methods.
  • ClassTooLong: AgentThreadActions dotnet/src/Agents/AzureAI/Internal/AgentThreadActions.cs:0 — ClassTooLong — 448 lines, 20 methods.
  • ClassTooLong: AzureOpenAIKernelBuilderExtensions dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:0 — ClassTooLong — 428 lines, 22 methods.
  • ClassTooLong: AssistantThreadActions dotnet/src/Agents/OpenAI/Internal/AssistantThreadActions.cs:0 — ClassTooLong — 427 lines, 19 methods.
D3 · God Classes · FileTooLong · ×5
  • FileTooLong: Core/ClientCore.ChatCompletion.cs dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:0 — FileTooLong — 647 lines.
  • FileTooLong: SemanticKernel.Core/KernelExtensions.cs dotnet/src/SemanticKernel.Core/KernelExtensions.cs:0 — FileTooLong — 588 lines.
  • FileTooLong: Functions/KernelFunctionFromMethod.cs dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:0 — FileTooLong — 553 lines.
  • FileTooLong: Clients/GeminiChatCompletionClient.cs dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:0 — FileTooLong — 520 lines.
  • FileTooLong: Client/MistralClient.cs dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:0 — FileTooLong — 515 lines.
D3 · God Classes · TooManyMethods · ×4
  • TooManyMethods: ClientCore dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.AudioToText.cs:0 — TooManyMethods — 886 lines, 59 methods.
  • TooManyMethods: KernelExtensions dotnet/src/SemanticKernel.Core/KernelExtensions.cs:0 — TooManyMethods — 574 lines, 52 methods.
  • TooManyMethods: Throw dotnet/src/InternalUtilities/src/Diagnostics/Throw.cs:0 — TooManyMethods — 262 lines, 47 methods.
  • TooManyMethods: ProcessBuilder dotnet/src/Experimental/Process.Core/ProcessBuilder.cs:0 — TooManyMethods — 167 lines, 31 methods.
D4 · Code Duplication · Duplicated block (13 lines × 2) · ×4
  • Duplicated block (13 lines × 2) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandService.cs:59 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandService.cs:59-71 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Mistral/MistralService.cs:88-100
  • Duplicated block (13 lines × 2) dotnet/src/Connectors/Connectors.Google/Models/Gemini/GeminiFunctionToolCall.cs:110 — dotnet/src/Connectors/Connectors.Google/Models/Gemini/GeminiFunctionToolCall.cs:110-122 | dotnet/src/Connectors/Connectors.OpenAI/Core/OpenAIFunctionToolCall.cs:75-86
  • Duplicated block (13 lines × 2) dotnet/src/Plugins/Plugins.Web/Bing/BingConnector.cs:91 — dotnet/src/Plugins/Plugins.Web/Bing/BingConnector.cs:91-103 | dotnet/src/Plugins/Plugins.Web/Google/GoogleConnector.cs:103-115
  • Duplicated block (13 lines × 2) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:374 — dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:374-386 | dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:367-379
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×4
  • Duplicated block (10 lines × 2) dotnet/src/Connectors/Connectors.MistralAI/Services/MistralAIChatCompletionService.cs:31 — dotnet/src/Connectors/Connectors.MistralAI/Services/MistralAIChatCompletionService.cs:31-40 | dotnet/src/Connectors/Connectors.MistralAI/Services/MistralAITextEmbeddingGenerationService.cs:32-41
  • Duplicated block (10 lines × 2) dotnet/src/Functions/Functions.Grpc/Extensions/GrpcKernelExtensions.cs:110 — dotnet/src/Functions/Functions.Grpc/Extensions/GrpcKernelExtensions.cs:110-119 | dotnet/src/Functions/Functions.Grpc/Extensions/GrpcKernelExtensions.cs:140-149
  • Duplicated block (10 lines × 2) dotnet/src/Extensions/PromptTemplates.Handlebars/HandlebarsPromptTemplate.cs:183 — dotnet/src/Extensions/PromptTemplates.Handlebars/HandlebarsPromptTemplate.cs:183-192 | dotnet/src/Extensions/PromptTemplates.Liquid/LiquidPromptTemplate.cs:246-255
  • Duplicated block (10 lines × 2) dotnet/src/Plugins/Plugins.Web/Bing/BingConnector.cs:67 — dotnet/src/Plugins/Plugins.Web/Bing/BingConnector.cs:67-76 | dotnet/src/Plugins/Plugins.Web/Brave/BraveConnector.cs:74-83
D4 · Code Duplication · Duplicated block (18 lines × 2) · ×3
  • Duplicated block (18 lines × 2) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:58 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:58-75 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Mistral/MistralService.cs:69-83
  • Duplicated block (18 lines × 2) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:102 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:102-119 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Mistral/MistralService.cs:114-128
  • Duplicated block (18 lines × 2) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:78 — dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:78-95 | dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:503-519
D4 · Code Duplication · Duplicated block (16 lines × 2) · ×3
  • Duplicated block (16 lines × 2) dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:161 — dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:161-174 | dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:186-201
  • Duplicated block (16 lines × 2) dotnet/src/Experimental/Process.LocalRuntime/LocalProxy.cs:34 — dotnet/src/Experimental/Process.LocalRuntime/LocalProxy.cs:34-49 | dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProxyActor.cs:33-48
  • Duplicated block (16 lines × 2) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:185 — dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:185-200 | dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:182-197
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×3
  • Duplicated block (6 lines × 2) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/AnthropicService.cs:58 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/AnthropicService.cs:58-63 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandRService.cs:82-87
  • Duplicated block (6 lines × 2) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/AnthropicService.cs:141 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/AnthropicService.cs:141-146 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandRService.cs:161-166
  • Duplicated block (6 lines × 2) dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:152 — dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:152-157 | dotnet/src/Plugins/Plugins.Web/Google/GoogleTextSearch.cs:146-151
D15 · Churn × Complexity Hotspots · Hotspot · ×2
  • Hotspot: dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs — dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs changed 2 times in last 90 days, max complexity 63.
  • Hotspot: dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs — dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs changed 3 times in last 90 days, max complexity 37. 1 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
D4 · Code Duplication · Duplicated block (15 lines × 2) · ×2
  • Duplicated block (15 lines × 2) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:112 — dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:112-126 | dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:524-538
  • Duplicated block (15 lines × 2) dotnet/src/Plugins/Plugins.Document/DocumentPlugin.cs:194 — dotnet/src/Plugins/Plugins.Document/DocumentPlugin.cs:194-208 | dotnet/src/Plugins/Plugins.Web/WebFileDownloadPlugin.cs:270-284
D4 · Code Duplication · Duplicated block (14 lines × 2) · ×2
  • Duplicated block (14 lines × 2) dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs:155 — dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs:155-168 | dotnet/src/Experimental/Process.Runtime.Dapr/Actors/StepActor.cs:238-251
  • Duplicated block (14 lines × 2) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:210 — dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:210-223 | dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:207-220
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×2
  • Duplicated block (12 lines × 2) dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:179 — dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:179-189 | dotnet/src/Connectors/Connectors.AzureOpenAI/Extensions/AzureOpenAIKernelBuilderExtensions.cs:745-756
  • Duplicated block (12 lines × 2) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:145 — dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:145-156 | dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:142-153
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×2
  • Duplicated block (7 lines × 2) dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs:213 — dotnet/src/Experimental/Process.LocalRuntime/LocalStep.cs:213-219 | dotnet/src/Experimental/Process.Runtime.Dapr/Actors/StepActor.cs:278-284
  • Duplicated block (7 lines × 2) dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProcessActor.cs:385 — dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProcessActor.cs:385-391 | dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProcessActor.cs:425-431
D4 · Code Duplication · Duplicated block (6 lines × 5) · ×2
  • Duplicated block (6 lines × 5) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/AI21Labs/AI21JambaService.cs:77 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/AI21Labs/AI21JambaService.cs:77-82 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Amazon/AmazonService.cs:65-70 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandRService.cs:83-88 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:55-60 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Mistral/MistralService.cs:66-71
  • Duplicated block (6 lines × 5) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/AI21Labs/AI21JambaService.cs:135 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/AI21Labs/AI21JambaService.cs:135-140 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Amazon/AmazonService.cs:106-111 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Cohere/CohereCommandRService.cs:162-167 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Meta/MetaService.cs:99-104 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Mistral/MistralService.cs:111-116
D6 · Cohesion (LCOM4) · Low cohesion · ×2
  • Low cohesion: Kernel (LCOM4 7) dotnet/src/SemanticKernel.Abstractions/Kernel.cs:26 — Kernel's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: Agent (LCOM4 6) dotnet/src/Agents/Abstractions/Agent.cs:24 — Agent's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
D1 · Cyclomatic Complexity · PromptExecutionSettingsExtensions.ToChatOptions (cyclomatic 63) · ×1
  • PromptExecutionSettingsExtensions.ToChatOptions (cyclomatic 63) dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs:18 — PromptExecutionSettingsExtensions.ToChatOptions has cyclomatic complexity 63 (threshold 15).
D1 · Cyclomatic Complexity · FlowExecutor.ExecuteFlowAsync (cyclomatic 50) · ×1
  • FlowExecutor.ExecuteFlowAsync (cyclomatic 50) dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:165 — FlowExecutor.ExecuteFlowAsync has cyclomatic complexity 50 (threshold 15).
D1 · Cyclomatic Complexity · CodeTokenizer.Tokenize (cyclomatic 45) · ×1
  • CodeTokenizer.Tokenize (cyclomatic 45) dotnet/src/SemanticKernel.Core/TemplateEngine/CodeTokenizer.cs:53 — CodeTokenizer.Tokenize has cyclomatic complexity 45 (threshold 15).
D1 · Cyclomatic Complexity · ClientCore.CreateRequestMessages (cyclomatic 37) · ×1
  • ClientCore.CreateRequestMessages (cyclomatic 37) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:730 — ClientCore.CreateRequestMessages has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · FlowExecutor.ExecuteStepAsync (cyclomatic 37) · ×1
  • FlowExecutor.ExecuteStepAsync (cyclomatic 37) dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:605 — FlowExecutor.ExecuteStepAsync has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · MistralClient.GetChatMessageContentsAsync (cyclomatic 31) · ×1
  • MistralClient.GetChatMessageContentsAsync (cyclomatic 31) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:49 — MistralClient.GetChatMessageContentsAsync has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · MistralClient.GetStreamingChatMessageContentsAsync (cyclomatic 31) · ×1
  • MistralClient.GetStreamingChatMessageContentsAsync (cyclomatic 31) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:267 — MistralClient.GetStreamingChatMessageContentsAsync has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · ServerUrlValidator.TryClassifyIPv4 (cyclomatic 30) · ×1
  • ServerUrlValidator.TryClassifyIPv4 (cyclomatic 30) dotnet/src/Functions/Functions.OpenApi/ServerUrlValidator.cs:225 — ServerUrlValidator.TryClassifyIPv4 has cyclomatic complexity 30 (threshold 15).
D1 · Cyclomatic Complexity · Program.Main (cyclomatic 29) · ×1
  • Program.Main (cyclomatic 29) dotnet/samples/Demos/OpenAIRealtime/Program.cs:24 — Program.Main has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · KernelFunctionFromMethod.GetParameterMarshalerDelegate (cyclomatic 28) · ×1
  • KernelFunctionFromMethod.GetParameterMarshalerDelegate (cyclomatic 28) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:614 — KernelFunctionFromMethod.GetParameterMarshalerDelegate has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · TemplateTokenizer.Tokenize (cyclomatic 28) · ×1
  • TemplateTokenizer.Tokenize (cyclomatic 28) dotnet/src/SemanticKernel.Core/TemplateEngine/TemplateTokenizer.cs:40 — TemplateTokenizer.Tokenize has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · FunctionResult.GetValue (cyclomatic 26) · ×1
  • FunctionResult.GetValue (cyclomatic 26) dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:83 — FunctionResult.GetValue has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · AssistantThreadActions.InvokeStreamingAsync (cyclomatic 26) · ×1
  • AssistantThreadActions.InvokeStreamingAsync (cyclomatic 26) dotnet/src/Agents/OpenAI/Internal/AssistantThreadActions.cs:353 — AssistantThreadActions.InvokeStreamingAsync has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · AssistantThreadActions.InvokeAsync (cyclomatic 25) · ×1
  • AssistantThreadActions.InvokeAsync (cyclomatic 25) dotnet/src/Agents/OpenAI/Internal/AssistantThreadActions.cs:114 — AssistantThreadActions.InvokeAsync has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · BraveTextSearch.CheckQueryValidation (cyclomatic 25) · ×1
  • BraveTextSearch.CheckQueryValidation (cyclomatic 25) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:700 — BraveTextSearch.CheckQueryValidation has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · TypeConverterFactory.GetTypeConverter (cyclomatic 24) · ×1
  • TypeConverterFactory.GetTypeConverter (cyclomatic 24) dotnet/src/InternalUtilities/src/System/TypeConverterFactory.cs:22 — TypeConverterFactory.GetTypeConverter has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · AgentThreadActions.InvokeAsync (cyclomatic 24) · ×1
  • AgentThreadActions.InvokeAsync (cyclomatic 24) dotnet/src/Agents/AzureAI/Internal/AgentThreadActions.cs:136 — AgentThreadActions.InvokeAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · AgentThreadActions.InvokeStreamingAsync (cyclomatic 24) · ×1
  • AgentThreadActions.InvokeStreamingAsync (cyclomatic 24) dotnet/src/Agents/AzureAI/Internal/AgentThreadActions.cs:371 — AgentThreadActions.InvokeStreamingAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · ClientCore.GetStreamingChatMessageContentsAsync (cyclomatic 24) · ×1
  • ClientCore.GetStreamingChatMessageContentsAsync (cyclomatic 24) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:227 — ClientCore.GetStreamingChatMessageContentsAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · KernelFunctionFromPrompt.InvokeStreamingCoreAsync (cyclomatic 23) · ×1
  • KernelFunctionFromPrompt.InvokeStreamingCoreAsync (cyclomatic 23) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs:275 — KernelFunctionFromPrompt.InvokeStreamingCoreAsync has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · ResponseThreadActions.InvokeStreamingAsync (cyclomatic 23) · ×1
  • ResponseThreadActions.InvokeStreamingAsync (cyclomatic 23) dotnet/src/Agents/OpenAI/Internal/ResponseThreadActions.cs:120 — ResponseThreadActions.InvokeStreamingAsync has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · ChatOptionsExtensions.ToPromptExecutionSettings (cyclomatic 21) · ×1
  • ChatOptionsExtensions.ToPromptExecutionSettings (cyclomatic 21) dotnet/src/SemanticKernel.Abstractions/AI/ChatClient/ChatOptionsExtensions.cs:17 — ChatOptionsExtensions.ToPromptExecutionSettings has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · KernelFunctionFromMethod.GetReturnValueMarshalerDelegate (cyclomatic 21) · ×1
  • KernelFunctionFromMethod.GetReturnValueMarshalerDelegate (cyclomatic 21) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:824 — KernelFunctionFromMethod.GetReturnValueMarshalerDelegate has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · KernelFunctionFromMethod.GetConverter (cyclomatic 21) · ×1
  • KernelFunctionFromMethod.GetConverter (cyclomatic 21) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:1053 — KernelFunctionFromMethod.GetConverter has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · KernelFunctionFromPrompt.CaptureUsageDetails (cyclomatic 21) · ×1
  • KernelFunctionFromPrompt.CaptureUsageDetails (cyclomatic 21) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs:646 — KernelFunctionFromPrompt.CaptureUsageDetails has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync (cyclomatic 20) · ×1
  • GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync (cyclomatic 20) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:352 — GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · MistralClient.ToMistralChatMessages (cyclomatic 20) · ×1
  • MistralClient.ToMistralChatMessages (cyclomatic 20) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:710 — MistralClient.ToMistralChatMessages has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · ProcessVisualizationExtensions.RenderProcess (cyclomatic 20) · ×1
  • ProcessVisualizationExtensions.RenderProcess (cyclomatic 20) dotnet/src/Experimental/Process.Core/Tools/ProcessVisualizationExtensions.cs:60 — ProcessVisualizationExtensions.RenderProcess has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · GeminiRequest.TransformToOpenApi3Schema (cyclomatic 19) · ×1
  • GeminiRequest.TransformToOpenApi3Schema (cyclomatic 19) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Models/GeminiRequest.cs:475 — GeminiRequest.TransformToOpenApi3Schema has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · ChatMessageContentExtensions.ToChatMessage (cyclomatic 18) · ×1
  • ChatMessageContentExtensions.ToChatMessage (cyclomatic 18) dotnet/src/SemanticKernel.Abstractions/Contents/ChatMessageContentExtensions.cs:14 — ChatMessageContentExtensions.ToChatMessage has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · YamlAgentDefinitionExtensions.NormalizeObject (cyclomatic 18) · ×1
  • YamlAgentDefinitionExtensions.NormalizeObject (cyclomatic 18) dotnet/src/Agents/Yaml/Extensions/YamlAgentDefinitionExtensions.cs:29 — YamlAgentDefinitionExtensions.NormalizeObject has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · WorkflowBuilder.BuildOrchestrationAsync (cyclomatic 18) · ×1
  • WorkflowBuilder.BuildOrchestrationAsync (cyclomatic 18) dotnet/src/Experimental/Process.Core/Workflow/WorkflowBuilder.cs:222 — WorkflowBuilder.BuildOrchestrationAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync (cyclomatic 18) · ×1
  • CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync (cyclomatic 18) dotnet/src/Functions/Functions.OpenApi.Extensions/Extensions/CopilotAgentPluginKernelExtensions.cs:57 — CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · GoogleTextSearch.ApplyDefaultSearchParameters (cyclomatic 18) · ×1
  • GoogleTextSearch.ApplyDefaultSearchParameters (cyclomatic 18) dotnet/src/Plugins/Plugins.Web/Google/GoogleTextSearch.cs:452 — GoogleTextSearch.ApplyDefaultSearchParameters has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · AzureClientCore.CreateChatCompletionOptions (cyclomatic 17) · ×1
  • AzureClientCore.CreateChatCompletionOptions (cyclomatic 17) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:32 — AzureClientCore.CreateChatCompletionOptions has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · BedrockServiceFactory.CreateTextGenerationService (cyclomatic 16) · ×1
  • BedrockServiceFactory.CreateTextGenerationService (cyclomatic 16) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/BedrockServiceFactory.cs:43 — BedrockServiceFactory.CreateTextGenerationService has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · JMESUpdate.PerformOperation (cyclomatic 16) · ×1
  • JMESUpdate.PerformOperation (cyclomatic 16) dotnet/src/InternalUtilities/process/Abstractions/DeclarativeConditionEvaluation.cs:378 — JMESUpdate.PerformOperation has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · LocalProcess.EnqueueEdgesAsync (cyclomatic 16) · ×1
  • LocalProcess.EnqueueEdgesAsync (cyclomatic 16) dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:396 — LocalProcess.EnqueueEdgesAsync has cyclomatic complexity 16 (threshold 15).
D17 · Explicit Debt · BareSuppressMessage repeated across 12 files · ×1
  • BareSuppressMessage repeated across 12 files dotnet/samples/Concepts/Agents/AzureAIAgent_Streaming.cs:188 — The identical BareSuppressMessage (`System.Diagnostics.CodeAnalysis.SuppressMessage`) appears in 12 files (12 occurrences) — a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 12 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)
D18 · Solution Shape · Monorepo · ×1
  • Monorepo: only 1 of 4 solutions was scored — This repository contains 4 .NET solutions, but a scan analyzes ONE. Every score, lens, and finding here reflects only `dotnet/SK-dotnet.slnx` — the other 3 (`dotnet/MEVD.slnx`, `dotnet/samples/Demos/CopilotAgentPlugins/CopilotAgentPluginsDemoSample/CopilotAgentPluginsDemoSample.sln`, `dotnet/samples/Demos/VoiceChat/VoiceChat.sln`) were not analyzed and are not represented in the headline. To cover them, scan each solution as its own target and group them in a Solution or Product for a portfolio roll-up. If a secondary solution is an archived or vendored tree, declare it — `.gitattributes` (`path/** linguist-vendored`) or `.editorconfig` (`[path/**] generated_code = true`) — to exclude it from discovery the same way generated code is.
D19 · Documentation Quality · LLM evaluation failed · ×1
  • LLM evaluation failed — JSON parse error: Expected end of string, but instead reached end of data. Path: $.findings[0].suggestion | LineNumber: 0 | BytePositionInLine: 1152.
D2 · Cognitive Complexity · FlowExecutor.ExecuteFlowAsync (cognitive 151) · ×1
  • FlowExecutor.ExecuteFlowAsync (cognitive 151) dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:165 — FlowExecutor.ExecuteFlowAsync has cognitive complexity 151 (threshold 15).
D2 · Cognitive Complexity · FlowExecutor.ExecuteStepAsync (cognitive 99) · ×1
  • FlowExecutor.ExecuteStepAsync (cognitive 99) dotnet/src/Experimental/Orchestration.Flow/Execution/FlowExecutor.cs:605 — FlowExecutor.ExecuteStepAsync has cognitive complexity 99 (threshold 15).
D2 · Cognitive Complexity · PromptExecutionSettingsExtensions.ToChatOptions (cognitive 86) · ×1
  • PromptExecutionSettingsExtensions.ToChatOptions (cognitive 86) dotnet/src/SemanticKernel.Abstractions/AI/PromptExecutionSettingsExtensions.cs:18 — PromptExecutionSettingsExtensions.ToChatOptions has cognitive complexity 86 (threshold 15).
D2 · Cognitive Complexity · MistralClient.GetChatMessageContentsAsync (cognitive 73) · ×1
  • MistralClient.GetChatMessageContentsAsync (cognitive 73) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:49 — MistralClient.GetChatMessageContentsAsync has cognitive complexity 73 (threshold 15).
D2 · Cognitive Complexity · CodeTokenizer.Tokenize (cognitive 71) · ×1
  • CodeTokenizer.Tokenize (cognitive 71) dotnet/src/SemanticKernel.Core/TemplateEngine/CodeTokenizer.cs:53 — CodeTokenizer.Tokenize has cognitive complexity 71 (threshold 15).
D2 · Cognitive Complexity · MistralClient.GetStreamingChatMessageContentsAsync (cognitive 68) · ×1
  • MistralClient.GetStreamingChatMessageContentsAsync (cognitive 68) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:267 — MistralClient.GetStreamingChatMessageContentsAsync has cognitive complexity 68 (threshold 15).
D2 · Cognitive Complexity · Program.Main (cognitive 67) · ×1
  • Program.Main (cognitive 67) dotnet/samples/Demos/OpenAIRealtime/Program.cs:24 — Program.Main has cognitive complexity 67 (threshold 15).
D2 · Cognitive Complexity · AssistantThreadActions.InvokeStreamingAsync (cognitive 66) · ×1
  • AssistantThreadActions.InvokeStreamingAsync (cognitive 66) dotnet/src/Agents/OpenAI/Internal/AssistantThreadActions.cs:353 — AssistantThreadActions.InvokeStreamingAsync has cognitive complexity 66 (threshold 15).
D2 · Cognitive Complexity · AssistantThreadActions.InvokeAsync (cognitive 62) · ×1
  • AssistantThreadActions.InvokeAsync (cognitive 62) dotnet/src/Agents/OpenAI/Internal/AssistantThreadActions.cs:114 — AssistantThreadActions.InvokeAsync has cognitive complexity 62 (threshold 15).
D2 · Cognitive Complexity · TemplateTokenizer.Tokenize (cognitive 61) · ×1
  • TemplateTokenizer.Tokenize (cognitive 61) dotnet/src/SemanticKernel.Core/TemplateEngine/TemplateTokenizer.cs:40 — TemplateTokenizer.Tokenize has cognitive complexity 61 (threshold 15).
D2 · Cognitive Complexity · AgentThreadActions.InvokeAsync (cognitive 61) · ×1
  • AgentThreadActions.InvokeAsync (cognitive 61) dotnet/src/Agents/AzureAI/Internal/AgentThreadActions.cs:136 — AgentThreadActions.InvokeAsync has cognitive complexity 61 (threshold 15).
D2 · Cognitive Complexity · AgentThreadActions.InvokeStreamingAsync (cognitive 58) · ×1
  • AgentThreadActions.InvokeStreamingAsync (cognitive 58) dotnet/src/Agents/AzureAI/Internal/AgentThreadActions.cs:371 — AgentThreadActions.InvokeStreamingAsync has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · KernelFunctionFromPrompt.InvokeStreamingCoreAsync (cognitive 57) · ×1
  • KernelFunctionFromPrompt.InvokeStreamingCoreAsync (cognitive 57) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs:275 — KernelFunctionFromPrompt.InvokeStreamingCoreAsync has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · ClientCore.GetStreamingChatMessageContentsAsync (cognitive 57) · ×1
  • ClientCore.GetStreamingChatMessageContentsAsync (cognitive 57) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:227 — ClientCore.GetStreamingChatMessageContentsAsync has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · ClientCore.CreateRequestMessages (cognitive 54) · ×1
  • ClientCore.CreateRequestMessages (cognitive 54) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:730 — ClientCore.CreateRequestMessages has cognitive complexity 54 (threshold 15).
D2 · Cognitive Complexity · GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync (cognitive 53) · ×1
  • GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync (cognitive 53) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:352 — GeminiChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync has cognitive complexity 53 (threshold 15).
D2 · Cognitive Complexity · GeminiRequest.TransformToOpenApi3Schema (cognitive 52) · ×1
  • GeminiRequest.TransformToOpenApi3Schema (cognitive 52) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Models/GeminiRequest.cs:475 — GeminiRequest.TransformToOpenApi3Schema has cognitive complexity 52 (threshold 15).
D2 · Cognitive Complexity · YamlAgentDefinitionExtensions.NormalizeObject (cognitive 50) · ×1
  • YamlAgentDefinitionExtensions.NormalizeObject (cognitive 50) dotnet/src/Agents/Yaml/Extensions/YamlAgentDefinitionExtensions.cs:29 — YamlAgentDefinitionExtensions.NormalizeObject has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · FunctionResult.GetValue (cognitive 45) · ×1
  • FunctionResult.GetValue (cognitive 45) dotnet/src/SemanticKernel.Abstractions/Functions/FunctionResult.cs:83 — FunctionResult.GetValue has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · ProcessVisualizationExtensions.RenderProcess (cognitive 40) · ×1
  • ProcessVisualizationExtensions.RenderProcess (cognitive 40) dotnet/src/Experimental/Process.Core/Tools/ProcessVisualizationExtensions.cs:60 — ProcessVisualizationExtensions.RenderProcess has cognitive complexity 40 (threshold 15).
D2 · Cognitive Complexity · MistralClient.ToMistralChatMessages (cognitive 35) · ×1
  • MistralClient.ToMistralChatMessages (cognitive 35) dotnet/src/Connectors/Connectors.MistralAI/Client/MistralClient.cs:710 — MistralClient.ToMistralChatMessages has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · KernelFunctionFromMethod.GetParameterMarshalerDelegate (cognitive 33) · ×1
  • KernelFunctionFromMethod.GetParameterMarshalerDelegate (cognitive 33) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:614 — KernelFunctionFromMethod.GetParameterMarshalerDelegate has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · ChatOptionsExtensions.ToPromptExecutionSettings (cognitive 32) · ×1
  • ChatOptionsExtensions.ToPromptExecutionSettings (cognitive 32) dotnet/src/SemanticKernel.Abstractions/AI/ChatClient/ChatOptionsExtensions.cs:17 — ChatOptionsExtensions.ToPromptExecutionSettings has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · WorkflowBuilder.BuildOrchestrationAsync (cognitive 32) · ×1
  • WorkflowBuilder.BuildOrchestrationAsync (cognitive 32) dotnet/src/Experimental/Process.Core/Workflow/WorkflowBuilder.cs:222 — WorkflowBuilder.BuildOrchestrationAsync has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · ChatMessageContentExtensions.ToChatMessage (cognitive 31) · ×1
  • ChatMessageContentExtensions.ToChatMessage (cognitive 31) dotnet/src/SemanticKernel.Abstractions/Contents/ChatMessageContentExtensions.cs:14 — ChatMessageContentExtensions.ToChatMessage has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · OrderedAIServiceSelector.TrySelect (cognitive 31) · ×1
  • OrderedAIServiceSelector.TrySelect (cognitive 31) dotnet/src/SemanticKernel.Abstractions/Services/OrderedAIServiceSelector.cs:29 — OrderedAIServiceSelector.TrySelect has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · ResponseThreadActions.InvokeStreamingAsync (cognitive 31) · ×1
  • ResponseThreadActions.InvokeStreamingAsync (cognitive 31) dotnet/src/Agents/OpenAI/Internal/ResponseThreadActions.cs:120 — ResponseThreadActions.InvokeStreamingAsync has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · A2AAgent.InvokeAgentAsync (cognitive 30) · ×1
  • A2AAgent.InvokeAgentAsync (cognitive 30) dotnet/src/Agents/A2A/A2AAgent.cs:147 — A2AAgent.InvokeAgentAsync has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · MagenticManagerActor.ManageAsync (cognitive 30) · ×1
  • MagenticManagerActor.ManageAsync (cognitive 30) dotnet/src/Agents/Magentic/MagenticManagerActor.cs:84 — MagenticManagerActor.ManageAsync has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · KernelProcessStateMetadataExtension.SanitizeProcessStateMetadata (cognitive 30) · ×1
  • KernelProcessStateMetadataExtension.SanitizeProcessStateMetadata (cognitive 30) dotnet/src/Experimental/Process.Core/Internal/KernelProcessStateMetadataExtension.cs:36 — KernelProcessStateMetadataExtension.SanitizeProcessStateMetadata has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · ApiManifestKernelExtensions.CreatePluginFromApiManifestAsync (cognitive 30) · ×1
  • ApiManifestKernelExtensions.CreatePluginFromApiManifestAsync (cognitive 30) dotnet/src/Functions/Functions.OpenApi.Extensions/Extensions/ApiManifestKernelExtensions.cs:94 — ApiManifestKernelExtensions.CreatePluginFromApiManifestAsync has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync (cognitive 30) · ×1
  • CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync (cognitive 30) dotnet/src/Functions/Functions.OpenApi.Extensions/Extensions/CopilotAgentPluginKernelExtensions.cs:57 — CopilotAgentPluginKernelExtensions.CreatePluginFromCopilotAgentPluginAsync has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · DeclarativeEventHandlerGroupBuilder.DeclarativeEventHandlerGroupBuilder.ctor (cognitive 28) · ×1
  • DeclarativeEventHandlerGroupBuilder.DeclarativeEventHandlerGroupBuilder.ctor (cognitive 28) dotnet/src/Experimental/Process.Core/ProcessAgentBuilder.cs:268 — DeclarativeEventHandlerGroupBuilder.DeclarativeEventHandlerGroupBuilder.ctor has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · BraveTextSearch.CheckQueryValidation (cognitive 27) · ×1
  • BraveTextSearch.CheckQueryValidation (cognitive 27) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:700 — BraveTextSearch.CheckQueryValidation has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · KernelFunctionFromMethod.GetReturnValueMarshalerDelegate (cognitive 25) · ×1
  • KernelFunctionFromMethod.GetReturnValueMarshalerDelegate (cognitive 25) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:824 — KernelFunctionFromMethod.GetReturnValueMarshalerDelegate has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · JMESUpdate.PerformOperation (cognitive 25) · ×1
  • JMESUpdate.PerformOperation (cognitive 25) dotnet/src/InternalUtilities/process/Abstractions/DeclarativeConditionEvaluation.cs:378 — JMESUpdate.PerformOperation has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · LocalProcess.EnqueueEdgesAsync (cognitive 25) · ×1
  • LocalProcess.EnqueueEdgesAsync (cognitive 25) dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:396 — LocalProcess.EnqueueEdgesAsync has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · TextChunker.Split (cognitive 24) · ×1
  • TextChunker.Split (cognitive 24) dotnet/src/SemanticKernel.Core/Text/TextChunker.cs:283 — TextChunker.Split has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · ServerUrlValidator.TryClassifyIPv4 (cognitive 24) · ×1
  • ServerUrlValidator.TryClassifyIPv4 (cognitive 24) dotnet/src/Functions/Functions.OpenApi/ServerUrlValidator.cs:225 — ServerUrlValidator.TryClassifyIPv4 has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · AgentToolDefinitionExtensions.CreateParameterSpec (cognitive 23) · ×1
  • AgentToolDefinitionExtensions.CreateParameterSpec (cognitive 23) dotnet/src/Agents/AzureAI/Extensions/AgentToolDefinitionExtensions.cs:31 — AgentToolDefinitionExtensions.CreateParameterSpec has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · JMESUpdate.UpdateJsonElement (cognitive 23) · ×1
  • JMESUpdate.UpdateJsonElement (cognitive 23) dotnet/src/InternalUtilities/process/Abstractions/DeclarativeConditionEvaluation.cs:307 — JMESUpdate.UpdateJsonElement has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · TypeConverterFactory.GetTypeConverter (cognitive 22) · ×1
  • TypeConverterFactory.GetTypeConverter (cognitive 22) dotnet/src/InternalUtilities/src/System/TypeConverterFactory.cs:22 — TypeConverterFactory.GetTypeConverter has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · AzureClientCore.GetResponseModalities (cognitive 21) · ×1
  • AzureClientCore.GetResponseModalities (cognitive 21) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:144 — AzureClientCore.GetResponseModalities has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · FunctionChoiceBehavior.GetFunctions (cognitive 20) · ×1
  • FunctionChoiceBehavior.GetFunctions (cognitive 20) dotnet/src/SemanticKernel.Abstractions/AI/FunctionChoiceBehaviors/FunctionChoiceBehavior.cs:115 — FunctionChoiceBehavior.GetFunctions has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · FunctionCallsProcessor.ProcessFunctionCallsAsync (cognitive 19) · ×1
  • FunctionCallsProcessor.ProcessFunctionCallsAsync (cognitive 19) dotnet/src/InternalUtilities/connectors/AI/FunctionCalling/FunctionCallsProcessor.cs:135 — FunctionCallsProcessor.ProcessFunctionCallsAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · BedrockAgentInvokeExtensions.InternalInvokeAsync (cognitive 19) · ×1
  • BedrockAgentInvokeExtensions.InternalInvokeAsync (cognitive 19) dotnet/src/Agents/Bedrock/Extensions/BedrockAgentInvokeExtensions.cs:23 — BedrockAgentInvokeExtensions.InternalInvokeAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · AzureClientCore.CreateChatCompletionOptions (cognitive 19) · ×1
  • AzureClientCore.CreateChatCompletionOptions (cognitive 19) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:32 — AzureClientCore.CreateChatCompletionOptions has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · OpenAIFunction.GetSanitizedSchemaForStrictMode (cognitive 19) · ×1
  • OpenAIFunction.GetSanitizedSchemaForStrictMode (cognitive 19) dotnet/src/Connectors/Connectors.OpenAI/Core/OpenAIFunction.cs:237 — OpenAIFunction.GetSanitizedSchemaForStrictMode has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · MapActor.HandleMessageAsync (cognitive 19) · ×1
  • MapActor.HandleMessageAsync (cognitive 19) dotnet/src/Experimental/Process.Runtime.Dapr/Actors/MapActor.cs:86 — MapActor.HandleMessageAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · BingTextSearch.ProcessEqualityExpression (cognitive 19) · ×1
  • BingTextSearch.ProcessEqualityExpression (cognitive 19) dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:237 — BingTextSearch.ProcessEqualityExpression has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · BraveTextSearch.ProcessMethodCallClause (cognitive 19) · ×1
  • BraveTextSearch.ProcessMethodCallClause (cognitive 19) dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:284 — BraveTextSearch.ProcessMethodCallClause has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · TavilyTextSearch.ProcessMethodCallClause (cognitive 19) · ×1
  • TavilyTextSearch.ProcessMethodCallClause (cognitive 19) dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:281 — TavilyTextSearch.ProcessMethodCallClause has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · KernelParameterMetadata.InferSchema (cognitive 18) · ×1
  • KernelParameterMetadata.InferSchema (cognitive 18) dotnet/src/SemanticKernel.Abstractions/Functions/KernelParameterMetadata.cs:156 — KernelParameterMetadata.InferSchema has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · DataUriParser.Parse (cognitive 18) · ×1
  • DataUriParser.Parse (cognitive 18) dotnet/src/InternalUtilities/src/Text/DataUriParser.cs:74 — DataUriParser.Parse has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · KernelFunctionFromMethod.GetConverter (cognitive 18) · ×1
  • KernelFunctionFromMethod.GetConverter (cognitive 18) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromMethod.cs:1053 — KernelFunctionFromMethod.GetConverter has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · KernelFunctionFromPrompt.RenderPromptAsync (cognitive 18) · ×1
  • KernelFunctionFromPrompt.RenderPromptAsync (cognitive 18) dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs:554 — KernelFunctionFromPrompt.RenderPromptAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · BedrockServiceFactory.CreateTextGenerationService (cognitive 18) · ×1
  • BedrockServiceFactory.CreateTextGenerationService (cognitive 18) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/BedrockServiceFactory.cs:43 — BedrockServiceFactory.CreateTextGenerationService has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · GeminiChatCompletionClient.StreamGenerateChatMessageAsync (cognitive 18) · ×1
  • GeminiChatCompletionClient.StreamGenerateChatMessageAsync (cognitive 18) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Clients/GeminiChatCompletionClient.cs:231 — GeminiChatCompletionClient.StreamGenerateChatMessageAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · ClientCore.GetFunctionCallContents (cognitive 18) · ×1
  • ClientCore.GetFunctionCallContents (cognitive 18) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:1042 — ClientCore.GetFunctionCallContents has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · LocalProcess.InitializeProcessAsync (cognitive 18) · ×1
  • LocalProcess.InitializeProcessAsync (cognitive 18) dotnet/src/Experimental/Process.LocalRuntime/LocalProcess.cs:205 — LocalProcess.InitializeProcessAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · GrpcOperationRunner.GetAddress (cognitive 18) · ×1
  • GrpcOperationRunner.GetAddress (cognitive 18) dotnet/src/Functions/Functions.Grpc/GrpcOperationRunner.cs:159 — GrpcOperationRunner.GetAddress has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · AgentMessageFactory.GetMessageContent (cognitive 17) · ×1
  • AgentMessageFactory.GetMessageContent (cognitive 17) dotnet/src/Agents/AzureAI/Internal/AgentMessageFactory.cs:57 — AgentMessageFactory.GetMessageContent has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · BraveConnector.SearchAsync (cognitive 17) · ×1
  • BraveConnector.SearchAsync (cognitive 17) dotnet/src/Plugins/Plugins.Web/Brave/BraveConnector.cs:58 — BraveConnector.SearchAsync has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · GoogleTextSearch.ApplyDefaultSearchParameters (cognitive 17) · ×1
  • GoogleTextSearch.ApplyDefaultSearchParameters (cognitive 17) dotnet/src/Plugins/Plugins.Web/Google/GoogleTextSearch.cs:452 — GoogleTextSearch.ApplyDefaultSearchParameters has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · VadService.ProcessAudioChunk (cognitive 16) · ×1
  • VadService.ProcessAudioChunk (cognitive 16) dotnet/samples/Demos/VoiceChat/Services/VadService.cs:68 — VadService.ProcessAudioChunk has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · TextSearchResultPropertyReader.FindPropertiesInfo (cognitive 16) · ×1
  • TextSearchResultPropertyReader.FindPropertiesInfo (cognitive 16) dotnet/src/SemanticKernel.Core/Data/TextSearch/TextSearchResultPropertyReader.cs:72 — TextSearchResultPropertyReader.FindPropertiesInfo has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · TextChunker.ProcessParagraphs (cognitive 16) · ×1
  • TextChunker.ProcessParagraphs (cognitive 16) dotnet/src/SemanticKernel.Core/Text/TextChunker.cs:185 — TextChunker.ProcessParagraphs has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · AgentMessageFactory.GetThreadMessages (cognitive 16) · ×1
  • AgentMessageFactory.GetThreadMessages (cognitive 16) dotnet/src/Agents/AzureAI/Internal/AgentMessageFactory.cs:99 — AgentMessageFactory.GetThreadMessages has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · BedrockTextGenerationClient.StreamTextAsync (cognitive 16) · ×1
  • BedrockTextGenerationClient.StreamTextAsync (cognitive 16) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Clients/BedrockTextGenerationClient.cs:119 — BedrockTextGenerationClient.StreamTextAsync has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · GeminiRequest.CreateGeminiParts (cognitive 16) · ×1
  • GeminiRequest.CreateGeminiParts (cognitive 16) dotnet/src/Connectors/Connectors.Google/Core/Gemini/Models/GeminiRequest.cs:196 — GeminiRequest.CreateGeminiParts has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · ClientCore.GetResponseModalities (cognitive 16) · ×1
  • ClientCore.GetResponseModalities (cognitive 16) dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:1118 — ClientCore.GetResponseModalities has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · ProcessActor.SendOutgoingPublicEventsAsync (cognitive 16) · ×1
  • ProcessActor.SendOutgoingPublicEventsAsync (cognitive 16) dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProcessActor.cs:437 — ProcessActor.SendOutgoingPublicEventsAsync has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · CrewAIEnterprise.BuildArguments (cognitive 16) · ×1
  • CrewAIEnterprise.BuildArguments (cognitive 16) dotnet/src/Plugins/Plugins.AI/CrewAI/CrewAIEnterprise.cs:240 — CrewAIEnterprise.BuildArguments has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · BingTextSearch.BuildQuery (cognitive 16) · ×1
  • BingTextSearch.BuildQuery (cognitive 16) dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:598 — BingTextSearch.BuildQuery has cognitive complexity 16 (threshold 15).
D20 · ADR Quality · No consequences/trade-offs (e.g. cost of maintaining dual-service fallback) are stated in a visible portion · ×1
  • No consequences/trade-offs (e.g. cost of maintaining dual-service fallback) are stated in a visible portion docs/decisions/0038-completion-service-selection.md — Add a Consequences section covering operational complexity of managing both chat and text gen paths concurrently and any cost implications
D20 · ADR Quality · Decision and consequences are present but trade-offs (e.g. extensibility cost, hybrid query complexity) are only hinted rather than stated · ×1
  • Decision and consequences are present but trade-offs (e.g. extensibility cost, hybrid query complexity) are only hinted rather than stated docs/decisions/0058-vector-search-design.md — Add a Consequences section covering the overhead of maintaining subclasses for new vector types and the added complexity of hybrid search handling
D20 · ADR Quality · Decision outcome (when the ADR is applied) and consequences/trade-offs are not yet stated in a visible portion · ×1
  • Decision outcome (when the ADR is applied) and consequences/trade-offs are not yet stated in a visible portion docs/decisions/0066-concepts-guidelines.md — Add a Decision Outcome section stating when this ADR becomes effective (e.g. upon review of CONTRIBUTING.md or after merging into main branches), plus any trade-offs such as requiring new samples to follow the naming/convention rules, and how existing samples will be handled
D36 · Supply-chain Provenance & Signing · Unpinned build actions · ×1
  • Unpinned build actions — CI references GitHub Actions by a floating ref (@main / @tag) rather than a pinned commit SHA, weakening build integrity.
D4 · Code Duplication · Duplicated block (36 lines × 2) · ×1
  • Duplicated block (36 lines × 2) dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:145 — dotnet/src/Connectors/Connectors.AzureOpenAI/Core/AzureClientCore.ChatCompletion.cs:145-180 | dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.ChatCompletion.cs:1119-1154
D4 · Code Duplication · Duplicated block (22 lines × 2) · ×1
  • Duplicated block (22 lines × 2) dotnet/src/Extensions/PromptTemplates.Handlebars/HandlebarsPromptTemplate.cs:136 — dotnet/src/Extensions/PromptTemplates.Handlebars/HandlebarsPromptTemplate.cs:136-157 | dotnet/src/Extensions/PromptTemplates.Liquid/LiquidPromptTemplate.cs:199-220
D4 · Code Duplication · Duplicated block (21 lines × 2) · ×1
  • Duplicated block (21 lines × 2) dotnet/src/InternalUtilities/arguments/Extensions/KernelArgumentsExtensions.cs:26 — dotnet/src/InternalUtilities/arguments/Extensions/KernelArgumentsExtensions.cs:26-46 | dotnet/src/Agents/Core/Internal/CoreKernelArgumentsExtensions.cs:28-48
D4 · Code Duplication · Duplicated block (20 lines × 2) · ×1
  • Duplicated block (20 lines × 2) dotnet/samples/Demos/AotCompatibility/OnnxChatCompletionSamples.cs:20 — dotnet/samples/Demos/AotCompatibility/OnnxChatCompletionSamples.cs:20-39 | dotnet/samples/Demos/AotCompatibility/OnnxChatCompletionSamples.cs:53-72
D4 · Code Duplication · Duplicated block (18 lines × 3) · ×1
  • Duplicated block (18 lines × 3) dotnet/samples/Demos/ModelContextProtocolClientServer/MCPClient/Samples/AgentAvailableAsMCPToolSample.cs:36 — dotnet/samples/Demos/ModelContextProtocolClientServer/MCPClient/Samples/AgentAvailableAsMCPToolSample.cs:36-53 | dotnet/samples/Demos/ModelContextProtocolClientServer/MCPClient/Samples/ChatCompletionAgentWithMCPToolsSample.cs:37-53 | dotnet/samples/Demos/ModelContextProtocolClientServer/MCPClient/Samples/MCPToolsSample.cs:34-51
D4 · Code Duplication · Duplicated block (13 lines × 4) · ×1
  • Duplicated block (13 lines × 4) dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:570 — dotnet/src/Plugins/Plugins.Web/Bing/BingTextSearch.cs:570-582 | dotnet/src/Plugins/Plugins.Web/Brave/BraveTextSearch.cs:640-652 | dotnet/src/Plugins/Plugins.Web/Google/GoogleTextSearch.cs:396-408 | dotnet/src/Plugins/Plugins.Web/Tavily/TavilyTextSearch.cs:646-658
D4 · Code Duplication · Duplicated block (12 lines × 3) · ×1
  • Duplicated block (12 lines × 3) dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockServiceCollectionExtensions.cs:43 — dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockServiceCollectionExtensions.cs:43-54 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockServiceCollectionExtensions.cs:85-96 | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Extensions/BedrockServiceCollectionExtensions.cs:128-139
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×1
  • Duplicated block (11 lines × 2) dotnet/samples/Demos/AotCompatibility/KernelPluginSamples.cs:66 — dotnet/samples/Demos/AotCompatibility/KernelPluginSamples.cs:66-76 | dotnet/samples/Demos/AotCompatibility/KernelPluginSamples.cs:97-107
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×1
  • Duplicated block (8 lines × 2) dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProxyActor.cs:46 — dotnet/src/Experimental/Process.Runtime.Dapr/Actors/ProxyActor.cs:46-53 | dotnet/src/Experimental/Process.Runtime.Dapr/Actors/StepActor.cs:231-238
Recommendation — 368 finding(s)
D10 · Test Quality · No direct assertions · ×346
  • No direct assertions: UseStreamingAgentAsync dotnet/samples/Concepts/Agents/AzureAIAgent_Streaming.cs:16 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseStreamingAssistantAgentWithPluginAsync dotnet/samples/Concepts/Agents/AzureAIAgent_Streaming.cs:49 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseStreamingAssistantWithCodeInterpreterAsync dotnet/samples/Concepts/Agents/AzureAIAgent_Streaming.cs:86 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: SelectFunctionsRelevantToCurrentInvocationContext dotnet/samples/Concepts/Agents/ChatCompletion_ContextualFunctionSelection.cs:29 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: SelectFunctionsBasedOnPreviousAndCurrentInvocationContext dotnet/samples/Concepts/Agents/ChatCompletion_ContextualFunctionSelection.cs:100 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: TruncatedAgentReduction dotnet/samples/Concepts/Agents/ChatCompletion_HistoryReducer.cs:23 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: SummarizedAgentReduction dotnet/samples/Concepts/Agents/ChatCompletion_HistoryReducer.cs:40 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseMemoryAsync dotnet/samples/Concepts/Agents/ChatCompletion_Mem0.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseChatCompletionAgentWithBasicRag dotnet/samples/Concepts/Agents/ChatCompletion_Rag.cs:34 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: RagWithCitationsAndFiltering dotnet/samples/Concepts/Agents/ChatCompletion_Rag.cs:92 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: SerializeAndRestoreAgentGroupChat dotnet/samples/Concepts/Agents/ChatCompletion_Serialization.cs:16 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseServiceSelectionWithChatCompletionAgent dotnet/samples/Concepts/Agents/ChatCompletion_ServiceSelection.cs:21 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseStreamingChatCompletionAgent dotnet/samples/Concepts/Agents/ChatCompletion_Streaming.cs:17 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseStreamingChatCompletionAgentWithPlugin dotnet/samples/Concepts/Agents/ChatCompletion_Streaming.cs:44 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: InvokeAgentWithInstructionsTemplate dotnet/samples/Concepts/Agents/ChatCompletion_Templating.cs:23 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: InvokeAgentWithKernelTemplate dotnet/samples/Concepts/Agents/ChatCompletion_Templating.cs:49 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: InvokeAgentWithHandlebarsTemplate dotnet/samples/Concepts/Agents/ChatCompletion_Templating.cs:65 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: InvokeAgentWithLiquidTemplate dotnet/samples/Concepts/Agents/ChatCompletion_Templating.cs:80 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseWhiteboardForShortTermMemory dotnet/samples/Concepts/Agents/ChatCompletion_Whiteboard.cs:30 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: NestedChatWithAggregatorAgent dotnet/samples/Concepts/Agents/ComplexChat_NestedShopper.cs:95 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: ChatWithOpenAIAssistantAgentAndChatCompletionAgent dotnet/samples/Concepts/Agents/MixedChat_Agents.cs:36 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: AnalyzeDataAndGenerateChartAsync dotnet/samples/Concepts/Agents/MixedChat_Images.cs:22 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: ResetChat dotnet/samples/Concepts/Agents/MixedChat_Reset.cs:21 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: SerializeAndRestoreAgentGroupChat dotnet/samples/Concepts/Agents/MixedChat_Serialization.cs:31 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: UseStreamingAgentChat dotnet/samples/Concepts/Agents/MixedChat_Streaming.cs:37 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • + 321 more in this group — see findings.md.
D16 · Bus Factor · Off-boarding risk · ×3
  • Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 32 significant file(s) lose their only recent owner (largest: dotnet/src/VectorData/SqlServer/SqlServerCommandBuilder.cs). Pair on, review, or document these before any departure.
  • Off-boarding risk: anonymized user #2 — If anonymized user #2 becomes unavailable, 6 significant file(s) lose their only recent owner (largest: dotnet/src/Agents/Runtime/InProcess/InProcessRuntime.cs). Pair on, review, or document these before any departure.
  • Off-boarding risk: anonymized user #3 — If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner (largest: dotnet/src/Plugins/Plugins.MsGraph/CloudDrivePlugin.cs). Pair on, review, or document these before any departure.
D17 · Explicit Debt · DuplicateNoWarn · ×3
  • DuplicateNoWarn dotnet/samples/Concepts/Concepts.csproj:11 — NoWarn IDE1006 is listed more than once for the same build configuration — remove the duplicate.
  • DuplicateNoWarn dotnet/samples/Concepts/Concepts.csproj:11 — NoWarn IDE0009 is listed more than once for the same build configuration — remove the duplicate.
  • DuplicateNoWarn dotnet/samples/Demos/VoiceChat/VoiceChat.csproj:10 — NoWarn CS0718 is listed more than once for the same build configuration — remove the duplicate.
D18 · Solution Shape · Shell project · ×3
  • Shell project: SemanticKernel.MetaPackage(net10.0) dotnet/src/SemanticKernel.MetaPackage/SemanticKernel.MetaPackage.csproj — `SemanticKernel.MetaPackage(net10.0)` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: SemanticKernel.MetaPackage(net8.0) dotnet/src/SemanticKernel.MetaPackage/SemanticKernel.MetaPackage.csproj — `SemanticKernel.MetaPackage(net8.0)` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: SemanticKernel.MetaPackage(netstandard2.0) dotnet/src/SemanticKernel.MetaPackage/SemanticKernel.MetaPackage.csproj — `SemanticKernel.MetaPackage(netstandard2.0)` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
D16 · Bus Factor · Further sole-owners (lower concentration) · ×1
  • Further sole-owners (lower concentration) — 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold — folded into the bus-factor score and metrics (49 single-owned of 709 analysed files in total).
D17 · Explicit Debt · ObsoleteWithoutCallers · ×1
  • ObsoleteWithoutCallers dotnet/src/IntegrationTests/Data/VectorStoreExtensions.cs:118 — [Obsolete] CreateCollectionFromTextSearchResultsAsync
D18 · Solution Shape · Thin analysable surface across projects · ×1
  • Thin analysable surface across projects — 2 project(s) carry only a thin slice of real code (e.g. `OnnxSimpleChatWithCuda` with 34 significant line(s)). The mean analysable-surface weight is 98 %, lowering Solution Shape by about 0.1 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies.
D23 · Boundary Type-Coupling · Bounded contexts not declared · ×1
  • Bounded contexts not declared — At 116862 LoC spread over 201 projects the codebase is both large and multi-module, so explicit bounded contexts are needed. Declare architecture.contexts (≥2) in config to assess cross-boundary type coupling.
D24 · Comment Value · redundant comment · ×1
  • redundant comment dotnet/samples/Demos/AgentFrameworkWithAspire/ChatWithAgent.ApiService/Program.cs:231 — "Add a search plugin to the kernel which we will use in the agent template" — trim - most of this is restating AddAgent; keep only the WHY part
D26 · Project Cohesion · Split Concepts · ×1
  • Split Concepts — Generic catch-all name with 301 types across 24 unrelated namespaces is a sprawling grab-bag. Suggested: by namespace: Concepts.A, Concepts.B, Concepts.C
D26 · Project Cohesion · Split IntegrationTests · ×1
  • Split IntegrationTests — Generic catch-all name with 169 types across 36 namespaces is a massive grab-bag. Suggested: by namespace: Integration.Tests.A, Integration.Tests.B
D26 · Project Cohesion · Split SemanticKernel.UnitTests · ×1
  • Split SemanticKernel.UnitTests — Generic catch-all name with 139 types across 22 namespaces is a grab-bag. Suggested: by namespace: SemanticKernel.Tests.A, SemanticKernel.Tests.B
D28 · Secrets (history) · Rotate the exposed credentials · ×1
  • Rotate the exposed credentials — git history can't be un-committed — Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised — not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets — no commit — can instead be removed from the file and moved to a secret store.)
D34 · Knowledge Freshness · knowledge concentrated in recent work · ×1
  • knowledge concentrated in recent work — freshness signal contradicted by repo activity — File-level freshness contradicts repo activity: 87 commits in the last 90 days, yet 525 of 709 significant files carry no living knowledge. The history shape (bulk moves/imports or broad sweep commits diluting per-file focus) is distorting the recency signal, so freshness is not scored for this run.
D36 · Supply-chain Provenance & Signing · No build provenance · ×1
  • No build provenance — No SLSA provenance generation or build attestation found in CI (e.g. slsa-github-generator, actions/attest-build-provenance).
D36 · Supply-chain Provenance & Signing · No artifact signing · ×1
  • No artifact signing — No artifact signing found in CI — sign your released artifacts with whatever your ecosystem ships (a GPG/minisign detached signature — or `cosign sign-blob` — over the release archives or the checksum file you already publish, cosign/sigstore for container images, `npm publish --provenance` under GitHub OIDC for npm packages, an Android keystore via apksigner, Authenticode via signtool) so consumers can verify what you built.
D36 · Supply-chain Provenance & Signing · No SBOM · ×1
  • No SBOM — No SBOM generation or committed SBOM found (e.g. syft / anchore/sbom-action / *.spdx.json / *.cdx.json).
Info — 218 finding(s)
D10 · Test Quality · Skipped (documented) · ×189
  • Skipped (documented): AudioToTextAsync dotnet/samples/Concepts/AudioToText/OpenAI_AudioToText.cs:18 — Skipped with a documented reason — a deferral, not lazy debt: Setup and run TextToAudioAsync before running this test.
  • Skipped (documented): RunAsync dotnet/samples/Concepts/Plugins/CreatePluginFromOpenApiSpec_Jira.cs:36 — Skipped with a documented reason — a deferral, not lazy debt: Setup credentials
  • Skipped (documented): InvokeOpenApiPluginAsync dotnet/samples/Concepts/Plugins/CreatePluginFromOpenApiSpec_Klarna.cs:16 — Skipped with a documented reason — a deferral, not lazy debt: Run it only after filling the template below
  • Skipped (documented): RunAsync dotnet/samples/Concepts/Plugins/ImportPluginFromGrpc.cs:11 — Skipped with a documented reason — a deferral, not lazy debt: Setup crendentials
  • Skipped (documented): RAGWithChatGPTRetrievalPluginAsync dotnet/samples/Concepts/RAG/WithPlugins.cs:79 — Skipped with a documented reason — a deferral, not lazy debt: Requires ChatGPT Retrieval Plugin and selected vector DB server up and running
  • Skipped (documented): RunAsync dotnet/samples/Concepts/Search/BingAndGooglePlugins.cs:18 — Skipped with a documented reason — a deferral, not lazy debt: Setup Credentials
  • Skipped (documented): RunLlamaExampleAsync dotnet/samples/Concepts/TextGeneration/HuggingFace_TextGeneration.cs:82 — Skipped with a documented reason — a deferral, not lazy debt: Requires local model or Huggingface Pro subscription
  • Skipped (documented): TextToAudioAsync dotnet/samples/Concepts/TextToAudio/OpenAI_TextToAudio.cs:16 — Skipped with a documented reason — a deferral, not lazy debt: Uncomment the line to write the audio file output before running this test.
  • Skipped (documented): AzureOpenAIDallEAsync dotnet/samples/Concepts/TextToImage/OpenAI_TextToImageLegacy.cs:83 — Skipped with a documented reason — a deferral, not lazy debt: Generating the Image can take too long and often break the test
  • Skipped (documented): UseAgentWithFileSearch dotnet/samples/GettingStartedWithAgents/BedrockAgent/Step05_BedrockAgent_FileSearch.cs:41 — Skipped with a documented reason — a deferral, not lazy debt: This test is skipped because it requires a valid KnowledgeBaseId.
  • Skipped (documented): InvokeTestAsync dotnet/src/IntegrationTests/Agents/BedrockAgentTests.cs:39 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): InvokeStreamingTestAsync dotnet/src/IntegrationTests/Agents/BedrockAgentTests.cs:61 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): InvokeWithCodeInterpreterTestAsync dotnet/src/IntegrationTests/Agents/BedrockAgentTests.cs:83 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): InvokeWithKernelFunctionTestAsync dotnet/src/IntegrationTests/Agents/BedrockAgentTests.cs:120 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): InvokeWithKernelFunctionTestComplexTypesAsync dotnet/src/IntegrationTests/Agents/BedrockAgentTests.cs:149 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): OnNewMessageWithServiceFailureThrowsAgentOperationExceptionAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:12 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): DeletingThreadTwiceDoesNotThrowAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:19 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): UsingThreadAfterDeleteThrowsAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:25 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): DeleteThreadBeforeCreateThrowsAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:31 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): UsingThreadBeforeCreateCreatesAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:37 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): DeleteThreadWithServiceFailureThrowsAgentOperationExceptionAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/BedrockAgentThreadTests.cs:43 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): StatePartReceivesMessagesFromAgentAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithAIContextProviderConformance/BedrockAgentWithAIContextProviderTests.cs:12 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): StatePartReceivesMessagesFromAgentWhenStreamingAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithAIContextProviderConformance/BedrockAgentWithAIContextProviderTests.cs:18 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): StatePartPreInvokeStateIsUsedByAgentAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithAIContextProviderConformance/BedrockAgentWithAIContextProviderTests.cs:24 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • Skipped (documented): StatePartPreInvokeStateIsUsedByAgentWhenStreamingAsync dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithAIContextProviderConformance/BedrockAgentWithAIContextProviderTests.cs:30 — Skipped with a documented reason — a deferral, not lazy debt: This test is for manual verification.
  • + 164 more in this group — see findings.md.
D10 · Test Quality · Mock framework · ×28
  • Mock framework: Moq — SemanticKernel.Abstractions(net10.0) references Moq.
  • Mock framework: Moq — SemanticKernel.Abstractions(net8.0) references Moq.
  • Mock framework: Moq — SemanticKernel.Abstractions(netstandard2.0) references Moq.
  • Mock framework: Moq — SemanticKernel.UnitTests references Moq.
  • Mock framework: Moq — Agents.UnitTests references Moq.
  • Mock framework: Moq — Runtime.Abstractions.UnitTests references Moq.
  • Mock framework: Moq — Runtime.Core.UnitTests references Moq.
  • Mock framework: Moq — Runtime.InProcess.UnitTests references Moq.
  • Mock framework: Moq — Connectors.Amazon.UnitTests references Moq.
  • Mock framework: Moq — Connectors.AzureAIInference.UnitTests references Moq.
  • Mock framework: Moq — Connectors.AzureOpenAI.UnitTests references Moq.
  • Mock framework: Moq — Connectors.Google.UnitTests references Moq.
  • Mock framework: Moq — Connectors.HuggingFace.UnitTests references Moq.
  • Mock framework: Moq — Connectors.MistralAI.UnitTests references Moq.
  • Mock framework: Moq — Connectors.Ollama.UnitTests references Moq.
  • Mock framework: Moq — Connectors.Onnx.UnitTests references Moq.
  • Mock framework: Moq — Connectors.OpenAI.UnitTests references Moq.
  • Mock framework: Moq — Experimental.Orchestration.Flow.UnitTests references Moq.
  • Mock framework: Moq — Process.IntegrationTestRunner.Local references Moq.
  • Mock framework: Moq — Process.Runtime.Dapr.UnitTests references Moq.
  • Mock framework: Moq — Process.UnitTests references Moq.
  • Mock framework: Moq — Process.Utilities.UnitTests references Moq.
  • Mock framework: Moq — Functions.Prompty.UnitTests references Moq.
  • Mock framework: Moq — Functions.UnitTests references Moq.
  • Mock framework: Moq — Extensions.UnitTests references Moq.
  • + 3 more in this group — see findings.md.
D22 · Internal API Consistency · No exposed public API · ×1
  • No exposed public API — No intentionally-exposed types (IsPackable or .Contracts) to evaluate.

Appendix B — Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .2artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .153artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesdotnetdotnet list dotnet/SK-dotnet.slnx package --vulnerable --include-transitive --format json1artifacts/raw/dotnet-vulnerable.json
D31 · IaC & Container Securitytrivytrivy config --format json --quiet .0artifacts/raw/trivy-config.json
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) — data compliance is not assessed in this scan.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0
D38 · OSV Dependency Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .102artifacts/raw/osv-scanner.json
D40 · Network Egress Confinementruntime-hardeningruntime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.0
D41 · Kernel & Syscall Confinementruntime-hardeningruntime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.0
D42 · Runtime Threat Enforcementruntime-hardeningruntime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.0

Run 019f7bb5-10ec-74b6-8469-fede5c625399 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Appendix C — Personal-data map

Every field, property and record parameter whose name is conventional personal data — 1 field(s) across 1 category, each with an exact repo-relative file:line. This is the data inventory a compliance review starts from — right-to-erasure, retention, minimisation. Detected by name with a deliberately specific classifier (the same one the GDPR dimensions use, so CardDefinition or FileName don't trip); informational — it feeds no score.

Address — 1 field(s)
  • BraveQuery.PostalCode dotnet/src/Plugins/Plugins.Web/Brave/BraveSearchResponse.cs:136

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md