Generate code from the terminal!
This report presents the forensic synthetic code analysis of CodebuffAI/codebuff, a TypeScript project with 7,555 GitHub stars. SynthScan v2.0 examined 225,656 lines of code across 1191 source files, recording 381 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 2.3 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 381 distinct pattern matches across 17 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 | evals/buffbench/eval-plane.json | 380 | "diff": "Index: apps/api/plane/app/serializers/page.py\n====================================================== | CODE |
| LOW | evals/buffbench/eval-plane.json | 405 | "diff": "Index: apps/api/plane/utils/content_validator.py\n=================================================== | CODE |
| LOW | evals/buffbench/eval-plane.json | 656 | "diff": "Index: apps/api/plane/app/views/page/base.py\n======================================================= | CODE |
| LOW | evals/buffbench/eval-plane.json | 666 | "diff": "Index: apps/api/plane/tests/unit/bg_tasks/test_copy_s3_objects.py\n================================== | CODE |
| LOW | evals/buffbench/eval-plane.json | 701 | "diff": "Index: packages/editor/src/core/helpers/find-suggestion-match.ts\n=================================== | CODE |
| LOW | evals/buffbench/eval-plane.json | 778 | "diff": "Index: packages/editor/src/core/extensions/table/table/table-view.tsx\n============================== | CODE |
| LOW | evals/buffbench/eval-plane.json | 1359 | "diff": "Index: apps/api/plane/tests/unit/utils/test_url.py\n================================================= | CODE |
| LOW⚡ | evals/buffbench/eval-plane.json | 1675 | "diff": "Index: apiserver/plane/tests/contract/app/test_project_app.py\n====================================== | CODE |
| LOW | evals/buffbench/eval-manifold.json | 214 | "diff": "Index: common/src/api/market-types.ts\n============================================================== | CODE |
| LOW | evals/buffbench/eval-manifold.json | 224 | "diff": "Index: common/src/tier.ts\n===================================================================\n--- c | CODE |
| LOW | evals/buffbench/eval-manifold.json | 384 | "spec": "Implement probability-based user metric updates for contracts without recent betting activity and optimiz | CODE |
| LOW | evals/buffbench/eval-manifold.json | 431 | "diff": "Index: backend/shared/src/update-contract-metrics-core.ts\n========================================== | CODE |
| LOW | evals/buffbench/eval-manifold.json | 748 | "diff": "Index: .cursor/rules/general-knowledge.mdc\n========================================================= | CODE |
| LOW | evals/buffbench/eval-manifold.json | 1027 | "diff": "Index: backend/shared/src/update-user-metrics-with-bets.ts\n========================================= | CODE |
| LOW | evals/buffbench/eval-manifold.json | 1425 | "spec": "Implement profit restoration on unresolve by reverting each user's contract metric profit to the previous | CODE |
| LOW | evals/buffbench/setup-test-repo.ts | 41 | async function executeGitCommandWithRetry( | CODE |
| LOW | evals/buffbench/gen-evals.ts | 33 | async function extractFileDiffsFromCommit( | CODE |
| LOW | …ts/reviewer/multi-prompt/code-reviewer-multi-prompt.ts | 11 | export function createCodeReviewerMultiPrompt(): Omit< | CODE |
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 279 | function verifyToolCallPairIntegrity(messages: Message[]) { | CODE |
| LOW | agents/e2e/base2-free-summary-format.e2e.test.ts | 115 | function createSummarizedConversation(): Message { | CODE |
| LOW | agents/e2e/base2-free-summary-format.e2e.test.ts | 177 | function createComplexMidTurnPrunedConversation(): Message[] { | CODE |
| LOW | agents/base2/base-deep.ts | 104 | function buildDeepInstructionsPrompt(noAskUser: boolean, noLearning: boolean): string { | CODE |
| LOW | agents/base2/base2.ts | 432 | function buildImplementationInstructionsPrompt({ | CODE |
| LOW | agents/base2/base2.ts | 491 | function buildImplementationStepPrompt({ | CODE |
| LOW | agents/base2/base2.ts | 528 | function buildPlanOnlyInstructionsPrompt({}: {}) { | CODE |
| LOW | cli/release-core/launcher.js | 85 | function shouldExitAlternateScreen(code, signal) { | CODE |
| LOW | cli/release-core/launcher.js | 369 | function getBaselineFallbackTargetKey() { | CODE |
| LOW | cli/release-core/launcher.js | 375 | function isTargetAllowedForThisMachine(target) { | CODE |
| LOW | cli/release-core/launcher.js | 1028 | function printBaselineOverrideHint() { | CODE |
| LOW | cli/scripts/build-binary.ts | 293 | async function ensureOpenTuiNativeBundle(targetInfo: TargetInfo) { | CODE |
| LOW | cli/scripts/prebuild-agents.ts | 92 | function generateBundledAgentsFile(agents: Record<string, AgentDefinition>): string { | CODE |
| LOW | cli/scripts/prebuild-agents.ts | 116 | export function getBundledAgentsAsLocalInfo(): LocalAgentInfo[] { | CODE |
| LOW | cli/src/agents/bundled-agents.generated.d.ts | 12 | export declare function getBundledAgentsAsLocalInfo(): LocalAgentInfo[] | CODE |
| LOW | cli/src/utils/freebuff-model-navigation.ts | 27 | export function freebuffModelNavigationDirectionForKey(key: { | CODE |
| LOW | cli/src/utils/freebuff-premium-reset.ts | 6 | export function getFreebuffPremiumResetAt(params: { | CODE |
| LOW | cli/src/utils/freebuff-premium-reset.ts | 34 | export function formatFreebuffPremiumResetCountdown( | CODE |
| LOW | cli/src/utils/bash-messages.ts | 7 | export function createRunTerminalToolResult(params: { | CODE |
| LOW | cli/src/utils/bash-messages.ts | 77 | export function formatBashContextForPrompt( | CODE |
| LOW | cli/src/utils/run-state-storage.ts | 55 | export function clearLiveChatStateProvider(ownerId: string): void { | CODE |
| LOW | cli/src/utils/run-state-storage.ts | 122 | export function getAllToggleIdsFromMessages(messages: ChatMessage[]): string[] { | CODE |
| LOW | cli/src/utils/run-state-storage.ts | 139 | export function setChatDirOverrideForTesting(dir: string | undefined): void { | CODE |
| LOW | cli/src/utils/keypad-keys.ts | 31 | export function getKeypadPrintableSequence(key: KeypadKey): string | null { | CODE |
| LOW | cli/src/utils/word-wrap-utils.ts | 37 | export function calculateNewCursorPosition(params: { | CODE |
| LOW | cli/src/utils/clipboard.ts | 13 | export function registerClipboardRenderer(renderer: Record<string, unknown>): void { | CODE |
| LOW | cli/src/utils/clipboard.ts | 17 | export function unregisterClipboardRenderer(): void { | CODE |
| LOW | cli/src/utils/clipboard.ts | 33 | export function subscribeClipboardMessages( | CODE |
| LOW | cli/src/utils/terminal-watchdog.ts | 65 | export function getTerminalWatchdogDiagnostics() { | CODE |
| LOW | cli/src/utils/theme-system.ts | 784 | function detectWindowsPowerShellTheme(): ThemeName | null { | CODE |
| LOW | cli/src/utils/terminal-images.ts | 17 | export function detectTerminalImageSupport( | CODE |
| LOW | cli/src/utils/terminal-images.ts | 120 | function generateKittyImageSequence( | CODE |
| LOW | cli/src/utils/terminal-images.ts | 216 | export function getImageSupportDescription(): string { | CODE |
| LOW | cli/src/utils/pending-attachments.ts | 186 | export async function validateAndAddImage( | CODE |
| LOW | cli/src/utils/pending-attachments.ts | 352 | export function capturePendingAttachments(): PendingAttachment[] { | CODE |
| LOW | cli/src/utils/keyboard-actions.ts | 119 | export function resolveChatKeyboardAction( | CODE |
| LOW | cli/src/utils/keyboard-actions.ts | 359 | export function createDefaultChatKeyboardState(): ChatKeyboardState { | CODE |
| LOW | cli/src/utils/usage-banner-state.ts | 68 | export function generateLoadingBannerText(sessionCreditsUsed: number): string { | CODE |
| LOW | cli/src/utils/renderer-cleanup.ts | 86 | export function installProcessCleanupHandlers(cliRenderer: CliRenderer): void { | CODE |
| LOW | cli/src/utils/chatgpt-oauth.ts | 244 | export async function exchangeChatGptCodeForTokens( | CODE |
| LOW | cli/src/utils/clipboard-image.ts | 318 | export function getFileOrFolderPathFromText(text: string, cwd: string): { path: string; isDirectory: boolean } | null { | CODE |
| LOW | cli/src/utils/clipboard-image.ts | 406 | function readClipboardFilePathMacOS(): string | null { | CODE |
| 175 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 500 | // Step 1: CALIBRATION RUN — measure true token count with 200k limit (no pruning) | COMMENT |
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 552 | // Step 2: TEST RUN — same content with 100k limit | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 317 | // Step 1: Set "fresh" data | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 321 | // Step 2: Invalidate to simulate staleness (sets dataUpdatedAt to 0) | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 921 | // Step 1: Simulate first fetch failure setting retry count to 1 | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 925 | // Step 2: OLD CODE would call clearRetryState here, which resets count to 0: | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 931 | // Step 3: When the retry fires after 1s, it reads count as 0 | COMMENT |
| LOW | …l-agents-dir/examples/02-intermediate-git-committer.ts | 30 | // Step 1: Run git diff and git log to analyze changes. | COMMENT |
| LOW | …l-agents-dir/examples/02-intermediate-git-committer.ts | 49 | // Step 2: Put words in AI's mouth so it will read files next. | COMMENT |
| LOW⚡ | …l-agents-dir/examples/02-intermediate-git-committer.ts | 60 | // Step 3: Let AI generate a step to decide which files to read. | COMMENT |
| LOW⚡ | …l-agents-dir/examples/02-intermediate-git-committer.ts | 63 | // Step 4: Put words in AI's mouth to analyze the changes and create a commit. | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 175 | // Step 1: Clean and Build | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 180 | // Step 2: TypeScript Check | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 183 | // Step 3: Smoke Test | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 186 | // Step 4: Compatibility Tests | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 383 | // Step 1: Read files and capture initial state | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 391 | // Step 2: Search for patterns based on file content | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 399 | // Step 3: Create a plan based on findings | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 410 | // Step 4: Add subgoal for tracking | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 423 | // Step 5: Write analysis file | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 435 | // Step 6: Update subgoal status | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 447 | // Step 7: Set final output with comprehensive data | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 461 | // Step 8: Transition to STEP_ALL to continue processing | COMMENT |
| LOW⚡ | …ckages/agent-runtime/src/__tests__/n-parameter.test.ts | 308 | // Step 1: Request multiple generations | COMMENT |
| LOW⚡ | …ckages/agent-runtime/src/__tests__/n-parameter.test.ts | 312 | // Step 2: Use the responses | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 650 | // Step 1: Should have received tool result with unified diff | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 661 | // Step 2: Should have received tool result with unified diff | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 672 | // Step 3: Should have received tool result with unified diff for new file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 500 | // Step 1: CALIBRATION RUN — measure true token count with 200k limit (no pruning) | COMMENT |
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 552 | // Step 2: TEST RUN — same content with 100k limit | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 317 | // Step 1: Set "fresh" data | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 321 | // Step 2: Invalidate to simulate staleness (sets dataUpdatedAt to 0) | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 921 | // Step 1: Simulate first fetch failure setting retry count to 1 | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 925 | // Step 2: OLD CODE would call clearRetryState here, which resets count to 0: | COMMENT |
| LOW⚡ | cli/src/hooks/__tests__/use-activity-query.test.ts | 931 | // Step 3: When the retry fires after 1s, it reads count as 0 | COMMENT |
| LOW | …l-agents-dir/examples/02-intermediate-git-committer.ts | 30 | // Step 1: Run git diff and git log to analyze changes. | COMMENT |
| LOW | …l-agents-dir/examples/02-intermediate-git-committer.ts | 49 | // Step 2: Put words in AI's mouth so it will read files next. | COMMENT |
| LOW⚡ | …l-agents-dir/examples/02-intermediate-git-committer.ts | 60 | // Step 3: Let AI generate a step to decide which files to read. | COMMENT |
| LOW⚡ | …l-agents-dir/examples/02-intermediate-git-committer.ts | 63 | // Step 4: Put words in AI's mouth to analyze the changes and create a commit. | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 175 | // Step 1: Clean and Build | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 180 | // Step 2: TypeScript Check | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 183 | // Step 3: Smoke Test | COMMENT |
| LOW⚡ | sdk/scripts/verify.ts | 186 | // Step 4: Compatibility Tests | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 383 | // Step 1: Read files and capture initial state | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 391 | // Step 2: Search for patterns based on file content | COMMENT |
| LOW⚡ | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 399 | // Step 3: Create a plan based on findings | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 410 | // Step 4: Add subgoal for tracking | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 423 | // Step 5: Write analysis file | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 435 | // Step 6: Update subgoal status | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 447 | // Step 7: Set final output with comprehensive data | COMMENT |
| LOW | …nt-runtime/src/__tests__/run-programmatic-step.test.ts | 461 | // Step 8: Transition to STEP_ALL to continue processing | COMMENT |
| LOW⚡ | …ckages/agent-runtime/src/__tests__/n-parameter.test.ts | 308 | // Step 1: Request multiple generations | COMMENT |
| LOW⚡ | …ckages/agent-runtime/src/__tests__/n-parameter.test.ts | 312 | // Step 2: Use the responses | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 650 | // Step 1: Should have received tool result with unified diff | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 661 | // Step 2: Should have received tool result with unified diff | COMMENT |
| LOW | …ages/agent-runtime/src/__tests__/propose-tools.test.ts | 672 | // Step 3: Should have received tool result with unified diff for new file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agents/e2e/context-pruning-threshold.e2e.test.ts | 481 | // the token counting API is over-reporting (30% buffer or fallback bug). | COMMENT |
| LOW | cli/scripts/smoke-binary.ts | 61 | COMMENT | |
| LOW | cli/scripts/smoke-binary.ts | 81 | ] as const | COMMENT |
| LOW | cli/src/app.tsx | 301 | const { session, error: sessionError } = useFreebuffSession() | COMMENT |
| LOW | cli/src/pre-init/tree-sitter-wasm.ts | 1 | // Find tree-sitter.wasm so the SDK's tree-sitter parser singleton can load | COMMENT |
| LOW | cli/src/pre-init/tree-sitter-wasm.ts | 21 | COMMENT | |
| LOW | cli/src/utils/run-state-storage.ts | 241 | COMMENT | |
| LOW | cli/src/components/freebuff-landing-screen.tsx | 321 | // height we show the compact wordmark so more models fit without scrolling. | COMMENT |
| LOW | cli/src/components/freebuff-model-selector.tsx | 61 | // "Premium"/"Unlimited" chip. The PREMIUM header carries the shared quota | COMMENT |
| LOW | cli/src/hooks/use-freebuff-session.ts | 541 | // `setSelectedModel` doesn't persist, so the user's saved preference | COMMENT |
| LOW | cli/src/hooks/use-send-message.ts | 481 | runState: latestRunStateSnapshot, | COMMENT |
| LOW | common/src/tools/params/tool/set-output.ts | 1 | import z from 'zod/v4' | COMMENT |
| LOW | common/src/types/dynamic-agent-template.ts | 241 | // if ( | COMMENT |
| LOW | common/src/types/dynamic-agent-template.ts | 261 | // data.outputMode !== 'structured_output' | COMMENT |
| LOW | common/src/util/messages.ts | 101 | AuxiliaryMessageData | COMMENT |
| LOW | common/src/constants/analytics-events.ts | 1 | /** | COMMENT |
| LOW | common/src/constants/analytics-events.ts | 201 | // (both low-volume per-referral transitions). The "why is this still pending" | COMMENT |
| LOW | common/src/constants/analytics-events.ts | 241 | COMMENT | |
| LOW | common/src/testing/index.ts | 81 | // used together with other testing utilities. | COMMENT |
| LOW | scripts/tmux/tmux-capture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/tmux/tmux-capture.sh | 21 | # -e, --end LINE End capture at this line (default: -) | COMMENT |
| LOW | scripts/tmux/tmux-capture.sh | 41 | # | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 21 | # --wait SECONDS Seconds to wait for app to initialize (default: 4) | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 41 | # # Output: tui-test-1234567890 | COMMENT |
| LOW | scripts/tmux/tmux-stop.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/tmux/tmux-stop.sh | 21 | # | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 21 | # ARGUMENTS: | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 41 | # Max wait time is 120 seconds to prevent infinite loops. | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 61 | # # Paste clipboard content and submit immediately | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 261 | COMMENT | |
| LOW | scripts/tmux/tmux-cli.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/tmux/tmux-cli.sh | 21 | # list List all active tmux sessions | COMMENT |
| LOW | scripts/tmux/tmux-cli.sh | 41 | # | COMMENT |
| LOW | scripts/tmux/tmux-cli.sh | 61 | # # Get help for a specific command | COMMENT |
| LOW | packages/agent-runtime/src/run-programmatic-step.ts | 501 | input: toolCallToExecute.input, | COMMENT |
| LOW | packages/agent-runtime/src/tools/stream-parser.ts | 341 | } | COMMENT |
| LOW | …/agent-runtime/src/tools/handlers/tool/spawn-agents.ts | 241 | parentAgentState.creditsUsed += subAgentCredits | COMMENT |
| LOW | …gent-runtime/src/system-prompt/search-system-prompt.ts | 81 | // systemPromptTokens: countTokensJson(systemPrompt), | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | evals/buffbench/eval-plane.json | 390 | "diff": "Index: apps/api/plane/app/serializers/workspace.py\n================================================= | CODE |
| CRITICAL | cli/src/utils/sdk-event-handlers.ts | 134 | state.streaming.streamRefs.state.rootStreamBuffer.includes('</PLAN>') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | evals/buffbench/eval-plane.json | 727 | "diff": "Index: apps/api/plane/app/views/project/base.py\n==================================================== | CODE |
| MEDIUM | evals/buffbench/eval-plane.json | 1359 | "diff": "Index: apps/api/plane/tests/unit/utils/test_url.py\n================================================= | CODE |
| MEDIUM⚡ | evals/buffbench/eval-plane.json | 1670 | "diff": "Index: apiserver/plane/tests/conftest.py\n=========================================================== | CODE |
| MEDIUM⚡ | evals/buffbench/eval-plane.json | 1675 | "diff": "Index: apiserver/plane/tests/contract/app/test_project_app.py\n====================================== | CODE |
| MEDIUM | agents/base2/base2.ts | 549 | ## Creating a spec | COMMENT |
| MEDIUM | cli/scripts/test-sdk-file-hooks.sh | 47 | # Create a temporary SDK file to trigger the hooks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 185 | apiKey: 'your-api-key', | CODE |
| HIGH | README.zh-CN.md | 120 | apiKey: 'your-api-key', | CODE |
| HIGH | evals/buffbench/README.md | 416 | CODEBUFF_API_KEY=your-api-key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | sdk/test/tree-sitter-queries/test-query-files.js | 40 | return False | CODE |
| HIGH⚡ | sdk/test/tree-sitter-queries/test-query-files.js | 42 | return True | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | evals/logger.ts | 19 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | evals/logger.ts | 21 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/utils/logger.ts | 84 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cli/src/utils/logger.ts | 86 | // ────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | evals/buffbench/eval-plane.json | 1675 | "diff": "Index: apiserver/plane/tests/contract/app/test_project_app.py\n====================================== | CODE |
| MEDIUM | sdk/src/tools/code-search.ts | 64 | // Use JSON output for robust parsing and early stopping | COMMENT |
| MEDIUM | scripts/tmux/tmux-viewer/components/theme.ts | 48 | // This is a simple heuristic - a more robust solution would use OSC detection | COMMENT |
| MEDIUM | …nt-runtime/src/find-files/custom-file-picker-config.ts | 21 | // Add a more robust check to ensure the array is suitable for z.enum | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | evals/buffbench/eval-plane.json | 1675 | "diff": "Index: apiserver/plane/tests/contract/app/test_project_app.py\n====================================== | CODE |
| LOW | agents/tmux-cli.ts | 188 | # Check if session is alive | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 106 | # Check if next arg is a path (not another flag or missing) | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 188 | # Check if tmux is available | COMMENT |
| LOW | scripts/tmux/tmux-start.sh | 262 | # Output result | COMMENT |
| LOW | scripts/tmux/tmux-stop.sh | 129 | # Check if session name was provided | COMMENT |
| LOW | scripts/tmux/tmux-send.sh | 240 | # Check if text was provided | COMMENT |
| LOW | scripts/tmux/tmux-cli.sh | 110 | # Check if output looks like JSON | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | evals/buffbench/eval-manifold.json | 1665 | "diff": "Index: web/components/ai-forecast.tsx\n============================================================== | CODE |
| HIGH | evals/buffbench/pick-commits.ts | 83 | - Auto-generated code (generated files, build outputs) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agents/browser-use/browser-use.test.ts | 44 | 'Navigate to https://httpbin.org/forms/post and fill out the form with: customer name "Test User", telephone "555- | CODE |
| LOW | agents/e2e/file-explorer.e2e.test.ts | 42 | return { id, name: 'John Doe' } | CODE |
| LOW | agents/e2e/file-explorer.e2e.test.ts | 269 | return { id, name: 'John Doe' } | CODE |
| LOW | cli/src/__tests__/integration/api-integration.test.ts | 75 | JSON.stringify({ id: 'user', email: 'user@example.com' }), | CODE |
| LOW | …/hooks/__tests__/use-suggestion-engine-mention.test.ts | 58 | const result = parseAtInLine('user@example.com') | CODE |
| LOW | sdk/src/__tests__/database.test.ts | 65 | return new Response(JSON.stringify({ email: 'user@example.com' }), { | CODE |
| LOW | sdk/src/__tests__/database.test.ts | 88 | expect(second).toEqual({ email: 'user@example.com' }) | CODE |
| LOW | sdk/src/__tests__/database.test.ts | 95 | expect(third).toEqual({ id: 'user-123', email: 'user@example.com' }) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cli/src/hooks/__tests__/use-directory-browser.test.ts | 109 | // In this implementation, ~user is not specially handled | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agents/types/tools.ts | 424 | /** List of todos with their completion status. Add ALL of the applicable tasks to the list, so you don't forget to do | COMMENT |
| LOW | agents/file-explorer/file-lister-max.ts | 12 | - List out the full paths of 20 files that are relevant to the prompt, separated by newlines. Each file path is relative | CODE |
| LOW | agents/file-explorer/file-lister.ts | 37 | - List out the full paths of 12 files that are relevant to the prompt, separated by newlines. Each file path is relative | CODE |
| LOW | common/src/tools/params/tool/write-todos.ts | 22 | "List of todos with their completion status. Add ALL of the applicable tasks to the list, so you don't forget to | CODE |
| LOW | common/src/templates/initial-agents-dir/types/tools.ts | 424 | /** List of todos with their completion status. Add ALL of the applicable tasks to the list, so you don't forget to do | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sdk/test/tree-sitter-queries/test-query-files.js | 47 | def process_data(items: List[str]) -> List[str]: | CODE |
| LOW | sdk/e2e/examples/sdk-refactor.example.ts | 11 | function processData(data) { | CODE |
| LOW | sdk/src/__tests__/code-search.test.ts | 145 | createRgJsonContext('code.ts', 5, 'function processData() {'), | CODE |
| LOW | sdk/src/__tests__/code-search.test.ts | 160 | expect(value.stdout).toContain('function processData() {') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/src/__tests__/code-search.test.ts | 146 | createRgJsonMatch('code.ts', 6, ' // TODO: implement this'), | CODE |