This report summarizes scanner evidence for kunchenguid/gnhf. SynthScan examined 41,529 lines of code across 110 source files, recording 65 pattern matches distributed across 5 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? 50 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 47 finding(s).
Which changes need focused human review? 65 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 65 distinct pattern matches across 5 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 |
|---|---|---|---|---|
| MEDIUM | src/renderer-diff.ts | 3 | // ── Cell types ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer-diff.ts | 20 | // ── Cell helpers ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer-diff.ts | 48 | // ── Cell → string conversion ──────────────────────────────── | COMMENT |
| MEDIUM | src/renderer-diff.ts | 67 | // ── Frame diffing ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer-diff.ts | 88 | // ── Diff → ANSI output ────────────────────────────────────── | COMMENT |
| MEDIUM | src/mock-orchestrator.ts | 131 | // ── Randomization helpers ──────────────────────────────────── | COMMENT |
| MEDIUM | src/mock-orchestrator.ts | 137 | // ── Mock orchestrator ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 25 | // ── Constants ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 49 | // ── ANSI helpers ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 56 | // ── Cell-based render functions ────────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 265 | // ── String wrappers (preserve existing API) ────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 315 | // ── Star rendering (cell-based) ───────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 514 | // ── Build full frame (cell-based) ──────────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 726 | // ── String wrappers for frame building ─────────────────────── | COMMENT |
| MEDIUM | src/renderer.ts | 765 | // ── Renderer class ─────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/release-ci-exclusions.test.ts | 101 | function pullRequestFilterCoverage(pr: unknown): PullRequestFilter { | CODE |
| LOW | src/cli.ts | 282 | function initializeCurrentBranchRun( | CODE |
| LOW | src/cli.ts | 535 | function persistStdinPromptForReexec(prompt: string): { | CODE |
| LOW | src/cli.ts | 552 | function isTrustedReexecPromptPath(promptPath: string): boolean { | CODE |
| LOW | src/cli.ts | 562 | function cleanupTrustedReexecPromptPath(promptPath: string): void { | CODE |
| LOW | src/cli.test.ts | 508 | async function runCliResumeWithActualRun( | CODE |
| LOW | src/core/commit-message-config.ts | 4 | export function normalizeCommitMessageConfig( | CODE |
| LOW | src/core/commit-message.ts | 55 | export function getCommitMessageSchemaFields( | CODE |
| LOW | src/core/commit-message.ts | 65 | export function getCommitMessagePromptFields( | CODE |
| LOW | src/core/sleep.test.ts | 49 | function createWindowsChildProcess(pid = 1234): ChildProcess { | CODE |
| LOW | src/core/sleep.ts | 116 | function isTrustedLinuxReexecReadyPath(readyPath: string): boolean { | CODE |
| LOW | src/core/sleep.ts | 196 | function forwardTerminationSignalsToChild( | CODE |
| LOW | src/core/telemetry.ts | 82 | export function getBuildTimeUmamiWebsiteID(): string { | CODE |
| LOW | src/core/telemetry.ts | 275 | export function resetDefaultTelemetryForTests(): void { | CODE |
| LOW | src/core/config.ts | 35 | function hasDisallowedAcpTargetChar(target: string): boolean { | CODE |
| LOW | src/core/config.ts | 263 | function normalizeAgentPathOverride( | CODE |
| LOW | src/core/config.ts | 341 | function normalizeAgentArgsOverride( | CODE |
| LOW | src/core/config.ts | 422 | function normalizeAcpRegistryOverrides( | CODE |
| LOW | src/core/config.ts | 570 | function serializeAgentPathOverride( | CODE |
| LOW | src/core/config.ts | 592 | function serializeAgentArgsOverride( | CODE |
| LOW⚡ | src/core/run.ts | 101 | function commitMessageMetadataValue( | CODE |
| LOW⚡ | src/core/run.ts | 107 | function readCommitMessageMetadata( | CODE |
| LOW⚡ | src/core/run.ts | 116 | function inferCommitMessageFromSchema( | CODE |
| LOW | src/core/run.ts | 164 | function writeCommitMessageMetadata( | CODE |
| LOW | src/core/run.ts | 360 | export function getCompletedIterationCount(runInfo: RunInfo): number { | CODE |
| LOW | src/core/agents/cursor.ts | 202 | function userSpecifiedPermissionMode(userArgs: string[]): boolean { | CODE |
| LOW | src/core/agents/acp.ts | 64 | function redactRawAcpTargetInString(text: string, target: string): string { | CODE |
| LOW | src/core/agents/acp.ts | 70 | function redactRawAcpTargetInValue(value: unknown, target: string): unknown { | CODE |
| LOW | src/core/agents/opencode.ts | 123 | function buildProviderErrorMessage(error: OpenCodeStreamErrorInfo): string { | CODE |
| LOW | src/core/agents/opencode.ts | 190 | function buildStructuredOutputFormat(schema: AgentOutputSchema) { | CODE |
| LOW | src/core/agents/copilot.ts | 91 | function userSpecifiedPermissionMode(userArgs: string[]): boolean { | CODE |
| LOW | src/core/agents/stream-utils.ts | 141 | export function setupChildProcessHandlers( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 241 | # agentPathOverride: | COMMENT |
| LOW | README.md | 261 | # - --provider | COMMENT |
| LOW | README.md | 281 | # local or beta build of an ACP agent. | COMMENT |
| LOW | .github/workflows/no-mistakes-required.yml | 41 | check: | COMMENT |
| LOW | src/core/bootstrap-config.golden.yml | 1 | # Agent to use by default: native agent name or acp:<target-or-command> | COMMENT |
| LOW | src/core/bootstrap-config.golden.yml | 21 | # - -c | COMMENT |
| LOW | src/core/bootstrap-config.golden.yml | 41 | # agentModel: | COMMENT |
| LOW | src/core/agents/acp.ts | 241 | const iterationStartUsed = this.lastReportedUsed; | COMMENT |
| LOW | src/core/agents/acp.ts | 261 | // the turn, so this is the primary candidate to JSON.parse - separating | COMMENT |
| LOW | src/core/agents/acp.ts | 321 | // Count both output and thought streams toward output tokens - | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .airlock/lint.sh | 56 | # Step 1: Run Prettier auto-fix on changed files | COMMENT |
| LOW⚡ | .airlock/lint.sh | 62 | # Step 2: Run ESLint auto-fix on changed TS/JS files | COMMENT |
| LOW⚡ | .airlock/lint.sh | 68 | # Step 3: Run Prettier check mode to verify | COMMENT |
| LOW⚡ | .airlock/lint.sh | 77 | # Step 4: Run ESLint check mode to verify | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .airlock/lint.sh | 56 | # Step 1: Run Prettier auto-fix on changed files | COMMENT |
| LOW⚡ | .airlock/lint.sh | 62 | # Step 2: Run ESLint auto-fix on changed TS/JS files | COMMENT |
| LOW⚡ | .airlock/lint.sh | 68 | # Step 3: Run Prettier check mode to verify | COMMENT |
| LOW⚡ | .airlock/lint.sh | 77 | # Step 4: Run ESLint check mode to verify | COMMENT |