Repository Analysis

gastownhall/gastown

Gas Town - multi-agent workspace manager

3.6 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gastownhall/gastown, a Go project with 17,012 GitHub stars. SynthScan v2.0 examined 568,021 lines of code across 1512 source files, recording 1124 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 3.6 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.6
Adjusted Score
3.6
Raw Score
100%
Time Factor
2026-07-13
Last Push
17.0K
Stars
Go
Language
568.0K
Lines of Code
1.5K
Files
1.1K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 5MEDIUM 226LOW 893

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1124 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators186 hits · 618 pts
SeverityFileLineSnippetContext
MEDIUMinternal/cmd/convoy_stage.go1353// ─────┼────┼───────┼─────┼───────────COMMENT
MEDIUMinternal/cmd/gitinit.go78# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go80# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go84# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go86# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go93# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go95# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go98# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go100# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go103# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go105# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go122# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go124# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go127# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go129# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go133# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go135# =============================================================================COMMENT
MEDIUMinternal/cmd/gitinit.go143# =============================================================================COMMENT
MEDIUMinternal/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 Overuse293 hits · 515 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.md98## Step 2: Check polecat healthCOMMENT
LOWplugins/stuck-agent-dog/plugin.md166## Step 3: Check deacon healthCOMMENT
LOWplugins/stuck-agent-dog/plugin.md225## Step 4: Inspect context before acting (AI judgment)COMMENT
LOWplugins/stuck-agent-dog/plugin.md260## Step 5: Mass death checkCOMMENT
LOWplugins/stuck-agent-dog/plugin.md278## 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
LOWplugins/git-hygiene/run.sh65 # Step 1: Prune remote tracking refsCOMMENT
LOWplugins/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
LOWplugins/git-hygiene/run.sh150 # Step 5: Clear stale stashesCOMMENT
LOWplugins/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.go832 // Step 3: Identify and dispatch ready steps (those with no dependencies)COMMENT
LOWinternal/cmd/formula.go1266# Step 1: SetupCOMMENT
LOWinternal/cmd/formula.go1278# Step 2: Implementation (depends on setup)STRING
LOWinternal/cmd/formula.go1292# Step 3: Test (depends on implementation)STRING
LOWinternal/cmd/formula.go1306# Step 4: Complete (depends on tests)STRING
LOWinternal/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
LOWinternal/cmd/rig_integration_test.go1256 // Step 4: Create a crew memberCOMMENT
LOWinternal/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
LOWinternal/cmd/beads_routing_integration_test.go555 // Step 1: Extract prefix from bead IDCOMMENT
LOWinternal/cmd/beads_routing_integration_test.go561 // Step 2: Resolve rig path from prefixCOMMENT
LOWinternal/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
LOWinternal/cmd/deacon.go1052 // Step 1: Log the intervention (send mail to agent)COMMENT
233 more matches not shown…
Verbosity Indicators209 hits · 390 pts
SeverityFileLineSnippetContext
LOWplugins/git-hygiene/run.sh65 # Step 1: Prune remote tracking refsCOMMENT
LOWplugins/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
LOWplugins/git-hygiene/run.sh150 # Step 5: Clear stale stashesCOMMENT
LOWplugins/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.go832 // Step 3: Identify and dispatch ready steps (those with no dependencies)COMMENT
LOWinternal/cmd/formula.go1266# Step 1: SetupCOMMENT
LOWinternal/cmd/formula.go1278# Step 2: Implementation (depends on setup)STRING
LOWinternal/cmd/formula.go1292# Step 3: Test (depends on implementation)STRING
LOWinternal/cmd/formula.go1306# Step 4: Complete (depends on tests)STRING
LOWinternal/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
LOWinternal/cmd/rig_integration_test.go1256 // Step 4: Create a crew memberCOMMENT
LOWinternal/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
LOWinternal/cmd/beads_routing_integration_test.go555 // Step 1: Extract prefix from bead IDCOMMENT
LOWinternal/cmd/beads_routing_integration_test.go561 // Step 2: Resolve rig path from prefixCOMMENT
LOWinternal/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
LOWinternal/cmd/deacon.go1052 // Step 1: Log the intervention (send mail to agent)COMMENT
LOWinternal/cmd/deacon.go1057 // Step 2: Kill the tmux session.COMMENT
LOWinternal/cmd/deacon.go1064 // Step 3: Update agent bead state (optional - best effort)COMMENT
LOWinternal/cmd/deacon.go1068 // Step 4: Notify mayor (optional)COMMENT
LOWinternal/cmd/upgrade.go80 // Step 1: Run doctor --fix for structural checksCOMMENT
LOWinternal/cmd/upgrade.go84 // Step 2: Sync CLAUDE.md from embedded templateCOMMENT
LOWinternal/cmd/upgrade.go88 // Step 3: Ensure daemon.json lifecycle defaultsCOMMENT
LOWinternal/cmd/upgrade.go92 // Step 4: Sync hooks registry to settings.jsonCOMMENT
LOWinternal/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.go509 // Step 1: Stop tracked server (if running)COMMENT
LOWinternal/cmd/dolt.go520 // Step 2: Kill any imposters on the portCOMMENT
LOWinternal/cmd/dolt.go529 // Step 3: Check for databases before startingCOMMENT
LOWinternal/cmd/dolt.go535 // Step 4: Start the correct serverCOMMENT
LOWinternal/cmd/convoy_stage.go262 // Step 1: Validate args.COMMENT
LOWinternal/cmd/convoy_stage.go270 // Step 2: Resolve bead types via bd show for each arg.COMMENT
LOWinternal/cmd/convoy_stage.go311 // Step 4: Collect beads and deps.COMMENT
LOWinternal/cmd/convoy_stage.go320 // Step 5: Build the DAG.COMMENT
LOWinternal/cmd/convoy_stage.go352 // Step 6: Detect errors.COMMENT
LOWinternal/cmd/convoy_stage.go355 // Step 7: Detect warnings.COMMENT
LOWinternal/cmd/convoy_stage.go358 // Step 8: Categorize findings.COMMENT
LOWinternal/cmd/convoy_stage.go362 // Step 9: Choose status.COMMENT
LOWinternal/cmd/convoy_stage.go370 // Step 10: If errors, render and return.COMMENT
LOWinternal/cmd/convoy_stage.go376 // Step 11: Compute waves (only when no errors).COMMENT
LOWinternal/cmd/convoy_stage.go410 // Step 12: Render DAG tree and print.COMMENT
LOWinternal/cmd/convoy_stage.go414 // Step 13: Render wave table and print.COMMENT
LOWinternal/cmd/convoy_stage.go424 // Step 14: If warnings, render and print.COMMENT
LOWinternal/cmd/convoy_stage.go433 // Step 15: Create or update the staged convoy.COMMENT
149 more matches not shown…
Over-Commented Block296 hits · 284 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.go1361COMMENT
LOWinternal/cmd/mail_identity.go61// Priority: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/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.go1341 out, err = runGTCmdMayFail(t, gtBinary, hqPath, env, "sling", beadID, ".", "--hook-raw-bead")COMMENT
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.go1001}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.go1101 }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
LOWinternal/cmd/root.go401// checkHelpFlag checks if --help or -h is the first argument and shows help if so.COMMENT
LOWinternal/cmd/done.go621 doneCleanupStatus = ""COMMENT
236 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
LOWinternal/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.go478 {"git", "-C", dir, "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/handoff_test.go783 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/cmd/done_test.go1739 testRunGit(t, subWork, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1755 testRunGit(t, parent, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1822 testRunGit(t, parent, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1851 testRunGit(t, dir, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go1944 testRunGit(t, repo, "config", "user.email", "test@test.com")CODE
LOWinternal/cmd/done_test.go2017 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.go304 run(t, subWork, "git", "config", "user.email", "test@test.com")CODE
LOWinternal/refinery/prepush_recheck_test.go316 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
MEDIUMinternal/cmd/ready.go361// filterFormulaScaffolds removes formula scaffold issues from the list.COMMENT
MEDIUMinternal/cmd/ready.go371 // Check if this is a formula scaffold (exact match)COMMENT
MEDIUMinternal/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.toml688# 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
MEDIUMscripts/test-proxy-manual.sh218# Create a symlink so toolNameFromArg0 returns "gt"COMMENT
MEDIUMscripts/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.go556 // 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 rebase 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
LOWscripts/update-nix-flake.sh22 # Check if we're in the repo rootCOMMENT
LOWscripts/migration-test/run-test.sh49# Check if already seededCOMMENT
LOWscripts/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
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