AI Slop Code RIsk Monitor

contour-terminal/contour

Modern C++ Terminal Emulator

5.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for contour-terminal/contour, a C++ project with 3,042 GitHub stars. SynthScan examined 290,822 lines of code across 1003 source files, recording 1508 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 5.3 (Moderate 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.

5.3
Adjusted Signal
5.3
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.0K
Stars
C++
Language
290.8K
Lines of Code
1.0K
Files
1.5K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.7/100 · LOW

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

PR Review Velocity Impact 23.5/100 · LOW

Which changes need focused human review? 1508 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 0HIGH 0MEDIUM 25LOW 1483

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 1508 distinct pattern matches across 11 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 Block1458 hits · 1438 pts
SeverityFileLineSnippetContext
LOW_typos.toml1# Spell-check configuration. Run it with `scripts/check-spelling.py`, or via `ctest -L lint`.COMMENT
LOWCMakeLists.txt21if (NOT(CMAKE_CXX_STANDARD))COMMENT
LOWtest/DECAC.sh1#! /bin/bashCOMMENT
LOWtest/colors-256.sh1#!/usr/bin/env bashCOMMENT
LOWtest/DECATC.sh1#! /bin/bashCOMMENT
LOWtest/decoration.sh41# decoration 25 "Not blinking"COMMENT
LOWexamples/regis-animation.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/text-sizing-demo.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/text-sizing-demo.cpp21/// | `h` | 0..2 | horizontal alignment: left/right/center |COMMENT
LOWexamples/multi-page-demo.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/regis-plot3d.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/regis-primitives.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/watch-mouse-events.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/watch-dec-locator.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/watch-dec-locator.cpp81/// Decodes the parameter string of a DECLRP report into its five fields.COMMENT
LOWexamples/drcs-demo.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWexamples/drcs-demo.cpp141COMMENT
LOWscripts/run-display-tests.sh1#! /bin/bashCOMMENT
LOWscripts/apt-update.sh1#! /bin/bashCOMMENT
LOWscripts/fetch-vttest.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/fetch-vttest.sh21# leaves it fully buffered, and only `Wait:`/`Done:`, give_up() and menu2() ever flush -- so aCOMMENT
LOWscripts/fetch-esctest.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/check-clang-tidy-config.sh1#! /bin/bashCOMMENT
LOWscripts/ci/vttest-install.sh1#! /bin/bashCOMMENT
LOWscripts/ci/notcurses-install-deps.sh1#! /bin/bashCOMMENT
LOW.github/workflows/docs.yml41 # C driver has to exist under that name too (g++-14 does depend on it, but the build shouldCOMMENT
LOW.github/workflows/spelling.yml1# Spell check.COMMENT
LOW.github/workflows/build.yml221 fiCOMMENT
LOW.github/workflows/build.yml361 # fedora:COMMENT
LOW.github/workflows/build.yml381 # shell: bashCOMMENT
LOW.github/workflows/build.yml401 # - name: "Post-fix embedded dependency permissions."COMMENT
LOW.github/workflows/build.yml421 # set -xCOMMENT
LOW.github/workflows/build.yml441 # echo "pwd: `pwd`" && ls -hlaCOMMENT
LOW.github/workflows/build.yml481 envCOMMENT
LOW.github/workflows/build.yml681 key: vcpkg-macos-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json', 'cmake/vcpkg-triplets/arm64-osx-contoCOMMENT
LOW.github/workflows/build.yml701 #COMMENT
LOW.github/workflows/build.yml721 # width does not enter into it. Stated on both platforms so they build the same binary.COMMENT
LOW.github/workflows/build.yml761 }COMMENT
LOW.github/workflows/build.yml841 # The image ships the app and nothing else -- plus the /Applications symlink theCOMMENT
LOW.github/workflows/build.yml941 with:COMMENT
LOW.github/workflows/build.yml1021 # Windows is the ONLY validation the daemon's Windows transport gets -- nobody develops itCOMMENT
LOW.github/workflows/build.yml1141 # coverage `vthost/tmux/ControlModeSpawn.cpp` gets at all.COMMENT
LOW.github/workflows/build.yml1241 --preset gcc-debugCOMMENT
LOW.github/workflows/build.yml1261 sleep 10COMMENT
LOWsrc/vtrasterizer/TextureAtlas.hpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/vtrasterizer/TextureAtlas.hpp21COMMENT
LOWsrc/vtrasterizer/TextureAtlas.hpp121 // Size in pixels of a tile.COMMENT
LOWsrc/vtrasterizer/TextureAtlas.hpp481 /// This used to return `width + (width % tileWidth)`, which is neither the width nor a sliceCOMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp1061 ///COMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp2261 // TODO: ▢ U+25A2 WHITE SQUARE WITH ROUNDED CORNERSCOMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp2281 // TODO: ▷ U+25B7 WHITE RIGHT-POINTING TRIANGLECOMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp2301 // TODO: ◌ U+25CC DOTTED CIRCLECOMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp2321 // TODO: ◠ U+25E0 UPPER HALF CIRCLECOMMENT
LOWsrc/vtrasterizer/BoxDrawingRenderer.cpp2341 // TODO: ◴ U+25F4 WHITE CIRCLE WITH UPPER LEFT QUADRANTCOMMENT
LOWsrc/vtrasterizer/TextRenderer.hpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/vtrasterizer/TextRenderer.hpp81COMMENT
LOWsrc/vtrasterizer/GlyphSlicing.hpp1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/vtrasterizer/GlyphSlicing.hpp141COMMENT
LOWsrc/vtrasterizer/GlyphSlicing.hpp221};COMMENT
1398 more matches not shown…
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt156# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt236# ----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt273# ----------------------------------------------------------------------------COMMENT
MEDIUMtest/demo_math_symbols.py316 # = 1 - ───── + ───── - ───── + ...COMMENT
MEDIUMtest/demo_parenthesis_pieces.py338 # sin(x) = x · ⎜ 1 - ────── ⎟COMMENT
MEDIUM.github/workflows/build.yml1928 # -------------------------------------------------------------COMMENT
MEDIUMsrc/crispy/CMakeLists.txt5# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMsrc/crispy/CMakeLists.txt127# --------------------------------------------------------------------------------------------------------COMMENT
MEDIUMsrc/contour/CMakeLists.txt961# ====================================================================================COMMENT
MEDIUMsrc/contour/CMakeLists.txt963# ====================================================================================COMMENT
MEDIUMsrc/vtbackend/CMakeLists.txt189# ----------------------------------------------------------------------------COMMENT
MEDIUMsrc/vtbackend/core/Color.hpp312 // ╞═════════════╪═════════╪════════╪════════╡COMMENT
AI Slop Vocabulary9 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMtest/demo_parenthesis_pieces.py218 """Verify seamless junction between hooks and extensions."""STRING
MEDIUMscripts/fetch-vttest.sh13# conformance harness is happy with either: it takes whatever is on PATH unless told otherwise withCOMMENT
MEDIUMscripts/fetch-esctest.sh52# The suite's entry point lives one level down; that is the directory the harness runs it from.COMMENT
MEDIUM⚡scripts/ci/vttest-install.sh5# Installs vttest, the VT test program the conformance harness drives.COMMENT
MEDIUM⚡scripts/ci/vttest-install.sh7# vttest is a TEST-ONLY dependency: nothing of it is compiled, linked or shipped. The harness spawnsCOMMENT
MEDIUM⚡scripts/ci/vttest-install.sh13# out of step: vttest runs off the end of the file, never reaches its exit, and the harness reports aCOMMENT
MEDIUMscripts/ci/notcurses-install-deps.sh4# Installs ONLY the test-harness runtime dependencies for the notcurses-demo / quick-shell-exit CICOMMENT
MEDIUMsrc/vthost/client/LayoutReconstruction_test.cpp183 // the converter must be robust on its own too: a split node missing a childCOMMENT
MEDIUMsrc/vtconformance/Report.hpp128 std::string_view { "# VT sequences Contour does not yet honour, as reported by the conformance harness.\n"CODE
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtest/demo_math_symbols.py67CODE
LOWtest/demo_math_symbols.py84CODE
LOWtest/demo_math_symbols.py205CODE
LOWtest/demo_math_symbols.py261CODE
LOWtest/demo_parenthesis_pieces.py99CODE
LOWtest/demo_parenthesis_pieces.py116CODE
LOWtest/demo_parenthesis_pieces.py188CODE
LOWscripts/check-spelling.py53CODE
LOWscripts/macos-bundle.py633CODE
LOWscripts/macos-bundle.py216CODE
LOWscripts/extract-changelog-from-metainfo.py42CODE
LOWscripts/lib/toolcache.py119CODE
Self-Referential Comments4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUM…c/contour/cli/shell-integration/shell-integration.bash135# This function is installed as part of the PROMPT_COMMAND;COMMENT
MEDIUM…c/contour/cli/shell-integration/shell-integration.bash143# This function is installed as part of the PROMPT_COMMAND.COMMENT
MEDIUM…c/contour/cli/shell-integration/shell-integration.bash203# This function is installed as the DEBUG trap. It is invoked before eachCOMMENT
MEDIUMsrc/vtconformance/Report.hpp130 "# This file is a RATCHET, not a suppression list:\n"CODE
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/vtrasterizer/GridMetrics.hpp51 CellMargin cellMargin {}; // TODO: implement respecting cell margins.CODE
LOWsrc/vtpty/SshSession.cpp993 // TODO: implementCOMMENT
LOWsrc/contour/session/SessionFactory.cpp82 // TODO: implement SSH host key verification dialogCOMMENT
LOWsrc/vtbackend/input/InputGenerator.cpp537 // TODO: implement meCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/check-spelling.py17CODE
LOWscripts/check-workflows.py18CODE
LOWscripts/macos-bundle.py48CODE
LOWscripts/lib/toolcache.py16CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/extract-changelog-from-metainfo.py42def extract_changelog_from_metainfo(metainfo_file: str) -> list[Release]:CODE
LOWsrc/contour/test/QmlComponents_test.cpp2935 " function onCommandPaletteRequested() { paletteItem.open(); }\n"CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/display-modes.sh32 # Check if we got the terminatorCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…c/contour/cli/shell-integration/shell-integration.bash56# WARNING: This variable is no longer used and should not be relied upon.COMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmetainfo.xml94 <!-- unreleased: TODO: Don't forget to add date attribute to it. -->CODE