Repository Analysis

cloudflare/agents

Build and deploy AI Agents on Cloudflare

6.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cloudflare/agents, a TypeScript project with 5,257 GitHub stars. SynthScan v2.0 examined 549,777 lines of code across 2066 source files, recording 1387 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 6.0 places this repository in the Low AI signal 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).

6.0
Adjusted Score
6.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.3K
Stars
TypeScript
Language
549.8K
Lines of Code
2.1K
Files
1.4K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 3MEDIUM 915LOW 469

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 1387 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators870 hits · 2592 pts
SeverityFileLineSnippetContext
MEDIUMdesign/rfc-think-multi-session.md120 // ── SQLite schema (managed internally) ──────────────────────────COMMENT
MEDIUMdesign/rfc-think-multi-session.md176 // ── Search-provider hooks (for RemoteSearchProvider) ────────────COMMENT
MEDIUMdesign/rfc-think-multi-session.md188 // ── Spawning chats ──────────────────────────────────────────────COMMENT
MEDIUMdesign/think-sessions.md261 // ── Session ────────────────────────────────────────────────COMMENT
MEDIUMdesign/think-sessions.md274 // ── Override points ────────────────────────────────────────COMMENT
MEDIUMdesign/think-sessions.md328 // ── Dynamic configuration ──────────────────────────────────COMMENT
MEDIUMdesign/think-sessions.md336 // ── Sub-agent RPC ──────────────────────────────────────────COMMENT
MEDIUMdesign/think-sessions.md345 // ── Message access ─────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/client.tsx51// ─── Helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/client.tsx121// ─── Action Queue Panel ────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/client.tsx279// ─── Customer Table ────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/client.tsx334// ─── Chat Panel ────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/client.tsx649// ─── App Root ──────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts20// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts22// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts50// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts55// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts105// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts107// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts120 // ─── Sub-agent access ───────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts126 // ─── Queue table ─────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts145 // ─── State sync ──────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts165 // ─── Gatekeeper API ──────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts247 // ─── Chat ────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-gatekeeper/src/server.ts344// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/client.tsx96// ─── Execution Log ─────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/client.tsx153// ─── Customer Table ────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/client.tsx204// ─── Main ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts50// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts52// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts75// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts77// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts134// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts146// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts178// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts184// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts218// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts220// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts234// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts236// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts249 // ─── Database sub-agent ────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts274 // ─── Tables ──────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts288 // ─── State sync ──────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts300 // ─── Trace delivery (from TailLoopback) ──────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts312 // ─── Code execution via LOADER ───────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts413 // ─── Chat ────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts510// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/e2e/recovery.test.ts369 // ── Settled-tool persist gate against a FOREIGN tool vocabulary ─────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts177 // ── Handshake host state (shared with the streaming/broadcast loop) ─────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts201 // ── Transcript persistence ──────────────────────────────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts340 // ── Model selection (faux default | real Workers AI) ───────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts379 // ── Turn execution (fiber-wrapped so a mid-stream crash is recoverable) ─────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts624 // ── Scheduled recovery callbacks (engine-driven) ────────────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts634 // ── WebSocket wiring: drive the shared ResumeHandshake ──────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts726 // ── Fiber recovery entry: drive the shared engine ───────────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts793 // ── Shared engine adapter ───────────────────────────────────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/tanstack-agent.ts904 // ── Inspection surface (server HTTP → e2e assertions) ───────────────────────COMMENT
MEDIUMexperimental/tanstack-recovery/src/ws-bridge.ts143 // ── internals ──────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gateway-resume-think/src/layer-b.test.ts11// ── helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gateway-resume-think/src/layer-b.test.ts58// ── planResume (Layer-B decision) ──────────────────────────────────────────COMMENT
810 more matches not shown…
Hyper-Verbose Identifiers176 hits · 166 pts
SeverityFileLineSnippetContext
LOWdesign/chat-api.md360async function defaultGetInitialMessagesFetch({ url }: GetInitialMessagesOptions) {CODE
LOWagent-think/src/agent.ts74export function configureAgentThinkSession(CODE
LOWagent-think/src/tools/fs/edit-diff.ts169export function applyEditsToNormalizedContent(CODE
LOWdocs/agents/queue.md218class DataProcessor extends Agent {CODE
LOWguides/anthropic-patterns/src/app.tsx109function getOrCreateSessionId() {CODE
LOWexamples/assistant/src/client.tsx309function shouldShowStreamedTextPart(part: {CODE
LOWexamples/assistant/src/auth.ts180export function createUnauthorizedResponse(request: Request) {CODE
LOWexamples/dynamic-tools/src/client.tsx158function shouldShowStreamedTextPart(part: {CODE
LOWexamples/playground/src/hooks/useUserId.ts6function getOrCreateUserId(): string {CODE
LOWexamples/agents-as-tools/src/client.tsx163function isTerminalAgentToolStatus(CODE
LOWexamples/auth-agent/src/auth.ts180export function createUnauthorizedResponse(request: Request) {CODE
LOWexamples/chat-sdk-messenger/src/client.tsx639 async function resetSelectedConversation() {CODE
LOW…amples/chat-sdk-messenger/src/intelligence/messages.ts14export function conversationNameForThread(thread: Pick<Thread, "id">): string {CODE
LOW…amples/chat-sdk-messenger/src/intelligence/messages.ts55export function extractLatestAssistantText(CODE
LOWexamples/ai-chat/src/client.tsx94function shouldShowStreamedTextPart(part: {CODE
LOWexamples/deploy-churn/src/server.ts386function createSingleTaskMockModel(): LanguageModel {CODE
LOW…pts/vitest/strip-node-modules-source-map-references.ts12export function stripNodeModulesSourceMapReferences(): Plugin {CODE
LOWpackages/think/src/vite.ts274export async function createThinkViteWorkerConfig(CODE
LOWpackages/think/src/vite.ts281export async function createThinkViteWorkerConfigResult(CODE
LOWpackages/think/src/media-eviction.ts65export function resolveMediaEvictionConfig(CODE
LOWpackages/think/src/media-eviction.ts110export function evictLargeMediaFromMessage(CODE
LOWpackages/think/src/think.ts321function shouldMarkSkippedAfterGenerationChange(CODE
LOWpackages/think/src/think.ts393function actionAuthorizationErrorEnvelope(CODE
LOWpackages/think/src/think.ts408function actionApprovalInputErrorEnvelope(): {CODE
LOWpackages/think/src/think.ts419function actionPendingErrorEnvelope(): {CODE
LOWpackages/think/src/think.ts431function actionKeyConflictEnvelope(CODE
LOWpackages/think/src/think.ts480function safeStringifyActionOutput(output: unknown): {CODE
LOWpackages/think/src/think.ts511function prepareActionOutputForModel(output: unknown): unknown {CODE
LOWpackages/think/src/think.ts599function parseDeclaredTaskSchedule(CODE
LOWpackages/think/src/think.ts613function tryParseDeclaredTaskSchedule(CODE
LOWpackages/think/src/think.ts635function parseDeclaredTaskScheduleUnchecked(CODE
LOWpackages/think/src/think.ts968function ensureValidContinueCheckpoint(CODE
LOWpackages/think/src/think.ts1783function isThinkFinalAnswerToolName(name: string): boolean {CODE
LOWpackages/think/src/think.ts1794function thinkFinalAnswerInstruction(toolName: string): string {CODE
LOWpackages/think/src/think.ts2149export function defaultContextOverflowClassifier(CODE
LOWpackages/think/src/server-entry.ts261export function rewriteThinkSubAgentRequest(CODE
LOWpackages/think/src/server-entry.ts268function rewriteThinkSubAgentRequestResult(CODE
LOWpackages/think/src/server-entry.ts320function rewriteThinkAgentPathname(CODE
LOWpackages/think/src/server-entry.ts396function resolveThinkTopLevelAgent(CODE
LOWpackages/think/src/server-entry.ts435function resolveThinkSubAgentRouteAlias(CODE
LOWpackages/think/src/server-entry.ts493function routePrefixToAgentsPrefix(routePrefix = "/agents"): string {CODE
LOWpackages/think/src/server-entry.ts513function requestHasSubAgentSegment(request: Request): boolean {CODE
LOWpackages/think/src/tools/execute.ts375export function truncatePausedExecutionOutput(output: unknown): unknown {CODE
LOWpackages/think/src/tools/fetch.ts856function normalizeAllowlistPattern(pattern: string): string {CODE
LOWpackages/think/src/framework/project.ts135export async function createThinkProjectWorkerConfigResult(CODE
LOWpackages/think/src/framework/codegen.ts4export function generateThinkAgentsModule(CODE
LOWpackages/think/src/framework/codegen.ts41export function generateThinkManifestModule(CODE
LOWpackages/think/src/framework/codegen.ts47export function generateThinkConfigModule(CODE
LOWpackages/think/src/framework/codegen.ts53export function generateThinkRouterModule(CODE
LOWpackages/think/src/framework/codegen.ts65export function generateThinkServerEntryModule(): string {CODE
LOWpackages/think/src/framework/discovery.ts240function discoverConventionFeatureSources(CODE
LOWpackages/think/src/framework/discovery.ts314function discoverDeterministicPlatformRequirements(CODE
LOWpackages/think/src/framework/config.ts37export function createThinkWorkerDefaults(CODE
LOWpackages/think/src/framework/config.ts153export function diagnoseThinkWorkerConfig(CODE
LOWpackages/think/src/framework/config.ts333function mergeDurableObjectBindings(CODE
LOWpackages/think/src/framework/config.ts515function findUnsupportedNestedSubAgents(CODE
LOWpackages/think/src/tests/message-reconciliation.test.ts138function makeClientOptimisticAssistant(id: string): UIMessage {CODE
LOWpackages/think/src/tests/streaming-message-id.test.ts40function runTurnAndCollectStartChunks(CODE
LOWpackages/think/src/tests/client-tools.test.ts223async function waitForOverlappingSubmits(CODE
LOWpackages/think/src/tests/think-session.test.ts137async function freshConfigInSessionAgent(name: string) {CODE
116 more matches not shown…
Structural Annotation Overuse76 hits · 134 pts
SeverityFileLineSnippetContext
LOWdocs/agents/workflows.md69 // Step 1: Process dataCOMMENT
LOWdocs/agents/workflows.md82 // Step 2: Save resultsCOMMENT
LOWdocs/agents/human-in-the-loop.md68 // Step 1: Validate the expenseCOMMENT
LOWdocs/agents/human-in-the-loop.md73 // Step 2: Wait for manager approvalCOMMENT
LOWdocs/agents/human-in-the-loop.md87 // Step 3: Process the approved expenseCOMMENT
LOWdocs/agents/mcp-transports.md93#### Step 1: Define your MCP serverCOMMENT
LOWdocs/agents/mcp-transports.md129#### Step 2: Connect your Agent to the MCP serverCOMMENT
LOWdocs/agents/mcp-transports.md160#### Step 3: Configure Durable Object bindingsCOMMENT
LOWdocs/agents/mcp-transports.md181#### Step 4: Set up your Worker fetch handlerCOMMENT
LOWexamples/workflows/src/server.ts438 // Step 1: ValidateCOMMENT
LOWexamples/workflows/src/server.ts460 // Step 2: ProcessCOMMENT
LOWexamples/workflows/src/server.ts486 // Step 3: Wait for human approvalCOMMENT
LOWexamples/workflows/src/server.ts511 // Step 4: FinalizeCOMMENT
LOWpackages/agents/README.md361 // Step 1: Validate (retries automatically on failure)COMMENT
LOWpackages/agents/README.md366 // Step 2: Wait for human approvalCOMMENT
LOWpackages/agents/README.md370 // Step 3: Process the approved orderCOMMENT
LOWpackages/agents/src/tests/test-workflow.ts36 // Step 1: Report start (non-durable)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts44 // Step 2: If waiting for approval, pause and wait for eventCOMMENT
LOWpackages/agents/src/tests/test-workflow.ts66 // Step 3: Process the task (non-durable progress report)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts85 // Step 4: Call agent method via RPC (if agent is available)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts96 // Step 5: Broadcast to clients (non-durable)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts103 // Step 6: Report completion (durable via step)COMMENT
LOWpackages/agents/src/tests/agents/migration.ts79 // Step 1: Add missing columns (same as constructor)COMMENT
LOWpackages/agents/src/tests/agents/migration.ts104 // Step 2: Recreate table if CHECK constraint is missing 'interval'COMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts186 // Step 1: Open observer WebSocket and wait for it to be establishedCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts221 // Step 2: Wait for WebSocket to be fully registered with the DOCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts224 // Step 3: Trigger server-initiated stream via Playwright's request APICOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts233 // Step 4: Wait a bit for stream completion to propagateCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts236 // Step 5: Collect observer results from the browserCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts21 // Step 1: Persist a message with tool output on the serverCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts38 // Step 2: Client sends the same message but without the tool outputCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts62 // Step 3: Verify the tool output is preservedCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts85 // Step 1: Server has a tool that was approved and executed (output-available)COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts102 // Step 2: Client sends the same tool but in approval-responded stateCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts126 // Step 3: Verify the server's output-available state is preserved,COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts152 // Step 1: Server has a tool that was executed (output-available)COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts169 // Step 2: Client sends the same tool but in approval-requested stateCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts192 // Step 3: Verify the server's output-available state is preserved,COMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts523 // Step 1: Simulate an initial interrupted streamCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts543 // Step 2: Continue, producing more contentCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts556 // Step 3: Simulate that continuation was ALSO interrupted —COMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts568 // Step 4: Trigger fiber recovery — should persist the second partialCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts580 // Step 5: Continue againCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts85 // Step 1: Send initial request so context is establishedCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts88 // Step 2: Persist a tool call in input-available stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts106 // Step 3: Clear captured state before continuationCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts109 // Step 4: Send tool result with autoContinueCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts145 // Step 1: Send initial requestCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts148 // Step 2: Persist a tool call in approval-required stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts166 // Step 3: Clear captured stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts169 // Step 4: Send approval with autoContinueCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts123 // Step 5: Verify a requestId was passed (server-generated, so just check it exists)COMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts182 // Step 5: Verify requestId was passedCOMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts12 // Step 1: Set up a conversation with a pending tool call (simulates state before refresh)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts38 // Step 2: Connect (simulates reconnect after refresh)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts49 // Step 3: Send tool result WITH clientTools (simulates client approval after reconnect)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts83 // Step 4: Verify continuation received client toolsCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts320 // Step 1: Send initial chat request to establish the agentCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts334 // Step 2: Persist a tool call in input-available stateCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts354 // Step 3: Send tool result with autoContinue=trueCOMMENT
16 more matches not shown…
Over-Commented Block128 hits · 119 pts
SeverityFileLineSnippetContext
LOWexperimental/tanstack-recovery/src/tanstack-agent.ts121// durably so a cold-wake recovery (post-SIGKILL) re-runs the SAME provider itCOMMENT
LOWexperimental/gateway-resume/src/index.ts61//COMMENT
LOWexperimental/gateway-resume/src/index.ts301COMMENT
LOWexperimental/chat-recovery-probe/src/server.ts61 //COMMENT
LOWexperimental/forever-chat/src/server.ts121 // Tracks stash data for the current buffered turn so both the customCOMMENT
LOWagent-think/worker-configuration.d.ts14421 send(records: T[]): Promise<void>;COMMENT
LOWagent-think/worker-configuration.d.ts14581 // prettier-ignoreCOMMENT
LOWagent-think/worker-configuration.d.ts14621 // declaration will be merged with this one.COMMENT
LOWagent-think/worker-configuration.d.ts15861 // Context in which this trace event lives.COMMENT
LOWagent-think/test/env.d.ts1/// <reference types="@cloudflare/vitest-pool-workers/types" />COMMENT
LOWagent-think/test/vitest.config.ts21 stripNodeModulesSourceMapReferences(),COMMENT
LOWagent-think/test/server.ts1import { setupServer } from "msw/node";COMMENT
LOWagent-think/src/sandbox.ts61 constructor(ctx: DurableObjectState, env: SandboxEnv) {COMMENT
LOWagent-think/src/sandbox.ts81 // CloudflareContainerBackend(container) [stage=connect]:COMMENT
LOW…amples/assistant/agents/assistant/shared-mcp-client.ts1import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";COMMENT
LOWexamples/assistant/agents/assistant/agent.ts1import { callable } from "agents";COMMENT
LOWexamples/assistant/agents/assistant/agent.ts281 }COMMENT
LOWexamples/assistant/agents/assistant/agent.ts381 async symlink(target: string, linkPath: string): Promise<void> {COMMENT
LOWexamples/assistant/agents/assistant/shared-workspace.ts1import type { Workspace } from "@cloudflare/think";COMMENT
LOWexamples/assistant/src/use-chats.ts101 agent: "AssistantDirectory",COMMENT
LOWexamples/assistant/src/client.tsx481 } | null>(null);COMMENT
LOWexamples/assistant/src/tests/env.d.ts1/// <reference types="@cloudflare/vitest-pool-workers/types" />COMMENT
LOWexamples/agents-as-tools/playwright.config.ts41 // Real-LLM timing — see the comment block above. The exampleCOMMENT
LOWexamples/agents-as-tools/playwright.config.ts61 // suite. With 1 retry we can ride out transient capacity issuesCOMMENT
LOWexamples/agents-as-tools/e2e/refresh-replay.e2e.ts61 // `cf_agent_tool_runs` is the source of truth and neverCOMMENT
LOWexamples/agents-as-tools/e2e/planner-drill-in.e2e.ts61 // Sanity: a Planner panel rendered. The bug would have NOTCOMMENT
LOWexamples/agents-as-tools/e2e/compare-fanout.e2e.ts41 // "Compare X and Y" is in-distribution for the `compare` tool —COMMENT
LOWexamples/agents-as-tools/src/client.tsx801//COMMENT
LOWexamples/agents-as-tools/src/client.tsx841 // shipped on 2026-04-28 from a different root cause.COMMENT
LOWexamples/deploy-churn/src/server.ts281//COMMENT
LOWexamples/voice-agent/src/client.tsx421 // by observing the VoiceClient's raw message events. Since useVoiceAgent abstractsCOMMENT
LOWexamples/voice-agent/src/client.tsx501 // special prefix that the server won't try to process as text_message.COMMENT
LOWexamples/voice-agent/src/client.tsx521 // Cleanest workaround: send a text_message with a special contentCOMMENT
LOWpackages/think/src/think.ts901 * generic). `retryTargetUserId` is the pre-stream user message the turn re-runsCOMMENT
LOWpackages/think/src/think.ts921// / `evaluateChatRecoveryIncident`. See design/rfc-chat-recovery-foundation.md.COMMENT
LOWpackages/think/src/think.ts941// simply never auto-continues — the isolate is not pinned waiting for it.COMMENT
LOWpackages/think/src/think.ts3421 private _insideResponseHook = false;COMMENT
LOWpackages/think/src/think.ts5301 // `maxTurns` is an overridable per-channel default: a user `beforeTurn`COMMENT
LOWpackages/think/src/think.ts5381 // can inspect/rewrite the stream (e.g. emit `source` parts derived fromCOMMENT
LOWpackages/think/src/think.ts5401 // `beforeStep` returning `void`/`undefined`/`null` is normalized toCOMMENT
LOWpackages/think/src/think.ts10561 // authoritative source of state: `_notifyStreamResuming` tellsCOMMENT
LOWpackages/think/src/think.ts10781COMMENT
LOWpackages/think/src/think.ts11521 await callback.onEvent(chunkBody);COMMENT
LOWpackages/think/src/think.ts12881 // currently is and survives the eventual `accumulator.toMessage()` persistCOMMENT
LOWpackages/think/src/think.ts13201 resolveConfig: () => this._resolveChatRecoveryConfig(),COMMENT
LOWpackages/think/src/think.ts13341 // broadcast the user would be left staring at a half-finished messageCOMMENT
LOWpackages/think/src/tools/workspace.ts1import type { Workspace, FileInfo } from "@cloudflare/shell";COMMENT
LOWpackages/think/src/tests/client-tools.test.ts1781 // (autoContinue:false) result re-arms the EXISTING pending the fast siblingCOMMENT
LOWpackages/think/src/tests/think-session.test.ts3881 expect(COMMENT
LOWpackages/think/src/e2e-tests/harden-net.ts1// Side-effect module for the `wrangler dev` chaos e2e tests. Import it (for itsCOMMENT
LOWpackages/think/src/e2e-tests/workflow-recovery.test.ts301 await pollUntil(COMMENT
LOWpackages/think/src/e2e-tests/worker.ts941// flat wall-clock timer that is NOT reset by child forward-progress, and theCOMMENT
LOWpackages/think/src/e2e-tests/worker.ts1661}COMMENT
LOWpackages/think/src/e2e-tests/worker.ts1781 const rows = this.sql<{ c: number }>`COMMENT
LOWpackages/think/src/e2e-tests/worker.ts1961 const rows = this.sql<{ c: number }>`COMMENT
LOWpackages/think/src/e2e-tests/worker.ts2101// resume with NO live client connection. This agent drives the full pathCOMMENT
LOWpackages/think/src/react-tests/stream-resume.test.tsx1// Deterministic client-path coverage for Think's reconnect/resume handshake.COMMENT
LOWpackages/shell/src/tests/workspace.test.ts561// ═══════════════════════════════════════════════════════════════════COMMENT
LOWpackages/shell/src/tests/git.test.ts541 expect(removed!.status).toContain("deleted");COMMENT
LOWpackages/agents/skills-module.d.ts1// Ambient types for the Agents Vite plugin's `agents:skills` virtual modules.COMMENT
68 more matches not shown…
Verbosity Indicators64 hits · 113 pts
SeverityFileLineSnippetContext
LOWexamples/workflows/src/server.ts438 // Step 1: ValidateCOMMENT
LOWexamples/workflows/src/server.ts460 // Step 2: ProcessCOMMENT
LOWexamples/workflows/src/server.ts486 // Step 3: Wait for human approvalCOMMENT
LOWexamples/workflows/src/server.ts511 // Step 4: FinalizeCOMMENT
LOWpackages/agents/src/tests/test-workflow.ts36 // Step 1: Report start (non-durable)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts44 // Step 2: If waiting for approval, pause and wait for eventCOMMENT
LOWpackages/agents/src/tests/test-workflow.ts66 // Step 3: Process the task (non-durable progress report)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts85 // Step 4: Call agent method via RPC (if agent is available)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts96 // Step 5: Broadcast to clients (non-durable)COMMENT
LOWpackages/agents/src/tests/test-workflow.ts103 // Step 6: Report completion (durable via step)COMMENT
LOWpackages/agents/src/tests/agents/migration.ts79 // Step 1: Add missing columns (same as constructor)COMMENT
LOWpackages/agents/src/tests/agents/migration.ts104 // Step 2: Recreate table if CHECK constraint is missing 'interval'COMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts186 // Step 1: Open observer WebSocket and wait for it to be establishedCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts221 // Step 2: Wait for WebSocket to be fully registered with the DOCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts224 // Step 3: Trigger server-initiated stream via Playwright's request APICOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts233 // Step 4: Wait a bit for stream completion to propagateCOMMENT
LOWpackages/ai-chat/e2e/on-stream-end-llm.spec.ts236 // Step 5: Collect observer results from the browserCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts21 // Step 1: Persist a message with tool output on the serverCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts38 // Step 2: Client sends the same message but without the tool outputCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts62 // Step 3: Verify the tool output is preservedCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts85 // Step 1: Server has a tool that was approved and executed (output-available)COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts102 // Step 2: Client sends the same tool but in approval-responded stateCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts126 // Step 3: Verify the server's output-available state is preserved,COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts152 // Step 1: Server has a tool that was executed (output-available)COMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts169 // Step 2: Client sends the same tool but in approval-requested stateCOMMENT
LOWpackages/ai-chat/src/tests/merge-server-state.test.ts192 // Step 3: Verify the server's output-available state is preserved,COMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts523 // Step 1: Simulate an initial interrupted streamCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts543 // Step 2: Continue, producing more contentCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts556 // Step 3: Simulate that continuation was ALSO interrupted —COMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts568 // Step 4: Trigger fiber recovery — should persist the second partialCOMMENT
LOWpackages/ai-chat/src/tests/continue-last-turn.test.ts580 // Step 5: Continue againCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts85 // Step 1: Send initial request so context is establishedCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts88 // Step 2: Persist a tool call in input-available stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts106 // Step 3: Clear captured state before continuationCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts109 // Step 4: Send tool result with autoContinueCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts145 // Step 1: Send initial requestCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts148 // Step 2: Persist a tool call in approval-required stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts166 // Step 3: Clear captured stateCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts169 // Step 4: Send approval with autoContinueCOMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts123 // Step 5: Verify a requestId was passed (server-generated, so just check it exists)COMMENT
LOWpackages/ai-chat/src/tests/request-id.test.ts182 // Step 5: Verify requestId was passedCOMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts12 // Step 1: Set up a conversation with a pending tool call (simulates state before refresh)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts38 // Step 2: Connect (simulates reconnect after refresh)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts49 // Step 3: Send tool result WITH clientTools (simulates client approval after reconnect)COMMENT
LOW…kages/ai-chat/src/tests/client-tools-reconnect.test.ts83 // Step 4: Verify continuation received client toolsCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts320 // Step 1: Send initial chat request to establish the agentCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts334 // Step 2: Persist a tool call in input-available stateCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts354 // Step 3: Send tool result with autoContinue=trueCOMMENT
LOWpackages/ai-chat/src/tests/on-stream-end.test.ts368 // Step 4: Verify onChatResponse resultsCOMMENT
LOWpackages/ai-chat/src/tests/regenerate-message.test.ts70 // Step 1: Send the first message — server will respond with an assistant messageCOMMENT
LOWpackages/ai-chat/src/tests/regenerate-message.test.ts80 // Step 2: Simulate regenerate() — client removes the assistant messageCOMMENT
LOWpackages/ai-chat/src/tests/regenerate-message.test.ts85 // Step 3: Verify the old assistant message was deleted and replacedCOMMENT
LOW…ges/ai-chat/src/tests/custom-body-continuation.test.ts16 // Step 1: Send initial chat request WITH custom body fields to store themCOMMENT
LOW…ges/ai-chat/src/tests/custom-body-continuation.test.ts67 // Step 2: Persist a tool call in input-available stateCOMMENT
LOW…ges/ai-chat/src/tests/custom-body-continuation.test.ts85 // Step 3: Clear captured state before continuationCOMMENT
LOW…ges/ai-chat/src/tests/custom-body-continuation.test.ts88 // Step 4: Send tool result with autoContinue to trigger continuationCOMMENT
LOW…ges/ai-chat/src/tests/custom-body-continuation.test.ts104 // Step 5: Verify continuation received the same bodyCOMMENT
LOW…es/ai-chat/src/tests/client-tools-continuation.test.ts43 // Step 1: Send initial chat request WITH client tools to store themCOMMENT
LOW…es/ai-chat/src/tests/client-tools-continuation.test.ts105 // Step 2: Persist a tool call in input-available stateCOMMENT
LOW…es/ai-chat/src/tests/client-tools-continuation.test.ts123 // Step 3: Clear captured state before continuationCOMMENT
4 more matches not shown…
Modern AI Meta-Vocabulary38 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUMdesign/rfc-helper-sub-agent-orchestration.md1# RFC: Agent tool orchestrationCOMMENT
MEDIUMdesign/rfc-chat-recovery-foundation.md1043| Auto-continuation barrier | Barrier inside the continuation turn; fixed 60s timeout tCODE
MEDIUMdesign/rfc-chat-recovery-foundation.md1155#### Adopt Think's event-driven auto-continuation barrierCOMMENT
MEDIUMdesign/rfc-chat-recovery-foundation-progress.md1647### Phase 1: introduce internal engine scaffoldingCOMMENT
MEDIUMdesign/think-vs-aichat.md270### Multi-agent orchestrationCOMMENT
MEDIUMexperimental/inference-buffer/README.md214The SDK handles: model wrapping (custom fetch for all providers — including Workers AI via the `fetch` option added in [CODE
MEDIUMdocs/think/index.md1033[Compaction](https://github.com/cloudflare/agents/blob/main/docs/agents/sessions.md#compaction) is checked **between turCODE
MEDIUMdocs/think/sub-agents.md312See [`cloudflare/agents#1406`](https://github.com/cloudflare/agents/issues/1406) for the original motivation, and [AgentCODE
MEDIUMdocs/agents/index.md18| A durable, general-purpose reasoning agent | [`Think`](https://github.com/cloudflare/agents/blob/mCODE
MEDIUMdocs/agents/chat-agents.md1481Use [`wrapLanguageModel`](https://ai-sdk.dev/docs/ai-sdk-core/middleware) to add guardrails, RAG, caching, or logging wiCODE
MEDIUMexamples/assistant/agents/assistant/agent.ts32 // (see `getScheduledTasks`) and leaves room for top-level agentic workCOMMENT
MEDIUMexamples/playground/testing.md294### Supervisor Pattern (`/multi-agent/supervisor`)COMMENT
MEDIUMexamples/playground/testing.md351### Chat Rooms (`/multi-agent/rooms`)COMMENT
MEDIUMexamples/playground/testing.md410### Workers Pattern (`/multi-agent/workers`)COMMENT
MEDIUMexamples/playground/testing.md425### Pipeline Pattern (`/multi-agent/pipeline`)COMMENT
MEDIUMexamples/chat-sdk-messenger/README.md150 index.ts # Ingress orchestration and Chat SDK event wiringCODE
MEDIUMexamples/deploy-churn/src/server.ts591 // agentic loop actually settles tool results that recovery must preserve.COMMENT
MEDIUMexamples/multi-ai-chat/src/server.ts330 // Allow multi-step agentic loops — the model can call a tool,COMMENT
MEDIUMpackages/think/CHANGELOG.md218- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMpackages/think/CHANGELOG.md218- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMpackages/think/CHANGELOG.md703- [#1667](https://github.com/cloudflare/agents/pull/1667) [`919bfaa`](https://github.com/cloudflare/agents/commit/919bfaCODE
MEDIUMpackages/think/CHANGELOG.md1012- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/think/CHANGELOG.md1144- [#1561](https://github.com/cloudflare/agents/pull/1561) [`831ba1d`](https://github.com/cloudflare/agents/commit/831ba1CODE
MEDIUMpackages/think/CHANGELOG.md1144- [#1561](https://github.com/cloudflare/agents/pull/1561) [`831ba1d`](https://github.com/cloudflare/agents/commit/831ba1CODE
MEDIUMpackages/think/CHANGELOG.md1183- [#1517](https://github.com/cloudflare/agents/pull/1517) [`449b421`](https://github.com/cloudflare/agents/commit/449b42CODE
MEDIUMpackages/think/CHANGELOG.md1227- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
MEDIUMpackages/think/CHANGELOG.md1299- [#1372](https://github.com/cloudflare/agents/pull/1372) [`040da0f`](https://github.com/cloudflare/agents/commit/040da0CODE
MEDIUMpackages/think/src/tests/hooks.test.ts199 // agentic loop, and `ctx.steps` / `ctx.stepNumber` must reflect theCOMMENT
MEDIUM…ges/think/src/e2e-tests/step-prompt-structured.test.ts273 // Multi-step agentic path: the model must call real (workspace) tools beforeCOMMENT
MEDIUMpackages/think/src/cli-tests/cli.test.ts642 // Template scaffold (not augment): a full starter app in the subfolder.COMMENT
MEDIUMpackages/agents/CHANGELOG.md1119- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/agents/CHANGELOG.md1295- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
MEDIUMpackages/ai-chat/CHANGELOG.md165- [#1788](https://github.com/cloudflare/agents/pull/1788) [`3b2af54`](https://github.com/cloudflare/agents/commit/3b2af5CODE
MEDIUMpackages/ai-chat/CHANGELOG.md658- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/ai-chat/CHANGELOG.md779- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
MEDIUMpackages/create-think/CHANGELOG.md7- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMpackages/create-think/CHANGELOG.md7- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMwip/think-multi-session-assistant-plan.md136### Think config scaffolding — landed in PR #1372COMMENT
Fake / Example Data20 hits · 20 pts
SeverityFileLineSnippetContext
LOWdocs/agents/email.md349 await email.forward("admin@example.com");CODE
LOWdocs/agents/scheduling.md68await this.schedule(300, "sendFollowUp", { email: "user@example.com" });CODE
LOWdocs/agents/retries.md176 { to: "user@example.com" },CODE
LOWdocs/agents/queue.md55 email: "user@example.com",CODE
LOWpackages/think/src/tests/action-types.test-d.ts144 to: ["user@example.com"]CODE
LOWpackages/think/src/cli-tests/cli.test.ts340 name: "placeholder",CODE
LOWpackages/shell/src/tests/git.test.ts266 author: { name: "Test", email: "test@test.com" }CODE
LOWpackages/agents/src/tests/email-routing.test.ts552 from: "user@example.com"CODE
LOWpackages/agents/src/tests/email-routing.test.ts639 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts655 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts666 expect(call!.to).toBe("user@example.com");CODE
LOWpackages/agents/src/tests/email-routing.test.ts684 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts705 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts729 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts752 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts761 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts774 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-routing.test.ts783 to: "user@example.com",CODE
LOWpackages/agents/src/tests/email-headers.test.ts80 From: "user@example.com",CODE
LOWpackages/agents/conformance/everything-server.ts372 default: "John Doe"CODE
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMpnpm-workspace.yaml31 # Transitive dep of @cloudflare/tanstack-ai (tanstack-recovery harness). TheCOMMENT
MEDIUMexperimental/gateway-resume-think/src/server.ts120 // mismatch (RFC §9.4) it can drop the prefix. from=0 is the robust,COMMENT
MEDIUMexperimental/gateway-resume/src/index.ts13 * (RFC #1257). This harness verifies the contract empirically, across models,COMMENT
MEDIUMpackages/agents/src/index.ts2889 // but we handle the data-property case to stay robust for hibernate: falseCOMMENT
MEDIUMpackages/agents/src/tests/retries.test.ts395 // wrappers may not — the cause chain is the robust signal.COMMENT
MEDIUMpackages/agents/conformance/baseline-server-handler.yml12 # SHOULD-level warnings only for pre-2025-11-25 clients: the harnessCOMMENT
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpackages/agents/src/tests/skill-runner.test.ts640print(template.replace("{{text}}", data["text"].upper()))`,CODE
HIGHpackages/agents/src/tests/skill-runner.test.ts678print("done")`CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdesign/rfc-workers-ai-gateway-merge.md465 model: string; // slug as requested, e.g. "openrouter/anthropic/claude-…"CODE
TODO Padding2 hits · 2 pts
SeverityFileLineSnippetContext
LOWguides/anthropic-patterns/src/app.tsx168 // TODO: Add validationCOMMENT
LOWguides/anthropic-patterns/src/app.tsx252 "e.g.,\nfunction processUserData(data) {\n // TODO: Add validation\n database.save(data);\n return trueCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsite/agents/src/components/header-visual.tsx167 text: "If you’re using a CLI-based PR system, let me know which tool you use (e.g., GitLab CLI, GiteCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/agents/conformance/run.sh10# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/think-react-router/app/entry.server.tsx4export default async function handleRequest(CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/agents/src/skills/runner.ts779 except Exception as err:CODE