Lightweight workflow engine for .NET Standard
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 72 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 78 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ScratchPad/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | test/ScratchPad/Properties/Resources.Designer.cs | 61 | } | COMMENT |
| LOW | …rkflowCore.TestAssets/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | …rkflowCore.TestAssets/Properties/Resources.Designer.cs | 61 | } | COMMENT |
| LOW | …lowCore.Providers.Redis/ServiceCollectionExtensions.cs | 21 | return options.UseRedisQueues(connectionString, prefix, RedisQueueStorage.List); | COMMENT |
| LOW | …flowCore.Providers.Redis/Services/RedisQueueStorage.cs | 1 | namespace WorkflowCore.Providers.Redis.Services | COMMENT |
| LOW | …lowCore.Providers.Redis/Services/RedisQueueProvider.cs | 21 | /// and mixed hosts will split or lose work. | COMMENT |
| LOW | …re.AI.AzureFoundry/Interface/IChatCompletionBuilder.cs | 21 | IChatCompletionBuilder<TData> SystemPrompt(Expression<Func<TData, string>> expression); | COMMENT |
| LOW | …re.AI.AzureFoundry/Interface/IChatCompletionBuilder.cs | 41 | IChatCompletionBuilder<TData> Temperature(float temperature); | COMMENT |
| LOW | …rkflowCore.AI.AzureFoundry/Interface/ISearchService.cs | 1 | using System.Collections.Generic; | COMMENT |
| LOW | …lowCore.AI.AzureFoundry/Interface/IAgentLoopBuilder.cs | 21 | IAgentLoopBuilder<TData> SystemPrompt(Expression<Func<TData, string>> expression); | COMMENT |
| LOW | …lowCore.AI.AzureFoundry/Interface/IAgentLoopBuilder.cs | 41 | IAgentLoopBuilder<TData> MaxIterations(int maxIterations); | COMMENT |
| LOW | …orkflowCore.AI.AzureFoundry/Interface/IToolRegistry.cs | 21 | /// <summary> | COMMENT |
| LOW | …s/WorkflowCore.AI.AzureFoundry/Interface/IAgentTool.cs | 21 | COMMENT | |
| LOW | …re.AI.AzureFoundry/Interface/IChatCompletionService.cs | 1 | using System.Collections.Generic; | COMMENT |
| LOW | …re.AI.AzureFoundry/Interface/IChatCompletionService.cs | 41 | /// <summary> | COMMENT |
| LOW | …wCore.AI.AzureFoundry/Interface/IHumanReviewBuilder.cs | 21 | /// </summary> | COMMENT |
| LOW | …lowCore.AI.AzureFoundry/Interface/IEmbeddingService.cs | 21 | CancellationToken cancellationToken = default); | COMMENT |
| LOW | …flowCore.AI.AzureFoundry/Models/ConversationMessage.cs | 21 | /// <summary> | COMMENT |
| LOW | …flowCore.AI.AzureFoundry/Models/ConversationMessage.cs | 41 | /// <summary> | COMMENT |
| LOW | …/WorkflowCore.AI.AzureFoundry/Models/ToolDefinition.cs | 21 | /// <summary> | COMMENT |
| LOW | …ns/WorkflowCore.AI.AzureFoundry/Models/ReviewAction.cs | 21 | /// Modified content (if the reviewer edited the original) | COMMENT |
| LOW | …ns/WorkflowCore.AI.AzureFoundry/Models/ReviewAction.cs | 41 | /// <summary> | COMMENT |
| LOW | …flowCore.AI.AzureFoundry/Models/AzureFoundryOptions.cs | 21 | public string ApiKey { get; set; } | COMMENT |
| LOW | …kflowCore.AI.AzureFoundry/Models/ConversationThread.cs | 21 | /// <summary> | COMMENT |
| LOW | …lowCore.AI.AzureFoundry/Models/ChatCompletionResult.cs | 1 | namespace WorkflowCore.AI.AzureFoundry.Models | COMMENT |
| LOW | …ions/WorkflowCore.AI.AzureFoundry/Models/ToolResult.cs | 21 | /// <summary> | COMMENT |
| LOW | …ns/WorkflowCore.AI.AzureFoundry/Models/SearchResult.cs | 21 | /// Document content | COMMENT |
| LOW | …ns/WorkflowCore.AI.AzureFoundry/Models/SearchResult.cs | 41 | /// <summary> | COMMENT |
| LOW | …s/WorkflowCore.AI.AzureFoundry/Primitives/AgentLoop.cs | 41 | /// <summary> | COMMENT |
| LOW | …s/WorkflowCore.AI.AzureFoundry/Primitives/AgentLoop.cs | 61 | /// <summary> | COMMENT |
| LOW | …kflowCore.AI.AzureFoundry/Primitives/ChatCompletion.cs | 41 | /// Temperature for response generation (0.0 - 2.0) | COMMENT |
| LOW | …kflowCore.AI.AzureFoundry/Primitives/ChatCompletion.cs | 61 | COMMENT | |
| LOW | …owCore.AI.AzureFoundry/Primitives/GenerateEmbedding.cs | 21 | /// <summary> | COMMENT |
| LOW | …WorkflowCore.AI.AzureFoundry/Primitives/HumanReview.cs | 21 | public const string ExtPrompt = "ReviewPrompt"; | COMMENT |
| LOW | …WorkflowCore.AI.AzureFoundry/Primitives/HumanReview.cs | 41 | /// If not provided, defaults to "{workflowId}". | COMMENT |
| LOW | …orkflowCore.AI.AzureFoundry/Primitives/VectorSearch.cs | 21 | } | COMMENT |
| LOW | …WorkflowCore.AI.AzureFoundry/Primitives/ExecuteTool.cs | 21 | COMMENT | |
| LOW | src/samples/WorkflowCore.Sample04/Program.cs | 41 | COMMENT | |
| LOW | src/samples/WorkflowCore.Sample04/Program.cs | 61 | //}); | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowMiddleware.cs | 21 | /// <summary> | COMMENT |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 21 | COMMENT | |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 41 | [Obsolete] | COMMENT |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 61 | /// <typeparam name="TInput"></typeparam> | COMMENT |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 81 | IStepBuilder<TData, TStepBody> Input(Action<TStepBody, TData> action); | COMMENT |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 101 | COMMENT | |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 121 | /// <returns></returns> | COMMENT |
| LOW | src/WorkflowCore/Interface/IStepBuilder.cs | 141 | /// <param name="builder"></param> | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowStepMiddleware.cs | 1 | using System.Threading.Tasks; | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 21 | /// <summary> | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 41 | IStepBuilder<TData, ActionStepBody> Then(Action<IStepExecutionContext> body); | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 61 | /// <returns></returns> | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 81 | /// Execute a block of steps, once for each item in a collection in a parallel foreach | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 101 | /// <summary> | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 121 | COMMENT | |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 141 | IParallelStepBuilder<TData, Sequence> Parallel(); | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowModifier.cs | 161 | /// <returns></returns> | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowMiddlewareRunner.cs | 1 | using System.Threading.Tasks; | COMMENT |
| LOW | src/WorkflowCore/Interface/IWorkflowMiddlewareRunner.cs | 21 | COMMENT | |
| LOW | src/WorkflowCore/Interface/IWorkflowController.cs | 21 | /// <returns></returns> | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/ScratchPad/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rkflowCore.TestAssets/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/samples/WorkflowCore.Sample.AzureFoundry/Program.cs | 167 | Console.WriteLine("=== Content Generated by AI ==="); | CODE |
| HIGH | …e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs | 9 | /// Workflow demonstrating human-in-the-loop review of AI-generated content | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/azure-ai-foundry.md | 34 | options.ApiKey = "your-api-key"; | CODE |
| HIGH | src/extensions/WorkflowCore.AI.AzureFoundry/readme.md | 92 | options.ApiKey = "your-api-key"; // API key authentication | CODE |
| HIGH | src/extensions/WorkflowCore.AI.AzureFoundry/readme.md | 114 | AZURE_AI_API_KEY=your-api-key | CODE |
| HIGH | src/samples/WorkflowCore.Sample.AzureFoundry/README.md | 27 | AZURE_AI_API_KEY=your-api-key-here | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …c/providers/WorkflowCore.Persistence.MongoDB/README.md | 30 | MongoDB.Bson.Serialization.Serializers.ObjectSerializer.DefaultAllowedTypes(type) || | CODE |
| CRITICAL | …c/providers/WorkflowCore.Persistence.MongoDB/README.md | 48 | if (MongoDB.Bson.Serialization.Serializers.ObjectSerializer.DefaultAllowedTypes(type)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/azure-ai-foundry.md | 285 | ## RAG (Retrieval-Augmented Generation) | COMMENT |
| MEDIUM | src/extensions/WorkflowCore.AI.AzureFoundry/readme.md | 5 | Azure AI Foundry extension for [WorkflowCore](https://github.com/danielgerlag/workflow-core) - enables building AI-power | CODE |
| MEDIUM | …ample.AzureFoundry/Workflows/AgentWithToolsWorkflow.cs | 10 | /// Workflow demonstrating an agentic loop with tool execution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs | 21 | // Step 1: Generate content with AI | COMMENT |
| LOW⚡ | …e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs | 28 | // Step 2: Wait for human review | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs | 21 | // Step 1: Generate content with AI | COMMENT |
| LOW⚡ | …e.Sample.AzureFoundry/Workflows/HumanReviewWorkflow.cs | 28 | // Step 2: Wait for human review | COMMENT |