AI Slop Code Risk Monitor

danielgerlag/workflow-core

SlopCodeMonitor badge for danielgerlag/workflow-core Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Lightweight workflow engine for .NET Standard

2.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for danielgerlag/workflow-core, a C# project with 5,939 GitHub stars. SynthScan examined 56,921 lines of code across 832 source files, recording 78 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 2.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.6
Adjusted Signal
2.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
5.9K
Stars
C#
Language
56.9K
Lines of Code
832
Files
78
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 8.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 72 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.5/100 · LOW

Are imports declared and package/API names verified? 6 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 0 finding(s).

PR Review Velocity Impact 11.7/100 · LOW

Which changes need focused human review? 78 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 2HIGH 8MEDIUM 3LOW 65

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 78 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block61 hits · 61 pts
SeverityFileLineSnippetContext
LOWtest/ScratchPad/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWtest/ScratchPad/Properties/Resources.Designer.cs61 }COMMENT
LOW…rkflowCore.TestAssets/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…rkflowCore.TestAssets/Properties/Resources.Designer.cs61 }COMMENT
LOW…lowCore.Providers.Redis/ServiceCollectionExtensions.cs21 return options.UseRedisQueues(connectionString, prefix, RedisQueueStorage.List);COMMENT
LOW…flowCore.Providers.Redis/Services/RedisQueueStorage.cs1namespace WorkflowCore.Providers.Redis.ServicesCOMMENT
LOW…lowCore.Providers.Redis/Services/RedisQueueProvider.cs21 /// and mixed hosts will split or lose work.COMMENT
LOW…re.AI.AzureFoundry/Interface/IChatCompletionBuilder.cs21 IChatCompletionBuilder<TData> SystemPrompt(Expression<Func<TData, string>> expression);COMMENT
LOW…re.AI.AzureFoundry/Interface/IChatCompletionBuilder.cs41 IChatCompletionBuilder<TData> Temperature(float temperature);COMMENT
LOW…rkflowCore.AI.AzureFoundry/Interface/ISearchService.cs1using System.Collections.Generic;COMMENT
LOW…lowCore.AI.AzureFoundry/Interface/IAgentLoopBuilder.cs21 IAgentLoopBuilder<TData> SystemPrompt(Expression<Func<TData, string>> expression);COMMENT
LOW…lowCore.AI.AzureFoundry/Interface/IAgentLoopBuilder.cs41 IAgentLoopBuilder<TData> MaxIterations(int maxIterations);COMMENT
LOW…orkflowCore.AI.AzureFoundry/Interface/IToolRegistry.cs21 /// <summary>COMMENT
LOW…s/WorkflowCore.AI.AzureFoundry/Interface/IAgentTool.cs21COMMENT
LOW…re.AI.AzureFoundry/Interface/IChatCompletionService.cs1using System.Collections.Generic;COMMENT
LOW…re.AI.AzureFoundry/Interface/IChatCompletionService.cs41 /// <summary>COMMENT
LOW…wCore.AI.AzureFoundry/Interface/IHumanReviewBuilder.cs21 /// </summary>COMMENT
LOW…lowCore.AI.AzureFoundry/Interface/IEmbeddingService.cs21 CancellationToken cancellationToken = default);COMMENT
LOW…flowCore.AI.AzureFoundry/Models/ConversationMessage.cs21 /// <summary>COMMENT
LOW…flowCore.AI.AzureFoundry/Models/ConversationMessage.cs41 /// <summary>COMMENT
LOW…/WorkflowCore.AI.AzureFoundry/Models/ToolDefinition.cs21 /// <summary>COMMENT
LOW…ns/WorkflowCore.AI.AzureFoundry/Models/ReviewAction.cs21 /// Modified content (if the reviewer edited the original)COMMENT
LOW…ns/WorkflowCore.AI.AzureFoundry/Models/ReviewAction.cs41 /// <summary>COMMENT
LOW…flowCore.AI.AzureFoundry/Models/AzureFoundryOptions.cs21 public string ApiKey { get; set; }COMMENT
LOW…kflowCore.AI.AzureFoundry/Models/ConversationThread.cs21 /// <summary>COMMENT
LOW…lowCore.AI.AzureFoundry/Models/ChatCompletionResult.cs1namespace WorkflowCore.AI.AzureFoundry.ModelsCOMMENT
LOW…ions/WorkflowCore.AI.AzureFoundry/Models/ToolResult.cs21 /// <summary>COMMENT
LOW…ns/WorkflowCore.AI.AzureFoundry/Models/SearchResult.cs21 /// Document contentCOMMENT
LOW…ns/WorkflowCore.AI.AzureFoundry/Models/SearchResult.cs41 /// <summary>COMMENT
LOW…s/WorkflowCore.AI.AzureFoundry/Primitives/AgentLoop.cs41 /// <summary>COMMENT
LOW…s/WorkflowCore.AI.AzureFoundry/Primitives/AgentLoop.cs61 /// <summary>COMMENT
LOW…kflowCore.AI.AzureFoundry/Primitives/ChatCompletion.cs41 /// Temperature for response generation (0.0 - 2.0)COMMENT
LOW…kflowCore.AI.AzureFoundry/Primitives/ChatCompletion.cs61COMMENT
LOW…owCore.AI.AzureFoundry/Primitives/GenerateEmbedding.cs21 /// <summary>COMMENT
LOW…WorkflowCore.AI.AzureFoundry/Primitives/HumanReview.cs21 public const string ExtPrompt = "ReviewPrompt";COMMENT
LOW…WorkflowCore.AI.AzureFoundry/Primitives/HumanReview.cs41 /// If not provided, defaults to "{workflowId}".COMMENT
LOW…orkflowCore.AI.AzureFoundry/Primitives/VectorSearch.cs21 }COMMENT
LOW…WorkflowCore.AI.AzureFoundry/Primitives/ExecuteTool.cs21COMMENT
LOWsrc/samples/WorkflowCore.Sample04/Program.cs41COMMENT
LOWsrc/samples/WorkflowCore.Sample04/Program.cs61 //});COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowMiddleware.cs21 /// <summary>COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs21COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs41 [Obsolete]COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs61 /// <typeparam name="TInput"></typeparam>COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs81 IStepBuilder<TData, TStepBody> Input(Action<TStepBody, TData> action);COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs101COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs121 /// <returns></returns>COMMENT
LOWsrc/WorkflowCore/Interface/IStepBuilder.cs141 /// <param name="builder"></param>COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowStepMiddleware.cs1using System.Threading.Tasks;COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs21 /// <summary>COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs41 IStepBuilder<TData, ActionStepBody> Then(Action<IStepExecutionContext> body);COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs61 /// <returns></returns>COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs81 /// Execute a block of steps, once for each item in a collection in a parallel foreachCOMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs101 /// <summary>COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs121COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs141 IParallelStepBuilder<TData, Sequence> Parallel();COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowModifier.cs161 /// <returns></returns>COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowMiddlewareRunner.cs1using System.Threading.Tasks;COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowMiddlewareRunner.cs21COMMENT
LOWsrc/WorkflowCore/Interface/IWorkflowController.cs21 /// <returns></returns>COMMENT
1 more matches not shown…
Synthetic Comment Markers4 hits · 28 pts
SeverityFileLineSnippetContext
HIGHtest/ScratchPad/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…rkflowCore.TestAssets/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/samples/WorkflowCore.Sample.AzureFoundry/Program.cs167 Console.WriteLine("=== Content Generated by AI ===");CODE
HIGH…e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs9 /// Workflow demonstrating human-in-the-loop review of AI-generated contentCOMMENT
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHdocs/azure-ai-foundry.md34 options.ApiKey = "your-api-key";CODE
HIGHsrc/extensions/WorkflowCore.AI.AzureFoundry/readme.md92 options.ApiKey = "your-api-key"; // API key authenticationCODE
HIGHsrc/extensions/WorkflowCore.AI.AzureFoundry/readme.md114AZURE_AI_API_KEY=your-api-keyCODE
HIGHsrc/samples/WorkflowCore.Sample.AzureFoundry/README.md27 AZURE_AI_API_KEY=your-api-key-hereCODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…c/providers/WorkflowCore.Persistence.MongoDB/README.md30 MongoDB.Bson.Serialization.Serializers.ObjectSerializer.DefaultAllowedTypes(type) ||CODE
CRITICAL…c/providers/WorkflowCore.Persistence.MongoDB/README.md48 if (MongoDB.Bson.Serialization.Serializers.ObjectSerializer.DefaultAllowedTypes(type))CODE
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMdocs/azure-ai-foundry.md285## RAG (Retrieval-Augmented Generation)COMMENT
MEDIUMsrc/extensions/WorkflowCore.AI.AzureFoundry/readme.md5Azure AI Foundry extension for [WorkflowCore](https://github.com/danielgerlag/workflow-core) - enables building AI-powerCODE
MEDIUM…ample.AzureFoundry/Workflows/AgentWithToolsWorkflow.cs10 /// Workflow demonstrating an agentic loop with tool executionCOMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs21 // Step 1: Generate content with AICOMMENT
LOW⚡…e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs28 // Step 2: Wait for human reviewCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs21 // Step 1: Generate content with AICOMMENT
LOW⚡…e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs28 // Step 2: Wait for human reviewCOMMENT