AI Slop Code Risk Monitor

Gaurav-Gosain/tuios

SlopCodeMonitor badge for Gaurav-Gosain/tuios Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
3.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Gaurav-Gosain/tuios. SynthScan examined 1,178,654 lines of code across 4805 source files, recording 3979 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 3.5 (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.

3.5
Adjusted Signal
3.5
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
1.2M
Lines of Code
4.8K
Files
4.0K
Pattern Hits
2026-10-31
Scan Date
0.00
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 15.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 16.3/100 · LOW

Which changes need focused human review? 3979 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 7HIGH 1MEDIUM 75LOW 3896

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 3979 distinct pattern matches across 13 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 Block3877 hits · 3731 pts
SeverityFileLineSnippetContext
LOW.goreleaser.yml761# - "--label=org.opencontainers.image.created={{.Date}}"COMMENT
LOWAGENTS.md41go test ./... ./progstatus/... ./vt/...COMMENT
LOWvt/conform_pending_c1_test.go1//go:build !ghosttyCOMMENT
LOWvt/emulator.go21 // Printf logs a message formatted as fmt.Printf does.COMMENT
LOWvt/emulator.go41 // paletteClaimed is whether either layer has claimed any of the sixteen,COMMENT
LOWvt/emulator.go81 // Terminal modes. Written only by the PTY reader goroutine (via setMode,COMMENT
LOWvt/emulator.go101 cachedAutoWrap atomic.BoolCOMMENT
LOWvt/emulator.go121 cachedKittyFlags atomic.Int32COMMENT
LOWvt/emulator.go141 // into. See boxRGB.COMMENT
LOWvt/emulator.go201 kittyPassthroughFunc func(cmd *KittyCommand, rawData []byte)COMMENT
LOWvt/emulator.go381}COMMENT
LOWvt/emulator.go741//COMMENT
LOWvt/emulator.go821 returnCOMMENT
LOWvt/emulator.go861// Applications can hide the cursor using ANSI escape sequences (DECTCEM mode).COMMENT
LOWvt/emulator.go1081// client is rebuilding from the daemon has emitted its DECSCUSR long ago, soCOMMENT
LOWvt/emulator.go1161 // Refresh the atomic mouse-mode caches that HasMouseMode andCOMMENT
LOWvt/emulator.go1181}COMMENT
LOWvt/emulator.go1201// closing escape as three separate writes, so a slow reader strands the updateCOMMENT
LOWvt/emulator.go1541 return len(p), nilCOMMENT
LOWvt/cellsize.go1package vtCOMMENT
LOWvt/terminal.go1package vtCOMMENT
LOWvt/terminal.go21// release. Use it, and do not implement it: a type outside this package thatCOMMENT
LOWvt/terminal.go41 // WriteResponse queues data to come out of Read, for a response made outsideCOMMENT
LOWvt/terminal.go81 // CursorPen returns the style and hyperlink the next printed characterCOMMENT
LOWvt/terminal.go101 RestoreCursorPendingWrap(pending bool)COMMENT
LOWvt/terminal.go121 // any character set maps it. It is empty when nothing has been printedCOMMENT
LOWvt/terminal.go141 Titles() TitlesCOMMENT
LOWvt/terminal.go161 // state: the start of an escape sequence or of a UTF-8 character thatCOMMENT
LOWvt/terminal.go181COMMENT
LOWvt/terminal.go201 // side effects of a mode change.COMMENT
LOWvt/terminal.go221 // FocusReportingEnabled reports whether focus reporting (mode 1004) is on.COMMENT
LOWvt/terminal.go241 // screen is cleared too: its flags do not travel.COMMENT
LOWvt/terminal.go261 ScrollbackGeneration() uint64COMMENT
LOWvt/terminal.go281 ScrollbackText(from, end int, fn func(index, width int, cells []TextCell) bool)COMMENT
LOWvt/terminal.go301 // told instead of the cell centre.COMMENT
LOWvt/terminal.go321 // RestoreKittyKeyboardState puts back the stack KittyKeyboardStackCOMMENT
LOWvt/terminal.go341 // RestoreModifyOtherKeys puts back the level ModifyOtherKeys returned.COMMENT
LOWvt/terminal.go361 // the notice. SetThemeColors does not, so a host can preview a themeCOMMENT
LOWvt/terminal.go381 // keys alone, so the payload is not decoded. See ParseKittyHeader.COMMENT
LOWvt/terminal.go401 SetKittyPlaceholderMode(m KittyPlaceholderMode)COMMENT
LOWvt/conform_slrm_test.go1package vt_testCOMMENT
LOWvt/csi_sgr.go121 return c, n - 1, trueCOMMENT
LOWvt/ghostty_scrollback.go1//go:build ghosttyCOMMENT
LOWvt/mode_map_race_test.go1package vt_testCOMMENT
LOWvt/mode_map_race_test.go41 })COMMENT
LOWvt/ghostty_terminal.go101 gl, gr intCOMMENT
LOWvt/scroll_rotate_test.go301 if got := strings.TrimRight(b.String(), " "); got != want {COMMENT
LOWvt/scroll_rotate_test.go381}COMMENT
LOWvt/sixel_report.go41COMMENT
LOWvt/blankfill_bench_test.go1package vtCOMMENT
LOWvt/blankfill_bench_test.go21// fill-loop the store per cell that rotateWholeScreenUp actually doesCOMMENT
LOWvt/c1_utf8_test.go1package vtCOMMENT
LOWvt/kitty_keyboard.go181COMMENT
LOWvt/grid.go1package vtCOMMENT
LOWvt/grid.go21// The second is that uv.RenderBuffer tracks which cells changed, for aCOMMENT
LOWvt/grid.go41 // A scroll blanks the rows it brings in and packs the rows it pushes intoCOMMENT
LOWvt/grid.go61 // write to the row drops its tail: the shell has repainted it. A row thatCOMMENT
LOWvt/grid.go81COMMENT
LOWvt/grid.go501 }COMMENT
LOWvt/conform_unicode_test.go161 })COMMENT
3817 more matches not shown…
AI Slop Vocabulary37 hits · 107 pts
SeverityFileLineSnippetContext
MEDIUMcmd/tuios/main.go1160 # Try another harness's rules against a pane nothing has claimed yetCOMMENT
MEDIUMinternal/app/tape_body.go32// command (robust to hostile or future input).COMMENT
MEDIUMinternal/terminal/window_input_gap_test.go146 // of them is the load-robust half of this assertion: without pacing theCOMMENT
MEDIUMinternal/harness/herdrconv/main.go175 out.WriteString("# Apache-2.0; see internal/harness/manifests/LICENSE-herdr).\n")CODE
MEDIUMinternal/harness/herdrconv/main.go176 out.WriteString("# Generated by go run ./internal/harness/herdrconv; review before shipping.\n\n")CODE
MEDIUMinternal/harness/manifests/qwen.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/devin.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/kiro.toml6# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/copilot.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/kimi.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/kilo.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/cursor-agent.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/letta.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/letta.toml20# a launch is a harness here until the process-level check can say otherwise.COMMENT
MEDIUMinternal/harness/manifests/qoder.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/codex.toml7# so its hooks carry the pane's TUIOS_PANE_ID and the same harness pid. WithCOMMENT
MEDIUMinternal/harness/manifests/amp.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/maki.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/droid.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/cline.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/antigravity.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/grok.toml5# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/harness/manifests/hermes.toml4# go run ./internal/harness/herdrconvCOMMENT
MEDIUMinternal/tape/header.go54// It never executes anything and is robust to hostile input: an unrecognized orCOMMENT
MEDIUMinternal/session/agent_state.go360// pane's TUIOS_PANE_ID and the same harness pid (#852). For such a harness,COMMENT
MEDIUMinternal/session/verb_protocol_agents.go365 {Name: "parts", Type: "[]object", Description: "The message as ordered parts, at most 64 and 8 MiB in all: {kind: teCODE
MEDIUMscripts/check.sh269 # own harness. vet and the build still cover it.COMMENT
MEDIUM.github/workflows/ghostty-vt.yml2# job keeps that build compiling and its differential harness honest: theCOMMENT
MEDIUM.github/workflows/e2e-tui.yml4# No terminal is needed: the harness allocates the pty itself, so this runs on aCOMMENT
MEDIUM.github/workflows/e2e-tui.yml311 # instrument only the harness.COMMENT
MEDIUM.github/workflows/e2e-tui.yml365 # The harness tears down its own process groups, but a hard job failureCOMMENT
MEDIUMe2e/control_plane_test.go457// TestUnknownVerbDoesNotKillConnection proves the dispatch loop is robust: aCOMMENT
MEDIUMe2e/tui/agent_subagent_list_test.go40 'late '*) x=${line#late }; harness=$PPID; ( (while kill -0 "$harness" 2>/dev/null; do sleep 0.1; done; hook "$x") & ) ;CODE
MEDIUMe2e/tui/testselect/collect.sh8# harness ran too, such as internal/session and internal/config. Code thatCOMMENT
MEDIUMe2e/tui/testselect/collect.sh9# runs in every process (package init, the start of main, and the harness'sCOMMENT
MEDIUMe2e/tui/testselect/collect.sh38# before it judges a change to a package the harness imports by the map.COMMENT
MEDIUMe2e/tui/testselect/mapfile.go47# cover harness the test process was measured too, not only tuiosCOMMENT
Hallucination Indicators7 hits · 90 pts
SeverityFileLineSnippetContext
CRITICALinternal/app/inbox_approvals_ext.go148 return "by " + m.Inbox.approvals.armed.at.Add(inboxRiskPressWindow).Format("15:04:05")CODE
CRITICALinternal/app/inbox_reply_test.go242 got := m.Inbox.reply.editor.comp.Text()CODE
CRITICAL⚡internal/app/inbox_reply_test.go268 if n, _ := m.Inbox.reply.editor.comp.Images(); n != 0 {CODE
CRITICAL⚡internal/app/inbox_reply_test.go272 if n, _ := m.Inbox.reply.editor.comp.Images(); n != 1 {CODE
CRITICAL⚡internal/app/inbox_reply_test.go273 t.Fatalf("ctrl+v attached %d images, want 1: %q", n, m.Inbox.reply.editor.comp.Notice())CODE
CRITICAL⚡internal/app/inbox_reply_test.go275 if got := m.Inbox.reply.editor.comp.Text(); got != "[Image #1 · png]" {CODE
CRITICALinternal/app/inbox_approvals_ext_test.go230 if until := m.Inbox.approvals.armed.at.Add(inboxRiskPressWindow).Format("15:04:05"); !strings.Contains(m.Inbox.Peek.NotCODE
Decorative Section Separators26 hits · 89 pts
SeverityFileLineSnippetContext
MEDIUMplot/bar.go439 GaugeLine GaugeStyle = iota // a heavy line: ━━━━━━━━━━CODE
MEDIUMinternal/app/sidebar_spaces.go29// payments ─────────────COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt20# ================================================COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt445# ================================================COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt748# ================================================COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt756# ================================================COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt813# ================================================COMMENT
MEDIUMinternal/app/testdata/unicode/emoji-data.txt830# ================================================COMMENT
MEDIUMinternal/harness/manifests/claude-code.toml119# ────────────────────────────────COMMENT
MEDIUMinternal/harness/manifests/claude-code.toml154# ─────────────────────────────── My session ─COMMENT
MEDIUMinternal/harness/manifests/claude-code.toml258# ────────────────────────────────────────────COMMENT
MEDIUMinternal/harness/manifests/claude-code.toml260# ────────────────────────────────────────────COMMENT
MEDIUMinternal/harness/manifests/pi.toml38# ── ⠹ Working ──────────────────────────COMMENT
MEDIUMinternal/harness/manifests/cline.toml72# ───────────────────────────────COMMENT
MEDIUMinternal/harness/manifests/cline.toml74# ───────────────────────────────COMMENT
MEDIUMinternal/harness/manifests/antigravity.toml89# ─────────────── esc to cancelCOMMENT
MEDIUMinternal/harness/manifests/gemini-cli.toml16# ╭──────────────────────────────────────────────╮COMMENT
MEDIUMinternal/harness/manifests/gemini-cli.toml18# ╰──────────────────────────────────────────────╯COMMENT
MEDIUM⚡sketch/text/shapes.go11// rect ┌───────┐ rounded ╭───────╮ stadium, circleCOMMENT
MEDIUM⚡sketch/text/shapes.go12// │ Label │ │ Label │ ╭─────────╮COMMENT
MEDIUM⚡sketch/text/shapes.go13// └───────┘ ╰───────╯ ( Label )COMMENT
MEDIUM⚡sketch/text/shapes.go14// ╰─────────╯COMMENT
MEDIUM⚡sketch/text/shapes.go15// subroutine ┌┬───────┬┐ cylinder ╭───────╮ double circleCOMMENT
MEDIUM⚡sketch/text/shapes.go16// ││ Label ││ ├───────┤ ╭─────────╮COMMENT
MEDIUM⚡sketch/text/shapes.go17// └┴───────┴┘ │ Label │ (( Label ))COMMENT
MEDIUM⚡sketch/text/shapes.go18// ╰───────╯ ╰─────────╯COMMENT
Self-Referential Comments10 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUM⚡cmd/tuios/main.go328 Example: ` # Create a new session with auto-generated nameCODE
MEDIUM⚡cmd/tuios/main.go331 # Create a named sessionCOMMENT
MEDIUM⚡cmd/tuios/main.go334 # Create a headless session without attachingCOMMENT
MEDIUM⚡cmd/tuios/main.go337 # Create a session whose windows start in ~/dev/apiCOMMENT
MEDIUM⚡cmd/tuios/main.go340 # Create a session in the space paymentsCOMMENT
MEDIUM⚡cmd/tuios/main.go343 # Create a session on the machine named build and attach to itCOMMENT
MEDIUM⚡cmd/tuios/main.go346 # Create a named session on that machine without attachingCOMMENT
MEDIUMcmd/tuios/main.go848 Example: ` # Create a new windowCODE
MEDIUMcmd/tuios/main.go851 # Create a window and get its ID (for scripting)COMMENT
MEDIUMinternal/config/presets/tmux.toml5# This file is a delta over the tuios defaults, in the config's own syntax. AnCOMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWvt/backend_bench_test.go53 fmt.Fprintf(&b, "\x1b[%d;1H\x1b[38;5;250mline %3d %s", y, y, strings.Repeat("lorem ipsum dolor ", 4))CODE
LOWvt/resize_bench_test.go36 fmt.Fprintf(&b, "\x1b[3%dm%06d\x1b[m %s\r\n", i%7+1, i, strings.Repeat("lorem ipsum dolor sit amet ", 11)[:293])CODE
LOWvt/resize_bench_test.go36 fmt.Fprintf(&b, "\x1b[3%dm%06d\x1b[m %s\r\n", i%7+1, i, strings.Repeat("lorem ipsum dolor sit amet ", 11)[:293])CODE
LOWinternal/app/sixel_passthrough.go56 return "placeholder"CODE
LOWinternal/federation/sshalias.go150 _, problems := NewTable([]Host{{Name: name, Addr: "placeholder"}})CODE
LOWtml/catalog.go603 {Name: "placeholder", Type: TString, Bind: true, Doc: "Text shown while the field is empty."},CODE
LOWtml/catalog.go635 {Name: "placeholder", Type: TString, Bind: true, Multiline: true, Doc: "Text shown while the field is empty."},CODE
LOWtml/tml.schema.json4553 "placeholder": {CODE
LOWtml/tml.schema.json10132 "placeholder": {CODE
LOWloom/widgets.go589 w := &fieldWidget{kind: n.Type, label: s.str(n, "label", vars), placeholder: s.str(n, "placeholder", vars),CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWinstall-web.sh223 # Check if OS/arch is supportedCOMMENT
LOWinstall-web.sh304 # Check if directory is in PATHCOMMENT
LOWinstall.sh225 # Check if OS/arch is supportedCOMMENT
LOWinstall.sh312 # Check if directory is in PATHCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHinternal/integration/assets/hermes/__init__.py45except Exception:CODE
Excessive Try-Catch Wrapping3 hits · 4 pts
SeverityFileLineSnippetContext
LOWinternal/integration/assets/hermes/__init__.py45 except Exception:CODE
LOWe2e/tui/display_follow_test.go150 except Exception as e:CODE
MEDIUMe2e/tui/display_follow_test.go144def ask(path):CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/design/live-handoff.md498### 4.4 Idle and event-driven budgetsCOMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/app/subagents.go413 // Step 3: the parents with running subagents, in the order they getCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/app/subagents.go413 // Step 3: the parents with running subagents, in the order they getCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWinternal/integration/assets/hermes/__init__.py13CODE