FlowGram is an extensible workflow development framework with built-in canvas, form, variable, and materials that helps developers build AI workflow platforms faster and simpler.
This report summarizes scanner evidence for bytedance/flowgram.ai, a TypeScript project with 8,544 GitHub stars. SynthScan examined 330,473 lines of code across 3333 source files, recording 166 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 0.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? 149 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 48 finding(s).
Which changes need focused human review? 166 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 166 distinct pattern matches across 12 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 | rush.json | 101 | * The default value is false. | COMMENT |
| LOW | rush.json | 121 | // * Designate categories with whatever granularity is appropriate for your review process, | COMMENT |
| LOW | rush.json | 261 | * | COMMENT |
| LOW | rush.json | 301 | /** | COMMENT |
| LOW | rush.json | 321 | // /** | COMMENT |
| LOW | rush.json | 341 | // * installing from NPM. If you are using PNPM workspaces, this is indicated by | COMMENT |
| LOW | rush.json | 361 | // | COMMENT |
| LOW | rush.json | 381 | // */ | COMMENT |
| LOW | common/config/rush/command-line.json | 21 | // | COMMENT |
| LOW | common/config/rush/command-line.json | 41 | // /** | COMMENT |
| LOW | common/config/rush/command-line.json | 61 | // /** | COMMENT |
| LOW | common/config/rush/command-line.json | 81 | // * certain operations, for example a "clean" task that deletes output files. In this case | COMMENT |
| LOW | common/config/rush/command-line.json | 101 | // * Thus, warnings do not interfere with local development, but they will cause a CI job to fail, because | COMMENT |
| LOW | common/config/rush/command-line.json | 121 | // * (EXPERIMENTAL) Normally Rush terminates after the command finishes. If this option is set to "true" Rush | COMMENT |
| LOW | common/config/rush/command-line.json | 141 | // */ | COMMENT |
| LOW | common/config/rush/command-line.json | 161 | // * is to publish the project to an NPM registry and use common/scripts/install-run.js to launch it. | COMMENT |
| LOW | common/config/rush/command-line.json | 361 | "autoinstallerName": "license-header", | COMMENT |
| LOW | common/config/rush/command-line.json | 381 | // | COMMENT |
| LOW | common/config/rush/command-line.json | 401 | // /** | COMMENT |
| LOW | common/config/rush/command-line.json | 421 | // /** | COMMENT |
| LOW | common/config/rush/command-line.json | 441 | // * If a "defaultValue" is specified, then if the Rush command line is invoked without | COMMENT |
| LOW | common/config/rush/command-line.json | 461 | // * Whenever you introduce commands/parameters, taking a little time to write meaningful | COMMENT |
| LOW | common/config/rush/command-line.json | 481 | // * (Required) Determines the type of custom parameter. | COMMENT |
| LOW | common/config/rush/command-line.json | 501 | // * `rush my-global-command --my-integer-list 1 --my-integer-list 2 --my-integer-list 3` | COMMENT |
| LOW | common/config/rush/command-line.json | 521 | // * `rush my-global-command --my-string-list A --my-string-list B --my-string-list C` | COMMENT |
| LOW | common/config/rush/command-line.json | 541 | // * might be invoked as | COMMENT |
| LOW | common/config/rush/command-line.json | 561 | // "name": "vanilla", | COMMENT |
| LOW | common/config/rush/custom-tips.json | 21 | // "tipId": "TIP_RUSH_INCONSISTENT_VERSIONS", | COMMENT |
| LOW | common/config/rush/rush-plugins.json | 1 | /** | COMMENT |
| LOW | common/config/rush/rush-plugins.json | 21 | // * The name of a Rush autoinstaller that will be used for installation, which | COMMENT |
| LOW | common/config/rush/pnpm-config.json | 161 | * (https://github.com/orgs/pnpm/discussions/6194) or an incompletely migrated private registry. | COMMENT |
| LOW | common/scripts/install-run.js | 1 | // THIS FILE WAS GENERATED BY A TOOL. ANY MANUAL MODIFICATIONS WILL GET OVERWRITTEN WHENEVER RUSH IS UPGRADED. | COMMENT |
| LOW | common/scripts/install-run.js | 481 | // "3.0.1", | COMMENT |
| LOW | common/scripts/install-run-rushx.js | 1 | // THIS FILE WAS GENERATED BY A TOOL. ANY MANUAL MODIFICATIONS WILL GET OVERWRITTEN WHENEVER RUSH IS UPGRADED. | COMMENT |
| LOW | common/scripts/install-run-rush-pnpm.js | 1 | // THIS FILE WAS GENERATED BY A TOOL. ANY MANUAL MODIFICATIONS WILL GET OVERWRITTEN WHENEVER RUSH IS UPGRADED. | COMMENT |
| LOW | common/scripts/install-run-rush.js | 1 | // THIS FILE WAS GENERATED BY A TOOL. ANY MANUAL MODIFICATIONS WILL GET OVERWRITTEN WHENEVER RUSH IS UPGRADED. | COMMENT |
| LOW | packages/node-engine/form/__tests__/field-model.test.ts | 221 | formModel.setValueIn('a.1.input', 'xxx'); | COMMENT |
| LOW | packages/node-engine/form/__tests__/object.test.ts | 181 | }); | COMMENT |
| LOW | packages/node-engine/form/src/core/utils.ts | 101 | // | COMMENT |
| LOW | packages/node-engine/form/src/utils/glob.ts | 181 | // const parts = splitPattern(pattern); | COMMENT |
| LOW | packages/node-engine/form/src/utils/glob.ts | 201 | // * const obj = { | COMMENT |
| LOW | packages/node-engine/form/src/utils/glob.ts | 241 | // | COMMENT |
| LOW | packages/node-engine/form/src/utils/glob.ts | 261 | // * expect(Glob.findMatchPaths(obj, '*.y')).toEqual(['x.y']); | COMMENT |
| LOW | …rm/abilities/validation-ability/form-validate.types.ts | 1 | /** | COMMENT |
| LOW | …rm/abilities/validation-ability/form-validate.types.ts | 21 | // | COMMENT |
| LOW | …rm/abilities/validation-ability/form-validate.types.ts | 41 | // multipleOf?: number; | COMMENT |
| LOW | …rm/abilities/validation-ability/form-validate.types.ts | 61 | // | undefined | COMMENT |
| LOW | …ls/src/components/json-schema-editor/default-value.tsx | 41 | const wrapperRef = useRef<HTMLDivElement>(null); | COMMENT |
| LOW | …ngine/fixed-layout-core/src/activities/simple-split.ts | 41 | }, | COMMENT |
| LOW | …/fixed-layout-core/src/activities/slot/utils/create.ts | 21 | // { | COMMENT |
| LOW | …as-engine/renderer/__tests__/components/Adder.test.tsx | 61 | COMMENT | |
| LOW | …ine/renderer/src/layers/flow-selector-bounds-layer.tsx | 101 | // 需要调整 bounds 菜单的位置 | COMMENT |
| LOW | …ine/renderer/src/layers/flow-selector-bounds-layer.tsx | 121 | // return ( | COMMENT |
| LOW | …engine/renderer/src/layers/flow-selector-box-layer.tsx | 141 | COMMENT | |
| LOW | …engine/renderer/src/layers/flow-selector-box-layer.tsx | 241 | // autorun(): void { | COMMENT |
| LOW | packages/canvas-engine/core/__tests__/entity.spec.ts | 81 | // handle(...args: any[]): void { | COMMENT |
| LOW | packages/canvas-engine/core/__tests__/entity.spec.ts | 461 | // [ | COMMENT |
| LOW | packages/canvas-engine/core/src/playground-config.ts | 1 | /** | COMMENT |
| LOW | packages/canvas-engine/core/src/playground-config.ts | 61 | // ables: [Dragable, Selectable, Resizable], | COMMENT |
| LOW | …e/core/src/core/pipeline/pipeline-entities-selector.ts | 61 | // /** | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/scripts/install-run.js | 730 | function runWithErrorAndStatusCode(logger, fn) { | CODE |
| LOW | packages/node-engine/form/src/core/utils.ts | 58 | export function shouldTriggerFieldChangeEvent( | CODE |
| LOW | packages/node-engine/form/src/core/utils.ts | 93 | export function shouldTriggerFieldValidateWhenChange( | CODE |
| LOW | packages/node-engine/form/src/utils/glob.ts | 229 | export function findMatchPathsWithEmptyValue(obj: any, pattern: string): string[] { | CODE |
| LOW | packages/node-engine/form/src/utils/glob.ts | 236 | // export function findMatchPathsWithEmptyValue(obj: any, pattern: string) { | COMMENT |
| LOW | …de-engine/form-core/src/client/node-material-client.ts | 13 | export function registerNodePlaceholderRender( | CODE |
| LOW | …/form-core/src/client/create-node-container-modules.ts | 10 | export function createNodeContainerModules() { | CODE |
| LOW | packages/node-engine/node/src/utils.ts | 37 | export function formFeedbacksToNodeCoreFormFeedbacks( | CODE |
| LOW | …m-antd-materials/src/utils/format-legacy-refs/index.ts | 119 | export function isLegacyFlowRefValueSchema(value: any): value is LegacyFlowRefValueSchema { | CODE |
| LOW | …/form-materials/src/shared/format-legacy-refs/index.ts | 119 | export function isLegacyFlowRefValueSchema(value: any): value is LegacyFlowRefValueSchema { | CODE |
| LOW | …terials/src/components/display-inputs-values/index.tsx | 52 | export function DisplayInputsValueAllInTag({ | CODE |
| LOW | …/src/components/prompt-editor-with-variables/index.tsx | 13 | export function PromptEditorWithVariables(props: PromptEditorWithVariablesProps) { | CODE |
| LOW | …lugins/free-auto-layout-plugin/src/dagre-lib/layout.js | 337 | function reversePointsForReversedEdges(g) { | CODE |
| LOW | …s/free-auto-layout-plugin/src/dagre-lib/position/bk.js | 130 | function findOtherInnerSegmentNode(g, v) { | CODE |
| LOW | …s/free-auto-layout-plugin/src/dagre-lib/position/bk.js | 285 | function findSmallestWidthAlignment(g, xss) { | CODE |
| LOW | …-variable-plugin/src/form-v2/create-provider-effect.ts | 17 | export function createEffectFromVariableProvider( | CODE |
| LOW | packages/plugins/history-node-plugin/src/utils/index.ts | 41 | export function shouldChangeFormValuesMerge( | CODE |
| LOW | …ages/canvas-engine/renderer/__mocks__/renderer.mock.ts | 9 | export function createPlaygroundContainer(): Container { | CODE |
| LOW | …ages/canvas-engine/renderer/__mocks__/renderer.mock.ts | 15 | export function createPlaygroundConfigEntity(): PlaygroundConfigEntity { | CODE |
| LOW | …ckages/canvas-engine/renderer/src/components/utils.tsx | 254 | export function getTransitionLabelHoverWidth(data: FlowNodeTransitionData) { | CODE |
| LOW | …ckages/canvas-engine/renderer/src/components/utils.tsx | 277 | export function getTransitionLabelHoverHeight(data: FlowNodeTransitionData) { | CODE |
| LOW | packages/canvas-engine/core/src/playground-container.ts | 44 | export function createPluginContextDefault(container: interfaces.Container): PluginContext { | CODE |
| LOW | packages/canvas-engine/core/src/playground-container.ts | 57 | export function createPlaygroundLayerDefault( | CODE |
| LOW | packages/canvas-engine/core/src/playground-container.ts | 109 | export function createPlaygroundContainer( | CODE |
| LOW | packages/canvas-engine/core/src/playground-config.ts | 49 | export function createDefaultPlaygroundConfig(): PlaygroundConfig { | CODE |
| LOW | …-engine/core/src/core/pipeline/pipline-react-utils.tsx | 39 | function PlaygroundReactLayerPortal(): JSX.Element { | CODE |
| LOW | …ne/core/src/core/utils/use-gesture/core/utils/state.ts | 12 | export function clampStateInternalMovementToBounds(state: CommonGestureState) { | CODE |
| LOW | …e/core/src/core/utils/use-gesture/core/utils/events.ts | 69 | function getCurrentTargetTouchList(event: TouchEvent) { | CODE |
| LOW | …-engine/core/src/common/playground-decorator-helper.ts | 34 | function getRegistryInjectedProperties(target: any): string[] { | CODE |
| LOW | …nvas-engine/core/src/common/schema/transform-schema.ts | 597 | export function isParentOrChildrenTransform(dragableEntities: Entity[], target: Entity): boolean { | CODE |
| LOW | …ayout-core/__tests__/workflow-line-render-data.test.ts | 24 | function createContainerWithoutLineContribution(): { | CODE |
| LOW | …layout-core/src/hooks/use-playground-readonly-state.ts | 14 | export function usePlaygroundReadonlyState(listenChange?: boolean): boolean { | CODE |
| LOW | packages/common/utils/src/dom-utils.ts | 118 | export function addStandardDisposableListener( | CODE |
| LOW | packages/common/utils/src/math/shapes/Rectangle.ts | 580 | export function createRectangleWithTwoPoints(point1: IPoint, point2: IPoint): Rectangle { | CODE |
| LOW | …t/free-layout-editor/src/hooks/use-playground-tools.ts | 169 | function handleUpdateInteractiveType(interactiveType: InteractiveType) { | CODE |
| LOW | …t/free-layout-editor/src/hooks/use-playground-tools.ts | 183 | function handleUpdateMouseScrollDelta(delta: number | ((zoom: number) => number)) { | CODE |
| LOW | …editor/src/components/fixed-layout-editor-provider.tsx | 28 | function FixedLayoutEditorProvider(props: FixedLayoutProps, ref) { | CODE |
| LOW | …/fixed-layout-editor/src/hooks/use-playground-tools.ts | 155 | function handleUpdateInteractiveType(interactiveType: PlaygroundInteractiveType) { | CODE |
| LOW | …yout-animation/src/components/update-schema/example.py | 153 | def generate_clothing_suggestion(self, state: WorkflowState) -> WorkflowState: | CODE |
| LOW | …yout-animation/src/components/update-schema/example.py | 212 | def _get_rule_based_suggestion(self, temperature: float, weather_condition: str) -> str: | STRING |
| LOW | apps/cli/src/materials/refresh-project-import.ts | 15 | export function executeRefreshProjectImport(context: SyncMaterialContext) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/material-component-dev/SKILL.md | 39 | ### Step 1: 规划组件结构 | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 46 | ### Step 2: 创建目录结构 | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 62 | ### Step 3: 实现组件 | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 154 | ### Step 4: 在 form-materials 主入口导出 | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 180 | ### Step 5: 创建 Storybook Story | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 246 | ### Step 6: 运行类型检查 | COMMENT |
| LOW | .claude/skills/material-component-dev/SKILL.md | 255 | ### Step 7: 启动开发环境测试 | COMMENT |
| LOW⚡ | .claude/skills/create-node/SKILL.md | 150 | ### Step 1: 规划节点 | COMMENT |
| LOW⚡ | .claude/skills/create-node/SKILL.md | 159 | ### Step 2: 选择开发模式 | COMMENT |
| LOW⚡ | .claude/skills/create-node/SKILL.md | 167 | ### Step 3: 复制模板并修改 | COMMENT |
| LOW | .claude/skills/create-node/SKILL.md | 193 | ### Step 4: 添加节点类型常量 | COMMENT |
| LOW | .claude/skills/create-node/SKILL.md | 204 | ### Step 5: 注册节点 | COMMENT |
| LOW | .claude/skills/create-node/SKILL.md | 219 | ### Step 6: 准备节点图标 | COMMENT |
| LOW | .claude/skills/create-node/SKILL.md | 227 | ### Step 7: 测试验证 | COMMENT |
| LOW | …/free-layout-core/src/service/workflow-drag-service.ts | 743 | // Step 1: check same line | COMMENT |
| LOW⚡ | …/free-layout-core/src/service/workflow-drag-service.ts | 770 | // Step 3: delete line | COMMENT |
| LOW⚡ | …/free-layout-core/src/service/workflow-drag-service.ts | 780 | // Step 4: add line | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/desktop-backend/validation/service.py | 58 | except (BrokenPipeError,ConnectionResetError):pass | CODE |
| HIGH | apps/desktop-backend/validation/service_lifecycle.py | 53 | except (OSError,urllib.error.URLError):pass | CODE |
| HIGH | apps/desktop-backend/validation/published_services.py | 34 | except (OSError,urllib.error.URLError):pass | CODE |
| HIGH | apps/desktop-backend/validation/published_services.py | 66 | except (OSError,ValueError,urllib.error.URLError):pass | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/runtime/js-core/src/domain/validation/index.test.ts | 246 | name: 'John Doe', | CODE |
| LOW | …es/runtime/js-core/src/domain/validation/index.test.ts | 257 | name: 'John Doe', | CODE |
| LOW | …es/runtime/js-core/src/domain/validation/index.test.ts | 268 | name: 'John Doe', | CODE |
| LOW | apps/desktop/src/components/session-panel.tsx | 355 | placeholder={t('placeholder')} | CODE |
| LOW | apps/desktop/src/lib/mentions.test.ts | 108 | mentionQuery({ content: "user@example.com", mentions: [] }, 16) | CODE |
| LOW | …ts/form-materials/form-plugins/infer-assign-plugin.tsx | 51 | content: 'John Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/free-layout-core/src/service/workflow-drag-service.ts | 743 | // Step 1: check same line | COMMENT |
| LOW⚡ | …/free-layout-core/src/service/workflow-drag-service.ts | 770 | // Step 3: delete line | COMMENT |
| LOW⚡ | …/free-layout-core/src/service/workflow-drag-service.ts | 780 | // Step 4: add line | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/desktop-smoke.py | 13 | CODE | |
| LOW | apps/desktop-backend/validation/scenarios.py | 23 | CODE | |
| LOW | apps/desktop-backend/validation/service.py | 61 | CODE | |
| LOW | apps/desktop-backend/validation/example_projects.py | 75 | CODE | |
| LOW | …yout-animation/src/components/update-schema/example.py | 212 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/desktop-backend/validation/service_lifecycle.py | 2 | CODE | |
| LOW | apps/desktop-backend/validation/published_services.py | 5 | CODE | |
| LOW | apps/desktop-backend/validation/published_services.py | 7 | CODE | |
| LOW | …yout-animation/src/components/update-schema/example.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …yout-animation/src/components/update-schema/example.py | 202 | except Exception as e: | STRING |
| LOW | …yout-animation/src/components/update-schema/example.py | 392 | except Exception as e: | CODE |
| LOW | …yout-animation/src/components/update-schema/example.py | 414 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …yout-animation/src/components/update-schema/example.py | 311 | # Create the graph | STRING |
| MEDIUM | …yout-animation/src/components/update-schema/example.py | 320 | # Define the flow | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …yout-animation/src/components/update-schema/example.py | 384 | # Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/desktop-backend/validation/service.py | 61 | def handle_request(self): | CODE |