Repository Analysis

gastownhall/beads

Beads - A memory upgrade for your coding agent

2.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of gastownhall/beads, a Go project with 25,283 GitHub stars. SynthScan v2.0 examined 611,949 lines of code across 2224 source files, recording 1146 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 2.9 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).

2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
25.3K
Stars
Go
Language
611.9K
Lines of Code
2.2K
Files
1.1K
Pattern Hits
2026-07-14
Scan Date
0.01
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 16MEDIUM 198LOW 932

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 1146 distinct pattern matches across 19 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.

Over-Commented Block448 hits · 444 pts
SeverityFileLineSnippetContext
LOW.golangci.yml21 # Mechanical enforcement of the Storage Boundary inCOMMENT
LOWbeads.go21COMMENT
LOWcmd/bd/shared_server_cfgnil_test.go21// through to embeddeddolt.Open. With a leftover embedded data directory presentCOMMENT
LOWcmd/bd/graph_apply.go141COMMENT
LOWcmd/bd/close.go601// resolveCloseTargets resolves a batch of partial issue IDs for `bd close`,COMMENT
LOWcmd/bd/storage_chain.go1package mainCOMMENT
LOWcmd/bd/proxied_server.go221// }COMMENT
LOWcmd/bd/proxied_server.go241// }COMMENT
LOWcmd/bd/proxied_server.go261// if email == "" {COMMENT
LOWcmd/bd/hooks.go41COMMENT
LOWcmd/bd/hooks.go181// appending at the bottom.COMMENT
LOWcmd/bd/hooks.go421 return falseCOMMENT
LOWcmd/bd/hooks.go981//COMMENT
LOWcmd/bd/hooks.go1401COMMENT
LOWcmd/bd/hooks.go1441}COMMENT
LOWcmd/bd/auto_import_upgrade_test.go61 // stages the imported issues in the Dolt working set without anCOMMENT
LOWcmd/bd/export_auto.go641 gitDir = filepath.Join(filepath.Dir(path), gitDir)COMMENT
LOWcmd/bd/memory_embedded_test.go261COMMENT
LOWcmd/bd/shared_server_integration_test.go41// container via testcontainers, initializes numDirs project directories,COMMENT
LOWcmd/bd/show.go441 SetLastTouchedID(args[0])COMMENT
LOWcmd/bd/bootstrap.go141 // Resolve non-interactive mode: flag > env var > CI env > terminal detection.COMMENT
LOWcmd/bd/bootstrap.go641 }COMMENT
LOWcmd/bd/store_factory.go61 // Read-only commands must not be bricked by the #4259COMMENT
LOWcmd/bd/dolt.go161 HasPersistedRemote() boolCOMMENT
LOWcmd/bd/dolt.go741 if isDoltLocalOnly() {COMMENT
LOWcmd/bd/dolt.go761// - dolt_mode=server with a non-local host (Hosted Dolt, remote sharedCOMMENT
LOWcmd/bd/dolt.go961 fmt.Printf("Killed %d orphan dolt server(s): %v\n", len(killed), killed)COMMENT
LOWcmd/bd/mol.go1package mainCOMMENT
LOWcmd/bd/purge.go21// messaging without copying 200 lines of boilerplate.COMMENT
LOWcmd/bd/nocow_linux.go21// read-modify-write-recompress of the existing compressed extent. SettingCOMMENT
LOWcmd/bd/nocow_linux.go61 uintptr(unix.FS_IOC_SETFLAGS),COMMENT
LOWcmd/bd/sandbox_unix.go1//go:build unixCOMMENT
LOWcmd/bd/linear.go401 // (children are sometimes pushed before parents have an external_ref),COMMENT
LOWcmd/bd/linear.go1301// dependencies into Linear's parent issue field. Idempotent — no API callCOMMENT
LOWcmd/bd/backup_auto.go21 }COMMENT
LOWcmd/bd/test_repo_beads_guard_test.go21// helpers (build binaries, isolated HOMEs) that previously calledCOMMENT
LOWcmd/bd/test_repo_beads_guard_test.go61 // Isolate config discovery from the repo's tracked `.beads/config.yaml`.COMMENT
LOWcmd/bd/init_safety_test.go561// bound its scope to verify "refusal clears" — not full bootstrapCOMMENT
LOWcmd/bd/search_test.go81// NOT parallel: see TestSearchCommand_MissingQueryShowsHelp comment (cobra OutOrStdout race).COMMENT
LOWcmd/bd/test_helpers_pure_test.go41// from multiple goroutines (writes to a shared global map without synchronization).COMMENT
LOWcmd/bd/auto_import_upgrade.go21// fallbackImporter is the function maybeAutoImportJSONL invokes for storesCOMMENT
LOWcmd/bd/auto_import_upgrade.go61 }COMMENT
LOWcmd/bd/sandbox_windows.go1//go:build windowsCOMMENT
LOWcmd/bd/markdown.go141//COMMENT
LOWcmd/bd/import_shared.go421// explicit recovery paths: `bd bootstrap` and `bd init --from-jsonl`.COMMENT
LOWcmd/bd/list_tree.go21// If allDeps is nil, falls back to dotted ID hierarchy (e.g., "parent.1")COMMENT
LOWcmd/bd/gomodcache_rehome_test.go1package mainCOMMENT
LOWcmd/bd/where_test.go401// TestFindOriginalBeadsDir_BeadsDirEnvWithoutRedirectFallsThrough guardsCOMMENT
LOWcmd/bd/routed.go41COMMENT
LOWcmd/bd/routed.go141 Path string `json:"path"` // Relative path to rig directory from town rootCOMMENT
LOWcmd/bd/stdio_race_guard_test.go41// (in code, not comments), it must NOT call any method name inCOMMENT
LOWcmd/bd/tips.go181 commandTipIDsShown[tipID] = struct{}{}COMMENT
LOWcmd/bd/dep_test.go1341 t.Errorf("Expected dep-1 depth=5, got %d", node.Depth)COMMENT
LOWcmd/bd/dep_test.go1361// TRACER BULLET FINDING (Phase 1):COMMENT
LOWcmd/bd/main_errors.go41// isWispOperation returns true if the command operates on ephemeral wisps.COMMENT
LOWcmd/bd/init_safety.go1package mainCOMMENT
LOWcmd/bd/init_safety.go21// Exit codes for init-safety refusals. Stable values so CI scripts canCOMMENT
LOWcmd/bd/init_safety.go41// observed the remote state and read the user's flag intent.COMMENT
LOWcmd/bd/init_safety.go61 // or wrong token). Refuse with `ExitDestroyTokenMissing`. TheCOMMENT
LOWcmd/bd/init_safety.go81 // FromJSONL selects local JSONL as the init source instead of remoteCOMMENT
388 more matches not shown…
Decorative Section Separators145 hits · 432 pts
SeverityFileLineSnippetContext
MEDIUMcmd/bd/shared_server_integration_test.go119 // ── Init project directories ────────────────────────────────────────COMMENT
MEDIUMcmd/bd/shared_server_integration_test.go154 // ── Fan out client workloads ────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go77// ── Issue mutations ─────────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go146// ── Dependency mutations ────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go166// ── Label mutations ─────────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go186// ── Comment mutations ───────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go198// ── Transaction support ─────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go220// ── Internal helpers ────────────────────────────────────────────────COMMENT
MEDIUMinternal/storage/hook_decorator.go251// ── Hook tracking transaction ───────────────────────────────────────COMMENT
MEDIUM…/storage/dolt/pull_branch_tracking_integration_test.go38 // ── Remote server ──────────────────────────────────────────────────────────COMMENT
MEDIUM…/storage/dolt/pull_branch_tracking_integration_test.go66 // ── Local DoltStore ────────────────────────────────────────────────────────COMMENT
MEDIUM…/storage/dolt/pull_branch_tracking_integration_test.go82 // ── Confirm the bug scenario is present ────────────────────────────────────COMMENT
MEDIUM…/storage/dolt/pull_branch_tracking_integration_test.go101 // ── Verify the fix: pullWithAutoResolve succeeds via fallback ──────────────COMMENT
MEDIUMinternal/telemetry/storage.go96// ── Issue CRUD ──────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go242// ── Dependencies ────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go310// ── Labels ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go350// ── Work queries ─────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go389// ── Comments & events ────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go426// ── Statistics ───────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go445// ── Configuration ────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go486// ── Transactions ─────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go495// ── Wisp queries ─────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go504// ── Streaming iterators ─────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go580// ── Count* aggregates ─────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go624// ── MergeSlot ────────────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go654// ── Metadata slots ─────────────────────────────────────────────────────────COMMENT
MEDIUMinternal/telemetry/storage.go677// ── Lifecycle ────────────────────────────────────────────────────────────────COMMENT
MEDIUM.beads/formulas/beads-release.formula.toml58# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml60# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml617# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml619# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml648# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml650# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml767# =============================================================================STRING
MEDIUM.beads/formulas/beads-release.formula.toml769# =============================================================================STRING
MEDIUM…rations/beads-mcp/tests/test_mcp_server_integration.py713# =============================================================================COMMENT
MEDIUM…rations/beads-mcp/tests/test_mcp_server_integration.py715# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py85# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py87# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py335# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py337# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py767# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/server.py769# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py35# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py37# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py120# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py122# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py331# =============================================================================COMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py333# =============================================================================COMMENT
MEDIUMexamples/formulas/gh-issue-to-pr.formula.toml55# ── Variables ────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/formulas/gh-issue-to-pr.formula.toml92# ── Steps ────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/formulas/gh-pr-review.formula.toml58# ── Variables ────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/formulas/gh-pr-review.formula.toml80# ── Steps ────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/bump-version.sh2# =============================================================================COMMENT
MEDIUMscripts/bump-version.sh4# =============================================================================COMMENT
MEDIUMscripts/bump-version.sh26# =============================================================================COMMENT
MEDIUMscripts/update-nix-vendorhash.sh4# =============================================================================COMMENT
MEDIUMscripts/update-nix-vendorhash.sh6# =============================================================================COMMENT
MEDIUMscripts/update-nix-vendorhash.sh23# =============================================================================COMMENT
MEDIUMscripts/cross-version-smoke-test.sh4# =============================================================================COMMENT
85 more matches not shown…
Structural Annotation Overuse100 hits · 177 pts
SeverityFileLineSnippetContext
LOWcmd/bd/gate_discover.go116 // Step 3: Match runs to gatesCOMMENT
LOWcmd/bd/gate_discover.go138 // Step 4: Update gate with discovered run IDCOMMENT
LOWcmd/bd/init_team.go26 // Step 1: Check if we're in a git repositoryCOMMENT
LOWcmd/bd/init_team.go45 // Step 2: Check for protected main branchCOMMENT
LOWcmd/bd/init_team.go108 // Step 3: Configure team settingsCOMMENT
LOWcmd/bd/init_team.go123 // Step 4: SummaryCOMMENT
LOWcmd/bd/init_contributor.go52 // Step 1: Detect fork relationshipCOMMENT
LOWcmd/bd/init_contributor.go82 // Step 2: Check push access to originCOMMENT
LOWcmd/bd/init_contributor.go110 // Step 3: Configure planning repositoryCOMMENT
LOWcmd/bd/init_contributor.go205 // Step 4: Configure contributor routingCOMMENT
LOWcmd/bd/init_contributor.go248 // Step 5: SummaryCOMMENT
LOWcmd/bd/migrate_issues.go134 // Step 1: Validate repositories existCOMMENT
LOWcmd/bd/migrate_issues.go139 // Step 2: Build initial candidate set C using filtersCOMMENT
LOWcmd/bd/migrate_issues.go155 // Step 3: Expand set to M (migration set) based on --includeCOMMENT
LOWcmd/bd/migrate_issues.go161 // Step 4: Check for orphaned dependenciesCOMMENT
LOWcmd/bd/migrate_issues.go171 // Step 5: Build migration planCOMMENT
LOWcmd/bd/migrate_issues.go174 // Step 6: Display planCOMMENT
LOWcmd/bd/migrate_issues.go179 // Step 7: Execute migration if not dry-runCOMMENT
LOWcmd/bd/import_prefix_test.go31 // Step 0: Build the bd binaryCOMMENT
LOWcmd/bd/import_prefix_test.go44 // Step 1: Setup a database with a specific prefixCOMMENT
LOWcmd/bd/import_prefix_test.go61 // Step 2: A JSONL record minted by a DIFFERENT tracker (foreign prefix)COMMENT
LOWcmd/bd/import_prefix_test.go68 // Step 3: Import must succeed with no special flagCOMMENT
LOWcmd/bd/import_prefix_test.go74 // Step 4: Verify the issue landed under its original idCOMMENT
LOWcmd/bd/mol_ready_gated.go126 // Step 1: Find all closed gate beadsCOMMENT
LOWcmd/bd/mol_ready_gated.go143 // Step 2: Get ready work to check which steps are readyCOMMENT
LOWcmd/bd/mol_ready_gated.go153 // Step 3: Get hooked molecules to filter outCOMMENT
LOWcmd/bd/mol_ready_gated.go177 // Step 4: For each closed gate, collect all dependents that are ready,COMMENT
LOWcmd/bd/main_test.go31 // Step 1: Create an open issue in the databaseCOMMENT
LOWcmd/bd/main_test.go48 // Step 2: Update via UpdateIssue with closed status (closed_at managed automatically)COMMENT
LOWcmd/bd/main_test.go57 // Step 3: Verify the issue is now closed with correct closed_atCOMMENT
LOWcmd/bd/main_test.go82 // Step 1: Create a closed issue in the databaseCOMMENT
LOWcmd/bd/main_test.go100 // Step 2: Update via UpdateIssue with open status (closed_at managed automatically)COMMENT
LOWcmd/bd/main_test.go109 // Step 3: Verify the issue is now open with null closed_atCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2122 // Step 1: Check should detect outdatedCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2128 // Step 2: Fix should update the redirect targetCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2133 // Step 3: Re-check should passCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2139 // Step 4: No .gitignore in redirect-only dir (the original bug)COMMENT
LOWengdocs/RULES_AUDIT_DESIGN.md123### Step 1: Parse RulesCOMMENT
LOWengdocs/RULES_AUDIT_DESIGN.md134### Step 2: Keyword ExtractionCOMMENT
LOWengdocs/RULES_AUDIT_DESIGN.md145### Step 3: Overlap Scoring (Merge Candidates)COMMENT
LOWengdocs/RULES_AUDIT_DESIGN.md160### Step 4: Contradiction DetectionCOMMENT
LOWengdocs/RULES_AUDIT_DESIGN.md183### Step 5: Compaction (for `bd rules compact`)COMMENT
LOWtests/regression/scenarios_test.go156 // Step 1: Create rich data in baselineCOMMENT
LOWtests/regression/scenarios_test.go170 // Step 2: Export from baselineCOMMENT
LOWtests/regression/scenarios_test.go178 // Step 3: Import into candidateCOMMENT
LOWtests/regression/scenarios_test.go186 // Step 4: Export from candidate and compareCOMMENT
LOWtests/regression/regression_test.go406 // Step 1: get all issue IDs via bd list (--all includes closed issues,COMMENT
LOWtests/regression/regression_test.go431 // Step 2: for each ID, run bd show --json and emit one JSONL lineCOMMENT
LOWinternal/storage/issueops/molecule.go35 // Step 1: Get child issue IDs from dependencies table.COMMENT
LOWinternal/storage/issueops/molecule.go57 // Step 2: Batch-fetch status for all children.COMMENT
LOWinternal/storage/issueops/epic_closure.go14 // Step 1: Get open epic IDs (single-table scan)COMMENT
LOWinternal/storage/issueops/epic_closure.go38 // Step 2: Get parent-child dependencies from both tables (bd-w2w)COMMENT
LOWinternal/storage/issueops/epic_closure.go70 // Step 3: Batch-fetch statuses for all child issues across all epicsCOMMENT
LOWinternal/storage/issueops/epic_closure.go108 // Step 4: Batch-fetch all epic issuesCOMMENT
LOWinternal/storage/issueops/epic_closure.go124 // Step 5: Build results from cached dataCOMMENT
LOWinternal/storage/embeddeddolt/federation.go215 // Step 1: FetchCOMMENT
LOWinternal/storage/embeddeddolt/federation.go222 // Step 2: Get commit before merge for change detectionCOMMENT
LOWinternal/storage/embeddeddolt/federation.go225 // Step 3: Merge peer's branchCOMMENT
LOWinternal/storage/embeddeddolt/federation.go233 // Step 4: Handle conflictsCOMMENT
LOWinternal/storage/embeddeddolt/federation.go270 // Step 5: PushCOMMENT
40 more matches not shown…
Hyper-Verbose Identifiers157 hits · 156 pts
SeverityFileLineSnippetContext
LOW…s/beads/skills/beads/resources/INTEGRATION_PATTERNS.md193def test_refresh_token_returns_new_access_token():CODE
LOWnpm-package/test/integration.test.js263async function testClaudeCodeWebSimulation(npmPrefix) {CODE
LOWintegrations/beads-mcp/tests/test_lifecycle.py9def test_cleanup_handlers_registered():CODE
LOWintegrations/beads-mcp/tests/test_lifecycle.py27def test_cleanup_function_safe_to_call_multiple_times():CODE
LOWintegrations/beads-mcp/tests/test_lifecycle.py40def test_signal_handler_calls_cleanup():CODE
LOWintegrations/beads-mcp/tests/test_lifecycle.py55def test_cleanup_logs_lifecycle_events(caplog):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py29 def test_default_compaction_threshold(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py59 def test_get_compaction_settings_with_defaults(self):STRING
LOWintegrations/beads-mcp/tests/test_compaction_config.py80 def test_get_compaction_settings_with_custom_values(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py98 def test_get_compaction_settings_validates_threshold_minimum(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py110 def test_get_compaction_settings_validates_preview_minimum(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py124 def test_get_compaction_settings_validates_preview_not_greater_than_threshold(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py140 def test_get_compaction_settings_with_edge_case_values(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py156 def test_get_compaction_settings_with_large_values(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py176 def test_environment_variables_documented_in_code(self):CODE
LOWintegrations/beads-mcp/tests/test_compaction_config.py184 def test_environment_variables_documented_in_context_engineering_md(self):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py37 async def test_run_command_uses_devnull_stdin(self, bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py50 async def test_check_version_uses_devnull_stdin(self, bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py64 async def test_add_dependency_uses_devnull_stdin(self, bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py79 async def test_quickstart_uses_devnull_stdin(self, bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py93 async def test_init_uses_devnull_stdin(self, bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py110 def test_resolve_workspace_root_uses_devnull_stdin(self):CODE
LOWintegrations/beads-mcp/tests/test_subprocess_stdin.py129 def test_tools_resolve_workspace_root_uses_devnull_stdin(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py90 async def test_concurrent_calls_different_projects(self, temp_projects, mock_client_factory):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py128 async def test_concurrent_calls_same_project_reuse_client(self, temp_projects, mock_client_factory):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py161 async def test_pool_lock_prevents_race_conditions(self, temp_projects, mock_client_factory):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py202 def test_canonicalize_with_beads_dir(self, temp_projects):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py210 def test_canonicalize_symlink_deduplication(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py227 def test_canonicalize_submodule_with_beads(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py244 def test_canonicalize_no_beads_uses_git_toplevel(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py261 def test_resolve_workspace_root_git_repo(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py275 def test_resolve_workspace_root_shared_worktree_prefers_main_repo_with_beads(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py292 def test_resolve_workspace_root_subdir_relative_common_dir_prefers_main_repo(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py312 def test_resolve_workspace_root_not_git(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py332 async def test_no_cross_project_data_leakage(self, temp_projects, mock_client_factory):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py369 async def test_stress_test_many_parallel_calls(self, temp_projects, mock_client_factory):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py406 async def test_contextvar_isolated_per_request(self, temp_projects):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py409 async def get_current_workspace_val() -> str | None:CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py435 async def test_contextvar_reset_after_call(self, temp_projects):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py447 async def test_contextvar_fallback_to_env(self, temp_projects):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py475 async def test_no_workspace_raises_error(self):CODE
LOW…ations/beads-mcp/tests/test_multi_project_switching.py494 def test_canonicalize_path_cached(self, temp_projects):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py779async def test_validate_routes_to_doctor(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py787async def test_validate_fix_all_adds_fix_yes(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py795async def test_validate_ignores_checks_arg(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py803async def test_detect_pollution_routes_to_doctor(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py811async def test_detect_pollution_clean_adds_flags(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py41async def test_bd_client_initialization():CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py49async def test_bd_client_without_db():CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py69async def test_run_command_not_found(bd_client):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py92async def test_run_command_invalid_json(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py104async def test_run_command_empty_output(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py173async def test_ready_with_issue_type(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py201async def test_ready_invalid_response(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py237async def test_list_issues_invalid_response(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py272async def test_show_invalid_response(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py313async def test_create_with_optional_fields(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py349async def test_create_invalid_response(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py384async def test_update_with_optional_fields(bd_client, mock_process):CODE
LOWintegrations/beads-mcp/tests/test_bd_client.py417async def test_update_invalid_response(bd_client, mock_process):CODE
97 more matches not shown…
Verbosity Indicators81 hits · 150 pts
SeverityFileLineSnippetContext
LOWcmd/bd/gate_discover.go116 // Step 3: Match runs to gatesCOMMENT
LOWcmd/bd/gate_discover.go138 // Step 4: Update gate with discovered run IDCOMMENT
LOWcmd/bd/init_team.go26 // Step 1: Check if we're in a git repositoryCOMMENT
LOWcmd/bd/init_team.go45 // Step 2: Check for protected main branchCOMMENT
LOWcmd/bd/init_team.go108 // Step 3: Configure team settingsCOMMENT
LOWcmd/bd/init_team.go123 // Step 4: SummaryCOMMENT
LOWcmd/bd/init_contributor.go52 // Step 1: Detect fork relationshipCOMMENT
LOWcmd/bd/init_contributor.go82 // Step 2: Check push access to originCOMMENT
LOWcmd/bd/init_contributor.go110 // Step 3: Configure planning repositoryCOMMENT
LOWcmd/bd/init_contributor.go205 // Step 4: Configure contributor routingCOMMENT
LOWcmd/bd/init_contributor.go248 // Step 5: SummaryCOMMENT
LOWcmd/bd/migrate_issues.go134 // Step 1: Validate repositories existCOMMENT
LOWcmd/bd/migrate_issues.go139 // Step 2: Build initial candidate set C using filtersCOMMENT
LOWcmd/bd/migrate_issues.go155 // Step 3: Expand set to M (migration set) based on --includeCOMMENT
LOWcmd/bd/migrate_issues.go161 // Step 4: Check for orphaned dependenciesCOMMENT
LOWcmd/bd/migrate_issues.go171 // Step 5: Build migration planCOMMENT
LOWcmd/bd/migrate_issues.go174 // Step 6: Display planCOMMENT
LOWcmd/bd/migrate_issues.go179 // Step 7: Execute migration if not dry-runCOMMENT
LOWcmd/bd/import_prefix_test.go31 // Step 0: Build the bd binaryCOMMENT
LOWcmd/bd/import_prefix_test.go44 // Step 1: Setup a database with a specific prefixCOMMENT
LOWcmd/bd/import_prefix_test.go61 // Step 2: A JSONL record minted by a DIFFERENT tracker (foreign prefix)COMMENT
LOWcmd/bd/import_prefix_test.go68 // Step 3: Import must succeed with no special flagCOMMENT
LOWcmd/bd/import_prefix_test.go74 // Step 4: Verify the issue landed under its original idCOMMENT
LOWcmd/bd/mol_ready_gated.go126 // Step 1: Find all closed gate beadsCOMMENT
LOWcmd/bd/mol_ready_gated.go143 // Step 2: Get ready work to check which steps are readyCOMMENT
LOWcmd/bd/mol_ready_gated.go153 // Step 3: Get hooked molecules to filter outCOMMENT
LOWcmd/bd/mol_ready_gated.go177 // Step 4: For each closed gate, collect all dependents that are ready,COMMENT
LOWcmd/bd/main_test.go31 // Step 1: Create an open issue in the databaseCOMMENT
LOWcmd/bd/main_test.go48 // Step 2: Update via UpdateIssue with closed status (closed_at managed automatically)COMMENT
LOWcmd/bd/main_test.go57 // Step 3: Verify the issue is now closed with correct closed_atCOMMENT
LOWcmd/bd/main_test.go82 // Step 1: Create a closed issue in the databaseCOMMENT
LOWcmd/bd/main_test.go100 // Step 2: Update via UpdateIssue with open status (closed_at managed automatically)COMMENT
LOWcmd/bd/main_test.go109 // Step 3: Verify the issue is now open with null closed_atCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2122 // Step 1: Check should detect outdatedCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2128 // Step 2: Fix should update the redirect targetCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2133 // Step 3: Re-check should passCOMMENT
LOWcmd/bd/doctor/gitignore_test.go2139 // Step 4: No .gitignore in redirect-only dir (the original bug)COMMENT
LOWcmd/bd/doctor/integrity.go466 // So we need to check if the length variation is natural (1→2→3 digits)COMMENT
LOWtests/regression/scenarios_test.go156 // Step 1: Create rich data in baselineCOMMENT
LOWtests/regression/scenarios_test.go170 // Step 2: Export from baselineCOMMENT
LOWtests/regression/scenarios_test.go178 // Step 3: Import into candidateCOMMENT
LOWtests/regression/scenarios_test.go186 // Step 4: Export from candidate and compareCOMMENT
LOWtests/regression/regression_test.go406 // Step 1: get all issue IDs via bd list (--all includes closed issues,COMMENT
LOWtests/regression/regression_test.go431 // Step 2: for each ID, run bd show --json and emit one JSONL lineCOMMENT
LOWinternal/storage/issueops/molecule.go35 // Step 1: Get child issue IDs from dependencies table.COMMENT
LOWinternal/storage/issueops/molecule.go57 // Step 2: Batch-fetch status for all children.COMMENT
LOWinternal/storage/issueops/epic_closure.go14 // Step 1: Get open epic IDs (single-table scan)COMMENT
LOWinternal/storage/issueops/epic_closure.go38 // Step 2: Get parent-child dependencies from both tables (bd-w2w)COMMENT
LOWinternal/storage/issueops/epic_closure.go70 // Step 3: Batch-fetch statuses for all child issues across all epicsCOMMENT
LOWinternal/storage/issueops/epic_closure.go108 // Step 4: Batch-fetch all epic issuesCOMMENT
LOWinternal/storage/issueops/epic_closure.go124 // Step 5: Build results from cached dataCOMMENT
LOWinternal/storage/embeddeddolt/federation.go215 // Step 1: FetchCOMMENT
LOWinternal/storage/embeddeddolt/federation.go222 // Step 2: Get commit before merge for change detectionCOMMENT
LOWinternal/storage/embeddeddolt/federation.go225 // Step 3: Merge peer's branchCOMMENT
LOWinternal/storage/embeddeddolt/federation.go233 // Step 4: Handle conflictsCOMMENT
LOWinternal/storage/embeddeddolt/federation.go270 // Step 5: PushCOMMENT
LOWinternal/storage/dolt/git_remote_test.go912 // Step 1: Source creates data and pushesCOMMENT
LOWinternal/storage/dolt/git_remote_test.go933 // Step 2: Bootstrap clone from git remoteCOMMENT
LOWinternal/storage/dolt/git_remote_test.go975 // Step 3: Clone adds data and pushes backCOMMENT
LOWinternal/storage/dolt/git_remote_test.go997 // Step 4: Re-open source and pull — verify bidirectional syncCOMMENT
21 more matches not shown…
AI Slop Vocabulary29 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUMcmd/bd/doctor/integrity.go100 // Detect ID format using robust heuristicCOMMENT
MEDIUMcmd/bd/doctor/integrity.go431// This is more robust than checking a single ID's format, since base36 hash IDs can be all-numeric.COMMENT
MEDIUMtests/oracle-a/run-oracle-a.sh12# The differential is driven by the Rust conformance harness under harness/COMMENT
MEDIUMtests/oracle-a/run-oracle-a.sh13# (see harness/PROVENANCE.md); the harness is pointed at two Go bd binaries andCOMMENT
MEDIUMtests/oracle-a/run-oracle-a.sh18# scenarios, `harness/scenarios/enumerated.json`) — the deep tier (~10-15 min).COMMENT
MEDIUMtests/oracle-a/run-oracle-a.sh152# --- 3. build the conformance harness ------------------------------------------------COMMENT
MEDIUMtests/oracle-a/run-oracle-a.sh224 # The harness writes failures to a fixed /tmp path that concurrent runs on aCOMMENT
MEDIUMtests/oracle-a/harness/Cargo.toml7# Standalone conformance harness for Oracle A — the bd refactor-safetyCOMMENT
MEDIUMinternal/doltserver/doltserver_test.go456// directly. Makes the contract robust to wording changes in theCOMMENT
MEDIUMinternal/linear/synclock.go17// It combines a PID-annotated lock file with flock for robust mutual exclusion.COMMENT
MEDIUMinternal/utils/id_parser.go110 // Use the hash part as a search query to leverage SQL-level filteringCOMMENT
MEDIUMinternal/beads/beads.go1172 // Canonicalize the boundary so the `dir == gitRoot` comparison is robustCOMMENT
MEDIUMintegrations/beads-mcp/src/beads_mcp/tools.py764 """Run comprehensive database health checks.STRING
MEDIUMexamples/formulas/gh-pr-review.formula.toml86description = """Fetch comprehensive PR metadata needed for classification and review.CODE
MEDIUMexamples/formulas/primitives/branch-fanin.formula.toml5# completes. The smoke harness asserts `deploy` blocks on each of `test`,COMMENT
MEDIUMexamples/formulas/primitives/children-epic.formula.toml5# blocking dependencies. The smoke harness asserts the parent epic + 2COMMENT
MEDIUMexamples/formulas/primitives/loop-range.formula.toml5# titled "Move 1", "Move 2", "Move 3" — the smoke harness asserts thoseCOMMENT
MEDIUMexamples/formulas/primitives/loop-count.formula.toml6# `process.iter3.work`. The smoke harness asserts those three IDs exist.COMMENT
MEDIUMexamples/formulas/primitives/condition.formula.toml7# (3 child issues). The smoke harness exercises both branches.COMMENT
MEDIUMexamples/formulas/primitives/gate-timer.formula.toml6# The smoke harness asserts the gate issue exists with await_type=timerCOMMENT
MEDIUMscripts/run-oracle-p.sh26# supplies the backend flags the backend-agnostic harness cannot know, plus aCOMMENT
MEDIUMscripts/upgrade-smoke-test.sh464 # data-copy is still covered by the migration-test harness; skip gracefully.COMMENT
MEDIUMscripts/migration-test/run.sh449# Self-test: candidate as both source and target (validates the harness itself)COMMENT
MEDIUMscripts/migration-test/run.sh25# ./scripts/migration-test/run.sh --self-test # candidate → candidate (harness validation)COMMENT
LOWscripts/migration-test/run.sh137 # First try: just use candidate directly (auto-detect + migrate)COMMENT
MEDIUMscripts/migration-test/recipes/sqlite_to_current.sh143 # direct upgrade attempt in the harness.COMMENT
MEDIUMscripts/migration-test/lib/workspace.sh7# The migration harness runs in isolated temp-dir workspaces, so there is noCOMMENT
MEDIUM.github/workflows/pr.yml465 # Needs the Dolt sql-server image (the protocol harness spins a container).COMMENT
MEDIUM.github/workflows/main.yml902 # Linux/macOS run comprehensive tests; Windows just verifies binary worksCOMMENT
Fake / Example Data69 hits · 69 pts
SeverityFileLineSnippetContext
LOWcmd/bd/bootstrap_embedded_test.go118 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_embedded_test.go142 cmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_embedded_test.go184 gitCmd = exec.Command("git", "config", "user.email", "test@test.com")CODE
LOWcmd/bd/shared_server_integration_test.go581 {"git", "config", "user.email", "test@test.com"},CODE
LOWcmd/bd/show_embedded_test.go313 bdUpdate(t, bd, dir, issue.ID, "--status", "in_progress", "--assignee", "test@test.com")CODE
LOWcmd/bd/init_test.go1551 runGit(mainRepo, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/init_test.go2546 _ = exec.Command("git", "-C", secondDir, "config", "user.email", "test@test.com").Run()CODE
LOWcmd/bd/linear_test.go613 Name: "John Doe",CODE
LOWcmd/bd/git_repo_template_test.go45 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/init_safety_test.go387 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/init_safety_test.go449 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/init_safety_test.go508 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/init_hooks_test.go861 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/init_hooks_test.go1138 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/init_hooks_test.go1244 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/init_embedded_test.go71 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/init_embedded_test.go1283 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go291 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go417 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go736 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go810 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go892 runGitForBootstrapTest(t, rigDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go1025 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/bootstrap_test.go1242 runGitForBootstrapTest(t, sourceDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/dolt_remote_origin_guard_test.go254 runGitCommand(t, dir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/sync_git_test.go141 runGitForSyncTest(t, repoDir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/doctor/git_hygiene_test.go45 runGit(t, dir, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/doctor/git_hygiene_test.go278 runGit(t, clone, "config", "user.email", "test@test.com")CODE
LOWcmd/bd/doctor/federation_test.go521 runDoctorTestCmd(t, doltDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWcmd/bd/doctor/federation_test.go522 runDoctorTestCmd(t, cliDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWcmd/bd/doctor/git_repo_template_test.go42 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/doctor/dolt_e2e_test.go240 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/doctor/fix/git_repo_template_test.go42 {"config", "user.email", "test@test.com"},CODE
LOWcmd/bd/doctor/fix/metadata_test.go206 {"git", "config", "user.email", "test@test.com"},CODE
LOWinternal/ado/tracker_test.go472 "displayName": "Jane Doe",CODE
LOWinternal/ado/tracker_test.go504 if ti.Assignee != "Jane Doe" {CODE
LOWinternal/ado/tracker_test.go505 t.Errorf("Assignee = %q, want %q", ti.Assignee, "Jane Doe")CODE
LOWinternal/ado/tracker_test.go564 "displayName": "Jane Doe",CODE
LOWinternal/ado/tracker_test.go567 wantAssignee: "Jane Doe",CODE
LOWinternal/gitlab/mapping_test.go245 Name: "John Doe",CODE
LOWinternal/gitlab/types_test.go30 "name": "John Doe",CODE
LOWinternal/linear/mapping_test.go435 Assignee: &User{Name: "John Doe", Email: "john@example.com"},CODE
LOWinternal/linear/mapping_test.go551 Assignee: &User{Name: "Jane Doe", Email: "jane@example.com"},CODE
LOWinternal/remotecache/cache_test.go57 cmd := exec.Command("dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1152 runCmd(t, serverDataDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1158 runCmd(t, testdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1190 runCmd(t, clientTestdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1211 CommitterEmail: "test@test.com",CODE
LOWinternal/storage/dolt/git_remote_test.go1252 runCmd(t, serverDataDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1258 runCmd(t, testdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1301 runCmd(t, clientTestdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1321 CommitterEmail: "test@test.com",CODE
LOWinternal/storage/dolt/git_remote_test.go1403 runCmd(t, serverDataDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1409 runCmd(t, testdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1444 runCmd(t, clientTestdbDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/git_remote_test.go1467 CommitterEmail: "test@test.com",CODE
LOWinternal/storage/dolt/remote_migrate_gate_test.go126 cmd := exec.Command("dolt", "init", "--name", "test", "--email", "test@test.com")CODE
LOWinternal/storage/dolt/dolt_benchmark_test.go1217 bigText := strings.Repeat("lorem ipsum dolor sit amet consectetur ", 24) // ~936 BCODE
LOWinternal/storage/dolt/dolt_benchmark_test.go1217 bigText := strings.Repeat("lorem ipsum dolor sit amet consectetur ", 24) // ~936 BCODE
LOWinternal/storage/dolt/git_remote_shared_server_test.go53 runCmd(t, sharedDoltDir, "dolt", "init", "--name", "test", "--email", "test@test.com")CODE
9 more matches not shown…
Self-Referential Comments17 hits · 53 pts
SeverityFileLineSnippetContext
MEDIUMcmd/bd/branch.go22 bd branch feature-xyz # Create a new branch named feature-xyz`,CODE
MEDIUMcmd/bd/setup/aider.go12# This file is marked read-only and cached for efficiencyCOMMENT
MEDIUM…grations/beads-mcp/tests/test_workspace_auto_detect.py181 # Create main workspace with actual databaseCOMMENT
MEDIUM…grations/beads-mcp/tests/test_workspace_auto_detect.py241 # Create main workspace WITHOUT databaseCOMMENT
MEDIUMintegrations/beads-mcp/tests/test_config.py26 # Create a fake bd executableCOMMENT
MEDIUMintegrations/beads-mcp/tests/test_config.py53 # Create a non-executable fileCOMMENT
MEDIUM…rations/beads-mcp/tests/test_mcp_server_integration.py344 # Create a ready issue (no dependencies)COMMENT
MEDIUM…rations/beads-mcp/tests/test_mcp_server_integration.py665 # Create a fresh temp directory without any beads databaseCOMMENT
MEDIUM…rations/beads-mcp/tests/test_mcp_server_integration.py1027 # Create a ready issueCOMMENT
MEDIUM…grations/beads-mcp/tests/test_worktree_separate_dbs.py91 # Create a worktree AFTER initializing beads in mainCOMMENT
MEDIUMscripts/test-git-remote.sh74 # Create a local git repo as the remote (needs initial commit for dolt push)COMMENT
MEDIUMscripts/release.sh197# Create the release molecule (wisp)COMMENT
MEDIUMscripts/release.sh201# Create the wisp and capture the outputCOMMENT
MEDIUMscripts/upgrade-smoke-test.sh196# Create an isolated workspace with git initCOMMENT
MEDIUMscripts/upgrade-smoke-test.sh215# Create an issue with the previous binary, tolerating missing --silent flag.COMMENT
MEDIUMscripts/migration-test/lib/workspace.sh37# Create an issue, returning just the ID on stdout.COMMENT
MEDIUMscripts/migration-test/lib/features.sh38# Create the canonical dataset for a given version.COMMENT
Magic Placeholder Names9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHcmd/bd/linear.go34 bd config set linear.api_key "YOUR_API_KEY"CODE
HIGHcmd/bd/linear.go893 fmt.Println(" bd config set linear.api_key \"YOUR_API_KEY\"")CODE
HIGHcmd/bd/linear.go898 fmt.Println(" export LINEAR_API_KEY=\"YOUR_API_KEY\"")CODE
HIGHcmd/bd/linear.go1020 " API key (devs): export LINEAR_API_KEY=... or bd config set linear.api_key \"YOUR_API_KEY\"")CODE
HIGHinternal/linear/tracker.go59 " API key (devs): export LINEAR_API_KEY=... or bd config set linear.api_key \"YOUR_API_KEY\"")CODE
HIGHdocs/CLI_REFERENCE.md5157 bd config set linear.api_key "YOUR_API_KEY"CODE
HIGHdocs/cli-reference/linear.md13 bd config set linear.api_key "YOUR_API_KEY"CODE
HIGHscripts/generate-newsletter_README.md13export ANTHROPIC_API_KEY="your-api-key"CODE
HIGHscripts/generate-newsletter_README.md16export OPENAI_API_KEY="your-api-key"CODE
Redundant / Tautological Comments23 hits · 34 pts
SeverityFileLineSnippetContext
LOWcmd/bd/merge_slot.go34 bd merge-slot check # Check if slot is availableCODE
LOWcmd/bd/init.go496 fmt.Fprintf(os.Stderr, " bd dolt status # Check if this is a server config issue\n\n")CODE
LOWintegrations/beads-mcp/tests/conftest.py61 # Check if test is using bd_client fixtureCOMMENT
LOWintegrations/beads-mcp/tests/test_config.py36 # Set BEADS_PATH to just "bd" (command name, not path)COMMENT
LOWintegrations/beads-mcp/tests/test_config.py69 # Set BEADS_DB to non-existent fileCOMMENT
LOW…grations/beads-mcp/tests/test_worktree_separate_dbs.py293 # Set context to worktreeCOMMENT
LOWexamples/bash-agent/agent.sh39# Check if bd is installedCOMMENT
LOWexamples/bash-agent/agent.sh46# Check if we're in a beads-initialized directoryCOMMENT
LOWexamples/startup-hooks/bd-version-check.sh50# Check if bd is installedCOMMENT
LOWexamples/startup-hooks/bd-version-check.sh55# Check if jq is installed (required for JSON manipulation)COMMENT
LOWscripts/generate-newsletter.py240 # Read the file to extract cobra.Command definitionsCOMMENT
LOWscripts/generate-newsletter.py570 # Check if we should use last week or since last releaseCOMMENT
LOWscripts/install.sh186 # Check if codesign is availableCOMMENT
LOWscripts/install.sh402 # Check if install_dir is in PATHCOMMENT
LOWscripts/install.sh416# Check if Go is installed and meets minimum versionCOMMENT
LOWscripts/install.sh426 # Check if Go version is 1.24 or laterCOMMENT
LOWscripts/install.sh513 # Check if GOPATH/bin (or GOBIN) is in PATHCOMMENT
LOWscripts/install.sh573 # Check if install_dir is in PATHCOMMENT
LOWscripts/update-nix-vendorhash.sh48# Check if we're in the repo rootCOMMENT
LOWscripts/update-nix-vendorhash.sh61 # Check if Docker is availableCOMMENT
LOWscripts/update-nix-vendorhash.sh158 # Check if hash is actually the sameCOMMENT
LOWscripts/upgrade-smoke-test.sh323# Check if old binary was able to initialize .beads/.COMMENT
LOWscripts/migration-test/recipes/fix_dash_prefix.sh39 # Check if prefix has dashesCOMMENT
Docstring Block Structure6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHintegrations/beads-mcp/src/beads_mcp/config.py45Validate BEADS_PATH points to an executable bd binary. Args: v: Path to bd executable (can be commaSTRING
HIGHintegrations/beads-mcp/src/beads_mcp/config.py83Validate BEADS_DIR points to an existing .beads directory. Args: v: Path to .beads directory or NonSTRING
HIGHintegrations/beads-mcp/src/beads_mcp/config.py112Validate BEADS_DB points to an existing database file. Args: v: Path to database file or None STRING
HIGHintegrations/beads-mcp/src/beads_mcp/bd_client.py301Run bd command and parse JSON output. Args: *args: Command arguments to pass to bd cwd:STRING
HIGHintegrations/beads-mcp/src/beads_mcp/bd_client.py495Show issue details. Args: params: Issue ID to show Returns: Issue details STRING
HIGHintegrations/beads-mcp/src/beads_mcp/tools.py268Attempt to reconnect with exponential backoff. Args: canonical: Canonical workspace path max_retrieSTRING
Example Usage Blocks16 hits · 24 pts
SeverityFileLineSnippetContext
LOWcmd/bd/tips.go196// Example usage:COMMENT
LOWtests/oracle-a/run-oracle-a.sh20# Usage:COMMENT
LOWexamples/formulas/gh-issue-to-pr.formula.toml20# Usage:COMMENT
LOWexamples/formulas/gh-pr-review.formula.toml27# Usage:COMMENT
LOWscripts/update-nix-vendorhash.sh20# Usage:COMMENT
LOWscripts/sign-windows.sh14# Usage:COMMENT
LOWscripts/cross-version-smoke-test.sh17# Usage:COMMENT
LOWscripts/test-git-remote.sh7# Usage:COMMENT
LOWscripts/migrate-sqlite-to-current.sh4# Usage:COMMENT
LOWscripts/migrate-jsonl-to-dolt.sh4# Usage:COMMENT
LOWscripts/gen-winres.sh8# Usage:COMMENT
LOWscripts/upgrade-smoke-test.sh15# Usage:COMMENT
LOWscripts/ci/go-test-shard-packages.sh4# Usage:COMMENT
LOWscripts/ci/go-test-shard-names.sh4# Usage:COMMENT
LOWscripts/migration-test/run.sh21# Usage:COMMENT
LOW.github/scripts/docs-render-check.sh11# Usage:COMMENT
Modern AI Meta-Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md3318- **Auto_pull config** (GH#707) - Periodic remote sync in event-driven modeCODE
MEDIUMCHANGELOG.md3430- **MCP output control parameters** (PR#667) - Reduce context window usage by up to 97%CODE
MEDIUMcmd/bd/init_test.go231// GH#3490: `bd init --init-if-missing` makes init idempotent for scaffoldCOMMENT
MEDIUMcmd/bd/init_test.go231// GH#3490: `bd init --init-if-missing` makes init idempotent for scaffoldCOMMENT
MEDIUMdocs/multi-agent/multi-repo-migration.md481- **Multi-Repo Internals:** See [ROUTING.md#multi-repo-hydration](/multi-agent/routing#multi-repo-hydration)CODE
MEDIUMintegrations/beads-mcp/README.md3MCP server for [beads](https://github.com/gastownhall/beads) issue tracker and agentic memory system.CODE
MEDIUMintegrations/beads-mcp/src/beads_mcp/models.py38# These lightweight models reduce context window usage by ~80% for list operations.COMMENT
AI Structural Patterns12 hits · 12 pts
SeverityFileLineSnippetContext
LOWintegrations/beads-mcp/src/beads_mcp/server.py874CODE
LOWintegrations/beads-mcp/src/beads_mcp/server.py956CODE
LOWintegrations/beads-mcp/src/beads_mcp/server.py1086CODE
LOWintegrations/beads-mcp/src/beads_mcp/server.py1154CODE
LOWintegrations/beads-mcp/src/beads_mcp/bd_client.py961CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py375CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py410CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py454CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py498CODE
LOWexamples/python-agent/agent.py46CODE
LOWexamples/python-agent/agent.py69CODE
LOWscripts/generate-newsletter.py641CODE
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWintegrations/beads-mcp/src/beads_mcp/server.py286CODE
LOWintegrations/beads-mcp/src/beads_mcp/server.py636CODE
LOWintegrations/beads-mcp/src/beads_mcp/server.py1385CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py146CODE
LOWintegrations/beads-mcp/src/beads_mcp/workspace.py13CODE
LOWscripts/generate-newsletter.py156CODE
LOWscripts/generate-newsletter.py205CODE
LOWscripts/generate-newsletter.py302CODE
LOWscripts/generate-newsletter.py337CODE
LOWscripts/generate-newsletter.py373CODE
LOWscripts/generate-newsletter.py641CODE
Excessive Try-Catch Wrapping9 hits · 10 pts
SeverityFileLineSnippetContext
LOWintegrations/beads-mcp/src/beads_mcp/server.py304 except Exception:CODE
LOWintegrations/beads-mcp/src/beads_mcp/config.py152 except Exception as e:CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py141 except Exception as e:CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py210 except Exception as e:CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py262 except Exception:CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py289 except Exception:CODE
LOWintegrations/beads-mcp/src/beads_mcp/workspace.py40 except Exception as exc:CODE
MEDIUMexamples/python-agent/agent.py141 print(f"Error running bd: {e}", file=sys.stderr)CODE
LOWscripts/generate-newsletter.py759 except Exception as e:CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcmd/bd/mol_squash.go216// This enables agents to provide AI-generated summaries while keeping bd as a pure tool.COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…ations/beads-mcp/tests/test_multi_project_switching.py10CODE
LOWintegrations/beads-mcp/src/beads_mcp/workspace.py3CODE
LOWscripts/generate-newsletter.py34CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWintegrations/beads-mcp/src/beads_mcp/server.py69logger = logging.getLogger(__name__)CODE
LOWintegrations/beads-mcp/src/beads_mcp/tools.py42logger = logging.getLogger(__name__)CODE
LOWintegrations/beads-mcp/src/beads_mcp/workspace.py10logger = logging.getLogger(__name__)CODE