AI Slop Code Risk Monitor

gastownhall/gastown

SlopCodeMonitor badge for gastownhall/gastown Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Gas Town - multi-agent workspace manager

3.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gastownhall/gastown, a Go project with 18,638 GitHub stars. SynthScan examined 569,365 lines of code across 1520 source files, recording 1136 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.7 (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.7
Adjusted Signal
3.7
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
18.6K
Stars
Go
Language
569.4K
Lines of Code
1.5K
Files
1.1K
Pattern Hits
2026-10-31
Scan Date
0.01
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 11.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 5.6/100 · LOW

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

PR Review Velocity Impact 13.3/100 · LOW

Which changes need focused human review? 1136 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 8MEDIUM 226LOW 902

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 1136 distinct pattern matches across 17 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.

Decorative Section Separators186 hits · 618 pts
SeverityFileLineSnippetContext
MEDIUMinternal/cmd/convoy_stage.go1353// ─────┼────┼───────┼─────┼───────────COMMENT
MEDIUM⚡internal/cmd/gitinit.go78# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go80# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go84# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go86# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go93# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go95# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go98# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go100# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go103# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go105# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go122# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go124# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go127# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go129# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go133# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go135# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go143# =============================================================================COMMENT
MEDIUM⚡internal/cmd/gitinit.go145# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go59# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go61# =============================================================================COMMENT
MEDIUMinternal/doctor/worktree_gitdir_check_test.go278// ── New tests for hq-c6u: relocation and deacon dogs ──────────────────── //COMMENT
MEDIUMinternal/agentlog/claudecode.go240// ── Claude Code JSONL structures ──────────────────────────────────────────────COMMENT
MEDIUMinternal/formula/formulas/mol-idea-to-plan.formula.toml249# ============================================================================COMMENT
MEDIUMinternal/formula/formulas/mol-idea-to-plan.formula.toml255# ============================================================================COMMENT
MEDIUMinternal/formula/formulas/mol-idea-to-plan.formula.toml455# ============================================================================COMMENT
MEDIUMinternal/formula/formulas/mol-idea-to-plan.formula.toml462# ============================================================================COMMENT
MEDIUMinternal/formula/formulas/code-review.formula.toml308# ============================================================================STRING
MEDIUMinternal/formula/formulas/code-review.formula.toml310# ============================================================================STRING
MEDIUMinternal/formula/formulas/code-review.formula.toml406# ============================================================================STRING
MEDIUMinternal/formula/formulas/code-review.formula.toml408# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-plan-review.formula.toml102# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-plan-review.formula.toml104# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-plan-review.formula.toml233# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-plan-review.formula.toml235# ============================================================================STRING
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml127# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml129# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml161# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml163# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml200# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml202# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml228# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml230# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml265# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml267# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml288# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml290# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml326# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml328# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml349# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml351# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml388# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml390# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml429# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml431# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml500# ============================================================================COMMENT
MEDIUM…ernal/formula/formulas/mol-shutdown-dance.formula.toml502# ============================================================================COMMENT
MEDIUMinternal/formula/formulas/mol-prd-review.formula.toml103# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-prd-review.formula.toml105# ============================================================================STRING
MEDIUMinternal/formula/formulas/mol-prd-review.formula.toml257# ============================================================================STRING
126 more matches not shown…
Structural Annotation Overuse294 hits · 516 pts
SeverityFileLineSnippetContext
LOWplugins/gitignore-reconcile/plugin.md30## Step 1: Enumerate rig reposCOMMENT
LOWplugins/gitignore-reconcile/plugin.md49## Step 2: For each rig repo, find and untrack gitignored filesCOMMENT
LOWplugins/github-sheriff/plugin.md60### Step 1: List open PRs with full detailsCOMMENT
LOWplugins/github-sheriff/plugin.md78### Step 2: Categorize each PRCOMMENT
LOWplugins/submodule-commit/plugin.md36## Step 1: Find opt-in rigs with submodulesCOMMENT
LOWplugins/submodule-commit/plugin.md66## Step 2: For each opt-in rig, process its submodulesCOMMENT
LOWplugins/quality-review/plugin.md26## Step 1: Query recent quality-review resultsCOMMENT
LOWplugins/quality-review/plugin.md42## Step 2: Compute per-worker trendsCOMMENT
LOWplugins/quality-review/plugin.md58## Step 3: Classify worker statusCOMMENT
LOWplugins/quality-review/plugin.md65## Step 4: Alert on breachesCOMMENT
LOWplugins/quality-review/plugin.md88## Step 5: Record run resultCOMMENT
LOWplugins/stuck-agent-dog/plugin.md53## Step 1: Enumerate agents to checkCOMMENT
LOWplugins/stuck-agent-dog/plugin.md91## Step 2: Check polecat healthCOMMENT
LOWplugins/stuck-agent-dog/plugin.md161## Step 3: Check deacon healthCOMMENT
LOWplugins/stuck-agent-dog/plugin.md220## Step 4: Inspect context before acting (AI judgment)COMMENT
LOWplugins/stuck-agent-dog/plugin.md256## Step 5: Mass death checkCOMMENT
LOWplugins/stuck-agent-dog/plugin.md285## Step 6: Take actionCOMMENT
LOWplugins/dolt-archive/plugin.md42## Step 1: JSONL exportCOMMENT
LOWplugins/dolt-archive/plugin.md101## Step 2: Git commit and pushCOMMENT
LOWplugins/dolt-archive/plugin.md150## Step 3: Dolt native pushCOMMENT
LOWplugins/dolt-archive/plugin.md193## Step 4: Verify remote has dataCOMMENT
LOWplugins/dolt-snapshots/plugin.md84## Step 1: Build and start the snapshot watcherCOMMENT
LOWplugins/dolt-snapshots/plugin.md130## Step 2: Record resultCOMMENT
LOWplugins/git-hygiene/plugin.md28## Step 1: Enumerate rig reposCOMMENT
LOWplugins/git-hygiene/plugin.md50## Step 2: Process each rig repoCOMMENT
LOW⚡plugins/git-hygiene/run.sh65 # Step 1: Prune remote tracking refsCOMMENT
LOW⚡plugins/git-hygiene/run.sh69 # Step 2: Delete merged local branchesCOMMENT
LOWplugins/git-hygiene/run.sh91 # Step 3: Delete stale unmerged orphan branchesCOMMENT
LOWplugins/git-hygiene/run.sh119 # Step 4: Delete merged remote branches on GitHubCOMMENT
LOW⚡plugins/git-hygiene/run.sh150 # Step 5: Clear stale stashesCOMMENT
LOW⚡plugins/git-hygiene/run.sh159 # Step 6: Garbage collectCOMMENT
LOWplugins/compactor-dog/plugin.md45## Step 1: Discover production databasesCOMMENT
LOWplugins/compactor-dog/plugin.md67## Step 2: Count commits per databaseCOMMENT
LOWplugins/compactor-dog/plugin.md116## Step 3: Check swarm activityCOMMENT
LOWplugins/compactor-dog/plugin.md136## Step 4: Load previous stateCOMMENT
LOWplugins/compactor-dog/plugin.md175## Step 5: Save current stateCOMMENT
LOWplugins/compactor-dog/plugin.md194## Step 6: Make the judgment callCOMMENT
LOWinternal/cmd/formula.go457 // Step 1: Create convoy beadCOMMENT
LOWinternal/cmd/formula.go534 // Step 2: Create leg beads and track themCOMMENT
LOWinternal/cmd/formula.go603 // Step 3: Create synthesis bead if definedCOMMENT
LOWinternal/cmd/formula.go658 // Step 4: Sling each leg to a polecatCOMMENT
LOWinternal/cmd/formula.go739 // Step 1: Create workflow root beadCOMMENT
LOWinternal/cmd/formula.go773 // Step 2: Create step beads and wire dependenciesCOMMENT
LOWinternal/cmd/formula.go831 // Step 3: Identify and dispatch ready steps (those with no dependencies)COMMENT
LOWinternal/cmd/formula.go1265# Step 1: SetupCOMMENT
LOWinternal/cmd/formula.go1277# Step 2: Implementation (depends on setup)STRING
LOWinternal/cmd/formula.go1291# Step 3: Test (depends on implementation)STRING
LOWinternal/cmd/formula.go1305# Step 4: Complete (depends on tests)STRING
LOW⚡internal/cmd/rig_integration_test.go1154 // Step 1: Create test git repo with some committed filesCOMMENT
LOWinternal/cmd/rig_integration_test.go1210 // Step 2: Run gt installCOMMENT
LOWinternal/cmd/rig_integration_test.go1222 // Step 3: Add rig using Manager API (CLI rejects local paths since URL validation was added)COMMENT
LOW⚡internal/cmd/rig_integration_test.go1256 // Step 4: Create a crew memberCOMMENT
LOW⚡internal/cmd/rig_integration_test.go1266 // Step 5: Create a polecat (non-fatal: beads infrastructure may not supportCOMMENT
LOWinternal/cmd/rig_integration_test.go1284 // Step 6: Define all agent worktrees to checkCOMMENT
LOWinternal/cmd/rig_integration_test.go1322 // Step 7: Check each agent worktreeCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go555 // Step 1: Extract prefix from bead IDCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go561 // Step 2: Resolve rig path from prefixCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go567 // Step 3: Verify the path is correctCOMMENT
LOWinternal/cmd/beads_routing_integration_test.go579 // Step 4: Verify the .beads directory exists at that pathCOMMENT
LOW⚡internal/cmd/deacon.go1052 // Step 1: Log the intervention (send mail to agent)COMMENT
234 more matches not shown…
Verbosity Indicators210 hits · 391 pts
SeverityFileLineSnippetContext
LOW⚡plugins/git-hygiene/run.sh65 # Step 1: Prune remote tracking refsCOMMENT
LOW⚡plugins/git-hygiene/run.sh69 # Step 2: Delete merged local branchesCOMMENT
LOWplugins/git-hygiene/run.sh91 # Step 3: Delete stale unmerged orphan branchesCOMMENT
LOWplugins/git-hygiene/run.sh119 # Step 4: Delete merged remote branches on GitHubCOMMENT
LOW⚡plugins/git-hygiene/run.sh150 # Step 5: Clear stale stashesCOMMENT
LOW⚡plugins/git-hygiene/run.sh159 # Step 6: Garbage collectCOMMENT
LOWinternal/cmd/formula.go457 // Step 1: Create convoy beadCOMMENT
LOWinternal/cmd/formula.go534 // Step 2: Create leg beads and track themCOMMENT
LOWinternal/cmd/formula.go603 // Step 3: Create synthesis bead if definedCOMMENT
LOWinternal/cmd/formula.go658 // Step 4: Sling each leg to a polecatCOMMENT
LOWinternal/cmd/formula.go739 // Step 1: Create workflow root beadCOMMENT
LOWinternal/cmd/formula.go773 // Step 2: Create step beads and wire dependenciesCOMMENT
LOWinternal/cmd/formula.go831 // Step 3: Identify and dispatch ready steps (those with no dependencies)COMMENT
LOWinternal/cmd/formula.go1265# Step 1: SetupCOMMENT
LOWinternal/cmd/formula.go1277# Step 2: Implementation (depends on setup)STRING
LOWinternal/cmd/formula.go1291# Step 3: Test (depends on implementation)STRING
LOWinternal/cmd/formula.go1305# Step 4: Complete (depends on tests)STRING
LOW⚡internal/cmd/rig_integration_test.go1154 // Step 1: Create test git repo with some committed filesCOMMENT
LOWinternal/cmd/rig_integration_test.go1210 // Step 2: Run gt installCOMMENT
LOWinternal/cmd/rig_integration_test.go1222 // Step 3: Add rig using Manager API (CLI rejects local paths since URL validation was added)COMMENT
LOW⚡internal/cmd/rig_integration_test.go1256 // Step 4: Create a crew memberCOMMENT
LOW⚡internal/cmd/rig_integration_test.go1266 // Step 5: Create a polecat (non-fatal: beads infrastructure may not supportCOMMENT
LOWinternal/cmd/rig_integration_test.go1284 // Step 6: Define all agent worktrees to checkCOMMENT
LOWinternal/cmd/rig_integration_test.go1322 // Step 7: Check each agent worktreeCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go555 // Step 1: Extract prefix from bead IDCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go561 // Step 2: Resolve rig path from prefixCOMMENT
LOW⚡internal/cmd/beads_routing_integration_test.go567 // Step 3: Verify the path is correctCOMMENT
LOWinternal/cmd/beads_routing_integration_test.go579 // Step 4: Verify the .beads directory exists at that pathCOMMENT
LOW⚡internal/cmd/deacon.go1052 // Step 1: Log the intervention (send mail to agent)COMMENT
LOW⚡internal/cmd/deacon.go1057 // Step 2: Kill the tmux session.COMMENT
LOW⚡internal/cmd/deacon.go1064 // Step 3: Update agent bead state (optional - best effort)COMMENT
LOW⚡internal/cmd/deacon.go1068 // Step 4: Notify mayor (optional)COMMENT
LOW⚡internal/cmd/upgrade.go80 // Step 1: Run doctor --fix for structural checksCOMMENT
LOW⚡internal/cmd/upgrade.go84 // Step 2: Sync CLAUDE.md from embedded templateCOMMENT
LOW⚡internal/cmd/upgrade.go88 // Step 3: Ensure daemon.json lifecycle defaultsCOMMENT
LOW⚡internal/cmd/upgrade.go92 // Step 4: Sync hooks registry to settings.jsonCOMMENT
LOW⚡internal/cmd/upgrade.go96 // Step 5: Update formulas from embedded copiesCOMMENT
LOWinternal/cmd/sling_formula.go461 // Step 1: Cook the formula (ensures proto exists)COMMENT
LOWinternal/cmd/sling_formula.go473 // Step 2: Create wisp instance (ephemeral)COMMENT
LOWinternal/cmd/sling_formula.go502 // Step 3: Hook the wisp bead with retry and verification.COMMENT
LOWinternal/cmd/sling_formula.go565 // Step 4: Nudge to start (graceful if no tmux)COMMENT
LOWinternal/cmd/convoy_stage_test.go2149 // Step 2: Resolve bead type via bdShow.COMMENT
LOWinternal/cmd/dolt.go510 // Step 1: Stop tracked server (if running)COMMENT
LOW⚡internal/cmd/dolt.go521 // Step 2: Kill any imposters on the portCOMMENT
LOW⚡internal/cmd/dolt.go530 // Step 3: Check for databases before startingCOMMENT
LOW⚡internal/cmd/dolt.go536 // Step 4: Start the correct serverCOMMENT
LOW⚡internal/cmd/convoy_stage.go262 // Step 1: Validate args.COMMENT
LOW⚡internal/cmd/convoy_stage.go270 // Step 2: Resolve bead types via bd show for each arg.COMMENT
LOW⚡internal/cmd/convoy_stage.go311 // Step 4: Collect beads and deps.COMMENT
LOW⚡internal/cmd/convoy_stage.go320 // Step 5: Build the DAG.COMMENT
LOW⚡internal/cmd/convoy_stage.go352 // Step 6: Detect errors.COMMENT
LOW⚡internal/cmd/convoy_stage.go355 // Step 7: Detect warnings.COMMENT
LOW⚡internal/cmd/convoy_stage.go358 // Step 8: Categorize findings.COMMENT
LOW⚡internal/cmd/convoy_stage.go362 // Step 9: Choose status.COMMENT
LOW⚡internal/cmd/convoy_stage.go370 // Step 10: If errors, render and return.COMMENT
LOW⚡internal/cmd/convoy_stage.go376 // Step 11: Compute waves (only when no errors).COMMENT
LOW⚡internal/cmd/convoy_stage.go410 // Step 12: Render DAG tree and print.COMMENT
LOW⚡internal/cmd/convoy_stage.go414 // Step 13: Render wave table and print.COMMENT
LOW⚡internal/cmd/convoy_stage.go424 // Step 14: If warnings, render and print.COMMENT
LOW⚡internal/cmd/convoy_stage.go433 // Step 15: Create or update the staged convoy.COMMENT
150 more matches not shown…
Over-Commented Block303 hits · 291 pts
SeverityFileLineSnippetContext
LOWcmd/gt-proxy-server/config.go21 // Defaults to ~/gt/.runtime/ca if empty.COMMENT
LOWcmd/gt-proxy-server/config.go41 // configured so that containers can reach the proxy from the internet.COMMENT
LOWplugins/dolt-backup/run.sh1#!/usr/bin/env bashCOMMENT
LOWplugins/compactor-dog/run.sh1#!/usr/bin/env bashCOMMENT
LOWplugins/compactor-dog/run.sh301 # Fetch timeout/failure is a warning, not a blocker. For local-source-of-truthCOMMENT
LOWinternal/polecat/manager_test.go821// TestReconcilePoolWith tests all permutations of directory and session existence.COMMENT
LOWinternal/polecat/types.go1// Package polecat provides polecat lifecycle management.COMMENT
LOWinternal/polecat/types.go21//COMMENT
LOWinternal/polecat/types.go41 // 'gt done'. This is normally a transient state - the session should exitCOMMENT
LOWinternal/polecat/session_manager.go321 if !m.hasPolecat(polecat) {COMMENT
LOWinternal/polecat/session_manager.go881 }COMMENT
LOWinternal/polecat/session_manager_test.go481// fall back to runtimeConfig.ResolvedAgent for setting GT_AGENT in the tmuxCOMMENT
LOWinternal/polecat/manager.go541 ResumeBranch stringCOMMENT
LOWinternal/polecat/manager.go1521func (m *Manager) ReleaseName(name string) {COMMENT
LOWinternal/polecat/manager.go1741 CreatedAt: now,COMMENT
LOWinternal/polecat/manager.go2061 }COMMENT
LOWinternal/polecat/manager.go2721COMMENT
LOWinternal/polecat/target_clean.go1// Package polecat — target_clean.goCOMMENT
LOWinternal/cmd/dolt_dsn.go81// buildDoltDSN produces a Go-MySQL-driver DSN that prefers the localCOMMENT
LOWinternal/cmd/formula.go1361# Optional: remediation stepCOMMENT
LOWinternal/cmd/mail_identity.go61// Priority:COMMENT
LOWinternal/cmd/sling_test.go2821// TestLooksLikeBeadID tests the bead ID pattern recognition function.COMMENT
LOWinternal/cmd/molecule_lifecycle_test.go141 // Should return quickly (the workspace lookup might fail first on some systems,COMMENT
LOWinternal/cmd/molecule_lifecycle_test.go341COMMENT
LOWinternal/cmd/prime.go741// Returns (nil, err) if all attempts failed due to database errors — the callerCOMMENT
LOWinternal/cmd/patrol_helpers.go41// Returns an error if discovery fails (e.g. transient bd failure),COMMENT
LOWinternal/cmd/rig_helpers.go101// convoy stage) to check rig availability.COMMENT
LOWinternal/cmd/rig_integration_test.go21 "github.com/steveyegge/gastown/internal/config"COMMENT
LOWinternal/cmd/rig_integration_test.go1101// - Polecat: polecats/<name>/<rigname>/ (worktree, created by gt polecat identity add)COMMENT
LOWinternal/cmd/start.go721}COMMENT
LOWinternal/cmd/sling_schedule.go281 return beads.GetRigNameForPrefix(townRoot, prefix)COMMENT
LOWinternal/cmd/convoy.go481 if errMsg := strings.TrimSpace(stderr.String()); errMsg != "" {COMMENT
LOWinternal/cmd/convoy.go2441}COMMENT
LOWinternal/cmd/scheduler_integration_test.go1//go:build integration && scheduler_integrationCOMMENT
LOWinternal/cmd/scheduler_integration_test.go1361COMMENT
LOWinternal/cmd/sling_idempotency.go41 }COMMENT
LOWinternal/cmd/sling_batch_test.go1421}COMMENT
LOWinternal/cmd/convoy_stage.go981 GatedBy []string // IDs of non-slingable open blockers (direct gates only)COMMENT
LOWinternal/cmd/convoy_stage.go1341 }COMMENT
LOWinternal/cmd/convoy_stage.go1781 // 3. Fetch each tracked bead + its deps.COMMENT
LOWinternal/cmd/install_integration_test.go561// This test verifies:COMMENT
LOWinternal/cmd/handoff.go121 // Unlike --auto (state only), this replaces the current session with a fresh one.COMMENT
LOWinternal/cmd/handoff.go341COMMENT
LOWinternal/cmd/handoff.go441//COMMENT
LOWinternal/cmd/molecule_step.go201 return "" // Not a numeric suffixCOMMENT
LOWinternal/cmd/sling_helpers.go161COMMENT
LOWinternal/cmd/sling_helpers.go281}COMMENT
LOWinternal/cmd/sling_helpers.go881 // Dogs are town-level agents with hq- prefixCOMMENT
LOWinternal/cmd/sling_helpers.go1021// - title: the bead title (used for --var feature=<title>)COMMENT
LOWinternal/cmd/gitinit.go121COMMENT
LOWinternal/cmd/gitinit.go361}COMMENT
LOWinternal/cmd/compact_report.go21// "beads.role not configured (GH#2950)" notice) for the last line that isCOMMENT
LOWinternal/cmd/done_test.go21// to the shared mayor/rig/.beads directory.COMMENT
LOWinternal/cmd/done_test.go1301// does NOT trigger when runDone returns early due to validation errors (bad flags,COMMENT
LOWinternal/cmd/molecule_status.go21COMMENT
LOWinternal/cmd/mq_integration.go121COMMENT
LOWinternal/cmd/mq_integration.go221COMMENT
LOWinternal/cmd/sling_dispatch.go61// Batch sling and queue dispatch call this function. The single-sling pathCOMMENT
LOWinternal/cmd/prime_session.go21// hookInput represents the JSON input from LLM runtime hooks.COMMENT
LOWinternal/cmd/prime_session.go361}COMMENT
243 more matches not shown…
Fake / Example Data60 hits · 60 pts
SeverityFileLineSnippetContext
LOW.githooks/pre-push_test.sh32 git config user.email "test@test.com"CODE
LOWinternal/cmd/polecat_prune_test.go162 runGit(t, localDir, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/polecat_prune_test.go183 runGit(t, localDir, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/dolt_test_helpers_test.go38 {"config", "--global", "user.email", "test@test.com"},CODE
LOWinternal/cmd/beads_db_init_test.go46 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/beads_db_init_test.go437 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/rig_integration_test.go83 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/rig_integration_test.go126 {"git", "config", "user.email", "test@test.com"},CODE
LOW⚡internal/cmd/rig_integration_test.go1163 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/done_rebase_test.go156 testRunGit(t, repo, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_rebase_test.go205 testRunGit(t, repo, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/tap_polecat_stop_test.go132 runPolecatStopTestGit(t, repo, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/sling_batch_test.go903 logPath := filepath.Join(t.TempDir(), "placeholder") // overwritten belowCODE
LOWinternal/cmd/install_integration_test.go835 {"config", "--global", "user.email", "test@test.com"},CODE
LOWinternal/cmd/handoff_test.go230 "CLAUDE_CODE_OAUTH_TOKEN": "placeholder",CODE
LOWinternal/cmd/handoff_test.go256 "CLAUDE_CODE_OAUTH_TOKEN": "placeholder",CODE
LOWinternal/cmd/handoff_test.go558 {"git", "-C", dir, "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/handoff_test.go863 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/done_test.go1916 testRunGit(t, subWork, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1932 testRunGit(t, parent, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1999 testRunGit(t, parent, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go2028 testRunGit(t, dir, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go2121 testRunGit(t, repo, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go2194 testRunGit(t, dir, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/fresh_setup_integration_test.go137 {"config", "--global", "user.email", "test@test.com"},CODE
LOWinternal/cmd/fresh_setup_integration_test.go151 runFreshSetupCmd(t, repoDir, nil, "git", "config", "user.email", "test@test.com")CODE
LOWinternal/wasteland/spider_integration_test.go52 run(homeDir, "config", "--global", "--add", "user.email", "test@test.com")CODE
LOWinternal/checkpoint/squash_test.go18 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/dog/manager_integration_test.go69 cmd = exec.Command("git", "-C", mayorPath, "config", "user.email", "test@test.com")CODE
LOWinternal/doltserver/sync_test.go247 cmd := exec.Command("dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/doctor/sparse_checkout_check_test.go110 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWinternal/doctor/claude_settings_check_test.go748 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/crew/manager_test.go125 if err := runCmd("git", "-C", localRepoPath, "config", "user.email", "test@test.com"); err != nil {CODE
LOWinternal/crew/manager_test.go190 {"git", "-C", sourceRepoPath, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go403 {"git", "-C", workDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go438 {"git", "-C", repoDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go1788 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go1928 {"git", "-C", repoDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go2024 {"git", "-C", srcDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go2160 {"git", "-C", repoDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/rig/manager_test.go2243 {"git", "-C", repoDir, "config", "user.email", "test@test.com"},CODE
LOWinternal/daemon/jsonl_git_backup_test.go597 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/daemon/daemon_test.go95 for _, args := range [][]string{{"config", "user.email", "test@test.com"}, {"config", "user.name", "Test User"}} {CODE
LOWinternal/deacon/stale_hooks_test.go149 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/deacon/stale_hooks_test.go188 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/refinery/prepush_recheck_test.go334 run(t, subWork, "git", "config", "user.email", "test@test.com")CODE
LOWinternal/refinery/prepush_recheck_test.go346 run(t, submodulePath, "git", "config", "user.email", "test@test.com")CODE
LOWinternal/refinery/batch_test.go35 run(t, workDir, "git", "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go25 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go317 _ = exec.Command("git", "-C", src, "config", "user.email", "test@test.com").Run()CODE
LOWinternal/git/git_test.go346 _ = exec.Command("git", "-C", src, "config", "user.email", "test@test.com").Run()CODE
LOWinternal/git/git_test.go802 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go966 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go1049 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/git/git_test.go1469 runGit(t, subWork, "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go1481 runGit(t, parent, "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go1737 runGit(t, claudeWork, "config", "user.email", "test@test.com")CODE
LOWinternal/git/git_test.go2741 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/git/git_test.go3402 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/git/git_test.go3552 {"git", "config", "user.email", "test@test.com"},CODE
Modern AI Meta-Vocabulary19 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md357# In Mayor, create convoy and let it orchestrateCOMMENT
MEDIUM.githooks/pre-push_test.sh2# Test suite for the pre-push hook integration branch guardrails.COMMENT
MEDIUMinternal/cmd/rig_settings.go143 // Create new settings with scaffoldCOMMENT
MEDIUMinternal/cmd/ready_test.go97 // Should only have the non-scaffold issuesCOMMENT
MEDIUM⚡internal/cmd/ready.go361// filterFormulaScaffolds removes formula scaffold issues from the list.COMMENT
MEDIUM⚡internal/cmd/ready.go371 // Check if this is a formula scaffold (exact match)COMMENT
MEDIUM⚡internal/cmd/ready.go376 // Check if this is a step scaffold (formula-name.step-id)COMMENT
MEDIUMinternal/cmd/enable.go2// ABOUTME: Sets the global state to enabled for all agentic coding tools.COMMENT
MEDIUMinternal/wrappers/wrappers.go1// ABOUTME: Manages wrapper scripts for non-Claude agentic coding tools.COMMENT
MEDIUMinternal/doctor/hooks_path_all_rigs_check.go13// The pre-push hook enforces integration branch landing guardrails.COMMENT
MEDIUMinternal/rig/manager.go812 // Create polecats directory with agent settings scaffold.COMMENT
MEDIUM.claude/skills/pr-sheriff/skill.md158# vs persistent (avoid for orchestration work)COMMENT
MEDIUM.beads/config.yaml49# Molecules are internal GT scaffolding (patrol instances etc.) and must neverCOMMENT
MEDIUMdocs/research/w-gc-004-agent-framework-survey.md459**Key Strength:** Enterprise-grade. Multi-language (Python, C#, Java). Mature plugin system. The merger creates the mostCODE
MEDIUMdocs/research/w-gc-004-agent-framework-survey.md612- [AutoGen v0.4 announcement](https://www.microsoft.com/en-us/research/blog/autogen-v0-4-reimagining-the-foundation-of-aCODE
MEDIUMdocs/research/w-gc-004-agent-framework-survey.md640- [Gas Town reading notes (Torq)](https://reading.torqsoftware.com/notes/software/ai-ml/agentic-coding/2026-01-15-gas-toCODE
MEDIUMdocs/research/w-gc-004-agent-framework-survey.md641- [SE Daily Interview with Yegge](https://softwareengineeringdaily.com/2026/02/12/gas-town-beads-and-the-rise-of-agenticCODE
MEDIUMscripts/migration-test/run-test.sh2# run-test.sh - Full migration test orchestrationCOMMENT
MEDIUMscripts/guards/context-budget-guard.sh3# context-budget-guard.sh — Monitor context window usage, enforce handoff thresholds.COMMENT
Self-Referential Comments12 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUM.githooks/pre-push_test.sh27 # Create a bare "remote" repoCOMMENT
MEDIUM.githooks/pre-push_test.sh181# Create a local feature branch and merge it (no need to push to origin)COMMENT
MEDIUMplugins/compactor-dog/run.sh66# Create a temp file for capturing stderr from dolt commands.COMMENT
MEDIUM…ernal/formula/formulas/mol-sync-workspace.formula.toml203 # Create a bead capturing the workCOMMENT
MEDIUM…l/formula/formulas/mol-pr-feedback-patrol.formula.toml249 # Create the bead with dedup labelsCOMMENT
MEDIUM…rnal/formula/formulas/mol-refinery-patrol.formula.toml687# Create the PR using bead metadata for title/descriptionCOMMENT
MEDIUMscripts/test-gce-install.sh5# # Create a fresh Debian/Ubuntu VM on GCE, then:COMMENT
MEDIUMscripts/update-nix-flake.sh40 # Create a temporary directory for the vendor outputCOMMENT
MEDIUM⚡scripts/test-proxy-manual.sh218# Create a symlink so toolNameFromArg0 returns "gt"COMMENT
MEDIUM⚡scripts/migration-test/vm-integration-test.sh60# Create a master backup of all .beads dirs BEFORE any tests run.COMMENT
MEDIUMscripts/guards/context-budget-guard_test.sh42# Create a temporary transcript directory mimicking Claude Code's layout.COMMENT
MEDIUMscripts/guards/context-budget-guard_test.sh52 # Create a working directory the guard will cd intoCOMMENT
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMinternal/cmd/start.go456// Uses IsAgentAlive for robust zombie detection (checks pane command + descendant processes),COMMENT
MEDIUMinternal/cmd/start.go930// Uses robust detection with fallback to process search.COMMENT
MEDIUMinternal/cmd/sling_convoy.go58 // This is more robust when cross-rig routing has issues (G19, G21)COMMENT
MEDIUMinternal/cmd/done.go714 // robust BranchPushedToRemote which compares against origin/main.COMMENT
MEDIUMinternal/witness/handlers.go2089// Uses typed AgentState to leverage IsActive() metadata rather than hardcodedCOMMENT
MEDIUMinternal/daemon/daemon.go907 // Boot handles nuanced "is Deacon responsive" decisionsCOMMENT
MEDIUMinternal/beads/beads_agent.go309// This is robust against Dolt backend issues where bd close/reopen may fail:COMMENT
MEDIUM⚡…ernal/formula/formulas/mol-witness-patrol.formula.toml40description = "Survey all polecats for zombies, stalls, and completions.\n\n🚨 **MANDATORY: You MUST run `gt patrol scan`CODE
MEDIUM…ontrib-harnesses/polecat-pr-flow/mol-polecat-work.toml9# See also: directives/polecat.md in this harnessCOMMENT
Redundant / Tautological Comments15 hits · 23 pts
SeverityFileLineSnippetContext
LOWplugins/compactor-dog/run.sh324 # Check if remote HEAD is an ancestor of local HEAD (local is ahead — safe)COMMENT
LOWinternal/cmd/theme.go38 gt theme forest # Set theme to 'forest'CODE
LOWinternal/cmd/convoy_staged_scan_test.go56 # Check if --status=open is presentCOMMENT
LOWinternal/cmd/namepool.go35 gt namepool set minerals # Set theme to 'minerals'CODE
LOWinternal/cmd/synthesis.go45 gt synthesis status hq-cv-abc # Check if ready for synthesisCODE
LOW…ternal/formula/formulas/mol-dep-propagate.formula.toml87# Check if this was the only blockerCOMMENT
LOW…ternal/formula/formulas/mol-deacon-patrol.formula.toml306 # Check if dog has a live tmux sessionCOMMENT
LOW…rnal/formula/formulas/mol-refinery-patrol.formula.toml368# Check if we're in a conflicted merge stateCOMMENT
LOWscripts/generate-newsletter.py240 # Read the file to extract cobra.Command definitionsCOMMENT
LOWscripts/generate-newsletter.py562 # Check if we should use last week or since last releaseCOMMENT
LOWscripts/bump-version.sh78 # Check if there's an [Unreleased] sectionCOMMENT
LOWscripts/bump-version.sh137 # Check if we're in the repo rootCOMMENT
LOW⚡scripts/update-nix-flake.sh22 # Check if we're in the repo rootCOMMENT
LOW⚡scripts/migration-test/run-test.sh49# Check if already seededCOMMENT
LOW⚡scripts/guards/context-budget-guard.sh124# Check if this role is hard-gatedCOMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…ternal/formula/formulas/towers-of-hanoi-9.formula.toml0agent execution protocol - towers of hanoi (7 disks, 127 moves) purpose: this is a durability proof, not computation. stSTRING
HIGH…ernal/formula/formulas/towers-of-hanoi-10.formula.toml0agent execution protocol - towers of hanoi (7 disks, 127 moves) purpose: this is a durability proof, not computation. stSTRING
HIGHinternal/formula/formulas/towers-of-hanoi.formula.toml0agent execution protocol - towers of hanoi (7 disks, 127 moves) purpose: this is a durability proof, not computation. stSTRING
HIGH…ternal/formula/formulas/towers-of-hanoi-7.formula.toml0agent execution protocol - towers of hanoi (7 disks, 127 moves) purpose: this is a durability proof, not computation. stSTRING
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/generate-newsletter.py45except ImportError:CODE
HIGHscripts/generate-newsletter.py175except (ValueError, AttributeError, IndexError):CODE
HIGH.github/scripts/junit-report.py126except Exception:CODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWinternal/formula/formulas/code-review.formula.toml7# Usage:COMMENT
LOWinternal/formula/formulas/design.formula.toml7# Usage:COMMENT
LOWscripts/test-gce-install.sh4# Usage:COMMENT
LOWscripts/launch-migration-at.sh7# Usage:COMMENT
LOWscripts/run-boot-scraper-vm.sh17# Usage:COMMENT
LOWgt-model-eval/promptfooconfig.yaml4# Usage:COMMENT
LOWgt-model-eval/scripts/results-to-discussion.sh4# Usage:COMMENT
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/generate-newsletter.py156CODE
LOWscripts/generate-newsletter.py205CODE
LOWscripts/generate-newsletter.py302CODE
LOWscripts/generate-newsletter.py337CODE
LOWscripts/generate-newsletter.py373CODE
LOWscripts/generate-newsletter.py633CODE
LOW.github/scripts/junit-report.py17CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/runtimes/NOS_TOWN.md51export GROQ_API_KEY="your-api-key"CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/generate-newsletter.py34CODE
LOWscripts/ci_state_classifier.py12CODE
LOWscripts/ci_state_classifier.py18CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/generate-newsletter.py751 except Exception as e:CODE
LOW.github/scripts/junit-report.py126 except Exception:CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/generate-newsletter.py633CODE