Teams-first Multi-agent orchestration for Claude Code
This report presents the forensic synthetic code analysis of Yeachan-Heo/oh-my-claudecode, a TypeScript project with 37,737 GitHub stars. SynthScan v2.0 examined 410,336 lines of code across 1478 source files, recording 1446 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 4.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).
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.
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.
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.
The scanner identified 1446 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bridge/team.js | 1622 | function isLeaderPaneMissingMailboxPersistedOutcome(request, outcome) { | CODE |
| LOW⚡ | bridge/team.js | 1625 | function fallbackTransportForPreference(preference) { | CODE |
| LOW⚡ | bridge/team.js | 1634 | async function markImmediateDispatchFailure(params) { | CODE |
| LOW⚡ | bridge/team.js | 2297 | function redactWorkerStartCommandForLog(command) { | CODE |
| LOW⚡ | bridge/team.js | 2303 | function workerStartCommandPreview(command, maxLength = 180) { | CODE |
| LOW⚡ | bridge/team.js | 2311 | function paneCurrentCommandLooksReady(command) { | CODE |
| LOW⚡ | bridge/team.js | 6147 | function assertCleanLeaderWorktree(repoRoot) { | CODE |
| LOW⚡ | bridge/team.js | 6155 | function canonicalPathForComparison(path4) { | CODE |
| LOW⚡ | bridge/team.js | 6162 | function getRegisteredWorktreeBranch(repoRoot, wtPath) { | CODE |
| LOW | bridge/team.js | 74 | function readWorkspaceMarkerConfig(workspaceRoot) { | CODE |
| LOW | bridge/team.js | 264 | function canTransitionTeamTaskStatus(from, to) { | CODE |
| LOW | bridge/team.js | 364 | function normalizeTeamTransportPolicy(policy) { | CODE |
| LOW | bridge/team.js | 472 | function extractDelegationComplianceEvidence(task, terminalData) { | CODE |
| LOW | bridge/team.js | 492 | function requiresDelegationComplianceEvidence(task) { | CODE |
| LOW | bridge/team.js | 700 | function canonicalizeTeamConfigWorkers(config) { | CODE |
| LOW | bridge/team.js | 913 | async function teamUpdateWorkerHeartbeat(teamName, workerName, heartbeat, cwd) { | CODE |
| LOW | bridge/team.js | 1067 | function normalizeLegacyMailboxMessage(raw) { | CODE |
| LOW | bridge/team.js | 1367 | function resolveDispatchLockTimeoutMs(env = process.env) { | CODE |
| LOW | bridge/team.js | 1427 | async function readDispatchRequestsFromFile(teamName, cwd) { | CODE |
| LOW | bridge/team.js | 1439 | async function writeDispatchRequestsToFile(teamName, requests, cwd) { | CODE |
| LOW | bridge/team.js | 1472 | function equivalentPendingDispatch(existing, input) { | CODE |
| LOW | bridge/team.js | 1484 | function canTransitionDispatchStatus(from, to) { | CODE |
| LOW | bridge/team.js | 1532 | async function transitionDispatchRequest(teamName, requestId, from, to, patch = {}, cwd) { | CODE |
| LOW | bridge/team.js | 1560 | async function markDispatchRequestNotified(teamName, requestId, patch = {}, cwd) { | CODE |
| LOW | bridge/team.js | 1566 | async function markDispatchRequestDelivered(teamName, requestId, patch = {}, cwd) { | CODE |
| LOW | bridge/team.js | 1605 | function createSwallowedErrorLogger(context) { | CODE |
| LOW | bridge/team.js | 1655 | async function markLeaderPaneMissingDeferred(params) { | CODE |
| LOW | bridge/team.js | 1736 | async function queueDirectMailboxMessage(params) { | CODE |
| LOW | bridge/team.js | 1804 | async function queueBroadcastMailboxMessage(params) { | CODE |
| LOW | bridge/team.js | 2001 | function hasUniversalClipboardTerminalFeature(features) { | CODE |
| LOW | bridge/team.js | 2004 | function configureTmuxClipboardForSession(sessionName2, opts) { | CODE |
| LOW | bridge/team.js | 2016 | async function configureTmuxClipboardForSessionAsync(sessionName2, opts) { | CODE |
| LOW | bridge/team.js | 2082 | function detectTeamMultiplexerContext(env = process.env) { | CODE |
| LOW | bridge/team.js | 2150 | async function cmuxExecPrimaryWithLegacyFallback(primaryArgs, legacyArgs) { | CODE |
| LOW | bridge/team.js | 2262 | function resolveShellFromCandidates(paths, rcFile) { | CODE |
| LOW | bridge/team.js | 2270 | function resolveSupportedShellAffinity(shellPath) { | CODE |
| LOW | bridge/team.js | 2348 | async function verifyWorkerStartCommandDelivered(paneId, startCmd) { | CODE |
| LOW | bridge/team.js | 2365 | function resolvePositiveIntegerEnv(name, fallback) { | CODE |
| LOW | bridge/team.js | 2369 | async function verifyWorkerStartCommandSubmitted(paneId, startCmd, opts = {}) { | CODE |
| LOW | bridge/team.js | 2412 | function isAbsoluteLaunchBinaryPath(value) { | CODE |
| LOW | bridge/team.js | 2836 | function normalizeTmuxCaptureForDelivery(value) { | CODE |
| LOW | bridge/team.js | 2868 | function detectPaneTrustPromptKind(captured) { | CODE |
| LOW | bridge/team.js | 2883 | function paneHasClaudeStartupBanner(captured) { | CODE |
| LOW | bridge/team.js | 2908 | function paneLineLooksLikeIdlePrompt(line) { | CODE |
| LOW | bridge/team.js | 2939 | function paneTailContainsLiteralLine(captured, text) { | CODE |
| LOW | bridge/team.js | 2951 | function shouldAttemptAdaptiveRetry(args) { | CODE |
| LOW | bridge/team.js | 3143 | async function resolveSplitPaneWorkerPaneIds(sessionName2, recordedPaneIds, leaderPaneId) { | CODE |
| LOW | bridge/team.js | 3732 | function getProviderDetectionModelEnvValues() { | CODE |
| LOW | bridge/team.js | 3746 | function getDirectProviderDetectionModelEnvValues() { | CODE |
| LOW | bridge/team.js | 3792 | function isProviderSpecificModelId(modelId) { | CODE |
| LOW | bridge/team.js | 4295 | function warnOnDeprecatedDelegationRouting(config) { | CODE |
| LOW | bridge/team.js | 4425 | function parseTeamRoleOverridesFromEnv() { | CODE |
| LOW | bridge/team.js | 5125 | function loadSecurityFromConfigFiles() { | CODE |
| LOW | bridge/team.js | 5301 | function resolveValidatedBinaryPath(agentType) { | CODE |
| LOW | bridge/team.js | 5358 | function isHeadlessSupportedOnPlatform(agentType, platform = process.platform) { | CODE |
| LOW | bridge/team.js | 5541 | function buildTeamStateInstructionPath(teamName, instructionStateRoot, ...teamRelativeParts) { | CODE |
| LOW | bridge/team.js | 5552 | function generatePromptModeStartupPrompt(teamName, workerName, teamStateRoot3 = DEFAULT_INSTRUCTION_STATE_ROOT, cliOutpu | CODE |
| LOW | bridge/team.js | 5558 | function generateMailboxTriggerMessage(teamName, workerName, count = 1, teamStateRoot3 = DEFAULT_INSTRUCTION_STATE_ROOT) | CODE |
| LOW | bridge/team.js | 5825 | function validateWorktreeRemovalTarget(options) { | CODE |
| LOW | bridge/team.js | 6253 | function installWorktreeRootAgents(teamName, workerName, repoRoot, worktreePath, overlayContent) { | CODE |
| 903 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 299 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 301 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 935 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 937 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 1142 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bridge/gyoshu_bridge.py | 1144 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 40 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 42 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 97 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 99 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 195 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 197 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 240 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 242 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 520 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 522 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 595 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 597 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 704 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 706 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 821 | # ============================================================================= | COMMENT |
| MEDIUM | bridge/gyoshu_bridge.py | 823 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 95 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 97 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 126 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 128 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 142 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 144 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 177 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 179 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 220 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 222 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 265 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 267 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 322 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 324 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 360 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 362 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 427 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 429 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 475 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 477 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 510 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/test-pr25.sh | 512 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/find-node.sh | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/find-node.sh | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/find-node.sh | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/find-node.sh | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/find-node.sh | 113 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/find-node.sh | 115 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 132 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 134 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/find-node.sh | 146 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/release.ts | 43 | // ── Colors ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/release.ts | 60 | // ── Types ─────────────────────────────────────────────────────────────────── | COMMENT |
| 138 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benchmark/quick_test.sh | 84 | # Step 1: Run quick vanilla test | COMMENT |
| LOW⚡ | benchmark/quick_test.sh | 91 | # Step 2: Run quick OMC test | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 115 | # Step 1: Run vanilla benchmark | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 130 | # Step 2: Run OMC benchmark | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 145 | # Step 3: Evaluate both runs | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 186 | # Step 4: Generate comparison report | COMMENT |
| LOW⚡ | docs/SYNC-SYSTEM.md | 472 | ### Step 1: Audit Current State | COMMENT |
| LOW⚡ | docs/SYNC-SYSTEM.md | 479 | ### Step 2: Standardize Format | COMMENT |
| LOW⚡ | docs/SYNC-SYSTEM.md | 488 | ### Step 3: Run Initial Sync | COMMENT |
| LOW⚡ | docs/SYNC-SYSTEM.md | 496 | ### Step 4: Add to Workflow | COMMENT |
| LOW⚡ | docs/SYNC-SYSTEM.md | 500 | ### Step 5: Document for Team | COMMENT |
| LOW | docs/REFERENCE.md | 36 | # Step 1: Add the marketplace | COMMENT |
| LOW | docs/REFERENCE.md | 39 | # Step 2: Install the plugin | COMMENT |
| LOW | docs/GETTING-STARTED.md | 37 | ### Step 1: Add the marketplace source | COMMENT |
| LOW | docs/GETTING-STARTED.md | 45 | ### Step 2: Install the plugin | COMMENT |
| LOW | docs/GETTING-STARTED.md | 70 | ### Step 3: Run initial setup | COMMENT |
| LOW⚡ | seminar/notes.md | 616 | # Step 1: Install OMC | COMMENT |
| LOW⚡ | seminar/notes.md | 619 | # Step 2: Run setup wizard | COMMENT |
| LOW⚡ | seminar/notes.md | 622 | # Step 3: Start using it | COMMENT |
| LOW | skills/skill/SKILL.md | 367 | #### Step 1: Directory Check and Setup | COMMENT |
| LOW | skills/skill/SKILL.md | 391 | #### Step 2: Skill Scan and Inventory | COMMENT |
| LOW | skills/skill/SKILL.md | 450 | #### Step 3: Quick Actions Menu | COMMENT |
| LOW | skills/deepinit/SKILL.md | 85 | ### Step 1: Map Directory Structure | COMMENT |
| LOW | skills/deepinit/SKILL.md | 92 | ### Step 2: Create Work Plan | COMMENT |
| LOW | skills/deepinit/SKILL.md | 103 | ### Step 3: Generate Level by Level | COMMENT |
| LOW | skills/deepinit/SKILL.md | 113 | ### Step 4: Compare and Update (if exists) | COMMENT |
| LOW | skills/deepinit/SKILL.md | 130 | ### Step 5: Validate Hierarchy | COMMENT |
| LOW | skills/omc-doctor/SKILL.md | 15 | ### Step 1: Check Plugin Version | COMMENT |
| LOW⚡ | skills/omc-doctor/SKILL.md | 28 | ### Step 2: Check for Legacy Hooks in settings.json | COMMENT |
| LOW⚡ | skills/omc-doctor/SKILL.md | 38 | ### Step 3: Check for Legacy Bash Hook Scripts | COMMENT |
| LOW⚡ | skills/omc-doctor/SKILL.md | 47 | ### Step 4: Check CLAUDE.md | COMMENT |
| LOW | skills/omc-doctor/SKILL.md | 77 | ### Step 5: Check Ralph Ruby Dependency | COMMENT |
| LOW | skills/omc-doctor/SKILL.md | 95 | ### Step 6: Check for Stale Plugin Cache | COMMENT |
| LOW | skills/omc-doctor/SKILL.md | 105 | ### Step 7: Check for Legacy Curl-Installed Content | COMMENT |
| LOW | skills/learner/SKILL.md | 80 | ### Step 1: Gather Required Information | COMMENT |
| LOW⚡ | skills/learner/SKILL.md | 96 | ### Step 2: Quality Validation | COMMENT |
| LOW⚡ | skills/learner/SKILL.md | 104 | ### Step 3: Classify as Expertise or Workflow | COMMENT |
| LOW⚡ | skills/learner/SKILL.md | 112 | ### Step 4: Save Location | COMMENT |
| LOW | skills/external-context/SKILL.md | 28 | ### Step 1: Facet Decomposition | COMMENT |
| LOW | skills/external-context/SKILL.md | 45 | ### Step 2: Parallel Agent Invocation | COMMENT |
| LOW | skills/external-context/SKILL.md | 57 | ### Step 3: Synthesis Output Format | COMMENT |
| LOW | skills/mcp-setup/SKILL.md | 15 | ## Step 1: Choose a Setup Path | COMMENT |
| LOW | skills/mcp-setup/SKILL.md | 65 | ## Step 2: Gather Required Information | COMMENT |
| LOW | skills/mcp-setup/SKILL.md | 95 | ## Step 3: Add MCP Servers Using CLI | COMMENT |
| LOW | skills/mcp-setup/SKILL.md | 128 | ## Step 4: Verify Installation | COMMENT |
| LOW | skills/mcp-setup/SKILL.md | 139 | ## Step 5: Show Completion Message | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 48 | ### Step 1: Detect Existing Configuration | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 72 | ### Step 2: Create a Telegram Bot | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 94 | ### Step 3: Collect Bot Token | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 106 | ### Step 4: Collect Chat ID | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 125 | ### Step 5: Choose Parse Mode | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 135 | ### Step 6: Configure Events | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 149 | ### Step 7: Write Configuration | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 189 | ### Step 8: Test the Configuration | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 230 | ### Step 9: Confirm | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 274 | ### Step 1: Detect Existing Configuration | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 302 | ### Step 2: Choose Discord Method | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 335 | ### Step 4: Configure Mention (User Ping) | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 358 | ### Step 5: Configure Events | COMMENT |
| LOW | skills/configure-notifications/SKILL.md | 372 | ### Step 6: Optional Username Override | COMMENT |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benchmark/quick_test.sh | 84 | # Step 1: Run quick vanilla test | COMMENT |
| LOW⚡ | benchmark/quick_test.sh | 91 | # Step 2: Run quick OMC test | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 115 | # Step 1: Run vanilla benchmark | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 130 | # Step 2: Run OMC benchmark | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 145 | # Step 3: Evaluate both runs | COMMENT |
| LOW | benchmark/run_full_comparison.sh | 186 | # Step 4: Generate comparison report | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 522 | // Step 1: Validate input with Zod | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 544 | // Step 2: Validate session ID (path traversal protection) | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 561 | // Step 3: Validate action-specific requirements | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 574 | // Step 4: Acquire session lock | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 586 | // Step 5: Ensure bridge is running | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 603 | // Step 6: Dispatch to action handler | COMMENT |
| LOW | src/tools/python-repl/tool.ts | 668 | // Step 7: Always release lock | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 41 | // Step 1: Analyze the task | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 44 | // Step 2: Identify parallelizable components | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 47 | // Step 3: Identify shared files | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 50 | // Step 4: Generate subtasks with file ownership | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 53 | // Step 5: Assign non-overlapping file ownership | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 56 | // Step 6: Determine execution order | COMMENT |
| LOW⚡ | src/features/task-decomposer/index.ts | 59 | // Step 7: Validate decomposition | COMMENT |
| LOW | src/cli/index.ts | 1314 | // Step 1: Run installation (which handles hooks, agents, skills) | COMMENT |
| LOW | src/cli/index.ts | 1360 | // Step 2: Show summary | COMMENT |
| LOW | src/hooks/autopilot/state.ts | 416 | // Step 1: Preserve Ralph progress in autopilot state | COMMENT |
| LOW⚡ | src/hooks/autopilot/state.ts | 435 | // Step 2: Deactivate Ralph (set active=false) so UltraQA's mutual exclusion | COMMENT |
| LOW⚡ | src/hooks/autopilot/state.ts | 444 | // Step 3: Transition to QA phase | COMMENT |
| LOW | src/hooks/autopilot/state.ts | 457 | // Step 4: Start UltraQA (Ralph is deactivated, mutual exclusion passes) | COMMENT |
| LOW | src/hooks/autopilot/state.ts | 476 | // Step 5: UltraQA started — clear Ralph state fully (best-effort) | COMMENT |
| LOW | src/hooks/autopilot/prompts.ts | 47 | ### Step 1: Spawn Analyst for Requirements | COMMENT |
| LOW | src/hooks/autopilot/prompts.ts | 67 | ### Step 2: Spawn Architect for Technical Spec | COMMENT |
| LOW⚡ | src/hooks/autopilot/prompts.ts | 99 | ### Step 3: Save Combined Spec | COMMENT |
| LOW⚡ | src/hooks/autopilot/prompts.ts | 104 | ### Step 4: Signal Completion | COMMENT |
| LOW⚡ | src/hooks/autopilot/prompts.ts | 124 | ### Step 1: Read Spec | COMMENT |
| LOW⚡ | src/hooks/autopilot/prompts.ts | 128 | ### Step 2: Create Plan via Architect | COMMENT |
| LOW | src/hooks/autopilot/prompts.ts | 166 | ### Step 3: Validate Plan via Critic | COMMENT |
| LOW | src/hooks/subagent-tracker/__tests__/flush-race.test.ts | 200 | // Step 1: Write initial state to disk | COMMENT |
| LOW | src/hooks/subagent-tracker/__tests__/flush-race.test.ts | 216 | // Step 2: Queue a pending write with a different agent | COMMENT |
| LOW | src/hooks/subagent-tracker/__tests__/flush-race.test.ts | 231 | // Step 3: Simulate another process writing to disk between our read and flush | COMMENT |
| LOW⚡ | src/hooks/subagent-tracker/__tests__/flush-race.test.ts | 253 | // Step 4: Flush pending writes - should merge, not overwrite | COMMENT |
| LOW⚡ | src/hooks/subagent-tracker/__tests__/flush-race.test.ts | 256 | // Step 5: Verify all three agents are preserved | COMMENT |
| LOW | src/notifications/slack-socket.ts | 521 | // Step 1: Get WebSocket URL via apps.connections.open | COMMENT |
| LOW | src/notifications/slack-socket.ts | 536 | // Step 2: Connect via WebSocket with tracked listeners | COMMENT |
| LOW⚡ | src/hud/sanitize.ts | 82 | // Step 1: Strip terminal control sequences (preserving color/style SGR codes) | COMMENT |
| LOW⚡ | src/hud/sanitize.ts | 85 | // Step 2: Replace variable-width Unicode with ASCII | COMMENT |
| LOW⚡ | src/hud/sanitize.ts | 88 | // Step 3: Preserve multi-line output, just trim each line | COMMENT |
| LOW⚡ | src/hud/sanitize.ts | 93 | // Step 4: Remove leading/trailing empty lines | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | src/hooks/merge-readiness/runtime.ts | 856 | // Only treat as a fallback answer when no AI-generated MCQs are pending; | COMMENT |
| HIGH | src/hooks/merge-readiness/types.ts | 85 | // AI-generated explanation narrative (5 sections). Populated by setMergeReadinessContent. | COMMENT |
| HIGH | src/hooks/merge-readiness/types.ts | 114 | // AI-generated explanation narrative (5 sections), captured so a retained | COMMENT |
| HIGH | src/hud/types.ts | 605 | sessionSummary: boolean; // Show AI-generated session summary (<20 chars) - generated every 10 turns via claude -p | CODE |
| HIGH | src/hud/types.ts | 736 | sessionSummary: false, // Disabled by default - opt-in AI-generated session summary | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.fr.md | 112 | ### Modes d'orchestration | COMMENT |
| MEDIUM | docs/REFERENCE.md | 1030 | # Stop active orchestration | COMMENT |
| MEDIUM | skills/trace/SKILL.md | 85 | ## Team-mode orchestration shape | COMMENT |
| MEDIUM | skills/omc-reference/SKILL.md | 43 | ### External AI / orchestration | COMMENT |
| MEDIUM | skills/omc-reference/SKILL.md | 52 | ### Team orchestration | COMMENT |
| MEDIUM | src/cli/index.ts | 936 | console.log(' /omc <task> # Activate OMC orchestration mode'); | CODE |
| MEDIUM | src/__tests__/ralph-prd-mandatory.test.ts | 490 | // Auto-generate scaffold | COMMENT |
| MEDIUM | src/__tests__/context-bloat-2577.test.ts | 2 | * Regression tests for issue #2577: context window bloat | COMMENT |
| MEDIUM | src/__tests__/tier0-docs-consistency.test.ts | 66 | it('keeps issue #3316 failure-mode guardrails in the installed CLAUDE.md template', () => { | CODE |
| MEDIUM | src/hooks/task-size-detector/index.ts | 6 | * Issue #790: OMC orchestration modes (ralph, autopilot, team) are overkill for small tasks. | COMMENT |
| MEDIUM | src/hooks/__tests__/bridge-routing.test.ts | 328 | 'ralph fix the regression in src/hooks/bridge.ts after issue #1795 by tracing keyword-detector into persiste | CODE |
| MEDIUM | src/hooks/__tests__/bridge-routing.test.ts | 456 | const prompt = 'autopilot implement issue #2623 on this branch by tracing the bridge-side keyword producer, seed | CODE |
| MEDIUM | src/hooks/__tests__/bridge-routing.test.ts | 507 | prompt: 'ralplan implement issue #2623 by tracing the keyword-routed planning entrypoint, seeding deterministi | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | benchmark/evaluate.py | 41 | # Check if it's JSONL by looking for newlines and trying to parse first line | COMMENT |
| LOW⚡ | benchmark/evaluate.py | 45 | # Check if file has .jsonl extension | COMMENT |
| LOW⚡ | benchmark/evaluate.py | 54 | # Check if it has instance_id field (JSONL format indicator) | COMMENT |
| LOW | benchmark/entrypoint.sh | 26 | # Check if OMC source is mounted | COMMENT |
| LOW | scripts/sync-metadata.ts | 11 | * npm run sync-metadata -- --verify # Check if files are in sync | COMMENT |
| LOW | scripts/setup-progress.sh | 64 | # Check if state is stale (older than 24 hours) | COMMENT |
| LOW | skills/project-session-manager/psm.sh | 493 | # Check if tmux session exists | COMMENT |
| LOW | skills/project-session-manager/psm.sh | 644 | # Check if we're in a worktree | COMMENT |
| LOW | skills/project-session-manager/lib/worktree.sh | 65 | # Check if worktree already exists | COMMENT |
| LOW | skills/project-session-manager/lib/worktree.sh | 106 | # Check if worktree already exists | COMMENT |
| LOW | skills/project-session-manager/lib/worktree.sh | 151 | # Check if worktree already exists | COMMENT |
| LOW | skills/project-session-manager/lib/parse.sh | 147 | # Check if input matches a configured Jira project | COMMENT |
| LOW | skills/project-session-manager/lib/tmux.sh | 4 | # Check if tmux is available | COMMENT |
| LOW | skills/project-session-manager/lib/tmux.sh | 20 | # Check if session already exists | COMMENT |
| LOW | skills/project-session-manager/lib/tmux.sh | 186 | # Check if a tmux session exists | COMMENT |
| LOW | …lls/project-session-manager/lib/providers/interface.sh | 14 | # Check if a provider is available (CLI installed) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test-pr25.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/find-node.sh | 1 | #!/bin/sh | COMMENT |
| LOW | .github/FUNDING.yml | 1 | # GitHub Sponsors configuration | COMMENT |
| LOW | .github/workflows/upgrade-test.yml | 41 | # Keep Claude Code installed in CI so the upgrade path still runs in a | COMMENT |
| LOW | .github/workflows/upgrade-test.yml | 101 | # Establishes the "old version" baseline before `omc update` is run. | COMMENT |
| LOW | .github/workflows/upgrade-test.yml | 161 | echo "Expected version 4.9.3, got: $INSTALLED_VERSION" | COMMENT |
| LOW | .github/workflows/ci.yml | 261 | exit 1 | COMMENT |
| LOW | skills/project-session-manager/lib/parse.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/features/delegation-enforcer.ts | 21 | COMMENT | |
| LOW | src/team/conflict-mailbox.ts | 1 | // src/team/conflict-mailbox.ts | COMMENT |
| LOW | src/team/worker-commit-cadence.ts | 1 | // src/team/worker-commit-cadence.ts | COMMENT |
| LOW | src/team/merge-orchestrator.ts | 1 | // src/team/merge-orchestrator.ts | COMMENT |
| LOW | src/team/merge-orchestrator.ts | 21 | // M6: persisted SHA state + restart recovery. | COMMENT |
| LOW | src/team/merge-orchestrator.ts | 41 | // page the leader. This keeps the leader inbox actionable instead of a | COMMENT |
| LOW | src/team/__tests__/worktree-runtime-e2e.test.ts | 61 | COMMENT | |
| LOW | src/team/__tests__/helpers/git-fixture.ts | 1 | // src/team/__tests__/helpers/git-fixture.ts | COMMENT |
| LOW | src/hooks/bridge.ts | 2401 | COMMENT | |
| LOW | src/hooks/keyword-detector/index.ts | 641 | // But a quoted keyword paired with a nearby execution directive OR | COMMENT |
| LOW | src/hooks/persistent-mode/index.ts | 941 | return null; | COMMENT |
| LOW | src/lib/worktree-paths.ts | 1041 | * @returns The worktree root (never a subdirectory) | COMMENT |
| LOW | src/hud/transcript.ts | 601 | // | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | seminar/demos/demo-2-ultrawork.md | 126 | const user = createUser("John Doe"); | CODE |
| LOW | …s/python-repl/__tests__/bridge-manager-cleanup.test.ts | 81 | fs.writeFileSync(getBridgeSocketPath(sessionId), 'placeholder', 'utf-8'); | CODE |
| LOW | …s/python-repl/__tests__/bridge-manager-cleanup.test.ts | 103 | fs.writeFileSync(getBridgeSocketPath(sessionId), 'placeholder', 'utf-8'); | CODE |
| LOW | …s/python-repl/__tests__/bridge-manager-cleanup.test.ts | 128 | fs.writeFileSync(getBridgeSocketPath(sessionId), 'placeholder', 'utf-8'); | CODE |
| LOW | src/__tests__/resolve-transcript-path.test.ts | 186 | GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', | CODE |
| LOW | src/__tests__/resolve-transcript-path.test.ts | 187 | GIT_COMMITTER_NAME: 'test', GIT_COMMITTER_EMAIL: 'test@test.com', | CODE |
| LOW | src/__tests__/worktree-metadata-locking.test.ts | 14 | execFileSync('git', ['config', 'user.email', 'test@test.com'], { cwd: repoDir, stdio: 'pipe' }); | CODE |
| LOW | src/team/__tests__/multirepo-workspace-team.test.ts | 45 | execFileSync('git', ['config', 'user.email', 'test@test.com'], { cwd: api, stdio: 'pipe' }); | CODE |
| LOW | src/team/__tests__/git-worktree.test.ts | 25 | execFileSync('git', ['config', 'user.email', 'test@test.com'], { cwd: repoDir, stdio: 'pipe' }); | CODE |
| LOW | src/team/__tests__/merge-coordinator.test.ts | 17 | execFileSync('git', ['config', 'user.email', 'test@test.com'], { cwd: repoDir, stdio: 'pipe' }); | CODE |
| LOW | src/team/__tests__/merge-coordinator.test.ts | 148 | execFileSync('git', ['config', 'user.email', 'test@test.com'], { cwd: repoDir, stdio: 'pipe' }); | CODE |
| LOW | src/lib/__tests__/mode-state-io.test.ts | 136 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/mode-state-io.test.ts | 142 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/worktree-paths.test.ts | 311 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/worktree-paths.test.ts | 317 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/worktree-paths.test.ts | 500 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/worktree-paths.test.ts | 536 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| LOW | src/lib/__tests__/worktree-paths.test.ts | 544 | env: { ...process.env, GIT_AUTHOR_NAME: 'test', GIT_AUTHOR_EMAIL: 'test@test.com', GIT_COMMITTER_NAME: 'test', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/uninstall.sh | 103 | # Create a backup | COMMENT |
| MEDIUM | skills/project-session-manager/lib/worktree.sh | 54 | # Create a worktree for PR review | COMMENT |
| MEDIUM | skills/project-session-manager/lib/worktree.sh | 93 | # Create a worktree for issue fix | COMMENT |
| MEDIUM | skills/project-session-manager/lib/worktree.sh | 138 | # Create a worktree for feature development | COMMENT |
| MEDIUM | skills/project-session-manager/lib/tmux.sh | 9 | # Create a tmux session | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/setup.sh | 101 | except Exception as e: | CODE |
| MEDIUM | benchmark/run_benchmark.py | 32 | print("Error: datasets library not installed. Run: pip install datasets") | CODE |
| LOW | benchmark/run_benchmark.py | 196 | except Exception as e: | CODE |
| LOW | benchmark/run_benchmark.py | 324 | except Exception as e: | CODE |
| LOW | benchmark/run_benchmark.py | 365 | except Exception as e: | CODE |
| LOW | benchmark/run_benchmark.py | 407 | except Exception as e: | CODE |
| LOW | benchmark/run_benchmark.py | 416 | except Exception as e: | CODE |
| LOW | benchmark/run_benchmark.py | 466 | except Exception as e: | CODE |
| LOW⚡ | bridge/gyoshu_bridge.py | 289 | except Exception: | CODE |
| LOW⚡ | bridge/gyoshu_bridge.py | 925 | except Exception as e: | CODE |
| LOW⚡ | bridge/gyoshu_bridge.py | 1132 | except Exception as e: | CODE |
| LOW⚡ | bridge/gyoshu_bridge.py | 1138 | except Exception: | CODE |
| LOW | bridge/gyoshu_bridge.py | 683 | except Exception as e: | CODE |
| LOW | bridge/gyoshu_bridge.py | 1005 | except Exception: | CODE |
| LOW | bridge/gyoshu_bridge.py | 1094 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/run_benchmark.py | 263 | CODE | |
| LOW | benchmark/run_benchmark.py | 369 | CODE | |
| LOW | benchmark/run_benchmark.py | 431 | CODE | |
| LOW | benchmark/analyze_failures.py | 435 | CODE | |
| LOW | benchmark/compare_results.py | 29 | CODE | |
| LOW | benchmark/compare_results.py | 127 | CODE | |
| LOW | benchmark/evaluate.py | 30 | CODE | |
| LOW | benchmark/evaluate.py | 201 | CODE | |
| LOW | bridge/gyoshu_bridge.py | 245 | CODE | |
| LOW | bridge/gyoshu_bridge.py | 1012 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmark/evaluate.py | 149 | # Build command for swebench harness | COMMENT |
| MEDIUM | skills/self-improve/scripts/validate.sh | 251 | # from harness.md). validate.sh only checks structural schema, not taxonomy. | COMMENT |
| MEDIUM | src/hooks/keyword-detector/index.ts | 815 | // robust to surrounding whitespace, namespace prefixes (`/omc:`, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills/configure-notifications/SKILL.md | 88 | 2. Visit: https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/run_benchmark.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmark/analyze_failures.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmark/compare_results.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmark/evaluate.py | 27 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/hooks/__tests__/workflow-drift-guard-script.test.ts | 85 | writeFileSync(join(cwd, 'index.ts'), 'export function next() {\n // TODO: implement follow-up\n return 1;\n}\n'); | CODE |
| LOW | src/hooks/__tests__/workflow-drift-guard-script.test.ts | 105 | ' // TODO: implement blocker', | CODE |
| LOW | src/hooks/__tests__/workflow-drift-guard-script.test.ts | 121 | writeFileSync(join(cwd, 'index.ts'), 'export function next() {\n // TODO: implement follow-up\n return 1;\n}\n'); | CODE |
| LOW | src/hooks/__tests__/workflow-drift-guard-script.test.ts | 139 | 'const sampleTodo = "// TODO: implement fixture";', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/setup-progress.sh | 3 | # Usage: | COMMENT |
| LOW | skills/self-improve/scripts/validate.sh | 3 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/run_benchmark.py | 27 | CODE | |
| LOW | benchmark/evaluate.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/hooks.json | 89 | "message": "REMINDER: Don't forget to write tests for this new file. Use the /tdd command for test-driven deve | CODE |
| LOW | src/features/model-routing/prompts/haiku.ts | 47 | .replace(/don't forget to\s+/gi, '') | CODE |