Repository Analysis

cloudflare/agents

Build and deploy AI Agents on Cloudflare

5.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cloudflare/agents, a TypeScript project with 5,497 GitHub stars. SynthScan v2.0 examined 588,814 lines of code across 2197 source files, recording 1408 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 5.6 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).

5.6
Adjusted Score
5.6
Raw Score
100%
Time Factor
2026-08-29
Last Push
5.5K
Stars
TypeScript
Language
588.8K
Lines of Code
2.2K
Files
1.4K
Pattern Hits
2026-08-29
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 925LOW 480

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 1408 distinct pattern matches across 13 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 Separators885 hits · 2636 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.ts177// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts183// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts214// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts216// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts230// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts232// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts245 // ─── Database sub-agent ────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts270 // ─── Tables ──────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts284 // ─── State sync ──────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts296 // ─── Trace delivery (from TailLoopback) ──────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts308 // ─── Code execution via LOADER ───────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts407 // ─── Chat ────────────────────────────────────────────────────────────COMMENT
MEDIUMexperimental/gadgets-sandbox/src/server.ts504// ─────────────────────────────────────────────────────────────────────────────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
825 more matches not shown…
Hyper-Verbose Identifiers195 hits · 183 pts
SeverityFileLineSnippetContext
LOWdesign/chat-api.md360async function defaultGetInitialMessagesFetch({ url }: GetInitialMessagesOptions) {CODE
LOWagent-think/src/agent.ts79export 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
LOWexamples/voice-agent/src/stt-providers/workers-ai.ts8export function createWorkersAITranscriber(CODE
LOWexamples/voice-agent/src/stt-providers/elevenlabs.ts5export function createElevenLabsTranscriber(env: Env, url: URL): Transcriber {CODE
LOWexamples/voice-agent/src/stt-providers/assemblyai.ts13export function createAssemblyAITranscriber(env: Env, url: URL): Transcriber {CODE
LOWexamples/voice-agent/src/stt-providers/assemblyai.ts29function getAssemblyAILanguageCodes(CODE
LOWexamples/voice-agent/src/stt-providers/utils.ts11export function getOptionalProviderKeyterms(url: URL): string[] | undefined {CODE
LOW…pts/vitest/strip-node-modules-source-map-references.ts12export function stripNodeModulesSourceMapReferences(): Plugin {CODE
LOWpackages/think/src/media-eviction.ts65export function resolveMediaEvictionConfig(CODE
LOWpackages/think/src/media-eviction.ts110export function evictLargeMediaFromMessage(CODE
LOWpackages/think/src/think.ts385function shouldMarkSkippedAfterGenerationChange(CODE
LOWpackages/think/src/think.ts534function actionAuthorizationErrorEnvelope(CODE
LOWpackages/think/src/think.ts549function actionApprovalInputErrorEnvelope(): {CODE
LOWpackages/think/src/think.ts560function actionPendingErrorEnvelope(): {CODE
LOWpackages/think/src/think.ts572function actionKeyConflictEnvelope(CODE
LOWpackages/think/src/think.ts621function safeStringifyActionOutput(output: unknown): {CODE
LOWpackages/think/src/think.ts652function prepareActionOutputForModel(output: unknown): unknown {CODE
LOWpackages/think/src/think.ts740function parseDeclaredTaskSchedule(CODE
LOWpackages/think/src/think.ts754function tryParseDeclaredTaskSchedule(CODE
LOWpackages/think/src/think.ts776function parseDeclaredTaskScheduleUnchecked(CODE
LOWpackages/think/src/think.ts1109function ensureValidContinueCheckpoint(CODE
LOWpackages/think/src/think.ts1931function toProviderSafeExecutionOutcomeMessage(message: UIMessage): UIMessage {CODE
LOWpackages/think/src/think.ts1962function isThinkFinalAnswerToolName(name: string): boolean {CODE
LOWpackages/think/src/think.ts1973function thinkFinalAnswerInstruction(toolName: string): string {CODE
LOWpackages/think/src/think.ts2350export function defaultContextOverflowClassifier(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/tests/message-reconciliation.test.ts138function makeClientOptimisticAssistant(id: string): UIMessage {CODE
LOWpackages/think/src/tests/eviction-recovery.test.ts35async function seedInterruptedContinueTurn(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.ts146async function freshConfigInSessionAgent(name: string) {CODE
LOWpackages/think/src/tests/think-session.test.ts153async function freshLegacyConfigMigrationAgent(name: string) {CODE
LOWpackages/think/src/tests/agents/execute-hitl.ts40function executionOutcomeRolesInPrompt(CODE
LOWpackages/think/src/tests/agents/think-session.ts179function createPrefillRejectingModel(CODE
LOWpackages/think/src/tests/agents/think-session.ts272function createMultiChunkMockModel(chunks: string[]): LanguageModel {CODE
LOWpackages/think/src/tests/agents/think-session.ts309function createInBandErrorMockModel(CODE
LOWpackages/think/src/tests/agents/think-session.ts346function createInBandErrorStreamResult(CODE
LOWpackages/think/src/tests/agents/think-session.ts418function createDelayedMultiChunkMockModel(CODE
LOWpackages/think/src/tests/agents/think-session.ts3535function createToolCallingMockModel(CODE
LOWpackages/think/src/tests/agents/think-session.ts3606function createAttachReplyMockModel(): LanguageModel {CODE
LOWpackages/think/src/tests/agents/think-session.ts3676function createDurablePauseMockModel(): LanguageModel {CODE
LOWpackages/think/src/tests/agents/think-session.ts3772function createFinalAnswerMockModel(args: unknown): LanguageModel {CODE
LOWpackages/think/src/tests/agents/assistant-agent-loop.ts206function createTwoToolThenTextModel(CODE
LOWpackages/think/src/tests/agents/assistant-agent-loop.ts473function createOverflowThenOkModel(CODE
LOWpackages/think/src/tests/agents/assistant-agent-loop.ts547function createProactiveThenReactiveModel(CODE
135 more matches not shown…
Structural Annotation Overuse74 hits · 130 pts
SeverityFileLineSnippetContext
LOWdocs/agents/workflows.md69 // Step 1: Process dataCOMMENT
LOWdocs/agents/workflows.md82 // Step 2: Save resultsCOMMENT
LOWdocs/agents/human-in-the-loop.md69 // Step 1: Validate the expenseCOMMENT
LOWdocs/agents/human-in-the-loop.md74 // Step 2: Wait for manager approvalCOMMENT
LOWdocs/agents/human-in-the-loop.md88 // Step 3: Process the approved expenseCOMMENT
LOWdocs/agents/mcp-transports.md98#### Step 1: Define your MCP serverCOMMENT
LOWdocs/agents/mcp-transports.md134#### Step 2: Connect your Agent to the MCP serverCOMMENT
LOWdocs/agents/mcp-transports.md165#### Step 3: Configure Durable Object bindingsCOMMENT
LOWdocs/agents/mcp-transports.md186#### 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.md396 // Step 1: Validate (retries automatically on failure)COMMENT
LOWpackages/agents/README.md401 // Step 2: Wait for human approvalCOMMENT
LOWpackages/agents/README.md405 // 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/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
14 more matches not shown…
Over-Commented Block127 hits · 117 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
LOWagent-think/worker-configuration.d.ts14461// The message includes metadata about the broker, the client, and the payloadCOMMENT
LOWagent-think/worker-configuration.d.ts14601 [K in keyof T]: Unstubify<T[K]>;COMMENT
LOWagent-think/worker-configuration.d.ts14641 [K in keyof T]: MethodOrProperty<T[K]>;COMMENT
LOWagent-think/worker-configuration.d.ts14661 // interface GlobalProps {COMMENT
LOWagent-think/worker-configuration.d.ts15921 | StreamDiagnosticCOMMENT
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 // from the directory — which is the single source of truth forCOMMENT
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.tsx441 // The VoiceClient passes unknown JSON to onNonVoiceMessage, but that onlyCOMMENT
LOWexamples/voice-agent/src/client.tsx521 // public API. Instead, we create a temporary PartySocket connection.COMMENT
LOWexamples/voice-agent/src/client.tsx541 // But actually, the better approach is to just send the kick via theCOMMENT
LOWpackages/think/src/think.ts1041 * `Think`'s `classifyRecoveredTurn` detail (the {@link ChatFiberWakeHooks}COMMENT
LOWpackages/think/src/think.ts1061// incident engine (agents/chat) and are applied by `resolveChatRecoveryConfig`COMMENT
LOWpackages/think/src/think.ts1081// through to a spurious error, and a true orphan (a sibling that never arrives)COMMENT
LOWpackages/think/src/think.ts3721 private _insideInferenceLoop = false;COMMENT
LOWpackages/think/src/think.ts5881 : this._turnTelemetry(turnTelemetry),COMMENT
LOWpackages/think/src/think.ts5901 // instance which is not JSON-serializable, and a returned overrideCOMMENT
LOWpackages/think/src/think.ts5961 onStepFinish: async (event) => {COMMENT
LOWpackages/think/src/think.ts7361COMMENT
LOWpackages/think/src/think.ts8581 // Run is still live: realign the live sequence to continue right afterCOMMENT
LOWpackages/think/src/think.ts11201 // the client to send `STREAM_RESUME_ACK`, after which theCOMMENT
LOWpackages/think/src/think.ts12261 // cleanly without a terminal error, and hand control back to the driver.COMMENT
LOWpackages/think/src/think.ts12741 // via `onRetry`. The inline retry runs in this same invocation and ownsCOMMENT
LOWpackages/think/src/think.ts13621 private async _applyToolUpdateToMessages(update: {COMMENT
LOWpackages/think/src/think.ts13701COMMENT
LOWpackages/think/src/think.ts13961 // runs the boot-recovery path (`_handleInternalFiberRecovery`) BEFORECOMMENT
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.ts3901 expect(parked?.status).toBe("skipped");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.ts921 parentRecoveries:COMMENT
LOWpackages/think/src/e2e-tests/worker.ts2081 }COMMENT
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
LOWpackages/agents/src/react.tsx361 // and used for cache keying so nested sessions with the same leafCOMMENT
67 more matches not shown…
Verbosity Indicators62 hits · 110 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/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
LOW…es/ai-chat/src/tests/client-tools-continuation.test.ts126 // Step 4: Send tool result with autoContinue to trigger continuationCOMMENT
LOW…es/ai-chat/src/tests/client-tools-continuation.test.ts140 // Step 5: Verify continuation received client toolsCOMMENT
2 more matches not shown…
Modern AI Meta-Vocabulary34 hits · 81 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.md213The SDK handles: model wrapping (custom fetch for all providers — including Workers AI via the `fetch` option added in [CODE
MEDIUMdocs/think/index.md613[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.md1484Use [`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.ts590 // 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.md376- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMpackages/think/CHANGELOG.md376- [#1817](https://github.com/cloudflare/agents/pull/1817) [`7f367d8`](https://github.com/cloudflare/agents/commit/7f367dCODE
MEDIUMpackages/think/CHANGELOG.md871- [#1667](https://github.com/cloudflare/agents/pull/1667) [`919bfaa`](https://github.com/cloudflare/agents/commit/919bfaCODE
MEDIUMpackages/think/CHANGELOG.md1186- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/think/CHANGELOG.md1321- [#1561](https://github.com/cloudflare/agents/pull/1561) [`831ba1d`](https://github.com/cloudflare/agents/commit/831ba1CODE
MEDIUMpackages/think/CHANGELOG.md1321- [#1561](https://github.com/cloudflare/agents/pull/1561) [`831ba1d`](https://github.com/cloudflare/agents/commit/831ba1CODE
MEDIUMpackages/think/CHANGELOG.md1360- [#1517](https://github.com/cloudflare/agents/pull/1517) [`449b421`](https://github.com/cloudflare/agents/commit/449b42CODE
MEDIUMpackages/think/CHANGELOG.md1404- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
MEDIUMpackages/think/CHANGELOG.md1480- [#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/agents/CHANGELOG.md1404- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/agents/CHANGELOG.md1581- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
MEDIUMpackages/ai-chat/CHANGELOG.md269- [#1788](https://github.com/cloudflare/agents/pull/1788) [`3b2af54`](https://github.com/cloudflare/agents/commit/3b2af5CODE
MEDIUMpackages/ai-chat/CHANGELOG.md773- [#1641](https://github.com/cloudflare/agents/pull/1641) [`3aa1936`](https://github.com/cloudflare/agents/commit/3aa193CODE
MEDIUMpackages/ai-chat/CHANGELOG.md896- [#1421](https://github.com/cloudflare/agents/pull/1421) [`1b65ff5`](https://github.com/cloudflare/agents/commit/1b65ffCODE
Fake / Example Data19 hits · 19 pts
SeverityFileLineSnippetContext
LOWdocs/agents/email.md349 await email.forward("admin@example.com");CODE
LOWdocs/agents/scheduling.md153await 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/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 Vocabulary5 hits · 15 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/tests/retries.test.ts396 // wrappers may not — the cause chain is the robust signal.COMMENT
MEDIUM…/conformance/baseline-server-handler-legacy-compat.yml2# All 32 scenarios execute; this is not the alpha harness's smaller `active`COMMENT
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
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/agents/src/skills/runner.ts779 except Exception as err:CODE