Repository Analysis

mastra-ai/mastra

Mastra is the modern TypeScript framework for AI-powered applications and agents.

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mastra-ai/mastra, a TypeScript project with 26,149 GitHub stars. SynthScan v2.0 examined 2,571,459 lines of code across 10762 source files, recording 3650 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
26.1K
Stars
TypeScript
Language
2.6M
Lines of Code
10.8K
Files
3.6K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 82HIGH 74MEDIUM 523LOW 2971

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 3650 distinct pattern matches across 16 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.

Hyper-Verbose Identifiers1467 hits · 1479 pts
SeverityFileLineSnippetContext
LOWserver-adapters/_test-utils/src/test-helpers.ts1215async function setupWorkflowRegistryMocks(workflows: Record<string, Workflow>, mastra: Mastra) {CODE
LOWserver-adapters/_test-utils/src/test-helpers.ts1300function getRouteSpecificPathDefaults(route: ServerRoute): {CODE
LOWserver-adapters/_test-utils/src/test-helpers.ts1414export function createStreamWithSensitiveData(format: 'v1' | 'v2' = 'v2'): ReadableStream {CODE
LOWserver-adapters/_test-utils/src/test-helpers.ts1505export function createStreamWithUnserializableChunk(): ReadableStream {CODE
LOWserver-adapters/_test-utils/src/test-helpers.ts1525export function expectSerializedStreamChunks(chunks: any[]): void {CODE
LOW…r-adapters/_test-utils/src/route-adapter-test-suite.ts27export function createRouteAdapterTestSuite(config: AdapterTestSuiteConfig) {CODE
LOWserver-adapters/_test-utils/src/route-test-utils.ts108export function generateValidDataFromSchema(schema: z.ZodTypeAny, fieldName?: string): any {CODE
LOWserver-adapters/_test-utils/src/route-test-utils.ts361export function getDefaultValidPathParams(route: ServerRoute): Record<string, any> {CODE
LOWserver-adapters/_test-utils/src/route-test-utils.ts448export function getDefaultInvalidPathParams(route: ServerRoute): Array<Record<string, any>> {CODE
LOW…r-adapters/_test-utils/src/mcp-transport-test-suite.ts64export function createMCPTransportTestSuite(config: MCPTransportTestConfig) {CODE
LOW…apters/fastify/src/__tests__/stream-disconnect.test.ts61 async function createRequestWithAbortSignal(requestRaw: MockRawRequest, replyRaw: MockRawReply) {CODE
LOWserver-adapters/koa/src/index.ts883 this.app.use(async function mastraCustomRouteDispatcher(ctx: Context, next: Next) {CODE
LOW…udflare/src/plugins/postgres-store-instance-checker.ts5export function postgresStoreInstanceChecker(): Plugin {CODE
LOW…loudflare/src/babel/postgres-store-instance-checker.ts23export function postgresStoreInstanceChecker(): PluginObj {CODE
LOWdeployers/netlify/src/index.ts37function stubEdgeIncompatibleModules() {CODE
LOWauth/google/src/auth-provider.ts77function getServerRedirectStateSuffix(state: string): string {CODE
LOWauth/google/src/auth-provider.ts82function getStateTokenFromCallbackState(state: string): string {CODE
LOWauth/google/src/auth-provider.ts87function verifyCallbackStateSuffix(callbackState: string, originalState: string): void {CODE
LOWauth/better-auth/src/index.ts36function mapBetterAuthUserToEEUser(user: User): EEUser {CODE
LOWauth/workos/src/fga-provider.ts30function isWorkOSResourceNotFoundError(error: any): boolean {CODE
LOWclient-sdks/client-js/src/resources/agent.ts137function getClientToolObservabilityContext(toolCall: unknown): ClientToolObservabilityContext | undefined {CODE
LOWclient-sdks/client-js/src/resources/agent.ts147async function executeClientToolWithObservability({CODE
LOWclient-sdks/client-js/src/resources/agent-controller.ts713export function agentControllerMessageText(message: AgentControllerMessage): string {CODE
LOW…ient-sdks/client-js/src/utils/process-mastra-stream.ts3async function sharedProcessMastraStream({CODE
LOW…ient-sdks/client-js/src/utils/process-mastra-stream.ts58export async function processMastraNetworkStream({CODE
LOW…dks/client-js/src/utils/verify-agent-card-signature.ts91export async function verifyAgentCardSignatureIfPresent(CODE
LOWclient-sdks/client-js/src/utils/index.ts131export function parseClientRequestContext(requestContext?: RequestContext | Record<string, any>) {CODE
LOWclient-sdks/client-js/src/utils/index.ts158export function requestContextQueryString(CODE
LOWclient-sdks/client-js/src/observability/collector.ts324export function getCurrentObservabilityCollector(): ObservabilityCollector | undefined {CODE
LOWclient-sdks/ai-sdk/src/middleware.ts457export function createProcessorMiddleware(options: ProcessorMiddlewareOptions): LanguageModelV2Middleware {CODE
LOWclient-sdks/ai-sdk/src/middleware.ts858function extractTextFromMastraMessage(msg: MastraDBMessage): string {CODE
LOWclient-sdks/ai-sdk/src/middleware.ts878function convertMastraChunkToAISDKStreamPart(chunk: ChunkType): LanguageModelV2StreamPart | null {CODE
LOWclient-sdks/ai-sdk/src/helpers.ts77function normalizeToolPayloadState(state: unknown): TransformedToolPayloadState | undefined {CODE
LOWclient-sdks/ai-sdk/src/helpers.ts94function getTransformedToolPayload(CODE
LOWclient-sdks/ai-sdk/src/helpers.ts107function hasTransformedToolPayload(CODE
LOWclient-sdks/ai-sdk/src/helpers.ts113function convertBackgroundTaskChunkToDataChunk(chunk: ChunkType): DataChunkType | undefined {CODE
LOWclient-sdks/ai-sdk/src/transformers.ts161export function createWorkflowStepDataPart(args: {CODE
LOWclient-sdks/ai-sdk/src/transformers.ts246export function WorkflowStreamToAISDKTransformer({CODE
LOWclient-sdks/ai-sdk/src/transformers.ts323export function AgentNetworkToAISDKTransformer() {CODE
LOWclient-sdks/ai-sdk/src/transformers.ts582function appendPendingToolCallArgs(CODE
LOWclient-sdks/ai-sdk/src/convert-messages.ts5function isSystemReminderUIMessage(message: {CODE
LOW…rc/__tests__/transform-agent-cumulative-growth.test.ts25 function simulateMultiStepAgentRun(numSteps: number) {CODE
LOWexplorations/ralph-wiggum-loop-prototype.ts198export function createAutonomousLoopWorkflow(agent: Agent, mastra?: Mastra) {CODE
LOWexplorations/longmemeval/src/cli.ts212async function loadPreparationTokenUsage(CODE
LOW…gmemeval/src/processors/observation-semantic-filter.ts350export function rebuildObservationsWithStructure(CODE
LOW…gmemeval/src/processors/observation-semantic-filter.ts419export function extractSuggestedResponseBlock(formattedContext: string): string | null {CODE
LOW…gmemeval/src/processors/observation-semantic-filter.ts1140export function createObservationSemanticFilter(config: ObservationSemanticFilterConfig): ObservationSemanticFilter {CODE
LOWexplorations/longmemeval/src/commands/prepare.ts63function containsProhibitedContent(content: string): boolean {CODE
LOWexplorations/longmemeval/src/commands/prepare.ts91function sanitizeProhibitedContent(content: string): string {CODE
LOWexplorations/longmemeval/src/commands/reconcile.ts96function buildPatternExtractionPrompt(existingObservations: string): string {CODE
LOWexplorations/longmemeval/src/commands/reconcile.ts167async function extractPatternsForQuestion(CODE
LOWexplorations/longmemeval/src/commands/run.ts73function updateRateLimiterFromResponse(response: any): void {CODE
LOWexplorations/longmemeval/src/commands/run.ts110async function checkRateLimitBeforeRequest(): Promise<void> {CODE
LOWsignals/github/src/index.test.ts54async function runGithubSignalsProcessor(args: {CODE
LOWsignals/github/src/index.ts453function getMergedNotificationSummary(label: string): string {CODE
LOWsignals/github/src/index.ts573function getCommentNotificationSummary(pr: string, snapshot: GithubPullRequestSnapshot): string | undefined {CODE
LOWsignals/github/src/index.ts585function getGithubActivityNotificationRank(notification: GithubActivityNotificationPlan): number {CODE
LOWsignals/github/src/index.ts589function compareGithubActivityNotifications(CODE
LOWsignals/github/src/index.ts602function classifyGithubCommentActivityNotification(input: {CODE
LOWsignals/github/src/index.ts622export function normalizeGithubChecksForSnapshot(input: {CODE
1407 more matches not shown…
Decorative Section Separators341 hits · 1078 pts
SeverityFileLineSnippetContext
MEDIUMauth/workos/src/fga-provider.ts136 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMauth/workos/src/fga-provider.ts138 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMauth/workos/src/fga-provider.ts268 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMauth/workos/src/fga-provider.ts270 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMauth/workos/src/fga-provider.ts408 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMauth/workos/src/fga-provider.ts410 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUMclient-sdks/client-js/src/types.ts2464// ── v2 surface: authorize / connections / fields / status / health ──────────COMMENT
MEDIUMstores/mongodb/src/storage/index.test.ts900// ─── Hardening: NODE-7556 ────────────────────────────────────────────────────COMMENT
MEDIUMstores/mongodb/src/storage/index.test.ts1069// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMstores/mongodb/src/vector/index.test.ts343 // ─── Hardening: NODE-7556 ───────────────────────────────────────────────────COMMENT
MEDIUMstores/mongodb/src/vector/index.test.ts407 // ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/tests/navigation.spec.ts134// ─── Sidebar navigation tests ──────────────────────────────────────────COMMENT
MEDIUMdocs/tests/navigation.spec.ts202// ─── Admonitions and tabs on /guides/build-your-ui/ai-sdk-ui ──────────COMMENT
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts40// ─── Basic Integration Tests ─────────────────────────────────────────────────COMMENT
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts170// ─── Agent Isolation Tests ───────────────────────────────────────────────────COMMENT
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts240// ─── CompositeFilesystem Integration Tests ───────────────────────────────────COMMENT
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts273// ─── Shared Conformance Test Suite ───────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts156 // ── Core dependencies (set once) ──────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts167 // ── TUI framework (set once) ──────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts179 // ── Agent / streaming ─────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts214 // ── Thread / conversation ─────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts226 // ── Inline interaction ────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts257 // ── Status line ───────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts275 // ── Tokens/sec tracking ────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts285 // ── Observational Memory ──────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts293 // ── Tasks ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts296 // ── Goal loop ─────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts301 // ── Input ─────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts309 // ── Dedup ────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts314 // ── Abort tracking ────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/state.ts325 // ── Cleanup ───────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts20// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts22// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts40// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts42// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts119 // ── Mutation API ──────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts201 // ── Rendering ──────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts320// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/tui/src/tui/components/subagent-execution.ts322// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…rc/tui/components/__tests__/subagent-execution.test.ts156 // ─── Default behavior: NO collapse ──────────────────────────────────────COMMENT
MEDIUM…rc/tui/components/__tests__/subagent-execution.test.ts195 // ─── Opt-in collapse behavior ──────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/config-routes.ts170// ── Model packs ──────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/config-routes.ts278// ── Observational memory ────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/config-routes.ts399 // ── Custom providers (OpenAI-compatible endpoints) ──────────────────────COMMENT
MEDIUMmastracode/web/src/web/config-routes.ts460 // ── Model packs ─────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/config-routes.ts556 // ── Observational memory ──────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/web-surface.test.ts10// ── Linear-only state-secret deploy scenario ─────────────────────────────COMMENT
MEDIUM…de/web/src/web/ui/domains/settings/services/density.ts8// ── Density preference ────────────────────────────────────────────────────COMMENT
MEDIUM…stracode/web/src/web/ui/domains/factory/IntakePage.tsx185// ── GitHub ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…stracode/web/src/web/ui/domains/factory/IntakePage.tsx294// ── Linear ───────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.ts155 // ── Connect: send the user to Linear's OAuth consent screen ─────────────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.ts169 // ── Callback: exchange the code, persist the connection for the org ─────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.ts233 // ── List the workspace's projects (Settings intake-source picker) ───────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.ts258 // ── List the workspace's active issues (cursor-paged) ───────────────────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.test.ts5// ── Mocks ────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/linear/routes.test.ts146// ── Test harness ─────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/linear/agent-tools.test.ts4// ── Mocks ────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/intake/routes.test.ts4// ── Mocks ────────────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/intake/routes.test.ts53// ── Test harness ─────────────────────────────────────────────────────────COMMENT
MEDIUMmastracode/web/src/web/github/routes.ts236 // ── Connect: bounce through the OAuth identify flow ─────────────────────COMMENT
281 more matches not shown…
Hallucination Indicators82 hits · 935 pts
SeverityFileLineSnippetContext
CRITICAL…dynamodb/src/storage/domains/background-tasks/index.ts228 const res = await this.service.entities.background_task.scan.go({ pages: 'all' });CODE
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts327 messageIds.map(id => this.service.entities.message.query.primary({ entity: 'message', id }).go()),CODE
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts424 const query = this.service.entities.message.query.byThread({ entity: 'message', threadId });CODE
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts675 : (await this.service.entities.thread.scan.go({ pages: 'all' })).data;CODE
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts788 const query = this.service.entities.message.query.byThread({ entity: 'message', threadId });CODE
CRITICALstores/dynamodb/src/storage/domains/workflows/index.ts450 query = this.service.entities.workflow_snapshot.query.primary({CODE
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts218 const query = this.service.entities.score.query.byScorer({ entity: 'score', scorerId });CODE
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts290 const query = this.service.entities.score.query.byRun({ entity: 'score', runId });CODE
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts346 const query = this.service.entities.score.query.byEntityData({ entity: 'score', entityId });CODE
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts405 const query = this.service.entities.score.query.bySpan({ entity: 'score', traceId, spanId });CODE
CRITICALstores/vectorize/src/vector/index.ts242 await this.client.vectorize.indexes.metadataIndex.create(indexName, {CODE
CRITICALstores/vectorize/src/vector/index.ts262 await this.client.vectorize.indexes.metadataIndex.delete(indexName, {CODE
CRITICALstores/vectorize/src/vector/index.ts281 const res = await this.client.vectorize.indexes.metadataIndex.list(indexName, {CODE
CRITICAL…xamples/otel-bridge/hono-multi/src/integration.test.ts109 return data.data.getTraceByOtelId.spans.edges.map((edge: any) => {CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1263 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1323 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1382 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1458 const rmCalls = mockSandbox.process.exec.mock.calls.filter(CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1463 const rmdirCalls = mockSandbox.process.exec.mock.calls.filter(CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1537 const rmCalls = mockSandbox.process.exec.mock.calls.filter(CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1581 const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1586 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1617 const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>CODE
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1676 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((call: any[]) =>CODE
CRITICALworkspaces/daytona/src/sandbox/index.test.ts719 const mountCall = mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => {CODE
CRITICALworkspaces/daytona/src/sandbox/index.test.ts749 mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => {CODE
CRITICALworkspaces/daytona/src/sandbox/index.test.ts755 const upload = mockSandbox.fs.uploadFile.mock.calls.find((call: any[]) =>CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts914 mockSandbox.commands.run.mock.calls.some(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts942 mockSandbox.commands.run.mock.calls.some(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1172 return mockSandbox.commands.run.mock.calls.find(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1179 const writeCall = mockSandbox.files.write.mock.calls.find((call: any[]) =>CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1555 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1580 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1601 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1628 const rmCalls = mockSandbox.commands.run.mock.calls.filter(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1634 const rmdirCalls = mockSandbox.commands.run.mock.calls.filter(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1662 const rmCalls = mockSandbox.commands.run.mock.calls.filter(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1694 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1723 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1746 const rmCalls = mockSandbox.commands.run.mock.calls.filter(CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1783 const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1787 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1811 const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts'));CODE
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1855 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((call: any[]) => call[0].includes('fusermount'));CODE
CRITICALmastracode/tui/src/tui/mastra-tui.ts1430 await this.state.session.subagents.model.set({ modelId: saModelId, agentType });CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts180 state.controller.session.model.get.mockReturnValue('openai/gpt-5');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts195 state.controller.session.model.get.mockReturnValue('openai/gpt-5');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts209 aborted.controller.session.model.get.mockReturnValue('openai/gpt-5');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts221 errored.controller.session.model.get.mockReturnValue('openai/gpt-5');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts318 state.controller.session.model.get.mockReturnValue('mastra/anthropic/claude-opus-4.6');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts330 state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/kimi-k2p6');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts343 state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/kimi-k2p6');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts356 state.controller.session.model.get.mockReturnValue('moonshot/kimi-k1p5');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts368 state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/minimax-m2p7');CODE
CRITICALmastracode/tui/src/tui/__tests__/status-line.test.ts515 state.controller.session.displayState.get.mockReturnValue({CODE
CRITICALmastracode/tui/src/tui/commands/om.ts50 observerModelId: ctx.state.session.om.observer.modelId() ?? '',CODE
CRITICALmastracode/tui/src/tui/commands/om.ts51 reflectorModelId: ctx.state.session.om.reflector.modelId() ?? '',CODE
CRITICALmastracode/tui/src/tui/commands/om.ts52 observationThreshold: ctx.state.session.om.observer.threshold() ?? 30_000,CODE
CRITICALmastracode/tui/src/tui/commands/om.ts53 reflectionThreshold: ctx.state.session.om.reflector.threshold() ?? 40_000,CODE
CRITICALmastracode/tui/src/tui/commands/om.ts64 const currentReflector = ctx.state.session.om.reflector.modelId() ?? null;CODE
22 more matches not shown…
Structural Annotation Overuse439 hits · 779 pts
SeverityFileLineSnippetContext
LOWDEVELOPMENT.md85### Step 1: Make your changesCOMMENT
LOWDEVELOPMENT.md89### Step 2: Build the packagesCOMMENT
LOWDEVELOPMENT.md109### Step 3: Test your changesCOMMENT
LOW.cursor/commands/gh-fix-lint.md10## Step 1: Get PR InformationCOMMENT
LOW.cursor/commands/gh-fix-lint.md22## Step 2: Check for Clean Working DirectoryCOMMENT
LOW.cursor/commands/gh-fix-lint.md30## Step 3: Fetch and Checkout the BranchCOMMENT
LOW.cursor/commands/gh-fix-lint.md42## Step 4: Run Lint and Format FixesCOMMENT
LOW.cursor/commands/gh-fix-lint.md49## Step 5: Check for ChangesCOMMENT
LOW.cursor/commands/gh-fix-lint.md57## Step 6: Commit and PushCOMMENT
LOW.cursor/commands/gh-fix-lint.md70## Step 7: Return to Original BranchCOMMENT
LOW.cursor/commands/ralph-plan.md38### Step 1: Understand the GoalCOMMENT
LOW.cursor/commands/ralph-plan.md46### Step 2: Define BackgroundCOMMENT
LOW.cursor/commands/ralph-plan.md53### Step 3: Plan Setup StepsCOMMENT
LOW.cursor/commands/ralph-plan.md61### Step 4: Break Down TasksCOMMENT
LOW.cursor/commands/ralph-plan.md70### Step 5: Define TestingCOMMENT
LOW.mastracode/commands/gh-fix-lint.md10## Step 1: Get PR InformationCOMMENT
LOW.mastracode/commands/gh-fix-lint.md22## Step 2: Check for Clean Working DirectoryCOMMENT
LOW.mastracode/commands/gh-fix-lint.md30## Step 3: Fetch and Checkout the BranchCOMMENT
LOW.mastracode/commands/gh-fix-lint.md42## Step 4: Run Lint and Format FixesCOMMENT
LOW.mastracode/commands/gh-fix-lint.md49## Step 5: Check for ChangesCOMMENT
LOW.mastracode/commands/gh-fix-lint.md57## Step 6: Commit and PushCOMMENT
LOW.mastracode/commands/gh-fix-lint.md70## Step 7: Return to Original BranchCOMMENT
LOW.mastracode/commands/ralph-plan.md38### Step 1: Understand the GoalCOMMENT
LOW.mastracode/commands/ralph-plan.md46### Step 2: Define BackgroundCOMMENT
LOW.mastracode/commands/ralph-plan.md53### Step 3: Plan Setup StepsCOMMENT
LOW.mastracode/commands/ralph-plan.md61### Step 4: Break Down TasksCOMMENT
LOW.mastracode/commands/ralph-plan.md70### Step 5: Define TestingCOMMENT
LOWexplorations/agent-network-vs-ralph-wiggum.md276 // Step 1: Run LLM completion assessment (existing behavior)COMMENT
LOWexplorations/agent-network-vs-ralph-wiggum.md282 // Step 2: If validation configured, run programmatic checksCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md44### Step 1: Find Failures to InvestigateCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md55### Step 2: Setup InvestigationCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md77### Step 3: Investigate Each QuestionCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md144### Step 4: Document FindingsCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md181### Step 5: Mark as InvestigatedCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md193### Step 6: Implement FixesCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md214### Step 7: Mark as FixedCOMMENT
LOWexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md220### Step 8: Sync to DatasetCOMMENT
LOW.opencode/command/gh-fix-lint.md10## Step 1: Get PR InformationCOMMENT
LOW.opencode/command/gh-fix-lint.md22## Step 2: Check for Clean Working DirectoryCOMMENT
LOW.opencode/command/gh-fix-lint.md30## Step 3: Fetch and Checkout the BranchCOMMENT
LOW.opencode/command/gh-fix-lint.md42## Step 4: Run Lint and Format FixesCOMMENT
LOW.opencode/command/gh-fix-lint.md49## Step 5: Check for ChangesCOMMENT
LOW.opencode/command/gh-fix-lint.md57## Step 6: Commit and PushCOMMENT
LOW.opencode/command/gh-fix-lint.md70## Step 7: Return to Original BranchCOMMENT
LOW.opencode/command/ralph-plan.md38### Step 1: Understand the GoalCOMMENT
LOW.opencode/command/ralph-plan.md46### Step 2: Define BackgroundCOMMENT
LOW.opencode/command/ralph-plan.md53### Step 3: Plan Setup StepsCOMMENT
LOW.opencode/command/ralph-plan.md61### Step 4: Break Down TasksCOMMENT
LOW.opencode/command/ralph-plan.md70### Step 5: Define TestingCOMMENT
LOWworkflows/_test-utils/src/domains/foreach.ts269 // Step 1: Generate items to iterate over - outputs an arrayCOMMENT
LOWworkflows/_test-utils/src/domains/foreach.ts279 // Step 2: Transform each item (used in foreach)COMMENT
LOWworkflows/_test-utils/src/domains/foreach.ts287 // Step 3: Sum all resultsCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts138 // Step 0: Convert iteration state to LLM input formatCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts162 // Step 1: Execute LLMCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts164 // Step 2: Extract tool calls as array for foreachCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts172 // Step 3: Execute each tool call individually (with suspend support).COMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts189 // Step 4: Collect tool results, create observability spans, and bundle for mappingCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts279 // Step 5: Map tool results back to stateCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts281 // Step 6: Check for pending background tasksCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts283 // Step 7: Map back to iteration state format using shared functionCOMMENT
379 more matches not shown…
Verbosity Indicators350 hits · 611 pts
SeverityFileLineSnippetContext
LOWworkflows/_test-utils/src/domains/foreach.ts269 // Step 1: Generate items to iterate over - outputs an arrayCOMMENT
LOWworkflows/_test-utils/src/domains/foreach.ts279 // Step 2: Transform each item (used in foreach)COMMENT
LOWworkflows/_test-utils/src/domains/foreach.ts287 // Step 3: Sum all resultsCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts138 // Step 0: Convert iteration state to LLM input formatCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts162 // Step 1: Execute LLMCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts164 // Step 2: Extract tool calls as array for foreachCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts172 // Step 3: Execute each tool call individually (with suspend support).COMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts189 // Step 4: Collect tool results, create observability spans, and bundle for mappingCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts279 // Step 5: Map tool results back to stateCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts281 // Step 6: Check for pending background tasksCOMMENT
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts283 // Step 7: Map back to iteration state format using shared functionCOMMENT
LOW…ores/cloudflare-d1/src/storage/domains/memory/index.ts806 // Step 1: Get paginated messages from the thread first (without excluding included ones)COMMENT
LOW…ores/cloudflare-d1/src/storage/domains/memory/index.ts924 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/clickhouse/src/storage/domains/memory/index.ts224 // Step 1: Get paginated messages from the thread(s) first (without excluding included ones)COMMENT
LOWstores/clickhouse/src/storage/domains/memory/index.ts375 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/clickhouse/src/storage/db/index.ts352 // Step 1: Rename old table to backupCOMMENT
LOWstores/clickhouse/src/storage/db/index.ts357 // Step 2: Create new table with correct sorting keyCOMMENT
LOWstores/clickhouse/src/storage/db/index.ts396 // Step 3: Copy data from backup to new table, deduplicating by (traceId, spanId)COMMENT
LOWstores/clickhouse/src/storage/db/index.ts431 // Step 4: Drop backup tableCOMMENT
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts874 // Step 1: Get thread messages from all specified threads (for pagination)COMMENT
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts935 // Step 2: Get included messages separately (not subject to pagination)COMMENT
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts950 // Step 3: Combine paginated + included messages, deduplicateCOMMENT
LOW…ores/cloudflare/src/do/storage/domains/memory/index.ts762 // Step 1: Get paginated messages from the thread(s) first (without excluding included ones)COMMENT
LOW…ores/cloudflare/src/do/storage/domains/memory/index.ts864 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/lance/src/storage/domains/memory/index.ts403 // Step 1: Get paginated messages from the thread first (without excluding included ones)COMMENT
LOWstores/lance/src/storage/domains/memory/index.ts438 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/dynamodb/src/storage/domains/memory/index.ts423 // Step 1: Get paginated messages from the thread first (without excluding included ones)COMMENT
LOWstores/dynamodb/src/storage/domains/memory/index.ts474 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/mongodb/src/storage/migration.test.ts54 // Step 1: Insert documents with ONLY old schema fields (simulating pre-migration data)COMMENT
LOWstores/mongodb/src/storage/migration.test.ts103 // Step 2: Verify documents existCOMMENT
LOWstores/mongodb/src/storage/migration.test.ts107 // Step 3: Initialize store (which creates indexes but doesn't modify document structure)COMMENT
LOWstores/mongodb/src/storage/migration.test.ts110 // Step 4: Query via storage API - should work with old documentsCOMMENT
LOWstores/mongodb/src/storage/migration.test.ts128 // Step 5: Verify new fields are null/undefined for old documentsCOMMENT
LOWstores/mongodb/src/storage/domains/memory/index.ts407 // Step 1: Get paginated messages from the thread first (without excluding included ones)COMMENT
LOWstores/mongodb/src/storage/domains/memory/index.ts433 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/mongodb/src/storage/domains/memory/index.ts575 // Step 1: Get paginated messagesCOMMENT
LOWstores/mongodb/src/storage/domains/memory/index.ts601 // Step 2: Add included messages with context (if any), excluding duplicatesCOMMENT
LOWstores/pg/src/storage/migration.test.ts195 // Step 3: Call createTable which should trigger migrationCOMMENT
LOWstores/pg/src/storage/migration.test.ts198 // Step 4: Verify new columns existCOMMENT
LOWstores/pg/src/storage/migration.test.ts224 // Step 5: Verify original columns still existCOMMENT
LOWstores/pg/src/storage/migration.test.ts234 // Step 6: Verify data is still queryable after migrationCOMMENT
LOWstores/pg/src/storage/migration.test.ts264 // Step 7: Verify new columns have NULL values for existing data (since they didn't exist before)COMMENT
LOWstores/pg/src/storage/migration.test.ts270 // Step 8: Verify we can insert new data with the new columnsCOMMENT
LOWstores/pg/src/storage/migration.test.ts329 // Step 2: Verify timezone columns do NOT exist before migrationCOMMENT
LOWstores/pg/src/storage/migration.test.ts338 // Step 3: Insert test dataCOMMENT
LOWstores/pg/src/storage/migration.test.ts357 // Step 4: Run the migration by calling createTable (which internally calls migrateSpansTable)COMMENT
LOWstores/pg/src/storage/migration.test.ts361 // Step 5: Verify timezone columns DON'T exist after migration (this is the bug!)COMMENT
LOWstores/pg/src/storage/migration.test.ts1383 // Step 3: Run the migration SQLCOMMENT
LOWstores/pg/src/storage/migration.test.ts1390 // Step 4: Verify column type is now JSONBCOMMENT
LOWstores/pg/src/storage/migration.test.ts1398 // Step 5: Verify all data was preservedCOMMENT
LOWstores/pg/src/storage/migration.test.ts1423 // Step 6: Verify JSONB operators work after migrationCOMMENT
LOWstores/pg/src/storage/migration.test.ts1429 // Step 7: Verify we can insert new data with JSONBCOMMENT
LOWstores/pg/src/storage/migration.test.ts1558 // Step 3: Run the migration SQLCOMMENT
LOWstores/pg/src/storage/migration.test.ts1565 // Step 4: Verify column type is now JSONBCOMMENT
LOWstores/pg/src/storage/migration.test.ts1573 // Step 5: Verify all data was preservedCOMMENT
LOWstores/pg/src/storage/migration.test.ts1594 // Step 6: Verify JSONB operators work after migrationCOMMENT
LOWstores/pg/src/storage/migration.test.ts1600 // Step 7: Verify we can insert new data with JSONBCOMMENT
LOWstores/pg/src/storage/migration.test.ts66 // Step 1: Create table with OLD schema (simulating existing database)COMMENT
LOWstores/pg/src/storage/migration.test.ts90 // Step 2: Insert test data using OLD schema columnsCOMMENT
LOWstores/pg/src/storage/migration.test.ts305 // Step 1: Create table with OLD schema WITHOUT timezone columns (simulating pre-Dec-23 database)COMMENT
290 more matches not shown…
Modern AI Meta-Vocabulary147 hits · 424 pts
SeverityFileLineSnippetContext
MEDIUMDEVELOPMENT.md71 pnpm build:rag # RAG packageCODE
MEDIUMDEVELOPMENT.md140 pnpm test:rag # RAG testsCODE
MEDIUMexplorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md73 ├── om.md # Agent's context windowCODE
MEDIUM…ows/_test-utils/src/domains/tool-workflow-execution.ts293 // Full agentic loop: LLM → tool → LLM → finish needs extra timeCOMMENT
MEDIUM…ows/_test-utils/src/domains/tool-workflow-execution.ts346 // Full agentic loop: LLM → tools → LLM → finish needs extra timeCOMMENT
MEDIUM…t/src/durable-agent/create-inngest-agentic-workflow.ts242 // and is closed in map-final-output after the agentic loop completesCOMMENT
MEDIUM…t/src/durable-agent/create-inngest-agentic-workflow.ts312 // Create the main agentic loop workflow with dowhileCOMMENT
MEDIUM…t/src/durable-agent/create-inngest-agentic-workflow.ts361 // Run the agentic loop with dowhileCOMMENT
MEDIUM.claude/skills/builder-smoke-test/SKILL.md259# Scaffold an auth-on project (re-runs scaffold with WorkOS keys, asserts auth on):COMMENT
MEDIUM.claude/skills/builder-smoke-test/references/setup.md26### 1. Preflight — scaffold + env vars + modeCOMMENT
MEDIUM.claude/skills/builder-smoke-test/references/auth.md61# 1. Confirm the leak flag is in $PROJECT_DIR/.env (scaffold.sh writes it for auth-on).COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh12# The script lives at <worktree>/.claude/skills/builder-smoke-test/scripts/scaffold.shCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh23# bash scaffold.sh # auth off, prompt for openai keyCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh24# bash scaffold.sh --reuse # skip install if project already healthyCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh25# bash scaffold.sh --dir /custom/path # use a custom project dirCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh26# BUILDER_SMOKE_TEST_DIR=/custom/path bash scaffold.sh # via env varCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh27# bash scaffold.sh --openai-key sk-... # supply key inlineCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh28# bash scaffold.sh \COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh34# 0 — scaffold complete (or reused), printed PROJECT_DIR=... AUTH_MODE=...COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/scaffold.sh144 echo "# Generated by .claude/skills/builder-smoke-test/scripts/scaffold.sh"CODE
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh4# Calls scripts/scaffold.sh to ensure a hermetic project exists, thenCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh8# 1. --dir <path> flag (forwarded to scaffold)COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh15# bash preflight.sh # scaffold auth-off (prompts for openai if missing)COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh21# --workos-organization-id org_... # scaffold auth-onCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh24# bash preflight.sh --skip-scaffold # inspect an already-scaffolded project; no install, no .env rewriteCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh26# All --openai-key, --workos-*, --dir, --reuse flags are forwarded to scaffold.sh.COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh27# --skip-scaffold short-circuits scaffold.sh entirely and just validates theCOMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh33# 0 — scaffold + checks passed (mode matches --expect if given)COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh112 # 1. Resolve PROJECT_DIR without running scaffold.COMMENT
MEDIUM.claude/skills/builder-smoke-test/scripts/preflight.sh129 # 1. Run scaffold. Capture its output so we can extract PROJECT_DIR + AUTH_MODE.COMMENT
MEDIUM…/builder-smoke-test/assets/template/src/mastra/auth.ts35 // and permissions from WorkOS, ensuring scaffold roleMapping edits andCOMMENT
MEDIUM…convex/src/storage/domains/workflows/workflows.test.ts48 // Mirrors the structural shape of an `agentic-loop` snapshot whoseCOMMENT
MEDIUMstores/duckdb/README.md57### With RAG PipelineCOMMENT
MEDIUMstores/duckdb/README.md225### Local RAG PipelinesCOMMENT
MEDIUMobservability/mastra/src/processor-tracing.test.ts1896 // This ensures guardrails validate content before persistenceCOMMENT
MEDIUMe2e-tests/client-js/_test-utils/src/server-setup.ts109 // to the next — which the evented agentic-loop tickles by spreading workflowCOMMENT
MEDIUMintegrations/brightdata/README.md87## RAG Pairing ExampleCOMMENT
MEDIUMintegrations/tavily/README.md106## RAG Pairing ExampleCOMMENT
MEDIUMembedders/voyageai/README.md273### With Mastra RAGCOMMENT
MEDIUMmastracode/sdk/src/headless/run-mc.ts299 // Count agentic turns (one assistant response = one turn). When the cap isCOMMENT
MEDIUMpackages/core/src/tools/tool.test.ts217 // own — the value has to survive conversion to a CoreTool (where the agenticCOMMENT
MEDIUMpackages/core/src/tools/tool-builder/builder.ts627 // use workflows internally for their agentic loopCOMMENT
MEDIUMpackages/core/src/tools/tool-builder/builder.ts1063 // Preserve tool-level background config so the agentic loop can pick it upCOMMENT
MEDIUMpackages/core/src/llm/model/model.loop.e2e.test.ts23// The agentic loop runs on the evented workflow engine, which needs aCOMMENT
MEDIUMpackages/core/src/llm/model/model.loop.ts198 // The agentic loop calls setInferenceContext + startInference per-step so theCOMMENT
MEDIUMpackages/core/src/mastra/cross-process-workflow.test.ts198 // Simulate a nested workflow event (agentic-loop inside execution-workflow)COMMENT
MEDIUMpackages/core/src/mastra/cross-process-workflow.test.ts344 // Owner registers the root agentic-loop run.COMMENT
MEDIUMpackages/core/src/mastra/cross-process-workflow.test.ts348 // parent chain points to the registered agentic-loop.COMMENT
MEDIUMpackages/core/src/mastra/index.ts771 // agentic-loop wrapping an agentic-execution) keep the scope alive until theCOMMENT
MEDIUMpackages/core/src/mastra/index.ts807 // Internal execution-workflows / agentic-loops are run-scoped:COMMENT
MEDIUMpackages/core/src/mastra/index.ts819 // (e.g. `executionWorkflow` inside `agentic-loop`) carry anCOMMENT
MEDIUMpackages/core/src/mastra/index.ts821 // but their root parent (the registered agentic-loop) is. If anyCOMMENT
MEDIUMpackages/core/src/mastra/index.ts1373 // The evented workflow engine (used internally by the agentic loop) requiresCOMMENT
MEDIUMpackages/core/src/mastra/index.ts3147 // 1. Internal registry (run-scoped execution-workflow, agentic-loop, etc.)COMMENT
MEDIUM…rc/workflows/evented/workflow-event-processor/utils.ts46 // `agentic-loop` instance with distinct closures) resolve to the rightCOMMENT
MEDIUM…rc/workflows/evented/workflow-event-processor/index.ts474 // persist (e.g. the internal `executionWorkflow` inside `agentic-loop`).COMMENT
MEDIUMpackages/core/src/agent/agent.ts3274 // Title generation runs the same evented agentic loop as `#execute` — makeCOMMENT
MEDIUMpackages/core/src/agent/agent.ts4522 // When a sub-agent invocation is dispatched as a background task, the agentic loopCOMMENT
MEDIUMpackages/core/src/agent/agent.ts6811 // The same Mastra is registered on the LLM so the agentic loop insideCOMMENT
MEDIUMpackages/core/src/agent/agent.ts7509 // agents sharing the same agentic-loop snapshot storage are skipped.COMMENT
87 more matches not shown…
Magic Placeholder Names68 hits · 405 pts
SeverityFileLineSnippetContext
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md33> Replace `<server-url>` with your environment URL, `<agent-id>` with an agent from your setup, and `<your-api-key>` froCODE
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md38 -H "Authorization: Bearer <your-api-key>" \CODE
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md44 -H "Authorization: Bearer <your-api-key>" \CODE
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md50 -H "Authorization: Bearer <your-api-key>" \CODE
HIGHstores/pinecone/README.md18 apiKey: 'your-api-key',CODE
HIGHstores/pinecone/src/vector/index.ts40 * apiKey: 'your-api-key',COMMENT
HIGHstores/pinecone/src/vector/index.ts46 * apiKey: 'your-api-key',COMMENT
HIGHstores/pinecone/src/vector/index.ts53 * apiKey: 'your-api-key',COMMENT
HIGHstores/turbopuffer/README.md18 apiKey: 'your-api-key',CODE
HIGH…course/02-agent-tools-mcp/08-getting-zapier-mcp-url.md18ZAPIER_MCP_API_KEY=your-api-key-hereCODE
HIGHobservability/arize/README.md28PHOENIX_API_KEY=your-api-keyCODE
HIGHobservability/arize/README.md66 apiKey: 'your-api-key', // OptionalCODE
HIGHobservability/arize/README.md94ARIZE_API_KEY=your-api-keyCODE
HIGHobservability/arize/README.md132 apiKey: 'your-api-key',CODE
HIGHobservability/arize/README.md164 apiKey: "your-api-key",CODE
HIGHobservability/otel-exporter/README.md68DASH0_API_KEY=your-api-keyCODE
HIGHobservability/otel-exporter/README.md98 apiKey: 'your-api-key',CODE
HIGHobservability/otel-exporter/README.md120SIGNOZ_API_KEY=your-api-keyCODE
HIGHobservability/otel-exporter/README.md150 apiKey: 'your-api-key',CODE
HIGHobservability/otel-exporter/README.md219TRACELOOP_API_KEY=your-api-keyCODE
HIGHobservability/otel-exporter/README.md249 apiKey: 'your-api-key',CODE
HIGHobservability/otel-exporter/README.md269LMNR_PROJECT_API_KEY=your-api-keyCODE
HIGHobservability/otel-exporter/README.md298 apiKey: 'your-api-key',CODE
HIGHobservability/arthur/README.md20ARTHUR_API_KEY=your-api-keyCODE
HIGHobservability/arthur/README.md56 apiKey: 'your-api-key',CODE
HIGHobservability/arthur/README.md71 apiKey: 'your-api-key',CODE
HIGHobservability/_examples/otel-bridge/agent-hub/README.md28OPENAI_API_KEY=your-api-key-hereCODE
HIGHembedders/voyageai/README.md18export VOYAGE_API_KEY=your-api-keyCODE
HIGHvoice/azure/README.md37 apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env varCODE
HIGHvoice/azure/README.md42 apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env varCODE
HIGHvoice/gladia/README.md16GLADIA_API_KEY=your_api_keyCODE
HIGHvoice/google/README.md22GOOGLE_API_KEY=your_api_keyCODE
HIGHvoice/google/README.md65 apiKey: 'your-api-key', // Optional, can rely on GOOGLE_API_KEY or ADCCODE
HIGHvoice/google/src/index.ts135 * speechModel: { apiKey: 'your-api-key' },COMMENT
HIGHvoice/murf/README.md16MURF_API_KEY=your_api_keyCODE
HIGHvoice/murf/README.md30 apiKey: 'your-api-key', // Optional, can use MURF_API_KEY env varCODE
HIGHvoice/speechify/README.md27 apiKey: 'your-api-key', // Optional, can use SPEECHIFY_API_KEY env varCODE
HIGHvoice/cloudflare/README.md28CLOUDFLARE_AI_API_KEY=your_api_keyCODE
HIGHvoice/cloudflare/README.md48 apiKey: 'YOUR_API_KEY',CODE
HIGHvoice/deepgram/README.md16DEEPGRAM_API_KEY=your_api_keyCODE
HIGHvoice/deepgram/README.md28 apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env varCODE
HIGHvoice/deepgram/README.md32 apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env varCODE
HIGHvoice/openai-realtime-api/README.md16OPENAI_API_KEY=your_api_keyCODE
HIGHvoice/openai-realtime-api/README.md30 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env varCODE
HIGHvoice/openai-realtime-api/src/index.ts138 * apiKey: 'your-api-key',COMMENT
HIGHvoice/elevenlabs/README.md16ELEVENLABS_API_KEY=your_api_keyCODE
HIGHvoice/elevenlabs/README.md28 apiKey: 'your-api-key', // Optional, can use ELEVENLABS_API_KEY env varCODE
HIGHvoice/playai/README.md16PLAYAI_API_KEY=your_api_keyCODE
HIGHvoice/playai/README.md29 apiKey: 'your-api-key', // Optional, can use PLAYAI_API_KEY env varCODE
HIGHvoice/sarvam/README.md16SARVAM_API_KEY=your_api_keyCODE
HIGHvoice/google-gemini-live-api/README.md21GOOGLE_API_KEY=your_api_keyCODE
HIGHvoice/google-gemini-live-api/README.md74 apiKey: 'your-api-key', // Optional, can use GOOGLE_API_KEY env varCODE
HIGHvoice/google-gemini-live-api/src/index.ts61 * apiKey: 'your-api-key',COMMENT
HIGHvoice/google-gemini-live-api/src/index.ts71 * speechModel: { name: 'gemini-2.0-flash-live-001', apiKey: 'your-api-key' },COMMENT
HIGHvoice/google-gemini-live-api/src/index.ts75 * apiKey: 'your-api-key',COMMENT
HIGHvoice/openai/README.md16OPENAI_API_KEY=your_api_keyCODE
HIGHvoice/openai/README.md28 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env varCODE
HIGHvoice/openai/README.md32 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env varCODE
HIGHvoice/openai/README.md41 apiKey: 'your-api-key',CODE
HIGHvoice/openai/README.md50 apiKey: 'your-api-key',CODE
8 more matches not shown…
Over-Commented Block433 hits · 333 pts
SeverityFileLineSnippetContext
LOW…r-adapters/_test-utils/src/route-adapter-test-suite.ts81COMMENT
LOW…r-adapters/_test-utils/src/route-adapter-test-suite.ts141 // 'test-connection-id' that isn't seeded, so the fail-closed ownershipCOMMENT
LOWdeployers/cloudflare/src/index.test.ts21COMMENT
LOWclient-sdks/client-js/src/example.ts41COMMENT
LOWclient-sdks/client-js/src/example.ts61// try {COMMENT
LOW…i-sdk/src/__tests__/add-tool-result-message-id.test.ts201 //COMMENT
LOWclient-sdks/react/src/lib/mastra-db/accumulator.ts21// Boundary cast policyCOMMENT
LOWworkflows/inngest/src/actor-signal.test.ts21describe('@mastra/inngest actor signal threading (hermetic)', () => {COMMENT
LOW…lows/inngest/src/durable-agent/create-inngest-agent.ts521 // Set up pubsub with lazy CachingPubSub creationCOMMENT
LOW…lows/inngest/src/durable-agent/create-inngest-agent.ts561 // as the agent's pubsub. Each InngestWorkflow function (including nested ones)COMMENT
LOW…ows/inngest/src/__tests__/create-inngest-agent.test.ts461// Parity surface testsCOMMENT
LOW…ws/inngest/src/__tests__/proxyref-verification.test.ts101 // When stream({ untilIdle: true }) is called:COMMENT
LOW.claude/skills/docs-audit/scripts/run-checks.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/docs-audit/scripts/init-run.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/docs-audit/scripts/snapshot.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/docs-audit/scripts/eval-typecheck.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/docs-audit/scripts/eval-setup.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/docs-audit/scripts/format-doc.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/mastra-smoke-test/scripts/test-server.sh1#!/bin/bashCOMMENT
LOW…ls/mastra-smoke-test/scripts/discover-release-scope.sh1#!/bin/bashCOMMENT
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh21#COMMENT
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh21# --workos-organization-id org_... # scaffold auth-onCOMMENT
LOW…e/skills/builder-smoke-test/scripts/seed-multi-user.sh1#!/usr/bin/env bashCOMMENT
LOW…e/skills/builder-smoke-test/scripts/wait-for-server.sh1#!/usr/bin/env bashCOMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts481 // createSampleMessage({COMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts501 // }),COMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts521COMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts541 // {COMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts561 // resourceId: 'cross-thread-resource',COMMENT
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts581 // resourceId: 'cross-thread-resource',COMMENT
LOWstores/_test-utils/src/domains/memory/threads.ts401 const finalThread = await memoryStorage.getThreadById({ threadId: thread.id });COMMENT
LOWstores/_test-utils/src/domains/memory/threads.ts421 // expect(retrievedThread?.updatedAt.toISOString()).toBe(now.toISOString());COMMENT
LOWstores/_test-utils/src/domains/memory/threads.ts441 // const retrievedThread = await storage.getThreadById({ threadId: thread.id });COMMENT
LOW…src/storage/domains/observability/v-next/index.test.ts1181 // getSpans (batch by spanId)COMMENT
LOW…src/storage/domains/observability/v-next/index.test.ts1921COMMENT
LOW…src/storage/domains/observability/v-next/index.test.ts3901 // start from a clean state. ALTER TABLE ... MODIFY TTL with persistentCOMMENT
LOW…ouse/src/storage/domains/observability/v-next/index.ts501 }COMMENT
LOWstores/pg/README.md441COMMENT
LOWstores/pg/docker-compose.pooler.yaml21 # into the user-reported failure mode. Real Supabase deploymentsCOMMENT
LOWstores/pg/docker-compose.pooler.yaml61 DB_NAME: ${POSTGRES_DB:-postgres}COMMENT
LOWstores/pg/src/storage/index.test.ts541 // the symptoms (statement_timeout, connectionTimeoutMillis) whichCOMMENT
LOWstores/pg/src/storage/index.test.ts581 });COMMENT
LOWstores/pg/src/storage/test-utils.ts1041 expect(version).toBeDefined();COMMENT
LOWstores/pg/src/storage/index.ts301 async #runPinnedInit(): Promise<void> {COMMENT
LOW…pg/src/storage/domains/observability/v-next/helpers.ts141// Common context — the ~23 identity / hierarchy / execution-context columnsCOMMENT
LOW…c/storage/domains/observability/v-next/partitioning.ts121 const baseNowMs = Date.now();COMMENT
LOW…c/storage/domains/observability/v-next/partitioning.ts141 // `partEnd` are produced by `dayBounds()` (formatted from a JS Date)COMMENT
LOW…orage/domains/observability/v-next/integration.test.ts601 // takes AccessExclusiveLock on the parent, which blocks every concurrentCOMMENT
LOWstores/libsql/src/vector/filter.test.ts761 translator.translate({COMMENT
LOWstores/libsql/src/vector/filter.test.ts781 // translator.translate({COMMENT
LOWstores/libsql/src/vector/filter.test.ts801 // }),COMMENT
LOWstores/libsql/src/vector/filter.test.ts821 // field: { $regex: '^exact$' },COMMENT
LOWstores/libsql/src/vector/filter.test.ts841 // });COMMENT
LOWstores/libsql/src/vector/filter.test.ts861 // nested: {COMMENT
LOWstores/libsql/src/vector/filter.test.ts881 // expect(COMMENT
LOWstores/libsql/src/vector/filter.ts61COMMENT
LOWstores/libsql/src/vector/filter.ts121 // const flags = optionsCOMMENT
LOWstores/libsql/src/vector/sql-builder.ts261 },COMMENT
373 more matches not shown…
Fake / Example Data223 hits · 235 pts
SeverityFileLineSnippetContext
LOW…adapters/express/src/__tests__/auth-middleware.test.ts17 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,CODE
LOW…adapters/express/src/__tests__/auth-middleware.test.ts79 email: 'user@example.com',CODE
LOW…er-adapters/hono/src/__tests__/auth-middleware.test.ts16 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,CODE
LOW…adapters/fastify/src/__tests__/auth-middleware.test.ts16 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,CODE
LOW…ver-adapters/koa/src/__tests__/auth-middleware.test.ts18 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,CODE
LOWdeployers/cloudflare/src/index.ts210 /"placeholder": "PLACEHOLDER",/,CODE
LOWauth/google/src/index.test.ts139 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts183 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts198 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts226 payload: { sub: 'u1', email: 'user@example.com', hd: 'example.com', nonce: 'wrong' },CODE
LOWauth/google/src/index.test.ts245 payload: { sub: 'u1', email: 'user@example.com', nonce },CODE
LOWauth/google/src/index.test.ts296 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts320 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts347 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts395 email: 'user@example.com',CODE
LOWauth/google/src/index.test.ts477 expect(firstUrl.searchParams.get('userKey')).toBe('user@example.com');CODE
LOWauth/google/src/index.test.ts546 expect(consoleError.mock.calls[0]?.join(' ')).not.toContain('user@example.com');CODE
LOWauth/google/src/index.test.ts579 subject: 'admin@example.com',CODE
LOWauth/okta/src/index.test.ts218 profile: { login: 'user@example.com', email: 'user@example.com', firstName: 'Test', lastName: 'User' },CODE
LOWauth/okta/src/index.test.ts227 email: 'user@example.com',CODE
LOWauth/neon/src/index.test.ts411 email: 'user@example.com',CODE
LOWauth/neon/src/index.test.ts426 email: 'user@example.com',CODE
LOWauth/clerk/src/index.test.ts582 email: 'user@example.com',CODE
LOWauth/clerk/src/index.test.ts594 expect(result.user.email).toBe('user@example.com');CODE
LOWauth/auth0/src/index.test.ts424 email: 'user@example.com',CODE
LOWauth/auth0/src/index.test.ts433 expect(result.user.email).toBe('user@example.com');CODE
LOWclient-sdks/ai-sdk/src/__tests__/custom-data.test.ts129 name: 'John Doe',CODE
LOWclient-sdks/ai-sdk/src/__tests__/custom-data.test.ts160 expect(customDataChunk.data.user.name).toBe('John Doe');CODE
LOWworkflows/_test-utils/src/domains/structured-output.ts168 phone: '555-1234',CODE
LOWstores/astra/src/vector/index.test.ts428 name: 'John Doe',CODE
LOWstores/couchbase/src/vector/index.integration.test.ts255 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWstores/couchbase/src/vector/index.integration.test.ts255 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWstores/couchbase/src/vector/index.unit.test.ts378 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWstores/couchbase/src/vector/index.unit.test.ts378 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doCODE
LOWstores/couchbase/src/vector/index.unit.test.ts400 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et CODE
LOWstores/couchbase/src/vector/index.unit.test.ts400 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et CODE
LOWstores/couchbase/src/vector/index.unit.test.ts403 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOWstores/couchbase/src/vector/index.unit.test.ts403 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOWstores/couchbase/src/vector/index.unit.test.ts485 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et CODE
LOWstores/couchbase/src/vector/index.unit.test.ts485 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et CODE
LOWstores/couchbase/src/vector/index.unit.test.ts488 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOWstores/couchbase/src/vector/index.unit.test.ts488 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et doloreCODE
LOWstores/dsql/src/storage/index.test.ts201 it('placeholder', () => {});CODE
LOWobservability/mastra/src/exporters/base.test.ts377 metadata: { ...span.metadata, userName: 'John Doe', department: 'Engineering' },CODE
LOWobservability/mastra/src/exporters/base.test.ts389 userName: 'John Doe',CODE
LOW…astra/src/span_processors/senstive-data-filter.test.ts267 fullName: 'John Doe',CODE
LOW…astra/src/span_processors/senstive-data-filter.test.ts313 content: '{ email": "test@test.com" }',CODE
LOW…astra/src/span_processors/senstive-data-filter.test.ts328 expect(input.messages[0].content).toBe('{ email": "test@test.com" }');CODE
LOWobservability/datadog/src/compliance.test.ts70 exporter = new DatadogExporter({ mlApp: 'compliance', apiKey: 'fake-key', agentless: true });CODE
LOWe2e-tests/_local-registry-setup/registry.js57 execSync(`npm config set //localhost:${port}/:_authToken dummy-token`);CODE
LOWe2e-tests/_local-registry-setup/registry.js58 execSync(`pnpm config set //localhost:${port}/:_authToken dummy-token`);CODE
LOWbrowser/agent-browser/src/__tests__/dialog.test.ts112 const result = await browser.dialog({ triggerRef: '@e3', action: 'accept', text: 'John Doe' });CODE
LOWbrowser/agent-browser/src/__tests__/dialog.test.ts114 expect(mockDialog.accept).toHaveBeenCalledWith('John Doe');CODE
LOW…ents/__tests__/ask-question-inline-long-labels.test.ts86 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOW…ents/__tests__/ask-question-inline-long-labels.test.ts86 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOW…/tui/components/__tests__/wrapping-select-list.test.ts46 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';CODE
LOW…/tui/components/__tests__/wrapping-select-list.test.ts46 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';CODE
LOW…/tui/components/__tests__/wrapping-select-list.test.ts66 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';CODE
LOW…/tui/components/__tests__/wrapping-select-list.test.ts66 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';CODE
LOW…/tui/components/__tests__/wrapping-select-list.test.ts73 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit';CODE
163 more matches not shown…
Slop Phrases44 hits · 62 pts
SeverityFileLineSnippetContext
LOWexplorations/longmemeval/src/commands/investigate.ts901 console.log(`\n💡 Don't forget to run: pnpm run sync-improved-om-qa\n`);CODE
MEDIUMexamples/agent/src/hitl-approval-recall.ts102 controller.enqueue({ type: 'text-delta', id: 'text-0', delta: 'All done — let me know if you need more.' });CODE
MEDIUMexamples/agent/src/mastra/agents/approval-demo-agent.ts95 delta: 'All done — let me know if you need anything else.',CODE
MEDIUMexamples/agent/src/mastra/agents/model-v2-agent.ts269 * Another research agent that should NOT be used (for demonstration purposes)COMMENT
MEDIUM…evals/src/scorers/llm/tool-call-accuracy/index.test.ts329 content: 'I cannot provide weather information without checking.',CODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-c1a4b69b.json90 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-c1a4b69b.json98 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json63 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json71 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json172 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json63 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json71 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json238 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json55 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json63 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json256 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json55 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json63 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json219 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-ec76f34b.json90 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-ec76f34b.json98 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50215a35.json55 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50215a35.json63 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-50215a35.json222 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json55 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json63 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json231 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json302 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json63 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json71 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json238 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json82 "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call toCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json90 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
LOW…s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json191 "text": "\n You are a router in a network of specialized AI agents.\n Your job is to dCODE
MEDIUM…c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json236 "event: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_idCODE
MEDIUM…c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json237 "event: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_CODE
MEDIUM…c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json239 ".done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_015934ded4c5883c006a32a2742cd8819CODE
MEDIUM…c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json240 "event: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_015934ded4c5883CODE
LOWpackages/core/src/loop/network/index.ts237 ## Available Workflows in Network (make sure to use inputs corresponding to the input schema when calling a woCOMMENT
LOWpackages/core/src/loop/network/index.ts239 ## Available Tools in Network (make sure to use inputs corresponding to the input schema when calling a tool)COMMENT
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json5372 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" Niño and La Niña. \\n\\nMy research is now cCODE
MEDIUM…s__/schema-compat-src-provider-compats-google.e2e.json1325 "text": "I have successfully called the `manySchemasTool` with valid sample data satisfying all the CODE
MEDIUM…-compat-src-provider-compats-openai-reasoning.e2e.json1787 "text": "The tool has been called with valid sample data. Let me know if you need anything else!"CODE
MEDIUM…ponents/MarkdownRenderer/markdown-renderer.stories.tsx125Here's a simple example:CODE
AI Slop Vocabulary21 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMstores/libsql/src/storage/domains/harness/index.ts157 return runPrune({ db: this.#db, domain: 'harness', targets, options, logger: this.logger });CODE
MEDIUMworkspaces/docker/src/sandbox/process-manager.ts97 // backoff would be more robust under heavy load, but overkill in practice.COMMENT
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json814 "event: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_idCODE
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json815 "event: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_CODE
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json816 "event: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_003b24CODE
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json819 "data: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_003b244db9908ccb006a0aef0ea85481968f11de26CODE
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1769 "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\CODE
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1769 "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\CODE
MEDIUM…ings__/core-src-tools-provider-tools-ordering.e2e.json364 "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":22,\"delta\":{\"type\":\"citatiCODE
MEDIUM…ings__/core-src-agent-__tests__-tool-handling.e2e.json923 "text": "Here's an overview of TypeScript:\n\n### What is TypeScript?\nTypeScript is an open-source prCODE
MEDIUM…/core-src-agent-agent-processor.e2e/test-8d6b5c23.json153 "text": "Extract and structure the key information from the following text according to the specified CODE
MEDIUMpackages/core/src/mastra/index.ts5703 this.#logger?.error('Failed to destroy harness during shutdown', {CODE
MEDIUMpackages/core/src/processors/processors/skills.test.ts37 instructions: '# Testing\n\nHelp write comprehensive tests.',CODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json2782 "text": "I'll help you research weather patterns in California and create a comprehensive summary. LetCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json2922 "text": "I'll help you research weather patterns in California and create a comprehensive summary. LetCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3086 "text": "I'll help you research weather patterns in California and create a comprehensive summary. LetCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3277 "text": "I'll help you research weather patterns in California and create a comprehensive summary. LetCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3556 "text": "I'll help you research weather patterns in California and create a comprehensive summary. LetCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json5156 "ces cooler temperatures overall compared to the south.\\n* **Southern California:** Known for hotter, drier cCODE
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json5265 "content": "# Weather Patterns in California\n\nCalifornia is renowned for its diverse and complexCODE
MEDIUMpackages/mcp/src/client/configuration.e2e.test.ts317 // Adding a small delay or an explicit trigger if the fixture supported it would be more robust.COMMENT
Example Usage Blocks19 hits · 30 pts
SeverityFileLineSnippetContext
LOW.claude/skills/docs-audit/scripts/run-checks.sh10# Usage:COMMENT
LOW.claude/skills/docs-audit/scripts/init-run.sh13# Usage:COMMENT
LOW.claude/skills/docs-audit/scripts/snapshot.sh12# Usage:COMMENT
LOW.claude/skills/docs-audit/scripts/eval-typecheck.sh10# Usage:COMMENT
LOW.claude/skills/docs-audit/scripts/eval-setup.sh12# Usage:COMMENT
LOW.claude/skills/docs-audit/scripts/format-doc.sh7# Usage:COMMENT
LOW…ls/mastra-smoke-test/scripts/discover-release-scope.sh5# Usage:COMMENT
LOW…kills/mastra-smoke-test/scripts/check-versioning-pr.sh5# Usage:COMMENT
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh22# Usage:COMMENT
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh14# Usage:COMMENT
LOW…e/skills/builder-smoke-test/scripts/seed-multi-user.sh20# Usage:COMMENT
LOW…e/skills/builder-smoke-test/scripts/wait-for-server.sh6# Usage:COMMENT
LOW…pg/src/storage/performance-indexes/performance-test.ts530// Example usageCOMMENT
LOW…ql/src/storage/performance-indexes/performance-test.ts543// Example usageCOMMENT
LOWmastracode/web/docker-compose.yml7# Usage:COMMENT
LOWscripts/install-example.js95// Example usageCOMMENT
LOWscripts/ignore-example.js102// Example usageCOMMENT
LOWscripts/generate-package-docs.ts291## How to useCOMMENT
LOWscripts/test-migration-e2e.sh11# Usage:COMMENT
Cross-Language Confusion (JS/TS)6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHpackages/rag/src/document/document.test.ts723 return FalseCODE
HIGHpackages/rag/src/document/document.test.ts724 return TrueCODE
HIGHpackages/rag/src/document/document.test.ts1005 print(i)CODE
HIGHpackages/rag/src/document/document.test.ts1222 print("Hello")CODE
HIGHpackages/rag/src/document/document.test.ts2800 print("Hello World")CODE
HIGHpackages/rag/src/document/document.test.ts3579 print(f"The result is {z}")CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/test-migration-e2e.sh137# Check if test directory existsCOMMENT
LOWscripts/test-migration-e2e.sh143# Check if test file existsCOMMENT
LOW.github/workflows/test-combined-stores.yml52 # Check if we should include vectorize testsCOMMENT
LOW.github/workflows/regenerate-provider-registry.yml87 # Check if an automated provider registry changeset already existsCOMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1757 "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"input_jCODE
MEDIUM.github/workflows/call-external-mastra-workflow.yml43 # Create the workflow run and capture the runIdCOMMENT
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpackages/core/src/_types/ai-sdk.types.d.ts4681 export function getData(name: string): ValueOf<typeof data> {CODE
LOWpackages/rag/src/document/document.test.ts3855function processData(data) {CODE
LOW…odemod/src/test/__fixtures__/runtime-context.output.ts22function handleRequest(requestContext: RequestContext<MyContext>) {CODE
LOW…codemod/src/test/__fixtures__/runtime-context.input.ts22function handleRequest(runtimeContext: RuntimeContext<MyContext>) {CODE