Repository Analysis

mastra-ai/mastra

From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

1.8 Likely human-written View on GitHub
1.8
Adjusted Score
1.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
24,549
Stars
TypeScript
Language
2,131,959
Lines of Code
8537
Files
2266
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 60HIGH 73MEDIUM 233LOW 1900

Pattern Findings

2266 matches across 14 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers1030 hits · 1031 pts
SeverityFileLineSnippet
LOWserver-adapters/_test-utils/src/test-helpers.ts1190async function setupWorkflowRegistryMocks(workflows: Record<string, Workflow>, mastra: Mastra) {
LOWserver-adapters/_test-utils/src/test-helpers.ts1275function getRouteSpecificPathDefaults(route: ServerRoute): {
LOWserver-adapters/_test-utils/src/test-helpers.ts1389export function createStreamWithSensitiveData(format: 'v1' | 'v2' = 'v2'): ReadableStream {
LOW…r-adapters/_test-utils/src/route-adapter-test-suite.ts27export function createRouteAdapterTestSuite(config: AdapterTestSuiteConfig) {
LOWserver-adapters/_test-utils/src/route-test-utils.ts106export function generateValidDataFromSchema(schema: z.ZodTypeAny, fieldName?: string): any {
LOWserver-adapters/_test-utils/src/route-test-utils.ts359export function getDefaultValidPathParams(route: ServerRoute): Record<string, any> {
LOWserver-adapters/_test-utils/src/route-test-utils.ts443export function getDefaultInvalidPathParams(route: ServerRoute): Array<Record<string, any>> {
LOW…r-adapters/_test-utils/src/mcp-transport-test-suite.ts64export function createMCPTransportTestSuite(config: MCPTransportTestConfig) {
LOW…apters/fastify/src/__tests__/stream-disconnect.test.ts61 async function createRequestWithAbortSignal(requestRaw: MockRawRequest, replyRaw: MockRawReply) {
LOWserver-adapters/koa/src/index.ts865 this.app.use(async function mastraCustomRouteDispatcher(ctx: Context, next: Next) {
LOW…udflare/src/plugins/postgres-store-instance-checker.ts5export function postgresStoreInstanceChecker(): Plugin {
LOW…loudflare/src/babel/postgres-store-instance-checker.ts23export function postgresStoreInstanceChecker(): PluginObj {
LOWdeployers/netlify/src/index.ts37function stubEdgeIncompatibleModules() {
LOWauth/better-auth/src/index.ts21function mapBetterAuthUserToEEUser(user: User): EEUser {
LOWauth/workos/src/fga-provider.ts30function isWorkOSResourceNotFoundError(error: any): boolean {
LOWclient-sdks/client-js/src/resources/agent.ts123function getClientToolObservabilityContext(toolCall: unknown): ClientToolObservabilityContext | undefined {
LOWclient-sdks/client-js/src/resources/agent.ts133async function executeClientToolWithObservability({
LOW…ient-sdks/client-js/src/utils/process-mastra-stream.ts3async function sharedProcessMastraStream({
LOW…ient-sdks/client-js/src/utils/process-mastra-stream.ts58export async function processMastraNetworkStream({
LOW…dks/client-js/src/utils/verify-agent-card-signature.ts91export async function verifyAgentCardSignatureIfPresent(
LOWclient-sdks/client-js/src/utils/index.ts131export function parseClientRequestContext(requestContext?: RequestContext | Record<string, any>) {
LOWclient-sdks/client-js/src/utils/index.ts158export function requestContextQueryString(
LOWclient-sdks/client-js/src/observability/collector.ts324export function getCurrentObservabilityCollector(): ObservabilityCollector | undefined {
LOWclient-sdks/ai-sdk/src/middleware.ts457export function createProcessorMiddleware(options: ProcessorMiddlewareOptions): LanguageModelV2Middleware {
LOWclient-sdks/ai-sdk/src/middleware.ts858function extractTextFromMastraMessage(msg: MastraDBMessage): string {
LOWclient-sdks/ai-sdk/src/middleware.ts878function convertMastraChunkToAISDKStreamPart(chunk: ChunkType): LanguageModelV2StreamPart | null {
LOWclient-sdks/ai-sdk/src/helpers.ts77function normalizeToolPayloadState(state: unknown): TransformedToolPayloadState | undefined {
LOWclient-sdks/ai-sdk/src/helpers.ts94function getTransformedToolPayload(
LOWclient-sdks/ai-sdk/src/helpers.ts107function hasTransformedToolPayload(
LOWclient-sdks/ai-sdk/src/transformers.ts161function createWorkflowStepDataPart(args: {
LOWclient-sdks/ai-sdk/src/transformers.ts246export function WorkflowStreamToAISDKTransformer({
LOWclient-sdks/ai-sdk/src/transformers.ts323export function AgentNetworkToAISDKTransformer() {
LOWclient-sdks/ai-sdk/src/transformers.ts582function appendPendingToolCallArgs(
LOWclient-sdks/ai-sdk/src/convert-messages.ts5function isSystemReminderUIMessage(message: {
LOW…rc/__tests__/transform-agent-cumulative-growth.test.ts25 function simulateMultiStepAgentRun(numSteps: number) {
LOWclient-sdks/react/src/lib/ai-sdk/utils/toUIMessage.ts164function signalContentsToUserMessages(contents: unknown, metadata: MastraUIMessageMetadata): MastraUIMessage[] {
LOWexplorations/ralph-wiggum-loop-prototype.ts198export function createAutonomousLoopWorkflow(agent: Agent, mastra?: Mastra) {
LOWexplorations/longmemeval/src/cli.ts212async function loadPreparationTokenUsage(
LOW…gmemeval/src/processors/observation-semantic-filter.ts350export function rebuildObservationsWithStructure(
LOW…gmemeval/src/processors/observation-semantic-filter.ts419export function extractSuggestedResponseBlock(formattedContext: string): string | null {
LOW…gmemeval/src/processors/observation-semantic-filter.ts1140export function createObservationSemanticFilter(config: ObservationSemanticFilterConfig): ObservationSemanticFilter {
LOWexplorations/longmemeval/src/commands/prepare.ts63function containsProhibitedContent(content: string): boolean {
LOWexplorations/longmemeval/src/commands/prepare.ts91function sanitizeProhibitedContent(content: string): string {
LOWexplorations/longmemeval/src/commands/reconcile.ts96function buildPatternExtractionPrompt(existingObservations: string): string {
LOWexplorations/longmemeval/src/commands/reconcile.ts167async function extractPatternsForQuestion(
LOWexplorations/longmemeval/src/commands/run.ts73function updateRateLimiterFromResponse(response: any): void {
LOWexplorations/longmemeval/src/commands/run.ts110async function checkRateLimitBeforeRequest(): Promise<void> {
LOWworkflows/temporal/src/plugin.ts15function getGeneratedWorkflowModulePath(outputDir: string): string {
LOWworkflows/temporal/src/plugin.ts19function getGeneratedActivitiesModulePath(outputDir: string): string {
LOWworkflows/temporal/src/transforms/workflows.ts66function createTemporalWorkflowHelperStatements(): t.Statement[] {
LOWworkflows/temporal/src/transforms/workflows.ts353function createTemporalWorkflowStatements(
LOWworkflows/temporal/src/transforms/workflows.ts405function getTemporalWorkflowExportFromDeclaration(
LOWworkflows/temporal/src/transforms/workflows.ts430function getVariableDeclarationFromStatement(statement: t.Statement): t.VariableDeclaration | null {
LOWworkflows/temporal/src/transforms/workflows.ts472function createWorkflowTransformState(program: t.Program, filePath: string): WorkflowTransformState {
LOWworkflows/temporal/src/transforms/workflows.ts485function collectWorkflowDeclarationMetadata(statement: t.Statement, state: WorkflowTransformState): void {
LOWworkflows/temporal/src/transforms/workflows.ts507function collectWorkflowExportMetadata(statement: t.Statement, state: WorkflowTransformState): void {
LOWworkflows/temporal/src/transforms/workflows.ts525function collectWorkflowTransformMetadata(program: t.Program, state: WorkflowTransformState): void {
LOWworkflows/temporal/src/transforms/workflows.ts538function rewriteWorkflowImportDeclaration(statement: t.ImportDeclaration, state: WorkflowTransformState): void {
LOWworkflows/temporal/src/transforms/workflows.ts565function getNormalizedWorkflowBindingName(name: string, state: WorkflowTransformState): string | null {
LOWworkflows/temporal/src/transforms/workflows.ts573function rewriteWorkflowNamedExport(statement: t.ExportNamedDeclaration, state: WorkflowTransformState): void {
970 more matches not shown…
Decorative Section Separators206 hits · 682 pts
SeverityFileLineSnippet
MEDIUMauth/workos/src/fga-provider.ts136 // ──────────────────────────────────────────────────────────────
MEDIUMauth/workos/src/fga-provider.ts138 // ──────────────────────────────────────────────────────────────
MEDIUMauth/workos/src/fga-provider.ts268 // ──────────────────────────────────────────────────────────────
MEDIUMauth/workos/src/fga-provider.ts270 // ──────────────────────────────────────────────────────────────
MEDIUMauth/workos/src/fga-provider.ts408 // ──────────────────────────────────────────────────────────────
MEDIUMauth/workos/src/fga-provider.ts410 // ──────────────────────────────────────────────────────────────
MEDIUMdocs/tests/navigation.spec.ts130// ─── Sidebar navigation tests ──────────────────────────────────────────
MEDIUMdocs/tests/navigation.spec.ts198// ─── Admonitions and tabs on /guides/build-your-ui/ai-sdk-ui ──────────
MEDIUMdocs/src/plugins/remark-model-tokens/models.ts13 // ── OpenAI ────────────────────────────────────────────────
MEDIUMdocs/src/plugins/remark-model-tokens/models.ts20 // ── Anthropic ─────────────────────────────────────────────
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts40// ─── Basic Integration Tests ─────────────────────────────────────────────────
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts170// ─── Agent Isolation Tests ───────────────────────────────────────────────────
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts240// ─── CompositeFilesystem Integration Tests ───────────────────────────────────
MEDIUM…paces/agentfs/src/filesystem/index.integration.test.ts273// ─── Shared Conformance Test Suite ───────────────────────────────────────────
MEDIUMmastracode/src/evals/scorers/outcome.ts32// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MEDIUMmastracode/src/evals/scorers/outcome.ts34// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MEDIUMmastracode/src/evals/scorers/outcome.ts75// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MEDIUMmastracode/src/evals/scorers/efficiency.ts21// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MEDIUMmastracode/src/evals/scorers/efficiency.ts23// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MEDIUMmastracode/src/tui/state.ts93 // ── Core dependencies (set once) ──────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts102 // ── TUI framework (set once) ──────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts113 // ── Agent / streaming ─────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts148 // ── Thread / conversation ─────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts158 // ── Inline interaction ────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts187 // ── Status line ───────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts193 // ── Observational Memory ──────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts201 // ── Tasks ─────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts204 // ── Goal loop ─────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts209 // ── Input ─────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts217 // ── Dedup ────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts222 // ── Abort tracking ────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/state.ts227 // ── Cleanup ───────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts18// ─────────────────────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts20// ─────────────────────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts30// ─────────────────────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts32// ─────────────────────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts77 // ── Mutation API ──────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts127 // ── Rendering ──────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts251// ─────────────────────────────────────────────────────────────────────────────
MEDIUMmastracode/src/tui/components/subagent-execution.ts253// ─────────────────────────────────────────────────────────────────────────────
MEDIUM…rc/tui/components/__tests__/subagent-execution.test.ts87 // ─── Default behavior: NO collapse ──────────────────────────────────────
MEDIUM…rc/tui/components/__tests__/subagent-execution.test.ts126 // ─── Opt-in collapse behavior ──────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts68 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts70 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts89 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts91 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts123 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts125 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts147 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts149 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts187 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/scripts/seed-fga.ts189 // ──────────────────────────────────────────────────────────
MEDIUMexamples/agent/src/mastra/mcp/external-app-server.ts18// ── ui:// app resource: a color-mixer UI ────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts11// ──────────────────────────────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts13// ──────────────────────────────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts231// ──────────────────────────────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts233// ──────────────────────────────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts338// ──────────────────────────────────────────────────────────────
MEDIUMpackages/core/src/auth/ee/interfaces/fga.ts340// ──────────────────────────────────────────────────────────────
MEDIUM…atasets/experiment/__tests__/scorer-trajectory.test.ts21// ── Helpers ────────────────────────────────────────────────────────────────
146 more matches not shown…
Hallucination Indicators60 hits · 670 pts
SeverityFileLineSnippet
CRITICAL…dynamodb/src/storage/domains/background-tasks/index.ts228 const res = await this.service.entities.background_task.scan.go({ pages: 'all' });
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts327 messageIds.map(id => this.service.entities.message.query.primary({ entity: 'message', id }).go()),
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts424 const query = this.service.entities.message.query.byThread({ entity: 'message', threadId });
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts675 : (await this.service.entities.thread.scan.go({ pages: 'all' })).data;
CRITICALstores/dynamodb/src/storage/domains/memory/index.ts788 const query = this.service.entities.message.query.byThread({ entity: 'message', threadId });
CRITICALstores/dynamodb/src/storage/domains/workflows/index.ts425 query = this.service.entities.workflow_snapshot.query.primary({
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts209 const query = this.service.entities.score.query.byScorer({ entity: 'score', scorerId });
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts278 const query = this.service.entities.score.query.byRun({ entity: 'score', runId });
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts331 const query = this.service.entities.score.query.byEntityData({ entity: 'score', entityId });
CRITICALstores/dynamodb/src/storage/domains/scores/index.ts387 const query = this.service.entities.score.query.bySpan({ entity: 'score', traceId, spanId });
CRITICALstores/vectorize/src/vector/index.ts242 await this.client.vectorize.indexes.metadataIndex.create(indexName, {
CRITICALstores/vectorize/src/vector/index.ts262 await this.client.vectorize.indexes.metadataIndex.delete(indexName, {
CRITICALstores/vectorize/src/vector/index.ts281 const res = await this.client.vectorize.indexes.metadataIndex.list(indexName, {
CRITICAL…xamples/otel-bridge/hono-multi/src/integration.test.ts109 return data.data.getTraceByOtelId.spans.edges.map((edge: any) => {
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1135 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1195 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1254 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1330 const rmCalls = mockSandbox.process.exec.mock.calls.filter(
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1335 const rmdirCalls = mockSandbox.process.exec.mock.calls.filter(
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1409 const rmCalls = mockSandbox.process.exec.mock.calls.filter(
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1453 const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1458 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1489 const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) =>
CRITICALworkspaces/blaxel/src/sandbox/index.test.ts1548 const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((call: any[]) =>
CRITICALworkspaces/daytona/src/sandbox/index.test.ts670 const mountCall = mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => {
CRITICALworkspaces/daytona/src/sandbox/index.test.ts700 mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => {
CRITICALworkspaces/daytona/src/sandbox/index.test.ts706 const upload = mockSandbox.fs.uploadFile.mock.calls.find((call: any[]) =>
CRITICALworkspaces/e2b/src/sandbox/index.test.ts894 mockSandbox.commands.run.mock.calls.some(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts922 mockSandbox.commands.run.mock.calls.some(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1072 return mockSandbox.commands.run.mock.calls.find(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1079 const writeCall = mockSandbox.files.write.mock.calls.find((call: any[]) =>
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1455 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1480 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1501 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1528 const rmCalls = mockSandbox.commands.run.mock.calls.filter(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1534 const rmdirCalls = mockSandbox.commands.run.mock.calls.filter(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1562 const rmCalls = mockSandbox.commands.run.mock.calls.filter(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1594 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1623 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1646 const rmCalls = mockSandbox.commands.run.mock.calls.filter(
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1683 const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1687 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1711 const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts'));
CRITICALworkspaces/e2b/src/sandbox/index.test.ts1755 const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((call: any[]) => call[0].includes('fusermount'));
CRITICALpackages/core/src/stream/base/output.ts879 const responseMessages = self.messageList.get.response.aiV4.core();
CRITICALpackages/core/src/stream/base/output.ts1082 content: self.messageList.get.response.aiV5.stepContent(),
CRITICAL…/core/src/agent/message-list/utils/convert-messages.ts74 return this.messageList.get.all.aiV4.ui();
CRITICAL…/core/src/agent/message-list/utils/convert-messages.ts76 return this.messageList.get.all.aiV4.core();
CRITICAL…/core/src/agent/message-list/utils/convert-messages.ts78 return this.messageList.get.all.aiV5.ui();
CRITICAL…/core/src/agent/message-list/utils/convert-messages.ts80 return this.messageList.get.all.aiV5.model();
CRITICAL…/core/src/agent/message-list/utils/convert-messages.ts82 return this.messageList.get.all.aiV6.ui();
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts374 all: rest.messageList.get.all.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts375 user: rest.messageList.get.input.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts376 nonUser: rest.messageList.get.response.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts392 all: rest.messageList.get.all.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts393 user: rest.messageList.get.input.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts394 nonUser: rest.messageList.get.response.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts470 all: rest.messageList.get.all.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts471 user: rest.messageList.get.input.aiV5.model(),
CRITICAL…c/loop/workflows/agentic-execution/llm-mapping-step.ts472 nonUser: rest.messageList.get.response.aiV5.model(),
Verbosity Indicators317 hits · 519 pts
SeverityFileLineSnippet
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3540 // Step 1: Start message
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3552 // Step 2: First text stream starts - "Let me search"
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3575 // Step 3: Tool call
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3591 // Step 4: Tool result
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3608 // Step 5: Second text stream starts - "Here's what I found"
LOW…nt-sdks/react/src/lib/ai-sdk/utils/toUIMessage.test.ts3631 // Step 6: Finish
LOWworkflows/_test-utils/src/domains/foreach.ts269 // Step 1: Generate items to iterate over - outputs an array
LOWworkflows/_test-utils/src/domains/foreach.ts279 // Step 2: Transform each item (used in foreach)
LOWworkflows/_test-utils/src/domains/foreach.ts287 // Step 3: Sum all results
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts137 // Step 0: Convert iteration state to LLM input format
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts161 // Step 1: Execute LLM
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts163 // Step 2: Extract tool calls as array for foreach
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts171 // Step 3: Execute each tool call individually (with suspend support)
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts174 // Step 4: Collect tool results, create observability spans, and bundle for mapping
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts264 // Step 5: Map tool results back to state
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts266 // Step 6: Check for pending background tasks
LOW…t/src/durable-agent/create-inngest-agentic-workflow.ts268 // Step 7: Map back to iteration state format using shared function
LOW…ores/cloudflare-d1/src/storage/domains/memory/index.ts806 // Step 1: Get paginated messages from the thread first (without excluding included ones)
LOW…ores/cloudflare-d1/src/storage/domains/memory/index.ts924 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/clickhouse/src/storage/domains/memory/index.ts224 // Step 1: Get paginated messages from the thread(s) first (without excluding included ones)
LOWstores/clickhouse/src/storage/domains/memory/index.ts375 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/clickhouse/src/storage/db/index.ts302 // Step 1: Rename old table to backup
LOWstores/clickhouse/src/storage/db/index.ts307 // Step 2: Create new table with correct sorting key
LOWstores/clickhouse/src/storage/db/index.ts346 // Step 3: Copy data from backup to new table, deduplicating by (traceId, spanId)
LOWstores/clickhouse/src/storage/db/index.ts381 // Step 4: Drop backup table
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts874 // Step 1: Get thread messages from all specified threads (for pagination)
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts935 // Step 2: Get included messages separately (not subject to pagination)
LOW…ores/cloudflare/src/kv/storage/domains/memory/index.ts950 // Step 3: Combine paginated + included messages, deduplicate
LOW…ores/cloudflare/src/do/storage/domains/memory/index.ts762 // Step 1: Get paginated messages from the thread(s) first (without excluding included ones)
LOW…ores/cloudflare/src/do/storage/domains/memory/index.ts864 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/lance/src/storage/domains/memory/index.ts403 // Step 1: Get paginated messages from the thread first (without excluding included ones)
LOWstores/lance/src/storage/domains/memory/index.ts438 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/dynamodb/src/storage/domains/memory/index.ts423 // Step 1: Get paginated messages from the thread first (without excluding included ones)
LOWstores/dynamodb/src/storage/domains/memory/index.ts474 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/mongodb/src/storage/migration.test.ts54 // Step 1: Insert documents with ONLY old schema fields (simulating pre-migration data)
LOWstores/mongodb/src/storage/migration.test.ts103 // Step 2: Verify documents exist
LOWstores/mongodb/src/storage/migration.test.ts107 // Step 3: Initialize store (which creates indexes but doesn't modify document structure)
LOWstores/mongodb/src/storage/migration.test.ts110 // Step 4: Query via storage API - should work with old documents
LOWstores/mongodb/src/storage/migration.test.ts128 // Step 5: Verify new fields are null/undefined for old documents
LOWstores/mongodb/src/storage/domains/memory/index.ts362 // Step 1: Get paginated messages from the thread first (without excluding included ones)
LOWstores/mongodb/src/storage/domains/memory/index.ts388 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/mongodb/src/storage/domains/memory/index.ts530 // Step 1: Get paginated messages
LOWstores/mongodb/src/storage/domains/memory/index.ts556 // Step 2: Add included messages with context (if any), excluding duplicates
LOWstores/pg/src/storage/migration.test.ts1383 // Step 3: Run the migration SQL
LOWstores/pg/src/storage/migration.test.ts1390 // Step 4: Verify column type is now JSONB
LOWstores/pg/src/storage/migration.test.ts1398 // Step 5: Verify all data was preserved
LOWstores/pg/src/storage/migration.test.ts1558 // Step 3: Run the migration SQL
LOWstores/pg/src/storage/migration.test.ts1565 // Step 4: Verify column type is now JSONB
LOWstores/pg/src/storage/migration.test.ts1573 // Step 5: Verify all data was preserved
LOWstores/pg/src/storage/migration.test.ts66 // Step 1: Create table with OLD schema (simulating existing database)
LOWstores/pg/src/storage/migration.test.ts90 // Step 2: Insert test data using OLD schema columns
LOWstores/pg/src/storage/migration.test.ts195 // Step 3: Call createTable which should trigger migration
LOWstores/pg/src/storage/migration.test.ts198 // Step 4: Verify new columns exist
LOWstores/pg/src/storage/migration.test.ts224 // Step 5: Verify original columns still exist
LOWstores/pg/src/storage/migration.test.ts234 // Step 6: Verify data is still queryable after migration
LOWstores/pg/src/storage/migration.test.ts264 // Step 7: Verify new columns have NULL values for existing data (since they didn't exist before)
LOWstores/pg/src/storage/migration.test.ts270 // Step 8: Verify we can insert new data with the new columns
LOWstores/pg/src/storage/migration.test.ts305 // Step 1: Create table with OLD schema WITHOUT timezone columns (simulating pre-Dec-23 database)
LOWstores/pg/src/storage/migration.test.ts329 // Step 2: Verify timezone columns do NOT exist before migration
LOWstores/pg/src/storage/migration.test.ts338 // Step 3: Insert test data
257 more matches not shown…
Magic Placeholder Names67 hits · 400 pts
SeverityFileLineSnippet
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>` fro
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md38 -H "Authorization: Bearer <your-api-key>" \
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md44 -H "Authorization: Bearer <your-api-key>" \
HIGH…de/skills/mastra-smoke-test/references/tests/errors.md50 -H "Authorization: Bearer <your-api-key>" \
HIGHstores/pinecone/README.md18 apiKey: 'your-api-key',
HIGHstores/pinecone/src/vector/index.ts40 * apiKey: 'your-api-key',
HIGHstores/pinecone/src/vector/index.ts46 * apiKey: 'your-api-key',
HIGHstores/pinecone/src/vector/index.ts53 * apiKey: 'your-api-key',
HIGHstores/turbopuffer/README.md18 apiKey: 'your-api-key',
HIGH…course/02-agent-tools-mcp/08-getting-zapier-mcp-url.md18ZAPIER_MCP_API_KEY=your-api-key-here
HIGHobservability/arize/README.md28PHOENIX_API_KEY=your-api-key
HIGHobservability/arize/README.md66 apiKey: 'your-api-key', // Optional
HIGHobservability/arize/README.md94ARIZE_API_KEY=your-api-key
HIGHobservability/arize/README.md132 apiKey: 'your-api-key',
HIGHobservability/arize/README.md164 apiKey: "your-api-key",
HIGHobservability/otel-exporter/README.md68DASH0_API_KEY=your-api-key
HIGHobservability/otel-exporter/README.md98 apiKey: 'your-api-key',
HIGHobservability/otel-exporter/README.md120SIGNOZ_API_KEY=your-api-key
HIGHobservability/otel-exporter/README.md150 apiKey: 'your-api-key',
HIGHobservability/otel-exporter/README.md219TRACELOOP_API_KEY=your-api-key
HIGHobservability/otel-exporter/README.md249 apiKey: 'your-api-key',
HIGHobservability/otel-exporter/README.md269LMNR_PROJECT_API_KEY=your-api-key
HIGHobservability/otel-exporter/README.md298 apiKey: 'your-api-key',
HIGHobservability/arthur/README.md20ARTHUR_API_KEY=your-api-key
HIGHobservability/arthur/README.md56 apiKey: 'your-api-key',
HIGHobservability/arthur/README.md71 apiKey: 'your-api-key',
HIGHobservability/_examples/otel-bridge/agent-hub/README.md28OPENAI_API_KEY=your-api-key-here
HIGHvoice/azure/README.md37 apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env var
HIGHvoice/azure/README.md42 apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env var
HIGHvoice/gladia/README.md16GLADIA_API_KEY=your_api_key
HIGHvoice/google/README.md22GOOGLE_API_KEY=your_api_key
HIGHvoice/google/README.md65 apiKey: 'your-api-key', // Optional, can rely on GOOGLE_API_KEY or ADC
HIGHvoice/google/src/index.ts135 * speechModel: { apiKey: 'your-api-key' },
HIGHvoice/murf/README.md16MURF_API_KEY=your_api_key
HIGHvoice/murf/README.md30 apiKey: 'your-api-key', // Optional, can use MURF_API_KEY env var
HIGHvoice/speechify/README.md27 apiKey: 'your-api-key', // Optional, can use SPEECHIFY_API_KEY env var
HIGHvoice/cloudflare/README.md28CLOUDFLARE_AI_API_KEY=your_api_key
HIGHvoice/cloudflare/README.md48 apiKey: 'YOUR_API_KEY',
HIGHvoice/deepgram/README.md16DEEPGRAM_API_KEY=your_api_key
HIGHvoice/deepgram/README.md28 apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env var
HIGHvoice/deepgram/README.md32 apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env var
HIGHvoice/openai-realtime-api/README.md16OPENAI_API_KEY=your_api_key
HIGHvoice/openai-realtime-api/README.md30 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var
HIGHvoice/openai-realtime-api/src/index.ts136 * apiKey: 'your-api-key',
HIGHvoice/elevenlabs/README.md16ELEVENLABS_API_KEY=your_api_key
HIGHvoice/elevenlabs/README.md28 apiKey: 'your-api-key', // Optional, can use ELEVENLABS_API_KEY env var
HIGHvoice/playai/README.md16PLAYAI_API_KEY=your_api_key
HIGHvoice/playai/README.md29 apiKey: 'your-api-key', // Optional, can use PLAYAI_API_KEY env var
HIGHvoice/sarvam/README.md16SARVAM_API_KEY=your_api_key
HIGHvoice/google-gemini-live-api/README.md21GOOGLE_API_KEY=your_api_key
HIGHvoice/google-gemini-live-api/README.md74 apiKey: 'your-api-key', // Optional, can use GOOGLE_API_KEY env var
HIGHvoice/google-gemini-live-api/src/index.ts60 * apiKey: 'your-api-key',
HIGHvoice/google-gemini-live-api/src/index.ts70 * speechModel: { name: 'gemini-2.0-flash-live-001', apiKey: 'your-api-key' },
HIGHvoice/google-gemini-live-api/src/index.ts74 * apiKey: 'your-api-key',
HIGHvoice/openai/README.md16OPENAI_API_KEY=your_api_key
HIGHvoice/openai/README.md28 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var
HIGHvoice/openai/README.md32 apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var
HIGHvoice/openai/README.md41 apiKey: 'your-api-key',
HIGHvoice/openai/README.md50 apiKey: 'your-api-key',
HIGHpackages/create-mastra/CHANGELOG.md995- Improve the overall flow of the `create-mastra` CLI by first asking all questions and then creating the project struct
7 more matches not shown…
Over-Commented Block346 hits · 249 pts
SeverityFileLineSnippet
LOW…r-adapters/_test-utils/src/route-adapter-test-suite.ts81
LOWdeployers/cloudflare/src/index.test.ts21
LOWclient-sdks/client-js/src/example.ts41
LOWclient-sdks/client-js/src/example.ts61// try {
LOW…i-sdk/src/__tests__/add-tool-result-message-id.test.ts201 //
LOW…t/src/lib/ai-sdk/memory/resolveInitialMessages.test.ts561 const output = (result[0].parts[0] as any).output;
LOW…t/src/lib/ai-sdk/memory/resolveInitialMessages.test.ts581
LOW.claude/skills/mastra-smoke-test/scripts/test-server.sh1#!/bin/bash
LOW…ls/mastra-smoke-test/scripts/discover-release-scope.sh1#!/bin/bash
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh1#!/usr/bin/env bash
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh21#
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh1#!/usr/bin/env bash
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh21# --workos-organization-id org_... # scaffold auth-on
LOW…e/skills/builder-smoke-test/scripts/seed-multi-user.sh1#!/usr/bin/env bash
LOW…e/skills/builder-smoke-test/scripts/wait-for-server.sh1#!/usr/bin/env bash
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts481 // createSampleMessage({
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts501 // }),
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts521
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts541 // {
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts561 // resourceId: 'cross-thread-resource',
LOWstores/cloudflare-d1/src/storage/rest-api.test.ts581 // resourceId: 'cross-thread-resource',
LOWstores/_test-utils/src/domains/memory/threads.ts401 // beforeEach(async () => {
LOWstores/_test-utils/src/domains/memory/threads.ts421
LOWstores/_test-utils/src/domains/memory/threads.ts441
LOW…src/storage/domains/observability/v-next/index.test.ts4481 // Clean up: remove TTL from all signal tables so subsequent test runs
LOWstores/pg/README.md441
LOWstores/pg/src/storage/domains/workflows/index.ts41 // Remove null char and surrogate escape sequences. The optional extra backslash (\\\\?)
LOWstores/libsql/src/vector/filter.test.ts761 translator.translate({
LOWstores/libsql/src/vector/filter.test.ts781 // translator.translate({
LOWstores/libsql/src/vector/filter.test.ts801 // }),
LOWstores/libsql/src/vector/filter.test.ts821 // field: { $regex: '^exact$' },
LOWstores/libsql/src/vector/filter.test.ts841 // });
LOWstores/libsql/src/vector/filter.test.ts861 // nested: {
LOWstores/libsql/src/vector/filter.test.ts881 // expect(
LOWstores/libsql/src/vector/filter.ts61
LOWstores/libsql/src/vector/filter.ts121 // const flags = options
LOWstores/libsql/src/vector/sql-builder.ts261 },
LOWstores/libsql/src/vector/sql-builder.ts281 // // finalPattern = `(\\?${options})${pattern}`;
LOWstores/libsql/src/vector/sql-builder.ts301 // )`;
LOWstores/libsql/src/vector/sql-builder.ts441 };
LOWstores/mssql/README.md341
LOWstores/dsql/README.md321const stats = await store.describeIndex('idx_threads_resource');
LOWobservability/braintrust/src/tracing.test.ts2661 // Verify trace is external
LOWobservability/mastra/src/exporters/default.ts81 * in batches to the configured ObservabilityStorage backend with retry support.
LOWworkspaces/_test-utils/src/index.test.ts81 return new Workspace({ filesystem, sandbox, lsp: { diagnosticTimeout: 10000 } });
LOWworkspaces/files-sdk/src/filesystem/index.ts501
LOWworkspaces/blaxel/src/sandbox/index.integration.test.ts161 }, 180000);
LOWmastracode/src/index.ts301 // Only these requestContext keys are stored on spans — prevents leaking
LOWvoice/aws-nova-sonic/src/index.ts701 toolChoice: this.sessionConfig.toolChoice,
LOWvoice/aws-nova-sonic/src/index.ts1321 // Following AWS sample: even after interruption, we keep audioContentStarted=true
LOWvoice/aws-nova-sonic/src/index.ts1381 } else {
LOWvoice/google/src/index.test.ts261 // return new Promise((resolve, reject) => {
LOWvoice/openai-realtime-api/src/index.ts41
LOWexamples/voice/interactive-story/next-env.d.ts1/// <reference types="next" />
LOWexamples/voice/voice-memo-app/next-env.d.ts1/// <reference types="next" />
LOWexamples/agent-v6/src/mastra/agents/index.ts41 // return args;
LOWscripts/test-migration-e2e.sh1#!/bin/bash
LOWpackages/core/src/background-tasks/manager.ts121 // workflow on Mastra. Reversing this order races: a publish that
LOWpackages/core/src/background-tasks/workflow.ts121 // Wrap the workflow runtime's `suspend` so we persist
LOW…kages/core/src/evals/scorer-custom-gateway.e2e.test.ts121 // The actual test: When we run the scorer, it should be able to resolve
286 more matches not shown…
Fake / Example Data155 hits · 160 pts
SeverityFileLineSnippet
LOW…adapters/express/src/__tests__/auth-middleware.test.ts17 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,
LOW…adapters/express/src/__tests__/auth-middleware.test.ts79 email: 'user@example.com',
LOW…er-adapters/hono/src/__tests__/auth-middleware.test.ts16 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,
LOW…adapters/fastify/src/__tests__/auth-middleware.test.ts16 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,
LOW…ver-adapters/koa/src/__tests__/auth-middleware.test.ts18 token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null,
LOWauth/okta/src/index.test.ts218 profile: { login: 'user@example.com', email: 'user@example.com', firstName: 'Test', lastName: 'User' },
LOWauth/okta/src/index.test.ts227 email: 'user@example.com',
LOWclient-sdks/ai-sdk/src/__tests__/custom-data.test.ts129 name: 'John Doe',
LOWclient-sdks/ai-sdk/src/__tests__/custom-data.test.ts160 expect(customDataChunk.data.user.name).toBe('John Doe');
LOWworkflows/_test-utils/src/domains/structured-output.ts168 phone: '555-1234',
LOWstores/astra/src/vector/index.test.ts428 name: 'John Doe',
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 do
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 do
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 do
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 do
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
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
LOWstores/couchbase/src/vector/index.unit.test.ts403 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOWstores/couchbase/src/vector/index.unit.test.ts403 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
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
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
LOWstores/couchbase/src/vector/index.unit.test.ts488 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOWstores/couchbase/src/vector/index.unit.test.ts488 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
LOWobservability/mastra/src/exporters/base.test.ts377 metadata: { ...span.metadata, userName: 'John Doe', department: 'Engineering' },
LOWobservability/mastra/src/exporters/base.test.ts389 userName: 'John Doe',
LOW…astra/src/span_processors/senstive-data-filter.test.ts267 fullName: 'John Doe',
LOW…astra/src/span_processors/senstive-data-filter.test.ts313 content: '{ email": "test@test.com" }',
LOW…astra/src/span_processors/senstive-data-filter.test.ts328 expect(input.messages[0].content).toBe('{ email": "test@test.com" }');
LOWbrowser/agent-browser/src/__tests__/dialog.test.ts112 const result = await browser.dialog({ triggerRef: '@e3', action: 'accept', text: 'John Doe' });
LOWbrowser/agent-browser/src/__tests__/dialog.test.ts114 expect(mockDialog.accept).toHaveBeenCalledWith('John Doe');
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 ali
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 ali
LOW…/tui/components/__tests__/wrapping-select-list.test.ts46 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts46 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts66 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts66 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts73 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts73 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts96 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOW…/tui/components/__tests__/wrapping-select-list.test.ts96 const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor';
LOWexamples/agent/src/mastra/auth/simple.ts17 email: 'admin@example.com',
LOWexamples/agent/src/mastra/auth/simple.ts31 const adminEmails = ['admin@example.com', 'owner@example.com'];
LOWexamples/agent/src/mastra/auth/better-auth.ts40 const adminEmails = ['admin@example.com', 'owner@example.com'];
LOWexamples/agent/src/mastra/workflows/other.ts121 email: 'test@test.com',
LOW…evals/src/scorers/llm/tool-call-accuracy/index.test.ts604 args: { to: 'user@example.com' },
LOW…vals/src/scorers/code/content-similarity/index.test.ts99 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…vals/src/scorers/code/content-similarity/index.test.ts99 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…/evals/src/scorers/code/keyword-coverage/index.test.ts113 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…/evals/src/scorers/code/keyword-coverage/index.test.ts113 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…vals/src/scorers/code/textual-difference/index.test.ts75 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…vals/src/scorers/code/textual-difference/index.test.ts75 const output = [createTestMessage({ content: 'Lorem ipsum dolor sit amet', role: 'assistant', id: 'test-output' })];
LOW…s__/core-src-agent-agent-gemini.e2e/test-36e468a1.json430 "email": "test@test.com"
LOW…s__/core-src-agent-agent-gemini.e2e/test-36e468a1.json651 "email": "test@test.com"
LOW…s__/core-src-agent-agent-gemini.e2e/test-2642b65b.json343 "email": "test@test.com"
LOW…s__/core-src-agent-agent-gemini.e2e/test-2642b65b.json523 "email": "test@test.com"
LOW…s__/core-src-agent-agent-gemini.e2e/test-7088b7e4.json280 "email": "test@test.com",
LOW…s__/core-src-agent-agent-gemini.e2e/test-6e44f5e0.json362 "email": "test@test.com",
LOWpackages/core/src/tools/hitl.md73 email: 'test@test.com',
LOW…/core/src/tools/suspend-execute-return-types.test-d.ts47 return { name: workflow.resumeData.name, email: 'test@test.com' };
LOW…/core/src/tools/suspend-execute-return-types.test-d.ts74 return { name: workflow.resumeData.name, email: 'test@test.com' };
95 more matches not shown…
Slop Phrases38 hits · 46 pts
SeverityFileLineSnippet
LOWexplorations/longmemeval/src/commands/investigate.ts901 console.log(`\n💡 Don't forget to run: pnpm run sync-improved-om-qa\n`);
MEDIUMexamples/agent/src/mastra/agents/model-v2-agent.ts249 * Another research agent that should NOT be used (for demonstration purposes)
MEDIUM…evals/src/scorers/llm/tool-call-accuracy/index.test.ts329 content: 'I cannot provide weather information without checking.',
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 to
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 d
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 to
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 d
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 d
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 to
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 d
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 d
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 to
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 d
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 d
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 to
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 d
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 d
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 to
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 d
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 to
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 d
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 d
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 to
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 d
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 d
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 d
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 to
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 d
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 d
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 to
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 d
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 d
LOWpackages/core/src/loop/network/index.ts234 ## Available Workflows in Network (make sure to use inputs corresponding to the input schema when calling a wo
LOWpackages/core/src/loop/network/index.ts236 ## Available Tools in Network (make sure to use inputs corresponding to the input schema when calling a tool)
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 c
MEDIUM…s__/schema-compat-src-provider-compats-google.e2e.json1325 "text": "I have successfully called the `manySchemasTool` with valid sample data satisfying all the
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!"
MEDIUM…ponents/MarkdownRenderer/markdown-renderer.stories.tsx125Here's a simple example:
AI Slop Vocabulary19 hits · 44 pts
SeverityFileLineSnippet
MEDIUMworkspaces/docker/src/sandbox/process-manager.ts97 // backoff would be more robust under heavy load, but overkill in practice.
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json814 "event: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json815 "event: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json816 "event: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_003b24
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json819 "data: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_003b244db9908ccb006a0aef0ea85481968f11de26
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1769 "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1769 "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\
MEDIUM…ings__/core-src-tools-provider-tools-ordering.e2e.json364 "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":22,\"delta\":{\"type\":\"citati
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 pr
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
MEDIUMpackages/core/src/processors/processors/skills.test.ts37 instructions: '# Testing\n\nHelp write comprehensive tests.',
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json2782 "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json2922 "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3086 "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3277 "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json3556 "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json5156 "ces cooler temperatures overall compared to the south.\\n* **Southern California:** Known for hotter, drier c
MEDIUM…/memory-integration-tests-src-message-ordering-v6.json5265 "content": "# Weather Patterns in California\n\nCalifornia is renowned for its diverse and complex
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.
Cross-Language Confusion (JS/TS)6 hits · 30 pts
SeverityFileLineSnippet
HIGHpackages/rag/src/document/document.test.ts723 return False
HIGHpackages/rag/src/document/document.test.ts724 return True
HIGHpackages/rag/src/document/document.test.ts1005 print(i)
HIGHpackages/rag/src/document/document.test.ts1222 print("Hello")
HIGHpackages/rag/src/document/document.test.ts2800 print("Hello World")
HIGHpackages/rag/src/document/document.test.ts3579 print(f"The result is {z}")
Example Usage Blocks12 hits · 18 pts
SeverityFileLineSnippet
LOW…ls/mastra-smoke-test/scripts/discover-release-scope.sh5# Usage:
LOW…kills/mastra-smoke-test/scripts/check-versioning-pr.sh5# Usage:
LOW.claude/skills/builder-smoke-test/scripts/scaffold.sh22# Usage:
LOW.claude/skills/builder-smoke-test/scripts/preflight.sh14# Usage:
LOW…e/skills/builder-smoke-test/scripts/seed-multi-user.sh20# Usage:
LOW…e/skills/builder-smoke-test/scripts/wait-for-server.sh6# Usage:
LOW…pg/src/storage/performance-indexes/performance-test.ts530// Example usage
LOW…ql/src/storage/performance-indexes/performance-test.ts543// Example usage
LOWscripts/install-example.js95// Example usage
LOWscripts/ignore-example.js102// Example usage
LOWscripts/generate-package-docs.ts291## How to use
LOWscripts/test-migration-e2e.sh11# Usage:
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/test-migration-e2e.sh137# Check if test directory exists
LOWscripts/test-migration-e2e.sh143# Check if test file exists
LOW.github/workflows/test-combined-stores.yml52 # Check if we should include vectorize tests
LOW.github/workflows/regenerate-provider-registry.yml76 # Check if an automated provider registry changeset already exists
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippet
MEDIUM…/__recordings__/core-src-tools-provider-tools.e2e.json1757 "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"input_j
MEDIUM.github/workflows/call-external-mastra-workflow.yml43 # Create the workflow run and capture the runId
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippet
LOWpackages/core/src/_types/ai-sdk.types.d.ts4681 export function getData(name: string): ValueOf<typeof data> {
LOWpackages/rag/src/document/document.test.ts3855function processData(data) {
LOW…odemod/src/test/__fixtures__/runtime-context.output.ts22function handleRequest(requestContext: RequestContext<MyContext>) {
LOW…codemod/src/test/__fixtures__/runtime-context.input.ts22function handleRequest(runtimeContext: RuntimeContext<MyContext>) {