Mastra is the modern TypeScript framework for AI-powered applications and agents.
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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server-adapters/_test-utils/src/test-helpers.ts | 1215 | async function setupWorkflowRegistryMocks(workflows: Record<string, Workflow>, mastra: Mastra) { | CODE |
| LOW | server-adapters/_test-utils/src/test-helpers.ts | 1300 | function getRouteSpecificPathDefaults(route: ServerRoute): { | CODE |
| LOW | server-adapters/_test-utils/src/test-helpers.ts | 1414 | export function createStreamWithSensitiveData(format: 'v1' | 'v2' = 'v2'): ReadableStream { | CODE |
| LOW | server-adapters/_test-utils/src/test-helpers.ts | 1505 | export function createStreamWithUnserializableChunk(): ReadableStream { | CODE |
| LOW | server-adapters/_test-utils/src/test-helpers.ts | 1525 | export function expectSerializedStreamChunks(chunks: any[]): void { | CODE |
| LOW | …r-adapters/_test-utils/src/route-adapter-test-suite.ts | 27 | export function createRouteAdapterTestSuite(config: AdapterTestSuiteConfig) { | CODE |
| LOW | server-adapters/_test-utils/src/route-test-utils.ts | 108 | export function generateValidDataFromSchema(schema: z.ZodTypeAny, fieldName?: string): any { | CODE |
| LOW | server-adapters/_test-utils/src/route-test-utils.ts | 361 | export function getDefaultValidPathParams(route: ServerRoute): Record<string, any> { | CODE |
| LOW | server-adapters/_test-utils/src/route-test-utils.ts | 448 | export function getDefaultInvalidPathParams(route: ServerRoute): Array<Record<string, any>> { | CODE |
| LOW | …r-adapters/_test-utils/src/mcp-transport-test-suite.ts | 64 | export function createMCPTransportTestSuite(config: MCPTransportTestConfig) { | CODE |
| LOW | …apters/fastify/src/__tests__/stream-disconnect.test.ts | 61 | async function createRequestWithAbortSignal(requestRaw: MockRawRequest, replyRaw: MockRawReply) { | CODE |
| LOW | server-adapters/koa/src/index.ts | 883 | this.app.use(async function mastraCustomRouteDispatcher(ctx: Context, next: Next) { | CODE |
| LOW | …udflare/src/plugins/postgres-store-instance-checker.ts | 5 | export function postgresStoreInstanceChecker(): Plugin { | CODE |
| LOW | …loudflare/src/babel/postgres-store-instance-checker.ts | 23 | export function postgresStoreInstanceChecker(): PluginObj { | CODE |
| LOW | deployers/netlify/src/index.ts | 37 | function stubEdgeIncompatibleModules() { | CODE |
| LOW⚡ | auth/google/src/auth-provider.ts | 77 | function getServerRedirectStateSuffix(state: string): string { | CODE |
| LOW⚡ | auth/google/src/auth-provider.ts | 82 | function getStateTokenFromCallbackState(state: string): string { | CODE |
| LOW⚡ | auth/google/src/auth-provider.ts | 87 | function verifyCallbackStateSuffix(callbackState: string, originalState: string): void { | CODE |
| LOW | auth/better-auth/src/index.ts | 36 | function mapBetterAuthUserToEEUser(user: User): EEUser { | CODE |
| LOW | auth/workos/src/fga-provider.ts | 30 | function isWorkOSResourceNotFoundError(error: any): boolean { | CODE |
| LOW | client-sdks/client-js/src/resources/agent.ts | 137 | function getClientToolObservabilityContext(toolCall: unknown): ClientToolObservabilityContext | undefined { | CODE |
| LOW | client-sdks/client-js/src/resources/agent.ts | 147 | async function executeClientToolWithObservability({ | CODE |
| LOW | client-sdks/client-js/src/resources/agent-controller.ts | 713 | export function agentControllerMessageText(message: AgentControllerMessage): string { | CODE |
| LOW | …ient-sdks/client-js/src/utils/process-mastra-stream.ts | 3 | async function sharedProcessMastraStream({ | CODE |
| LOW | …ient-sdks/client-js/src/utils/process-mastra-stream.ts | 58 | export async function processMastraNetworkStream({ | CODE |
| LOW | …dks/client-js/src/utils/verify-agent-card-signature.ts | 91 | export async function verifyAgentCardSignatureIfPresent( | CODE |
| LOW | client-sdks/client-js/src/utils/index.ts | 131 | export function parseClientRequestContext(requestContext?: RequestContext | Record<string, any>) { | CODE |
| LOW | client-sdks/client-js/src/utils/index.ts | 158 | export function requestContextQueryString( | CODE |
| LOW | client-sdks/client-js/src/observability/collector.ts | 324 | export function getCurrentObservabilityCollector(): ObservabilityCollector | undefined { | CODE |
| LOW | client-sdks/ai-sdk/src/middleware.ts | 457 | export function createProcessorMiddleware(options: ProcessorMiddlewareOptions): LanguageModelV2Middleware { | CODE |
| LOW | client-sdks/ai-sdk/src/middleware.ts | 858 | function extractTextFromMastraMessage(msg: MastraDBMessage): string { | CODE |
| LOW | client-sdks/ai-sdk/src/middleware.ts | 878 | function convertMastraChunkToAISDKStreamPart(chunk: ChunkType): LanguageModelV2StreamPart | null { | CODE |
| LOW | client-sdks/ai-sdk/src/helpers.ts | 77 | function normalizeToolPayloadState(state: unknown): TransformedToolPayloadState | undefined { | CODE |
| LOW | client-sdks/ai-sdk/src/helpers.ts | 94 | function getTransformedToolPayload( | CODE |
| LOW | client-sdks/ai-sdk/src/helpers.ts | 107 | function hasTransformedToolPayload( | CODE |
| LOW | client-sdks/ai-sdk/src/helpers.ts | 113 | function convertBackgroundTaskChunkToDataChunk(chunk: ChunkType): DataChunkType | undefined { | CODE |
| LOW | client-sdks/ai-sdk/src/transformers.ts | 161 | export function createWorkflowStepDataPart(args: { | CODE |
| LOW | client-sdks/ai-sdk/src/transformers.ts | 246 | export function WorkflowStreamToAISDKTransformer({ | CODE |
| LOW | client-sdks/ai-sdk/src/transformers.ts | 323 | export function AgentNetworkToAISDKTransformer() { | CODE |
| LOW | client-sdks/ai-sdk/src/transformers.ts | 582 | function appendPendingToolCallArgs( | CODE |
| LOW | client-sdks/ai-sdk/src/convert-messages.ts | 5 | function isSystemReminderUIMessage(message: { | CODE |
| LOW | …rc/__tests__/transform-agent-cumulative-growth.test.ts | 25 | function simulateMultiStepAgentRun(numSteps: number) { | CODE |
| LOW | explorations/ralph-wiggum-loop-prototype.ts | 198 | export function createAutonomousLoopWorkflow(agent: Agent, mastra?: Mastra) { | CODE |
| LOW | explorations/longmemeval/src/cli.ts | 212 | async function loadPreparationTokenUsage( | CODE |
| LOW | …gmemeval/src/processors/observation-semantic-filter.ts | 350 | export function rebuildObservationsWithStructure( | CODE |
| LOW | …gmemeval/src/processors/observation-semantic-filter.ts | 419 | export function extractSuggestedResponseBlock(formattedContext: string): string | null { | CODE |
| LOW | …gmemeval/src/processors/observation-semantic-filter.ts | 1140 | export function createObservationSemanticFilter(config: ObservationSemanticFilterConfig): ObservationSemanticFilter { | CODE |
| LOW | explorations/longmemeval/src/commands/prepare.ts | 63 | function containsProhibitedContent(content: string): boolean { | CODE |
| LOW | explorations/longmemeval/src/commands/prepare.ts | 91 | function sanitizeProhibitedContent(content: string): string { | CODE |
| LOW | explorations/longmemeval/src/commands/reconcile.ts | 96 | function buildPatternExtractionPrompt(existingObservations: string): string { | CODE |
| LOW | explorations/longmemeval/src/commands/reconcile.ts | 167 | async function extractPatternsForQuestion( | CODE |
| LOW | explorations/longmemeval/src/commands/run.ts | 73 | function updateRateLimiterFromResponse(response: any): void { | CODE |
| LOW | explorations/longmemeval/src/commands/run.ts | 110 | async function checkRateLimitBeforeRequest(): Promise<void> { | CODE |
| LOW | signals/github/src/index.test.ts | 54 | async function runGithubSignalsProcessor(args: { | CODE |
| LOW | signals/github/src/index.ts | 453 | function getMergedNotificationSummary(label: string): string { | CODE |
| LOW | signals/github/src/index.ts | 573 | function getCommentNotificationSummary(pr: string, snapshot: GithubPullRequestSnapshot): string | undefined { | CODE |
| LOW | signals/github/src/index.ts | 585 | function getGithubActivityNotificationRank(notification: GithubActivityNotificationPlan): number { | CODE |
| LOW | signals/github/src/index.ts | 589 | function compareGithubActivityNotifications( | CODE |
| LOW | signals/github/src/index.ts | 602 | function classifyGithubCommentActivityNotification(input: { | CODE |
| LOW | signals/github/src/index.ts | 622 | export function normalizeGithubChecksForSnapshot(input: { | CODE |
| 1407 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | auth/workos/src/fga-provider.ts | 136 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | auth/workos/src/fga-provider.ts | 138 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | auth/workos/src/fga-provider.ts | 268 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | auth/workos/src/fga-provider.ts | 270 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | auth/workos/src/fga-provider.ts | 408 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | auth/workos/src/fga-provider.ts | 410 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | client-sdks/client-js/src/types.ts | 2464 | // ── v2 surface: authorize / connections / fields / status / health ────────── | COMMENT |
| MEDIUM | stores/mongodb/src/storage/index.test.ts | 900 | // ─── Hardening: NODE-7556 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | stores/mongodb/src/storage/index.test.ts | 1069 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | stores/mongodb/src/vector/index.test.ts | 343 | // ─── Hardening: NODE-7556 ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | stores/mongodb/src/vector/index.test.ts | 407 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/tests/navigation.spec.ts | 134 | // ─── Sidebar navigation tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/tests/navigation.spec.ts | 202 | // ─── Admonitions and tabs on /guides/build-your-ui/ai-sdk-ui ────────── | COMMENT |
| MEDIUM | …paces/agentfs/src/filesystem/index.integration.test.ts | 40 | // ─── Basic Integration Tests ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …paces/agentfs/src/filesystem/index.integration.test.ts | 170 | // ─── Agent Isolation Tests ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …paces/agentfs/src/filesystem/index.integration.test.ts | 240 | // ─── CompositeFilesystem Integration Tests ─────────────────────────────────── | COMMENT |
| MEDIUM | …paces/agentfs/src/filesystem/index.integration.test.ts | 273 | // ─── Shared Conformance Test Suite ─────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 156 | // ── Core dependencies (set once) ────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 167 | // ── TUI framework (set once) ────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 179 | // ── Agent / streaming ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 214 | // ── Thread / conversation ───────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 226 | // ── Inline interaction ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 257 | // ── Status line ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 275 | // ── Tokens/sec tracking ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 285 | // ── Observational Memory ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 293 | // ── Tasks ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 296 | // ── Goal loop ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 301 | // ── Input ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 309 | // ── Dedup ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | mastracode/tui/src/tui/state.ts | 314 | // ── Abort tracking ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/state.ts | 325 | // ── Cleanup ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 20 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 22 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 40 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 42 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 119 | // ── Mutation API ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 201 | // ── Rendering ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 320 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/tui/src/tui/components/subagent-execution.ts | 322 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/tui/components/__tests__/subagent-execution.test.ts | 156 | // ─── Default behavior: NO collapse ────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/tui/components/__tests__/subagent-execution.test.ts | 195 | // ─── Opt-in collapse behavior ────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/config-routes.ts | 170 | // ── Model packs ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/config-routes.ts | 278 | // ── Observational memory ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/config-routes.ts | 399 | // ── Custom providers (OpenAI-compatible endpoints) ────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/config-routes.ts | 460 | // ── Model packs ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/config-routes.ts | 556 | // ── Observational memory ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/web-surface.test.ts | 10 | // ── Linear-only state-secret deploy scenario ───────────────────────────── | COMMENT |
| MEDIUM | …de/web/src/web/ui/domains/settings/services/density.ts | 8 | // ── Density preference ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …stracode/web/src/web/ui/domains/factory/IntakePage.tsx | 185 | // ── GitHub ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …stracode/web/src/web/ui/domains/factory/IntakePage.tsx | 294 | // ── Linear ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.ts | 155 | // ── Connect: send the user to Linear's OAuth consent screen ───────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.ts | 169 | // ── Callback: exchange the code, persist the connection for the org ───── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.ts | 233 | // ── List the workspace's projects (Settings intake-source picker) ─────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.ts | 258 | // ── List the workspace's active issues (cursor-paged) ─────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.test.ts | 5 | // ── Mocks ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/routes.test.ts | 146 | // ── Test harness ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/linear/agent-tools.test.ts | 4 | // ── Mocks ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/intake/routes.test.ts | 4 | // ── Mocks ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/intake/routes.test.ts | 53 | // ── Test harness ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | mastracode/web/src/web/github/routes.ts | 236 | // ── Connect: bounce through the OAuth identify flow ───────────────────── | COMMENT |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …dynamodb/src/storage/domains/background-tasks/index.ts | 228 | const res = await this.service.entities.background_task.scan.go({ pages: 'all' }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/memory/index.ts | 327 | messageIds.map(id => this.service.entities.message.query.primary({ entity: 'message', id }).go()), | CODE |
| CRITICAL⚡ | stores/dynamodb/src/storage/domains/memory/index.ts | 424 | const query = this.service.entities.message.query.byThread({ entity: 'message', threadId }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/memory/index.ts | 675 | : (await this.service.entities.thread.scan.go({ pages: 'all' })).data; | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/memory/index.ts | 788 | const query = this.service.entities.message.query.byThread({ entity: 'message', threadId }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/workflows/index.ts | 450 | query = this.service.entities.workflow_snapshot.query.primary({ | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/scores/index.ts | 218 | const query = this.service.entities.score.query.byScorer({ entity: 'score', scorerId }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/scores/index.ts | 290 | const query = this.service.entities.score.query.byRun({ entity: 'score', runId }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/scores/index.ts | 346 | const query = this.service.entities.score.query.byEntityData({ entity: 'score', entityId }); | CODE |
| CRITICAL | stores/dynamodb/src/storage/domains/scores/index.ts | 405 | const query = this.service.entities.score.query.bySpan({ entity: 'score', traceId, spanId }); | CODE |
| CRITICAL | stores/vectorize/src/vector/index.ts | 242 | await this.client.vectorize.indexes.metadataIndex.create(indexName, { | CODE |
| CRITICAL | stores/vectorize/src/vector/index.ts | 262 | await this.client.vectorize.indexes.metadataIndex.delete(indexName, { | CODE |
| CRITICAL | stores/vectorize/src/vector/index.ts | 281 | const res = await this.client.vectorize.indexes.metadataIndex.list(indexName, { | CODE |
| CRITICAL | …xamples/otel-bridge/hono-multi/src/integration.test.ts | 109 | return data.data.getTraceByOtelId.spans.edges.map((edge: any) => { | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1263 | const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1323 | const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1382 | const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1458 | const rmCalls = mockSandbox.process.exec.mock.calls.filter( | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1463 | const rmdirCalls = mockSandbox.process.exec.mock.calls.filter( | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1537 | const rmCalls = mockSandbox.process.exec.mock.calls.filter( | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1581 | const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1586 | const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1617 | const procMountsCalls = mockSandbox.process.exec.mock.calls.filter((c: any[]) => | CODE |
| CRITICAL | workspaces/blaxel/src/sandbox/index.test.ts | 1676 | const fusermountCalls = mockSandbox.process.exec.mock.calls.filter((call: any[]) => | CODE |
| CRITICAL | workspaces/daytona/src/sandbox/index.test.ts | 719 | const mountCall = mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => { | CODE |
| CRITICAL | workspaces/daytona/src/sandbox/index.test.ts | 749 | mockSandbox.process.executeCommand.mock.calls.find((call: any[]) => { | CODE |
| CRITICAL | workspaces/daytona/src/sandbox/index.test.ts | 755 | const upload = mockSandbox.fs.uploadFile.mock.calls.find((call: any[]) => | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 914 | mockSandbox.commands.run.mock.calls.some( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 942 | mockSandbox.commands.run.mock.calls.some( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1172 | return mockSandbox.commands.run.mock.calls.find( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1179 | const writeCall = mockSandbox.files.write.mock.calls.find((call: any[]) => | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1555 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1580 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1601 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1628 | const rmCalls = mockSandbox.commands.run.mock.calls.filter( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1634 | const rmdirCalls = mockSandbox.commands.run.mock.calls.filter( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1662 | const rmCalls = mockSandbox.commands.run.mock.calls.filter( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1694 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1723 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1746 | const rmCalls = mockSandbox.commands.run.mock.calls.filter( | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1783 | const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1787 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('fusermount')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1811 | const procMountsCalls = mockSandbox.commands.run.mock.calls.filter((c: any[]) => c[0].includes('/proc/mounts')); | CODE |
| CRITICAL | workspaces/e2b/src/sandbox/index.test.ts | 1855 | const fusermountCalls = mockSandbox.commands.run.mock.calls.filter((call: any[]) => call[0].includes('fusermount')); | CODE |
| CRITICAL | mastracode/tui/src/tui/mastra-tui.ts | 1430 | await this.state.session.subagents.model.set({ modelId: saModelId, agentType }); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 180 | state.controller.session.model.get.mockReturnValue('openai/gpt-5'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 195 | state.controller.session.model.get.mockReturnValue('openai/gpt-5'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 209 | aborted.controller.session.model.get.mockReturnValue('openai/gpt-5'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 221 | errored.controller.session.model.get.mockReturnValue('openai/gpt-5'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 318 | state.controller.session.model.get.mockReturnValue('mastra/anthropic/claude-opus-4.6'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 330 | state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/kimi-k2p6'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 343 | state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/kimi-k2p6'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 356 | state.controller.session.model.get.mockReturnValue('moonshot/kimi-k1p5'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 368 | state.controller.session.model.get.mockReturnValue('fireworks-ai/accounts/fireworks/models/minimax-m2p7'); | CODE |
| CRITICAL | mastracode/tui/src/tui/__tests__/status-line.test.ts | 515 | state.controller.session.displayState.get.mockReturnValue({ | CODE |
| CRITICAL⚡ | mastracode/tui/src/tui/commands/om.ts | 50 | observerModelId: ctx.state.session.om.observer.modelId() ?? '', | CODE |
| CRITICAL⚡ | mastracode/tui/src/tui/commands/om.ts | 51 | reflectorModelId: ctx.state.session.om.reflector.modelId() ?? '', | CODE |
| CRITICAL⚡ | mastracode/tui/src/tui/commands/om.ts | 52 | observationThreshold: ctx.state.session.om.observer.threshold() ?? 30_000, | CODE |
| CRITICAL⚡ | mastracode/tui/src/tui/commands/om.ts | 53 | reflectionThreshold: ctx.state.session.om.reflector.threshold() ?? 40_000, | CODE |
| CRITICAL⚡ | mastracode/tui/src/tui/commands/om.ts | 64 | const currentReflector = ctx.state.session.om.reflector.modelId() ?? null; | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DEVELOPMENT.md | 85 | ### Step 1: Make your changes | COMMENT |
| LOW | DEVELOPMENT.md | 89 | ### Step 2: Build the packages | COMMENT |
| LOW | DEVELOPMENT.md | 109 | ### Step 3: Test your changes | COMMENT |
| LOW | .cursor/commands/gh-fix-lint.md | 10 | ## Step 1: Get PR Information | COMMENT |
| LOW | .cursor/commands/gh-fix-lint.md | 22 | ## Step 2: Check for Clean Working Directory | COMMENT |
| LOW | .cursor/commands/gh-fix-lint.md | 30 | ## Step 3: Fetch and Checkout the Branch | COMMENT |
| LOW⚡ | .cursor/commands/gh-fix-lint.md | 42 | ## Step 4: Run Lint and Format Fixes | COMMENT |
| LOW⚡ | .cursor/commands/gh-fix-lint.md | 49 | ## Step 5: Check for Changes | COMMENT |
| LOW⚡ | .cursor/commands/gh-fix-lint.md | 57 | ## Step 6: Commit and Push | COMMENT |
| LOW | .cursor/commands/gh-fix-lint.md | 70 | ## Step 7: Return to Original Branch | COMMENT |
| LOW⚡ | .cursor/commands/ralph-plan.md | 38 | ### Step 1: Understand the Goal | COMMENT |
| LOW⚡ | .cursor/commands/ralph-plan.md | 46 | ### Step 2: Define Background | COMMENT |
| LOW⚡ | .cursor/commands/ralph-plan.md | 53 | ### Step 3: Plan Setup Steps | COMMENT |
| LOW⚡ | .cursor/commands/ralph-plan.md | 61 | ### Step 4: Break Down Tasks | COMMENT |
| LOW⚡ | .cursor/commands/ralph-plan.md | 70 | ### Step 5: Define Testing | COMMENT |
| LOW | .mastracode/commands/gh-fix-lint.md | 10 | ## Step 1: Get PR Information | COMMENT |
| LOW | .mastracode/commands/gh-fix-lint.md | 22 | ## Step 2: Check for Clean Working Directory | COMMENT |
| LOW | .mastracode/commands/gh-fix-lint.md | 30 | ## Step 3: Fetch and Checkout the Branch | COMMENT |
| LOW⚡ | .mastracode/commands/gh-fix-lint.md | 42 | ## Step 4: Run Lint and Format Fixes | COMMENT |
| LOW⚡ | .mastracode/commands/gh-fix-lint.md | 49 | ## Step 5: Check for Changes | COMMENT |
| LOW⚡ | .mastracode/commands/gh-fix-lint.md | 57 | ## Step 6: Commit and Push | COMMENT |
| LOW | .mastracode/commands/gh-fix-lint.md | 70 | ## Step 7: Return to Original Branch | COMMENT |
| LOW⚡ | .mastracode/commands/ralph-plan.md | 38 | ### Step 1: Understand the Goal | COMMENT |
| LOW⚡ | .mastracode/commands/ralph-plan.md | 46 | ### Step 2: Define Background | COMMENT |
| LOW⚡ | .mastracode/commands/ralph-plan.md | 53 | ### Step 3: Plan Setup Steps | COMMENT |
| LOW⚡ | .mastracode/commands/ralph-plan.md | 61 | ### Step 4: Break Down Tasks | COMMENT |
| LOW⚡ | .mastracode/commands/ralph-plan.md | 70 | ### Step 5: Define Testing | COMMENT |
| LOW | explorations/agent-network-vs-ralph-wiggum.md | 276 | // Step 1: Run LLM completion assessment (existing behavior) | COMMENT |
| LOW | explorations/agent-network-vs-ralph-wiggum.md | 282 | // Step 2: If validation configured, run programmatic checks | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 44 | ### Step 1: Find Failures to Investigate | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 55 | ### Step 2: Setup Investigation | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 77 | ### Step 3: Investigate Each Question | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 144 | ### Step 4: Document Findings | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 181 | ### Step 5: Mark as Investigated | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 193 | ### Step 6: Implement Fixes | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 214 | ### Step 7: Mark as Fixed | COMMENT |
| LOW | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 220 | ### Step 8: Sync to Dataset | COMMENT |
| LOW | .opencode/command/gh-fix-lint.md | 10 | ## Step 1: Get PR Information | COMMENT |
| LOW | .opencode/command/gh-fix-lint.md | 22 | ## Step 2: Check for Clean Working Directory | COMMENT |
| LOW | .opencode/command/gh-fix-lint.md | 30 | ## Step 3: Fetch and Checkout the Branch | COMMENT |
| LOW⚡ | .opencode/command/gh-fix-lint.md | 42 | ## Step 4: Run Lint and Format Fixes | COMMENT |
| LOW⚡ | .opencode/command/gh-fix-lint.md | 49 | ## Step 5: Check for Changes | COMMENT |
| LOW⚡ | .opencode/command/gh-fix-lint.md | 57 | ## Step 6: Commit and Push | COMMENT |
| LOW | .opencode/command/gh-fix-lint.md | 70 | ## Step 7: Return to Original Branch | COMMENT |
| LOW⚡ | .opencode/command/ralph-plan.md | 38 | ### Step 1: Understand the Goal | COMMENT |
| LOW⚡ | .opencode/command/ralph-plan.md | 46 | ### Step 2: Define Background | COMMENT |
| LOW⚡ | .opencode/command/ralph-plan.md | 53 | ### Step 3: Plan Setup Steps | COMMENT |
| LOW⚡ | .opencode/command/ralph-plan.md | 61 | ### Step 4: Break Down Tasks | COMMENT |
| LOW⚡ | .opencode/command/ralph-plan.md | 70 | ### Step 5: Define Testing | COMMENT |
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 269 | // Step 1: Generate items to iterate over - outputs an array | COMMENT |
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 279 | // Step 2: Transform each item (used in foreach) | COMMENT |
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 287 | // Step 3: Sum all results | COMMENT |
| LOW | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 138 | // Step 0: Convert iteration state to LLM input format | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 162 | // Step 1: Execute LLM | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 164 | // Step 2: Extract tool calls as array for foreach | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 172 | // Step 3: Execute each tool call individually (with suspend support). | COMMENT |
| LOW | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 189 | // Step 4: Collect tool results, create observability spans, and bundle for mapping | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 279 | // Step 5: Map tool results back to state | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 281 | // Step 6: Check for pending background tasks | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 283 | // Step 7: Map back to iteration state format using shared function | COMMENT |
| 379 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 269 | // Step 1: Generate items to iterate over - outputs an array | COMMENT |
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 279 | // Step 2: Transform each item (used in foreach) | COMMENT |
| LOW⚡ | workflows/_test-utils/src/domains/foreach.ts | 287 | // Step 3: Sum all results | COMMENT |
| LOW | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 138 | // Step 0: Convert iteration state to LLM input format | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 162 | // Step 1: Execute LLM | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 164 | // Step 2: Extract tool calls as array for foreach | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 172 | // Step 3: Execute each tool call individually (with suspend support). | COMMENT |
| LOW | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 189 | // Step 4: Collect tool results, create observability spans, and bundle for mapping | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 279 | // Step 5: Map tool results back to state | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 281 | // Step 6: Check for pending background tasks | COMMENT |
| LOW⚡ | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 283 | // Step 7: Map back to iteration state format using shared function | COMMENT |
| LOW | …ores/cloudflare-d1/src/storage/domains/memory/index.ts | 806 | // Step 1: Get paginated messages from the thread first (without excluding included ones) | COMMENT |
| LOW | …ores/cloudflare-d1/src/storage/domains/memory/index.ts | 924 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW | stores/clickhouse/src/storage/domains/memory/index.ts | 224 | // Step 1: Get paginated messages from the thread(s) first (without excluding included ones) | COMMENT |
| LOW | stores/clickhouse/src/storage/domains/memory/index.ts | 375 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW⚡ | stores/clickhouse/src/storage/db/index.ts | 352 | // Step 1: Rename old table to backup | COMMENT |
| LOW⚡ | stores/clickhouse/src/storage/db/index.ts | 357 | // Step 2: Create new table with correct sorting key | COMMENT |
| LOW | stores/clickhouse/src/storage/db/index.ts | 396 | // Step 3: Copy data from backup to new table, deduplicating by (traceId, spanId) | COMMENT |
| LOW | stores/clickhouse/src/storage/db/index.ts | 431 | // Step 4: Drop backup table | COMMENT |
| LOW | …ores/cloudflare/src/kv/storage/domains/memory/index.ts | 874 | // Step 1: Get thread messages from all specified threads (for pagination) | COMMENT |
| LOW | …ores/cloudflare/src/kv/storage/domains/memory/index.ts | 935 | // Step 2: Get included messages separately (not subject to pagination) | COMMENT |
| LOW | …ores/cloudflare/src/kv/storage/domains/memory/index.ts | 950 | // Step 3: Combine paginated + included messages, deduplicate | COMMENT |
| LOW | …ores/cloudflare/src/do/storage/domains/memory/index.ts | 762 | // Step 1: Get paginated messages from the thread(s) first (without excluding included ones) | COMMENT |
| LOW | …ores/cloudflare/src/do/storage/domains/memory/index.ts | 864 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW | stores/lance/src/storage/domains/memory/index.ts | 403 | // Step 1: Get paginated messages from the thread first (without excluding included ones) | COMMENT |
| LOW | stores/lance/src/storage/domains/memory/index.ts | 438 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW⚡ | stores/dynamodb/src/storage/domains/memory/index.ts | 423 | // Step 1: Get paginated messages from the thread first (without excluding included ones) | COMMENT |
| LOW | stores/dynamodb/src/storage/domains/memory/index.ts | 474 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW | stores/mongodb/src/storage/migration.test.ts | 54 | // Step 1: Insert documents with ONLY old schema fields (simulating pre-migration data) | COMMENT |
| LOW⚡ | stores/mongodb/src/storage/migration.test.ts | 103 | // Step 2: Verify documents exist | COMMENT |
| LOW⚡ | stores/mongodb/src/storage/migration.test.ts | 107 | // Step 3: Initialize store (which creates indexes but doesn't modify document structure) | COMMENT |
| LOW⚡ | stores/mongodb/src/storage/migration.test.ts | 110 | // Step 4: Query via storage API - should work with old documents | COMMENT |
| LOW | stores/mongodb/src/storage/migration.test.ts | 128 | // Step 5: Verify new fields are null/undefined for old documents | COMMENT |
| LOW | stores/mongodb/src/storage/domains/memory/index.ts | 407 | // Step 1: Get paginated messages from the thread first (without excluding included ones) | COMMENT |
| LOW | stores/mongodb/src/storage/domains/memory/index.ts | 433 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW | stores/mongodb/src/storage/domains/memory/index.ts | 575 | // Step 1: Get paginated messages | COMMENT |
| LOW | stores/mongodb/src/storage/domains/memory/index.ts | 601 | // Step 2: Add included messages with context (if any), excluding duplicates | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 195 | // Step 3: Call createTable which should trigger migration | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 198 | // Step 4: Verify new columns exist | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 224 | // Step 5: Verify original columns still exist | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 234 | // Step 6: Verify data is still queryable after migration | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 264 | // Step 7: Verify new columns have NULL values for existing data (since they didn't exist before) | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 270 | // Step 8: Verify we can insert new data with the new columns | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 329 | // Step 2: Verify timezone columns do NOT exist before migration | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 338 | // Step 3: Insert test data | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 357 | // Step 4: Run the migration by calling createTable (which internally calls migrateSpansTable) | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 361 | // Step 5: Verify timezone columns DON'T exist after migration (this is the bug!) | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1383 | // Step 3: Run the migration SQL | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1390 | // Step 4: Verify column type is now JSONB | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1398 | // Step 5: Verify all data was preserved | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1423 | // Step 6: Verify JSONB operators work after migration | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1429 | // Step 7: Verify we can insert new data with JSONB | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1558 | // Step 3: Run the migration SQL | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1565 | // Step 4: Verify column type is now JSONB | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1573 | // Step 5: Verify all data was preserved | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1594 | // Step 6: Verify JSONB operators work after migration | COMMENT |
| LOW⚡ | stores/pg/src/storage/migration.test.ts | 1600 | // Step 7: Verify we can insert new data with JSONB | COMMENT |
| LOW | stores/pg/src/storage/migration.test.ts | 66 | // Step 1: Create table with OLD schema (simulating existing database) | COMMENT |
| LOW | stores/pg/src/storage/migration.test.ts | 90 | // Step 2: Insert test data using OLD schema columns | COMMENT |
| LOW | stores/pg/src/storage/migration.test.ts | 305 | // Step 1: Create table with OLD schema WITHOUT timezone columns (simulating pre-Dec-23 database) | COMMENT |
| 290 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | DEVELOPMENT.md | 71 | pnpm build:rag # RAG package | CODE |
| MEDIUM | DEVELOPMENT.md | 140 | pnpm test:rag # RAG tests | CODE |
| MEDIUM | explorations/longmemeval/docs/INVESTIGATION_WORKFLOW.md | 73 | ├── om.md # Agent's context window | CODE |
| MEDIUM | …ows/_test-utils/src/domains/tool-workflow-execution.ts | 293 | // Full agentic loop: LLM → tool → LLM → finish needs extra time | COMMENT |
| MEDIUM | …ows/_test-utils/src/domains/tool-workflow-execution.ts | 346 | // Full agentic loop: LLM → tools → LLM → finish needs extra time | COMMENT |
| MEDIUM | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 242 | // and is closed in map-final-output after the agentic loop completes | COMMENT |
| MEDIUM | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 312 | // Create the main agentic loop workflow with dowhile | COMMENT |
| MEDIUM | …t/src/durable-agent/create-inngest-agentic-workflow.ts | 361 | // Run the agentic loop with dowhile | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/SKILL.md | 259 | # Scaffold an auth-on project (re-runs scaffold with WorkOS keys, asserts auth on): | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/references/setup.md | 26 | ### 1. Preflight — scaffold + env vars + mode | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/references/auth.md | 61 | # 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.sh | 12 | # The script lives at <worktree>/.claude/skills/builder-smoke-test/scripts/scaffold.sh | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 23 | # bash scaffold.sh # auth off, prompt for openai key | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 24 | # bash scaffold.sh --reuse # skip install if project already healthy | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 25 | # bash scaffold.sh --dir /custom/path # use a custom project dir | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 26 | # BUILDER_SMOKE_TEST_DIR=/custom/path bash scaffold.sh # via env var | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 27 | # bash scaffold.sh --openai-key sk-... # supply key inline | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 28 | # bash scaffold.sh \ | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 34 | # 0 — scaffold complete (or reused), printed PROJECT_DIR=... AUTH_MODE=... | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 144 | echo "# Generated by .claude/skills/builder-smoke-test/scripts/scaffold.sh" | CODE |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 4 | # Calls scripts/scaffold.sh to ensure a hermetic project exists, then | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 8 | # 1. --dir <path> flag (forwarded to scaffold) | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 15 | # bash preflight.sh # scaffold auth-off (prompts for openai if missing) | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 21 | # --workos-organization-id org_... # scaffold auth-on | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 24 | # bash preflight.sh --skip-scaffold # inspect an already-scaffolded project; no install, no .env rewrite | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 26 | # All --openai-key, --workos-*, --dir, --reuse flags are forwarded to scaffold.sh. | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 27 | # --skip-scaffold short-circuits scaffold.sh entirely and just validates the | COMMENT |
| MEDIUM⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 33 | # 0 — scaffold + checks passed (mode matches --expect if given) | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/scripts/preflight.sh | 112 | # 1. Resolve PROJECT_DIR without running scaffold. | COMMENT |
| MEDIUM | .claude/skills/builder-smoke-test/scripts/preflight.sh | 129 | # 1. Run scaffold. Capture its output so we can extract PROJECT_DIR + AUTH_MODE. | COMMENT |
| MEDIUM | …/builder-smoke-test/assets/template/src/mastra/auth.ts | 35 | // and permissions from WorkOS, ensuring scaffold roleMapping edits and | COMMENT |
| MEDIUM | …convex/src/storage/domains/workflows/workflows.test.ts | 48 | // Mirrors the structural shape of an `agentic-loop` snapshot whose | COMMENT |
| MEDIUM | stores/duckdb/README.md | 57 | ### With RAG Pipeline | COMMENT |
| MEDIUM | stores/duckdb/README.md | 225 | ### Local RAG Pipelines | COMMENT |
| MEDIUM | observability/mastra/src/processor-tracing.test.ts | 1896 | // This ensures guardrails validate content before persistence | COMMENT |
| MEDIUM | e2e-tests/client-js/_test-utils/src/server-setup.ts | 109 | // to the next — which the evented agentic-loop tickles by spreading workflow | COMMENT |
| MEDIUM | integrations/brightdata/README.md | 87 | ## RAG Pairing Example | COMMENT |
| MEDIUM | integrations/tavily/README.md | 106 | ## RAG Pairing Example | COMMENT |
| MEDIUM | embedders/voyageai/README.md | 273 | ### With Mastra RAG | COMMENT |
| MEDIUM | mastracode/sdk/src/headless/run-mc.ts | 299 | // Count agentic turns (one assistant response = one turn). When the cap is | COMMENT |
| MEDIUM | packages/core/src/tools/tool.test.ts | 217 | // own — the value has to survive conversion to a CoreTool (where the agentic | COMMENT |
| MEDIUM | packages/core/src/tools/tool-builder/builder.ts | 627 | // use workflows internally for their agentic loop | COMMENT |
| MEDIUM | packages/core/src/tools/tool-builder/builder.ts | 1063 | // Preserve tool-level background config so the agentic loop can pick it up | COMMENT |
| MEDIUM | packages/core/src/llm/model/model.loop.e2e.test.ts | 23 | // The agentic loop runs on the evented workflow engine, which needs a | COMMENT |
| MEDIUM | packages/core/src/llm/model/model.loop.ts | 198 | // The agentic loop calls setInferenceContext + startInference per-step so the | COMMENT |
| MEDIUM | packages/core/src/mastra/cross-process-workflow.test.ts | 198 | // Simulate a nested workflow event (agentic-loop inside execution-workflow) | COMMENT |
| MEDIUM | packages/core/src/mastra/cross-process-workflow.test.ts | 344 | // Owner registers the root agentic-loop run. | COMMENT |
| MEDIUM | packages/core/src/mastra/cross-process-workflow.test.ts | 348 | // parent chain points to the registered agentic-loop. | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 771 | // agentic-loop wrapping an agentic-execution) keep the scope alive until the | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 807 | // Internal execution-workflows / agentic-loops are run-scoped: | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 819 | // (e.g. `executionWorkflow` inside `agentic-loop`) carry an | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 821 | // but their root parent (the registered agentic-loop) is. If any | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 1373 | // The evented workflow engine (used internally by the agentic loop) requires | COMMENT |
| MEDIUM | packages/core/src/mastra/index.ts | 3147 | // 1. Internal registry (run-scoped execution-workflow, agentic-loop, etc.) | COMMENT |
| MEDIUM | …rc/workflows/evented/workflow-event-processor/utils.ts | 46 | // `agentic-loop` instance with distinct closures) resolve to the right | COMMENT |
| MEDIUM | …rc/workflows/evented/workflow-event-processor/index.ts | 474 | // persist (e.g. the internal `executionWorkflow` inside `agentic-loop`). | COMMENT |
| MEDIUM | packages/core/src/agent/agent.ts | 3274 | // Title generation runs the same evented agentic loop as `#execute` — make | COMMENT |
| MEDIUM | packages/core/src/agent/agent.ts | 4522 | // When a sub-agent invocation is dispatched as a background task, the agentic loop | COMMENT |
| MEDIUM | packages/core/src/agent/agent.ts | 6811 | // The same Mastra is registered on the LLM so the agentic loop inside | COMMENT |
| MEDIUM | packages/core/src/agent/agent.ts | 7509 | // agents sharing the same agentic-loop snapshot storage are skipped. | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …de/skills/mastra-smoke-test/references/tests/errors.md | 33 | > Replace `<server-url>` with your environment URL, `<agent-id>` with an agent from your setup, and `<your-api-key>` fro | CODE |
| HIGH⚡ | …de/skills/mastra-smoke-test/references/tests/errors.md | 38 | -H "Authorization: Bearer <your-api-key>" \ | CODE |
| HIGH⚡ | …de/skills/mastra-smoke-test/references/tests/errors.md | 44 | -H "Authorization: Bearer <your-api-key>" \ | CODE |
| HIGH⚡ | …de/skills/mastra-smoke-test/references/tests/errors.md | 50 | -H "Authorization: Bearer <your-api-key>" \ | CODE |
| HIGH | stores/pinecone/README.md | 18 | apiKey: 'your-api-key', | CODE |
| HIGH⚡ | stores/pinecone/src/vector/index.ts | 40 | * apiKey: 'your-api-key', | COMMENT |
| HIGH⚡ | stores/pinecone/src/vector/index.ts | 46 | * apiKey: 'your-api-key', | COMMENT |
| HIGH⚡ | stores/pinecone/src/vector/index.ts | 53 | * apiKey: 'your-api-key', | COMMENT |
| HIGH | stores/turbopuffer/README.md | 18 | apiKey: 'your-api-key', | CODE |
| HIGH | …course/02-agent-tools-mcp/08-getting-zapier-mcp-url.md | 18 | ZAPIER_MCP_API_KEY=your-api-key-here | CODE |
| HIGH | observability/arize/README.md | 28 | PHOENIX_API_KEY=your-api-key | CODE |
| HIGH | observability/arize/README.md | 66 | apiKey: 'your-api-key', // Optional | CODE |
| HIGH | observability/arize/README.md | 94 | ARIZE_API_KEY=your-api-key | CODE |
| HIGH | observability/arize/README.md | 132 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/arize/README.md | 164 | apiKey: "your-api-key", | CODE |
| HIGH | observability/otel-exporter/README.md | 68 | DASH0_API_KEY=your-api-key | CODE |
| HIGH | observability/otel-exporter/README.md | 98 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/otel-exporter/README.md | 120 | SIGNOZ_API_KEY=your-api-key | CODE |
| HIGH | observability/otel-exporter/README.md | 150 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/otel-exporter/README.md | 219 | TRACELOOP_API_KEY=your-api-key | CODE |
| HIGH | observability/otel-exporter/README.md | 249 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/otel-exporter/README.md | 269 | LMNR_PROJECT_API_KEY=your-api-key | CODE |
| HIGH | observability/otel-exporter/README.md | 298 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/arthur/README.md | 20 | ARTHUR_API_KEY=your-api-key | CODE |
| HIGH | observability/arthur/README.md | 56 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/arthur/README.md | 71 | apiKey: 'your-api-key', | CODE |
| HIGH | observability/_examples/otel-bridge/agent-hub/README.md | 28 | OPENAI_API_KEY=your-api-key-here | CODE |
| HIGH | embedders/voyageai/README.md | 18 | export VOYAGE_API_KEY=your-api-key | CODE |
| HIGH | voice/azure/README.md | 37 | apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env var | CODE |
| HIGH | voice/azure/README.md | 42 | apiKey: 'your-api-key', // Optional, can use AZURE_API_KEY env var | CODE |
| HIGH | voice/gladia/README.md | 16 | GLADIA_API_KEY=your_api_key | CODE |
| HIGH | voice/google/README.md | 22 | GOOGLE_API_KEY=your_api_key | CODE |
| HIGH | voice/google/README.md | 65 | apiKey: 'your-api-key', // Optional, can rely on GOOGLE_API_KEY or ADC | CODE |
| HIGH | voice/google/src/index.ts | 135 | * speechModel: { apiKey: 'your-api-key' }, | COMMENT |
| HIGH | voice/murf/README.md | 16 | MURF_API_KEY=your_api_key | CODE |
| HIGH | voice/murf/README.md | 30 | apiKey: 'your-api-key', // Optional, can use MURF_API_KEY env var | CODE |
| HIGH | voice/speechify/README.md | 27 | apiKey: 'your-api-key', // Optional, can use SPEECHIFY_API_KEY env var | CODE |
| HIGH | voice/cloudflare/README.md | 28 | CLOUDFLARE_AI_API_KEY=your_api_key | CODE |
| HIGH | voice/cloudflare/README.md | 48 | apiKey: 'YOUR_API_KEY', | CODE |
| HIGH | voice/deepgram/README.md | 16 | DEEPGRAM_API_KEY=your_api_key | CODE |
| HIGH | voice/deepgram/README.md | 28 | apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env var | CODE |
| HIGH | voice/deepgram/README.md | 32 | apiKey: 'your-api-key', // Optional, can use DEEPGRAM_API_KEY env var | CODE |
| HIGH | voice/openai-realtime-api/README.md | 16 | OPENAI_API_KEY=your_api_key | CODE |
| HIGH | voice/openai-realtime-api/README.md | 30 | apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var | CODE |
| HIGH | voice/openai-realtime-api/src/index.ts | 138 | * apiKey: 'your-api-key', | COMMENT |
| HIGH | voice/elevenlabs/README.md | 16 | ELEVENLABS_API_KEY=your_api_key | CODE |
| HIGH | voice/elevenlabs/README.md | 28 | apiKey: 'your-api-key', // Optional, can use ELEVENLABS_API_KEY env var | CODE |
| HIGH | voice/playai/README.md | 16 | PLAYAI_API_KEY=your_api_key | CODE |
| HIGH | voice/playai/README.md | 29 | apiKey: 'your-api-key', // Optional, can use PLAYAI_API_KEY env var | CODE |
| HIGH | voice/sarvam/README.md | 16 | SARVAM_API_KEY=your_api_key | CODE |
| HIGH | voice/google-gemini-live-api/README.md | 21 | GOOGLE_API_KEY=your_api_key | CODE |
| HIGH | voice/google-gemini-live-api/README.md | 74 | apiKey: 'your-api-key', // Optional, can use GOOGLE_API_KEY env var | CODE |
| HIGH⚡ | voice/google-gemini-live-api/src/index.ts | 61 | * apiKey: 'your-api-key', | COMMENT |
| HIGH⚡ | voice/google-gemini-live-api/src/index.ts | 71 | * speechModel: { name: 'gemini-2.0-flash-live-001', apiKey: 'your-api-key' }, | COMMENT |
| HIGH⚡ | voice/google-gemini-live-api/src/index.ts | 75 | * apiKey: 'your-api-key', | COMMENT |
| HIGH | voice/openai/README.md | 16 | OPENAI_API_KEY=your_api_key | CODE |
| HIGH⚡ | voice/openai/README.md | 28 | apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var | CODE |
| HIGH⚡ | voice/openai/README.md | 32 | apiKey: 'your-api-key', // Optional, can use OPENAI_API_KEY env var | CODE |
| HIGH⚡ | voice/openai/README.md | 41 | apiKey: 'your-api-key', | CODE |
| HIGH⚡ | voice/openai/README.md | 50 | apiKey: 'your-api-key', | CODE |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …r-adapters/_test-utils/src/route-adapter-test-suite.ts | 81 | COMMENT | |
| LOW | …r-adapters/_test-utils/src/route-adapter-test-suite.ts | 141 | // 'test-connection-id' that isn't seeded, so the fail-closed ownership | COMMENT |
| LOW | deployers/cloudflare/src/index.test.ts | 21 | COMMENT | |
| LOW | client-sdks/client-js/src/example.ts | 41 | COMMENT | |
| LOW | client-sdks/client-js/src/example.ts | 61 | // try { | COMMENT |
| LOW | …i-sdk/src/__tests__/add-tool-result-message-id.test.ts | 201 | // | COMMENT |
| LOW | client-sdks/react/src/lib/mastra-db/accumulator.ts | 21 | // Boundary cast policy | COMMENT |
| LOW | workflows/inngest/src/actor-signal.test.ts | 21 | describe('@mastra/inngest actor signal threading (hermetic)', () => { | COMMENT |
| LOW | …lows/inngest/src/durable-agent/create-inngest-agent.ts | 521 | // Set up pubsub with lazy CachingPubSub creation | COMMENT |
| LOW | …lows/inngest/src/durable-agent/create-inngest-agent.ts | 561 | // as the agent's pubsub. Each InngestWorkflow function (including nested ones) | COMMENT |
| LOW | …ows/inngest/src/__tests__/create-inngest-agent.test.ts | 461 | // Parity surface tests | COMMENT |
| LOW | …ws/inngest/src/__tests__/proxyref-verification.test.ts | 101 | // When stream({ untilIdle: true }) is called: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/run-checks.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/init-run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/snapshot.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/eval-typecheck.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/eval-setup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/format-doc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/mastra-smoke-test/scripts/test-server.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …ls/mastra-smoke-test/scripts/discover-release-scope.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 21 | # | COMMENT |
| LOW | .claude/skills/builder-smoke-test/scripts/preflight.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/builder-smoke-test/scripts/preflight.sh | 21 | # --workos-organization-id org_... # scaffold auth-on | COMMENT |
| LOW | …e/skills/builder-smoke-test/scripts/seed-multi-user.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …e/skills/builder-smoke-test/scripts/wait-for-server.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 481 | // createSampleMessage({ | COMMENT |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 501 | // }), | COMMENT |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 521 | COMMENT | |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 541 | // { | COMMENT |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 561 | // resourceId: 'cross-thread-resource', | COMMENT |
| LOW | stores/cloudflare-d1/src/storage/rest-api.test.ts | 581 | // resourceId: 'cross-thread-resource', | COMMENT |
| LOW | stores/_test-utils/src/domains/memory/threads.ts | 401 | const finalThread = await memoryStorage.getThreadById({ threadId: thread.id }); | COMMENT |
| LOW | stores/_test-utils/src/domains/memory/threads.ts | 421 | // expect(retrievedThread?.updatedAt.toISOString()).toBe(now.toISOString()); | COMMENT |
| LOW | stores/_test-utils/src/domains/memory/threads.ts | 441 | // const retrievedThread = await storage.getThreadById({ threadId: thread.id }); | COMMENT |
| LOW | …src/storage/domains/observability/v-next/index.test.ts | 1181 | // getSpans (batch by spanId) | COMMENT |
| LOW | …src/storage/domains/observability/v-next/index.test.ts | 1921 | COMMENT | |
| LOW | …src/storage/domains/observability/v-next/index.test.ts | 3901 | // start from a clean state. ALTER TABLE ... MODIFY TTL with persistent | COMMENT |
| LOW | …ouse/src/storage/domains/observability/v-next/index.ts | 501 | } | COMMENT |
| LOW | stores/pg/README.md | 441 | COMMENT | |
| LOW | stores/pg/docker-compose.pooler.yaml | 21 | # into the user-reported failure mode. Real Supabase deployments | COMMENT |
| LOW | stores/pg/docker-compose.pooler.yaml | 61 | DB_NAME: ${POSTGRES_DB:-postgres} | COMMENT |
| LOW | stores/pg/src/storage/index.test.ts | 541 | // the symptoms (statement_timeout, connectionTimeoutMillis) which | COMMENT |
| LOW | stores/pg/src/storage/index.test.ts | 581 | }); | COMMENT |
| LOW | stores/pg/src/storage/test-utils.ts | 1041 | expect(version).toBeDefined(); | COMMENT |
| LOW | stores/pg/src/storage/index.ts | 301 | async #runPinnedInit(): Promise<void> { | COMMENT |
| LOW | …pg/src/storage/domains/observability/v-next/helpers.ts | 141 | // Common context — the ~23 identity / hierarchy / execution-context columns | COMMENT |
| LOW | …c/storage/domains/observability/v-next/partitioning.ts | 121 | const baseNowMs = Date.now(); | COMMENT |
| LOW | …c/storage/domains/observability/v-next/partitioning.ts | 141 | // `partEnd` are produced by `dayBounds()` (formatted from a JS Date) | COMMENT |
| LOW | …orage/domains/observability/v-next/integration.test.ts | 601 | // takes AccessExclusiveLock on the parent, which blocks every concurrent | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 761 | translator.translate({ | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 781 | // translator.translate({ | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 801 | // }), | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 821 | // field: { $regex: '^exact$' }, | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 841 | // }); | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 861 | // nested: { | COMMENT |
| LOW | stores/libsql/src/vector/filter.test.ts | 881 | // expect( | COMMENT |
| LOW | stores/libsql/src/vector/filter.ts | 61 | COMMENT | |
| LOW | stores/libsql/src/vector/filter.ts | 121 | // const flags = options | COMMENT |
| LOW | stores/libsql/src/vector/sql-builder.ts | 261 | }, | COMMENT |
| 373 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …adapters/express/src/__tests__/auth-middleware.test.ts | 17 | token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null, | CODE |
| LOW | …adapters/express/src/__tests__/auth-middleware.test.ts | 79 | email: 'user@example.com', | CODE |
| LOW | …er-adapters/hono/src/__tests__/auth-middleware.test.ts | 16 | token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null, | CODE |
| LOW | …adapters/fastify/src/__tests__/auth-middleware.test.ts | 16 | token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null, | CODE |
| LOW | …ver-adapters/koa/src/__tests__/auth-middleware.test.ts | 18 | token === 'valid-token' ? { id: 'user-1', email: 'user@example.com' } : null, | CODE |
| LOW | deployers/cloudflare/src/index.ts | 210 | /"placeholder": "PLACEHOLDER",/, | CODE |
| LOW | auth/google/src/index.test.ts | 139 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 183 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 198 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 226 | payload: { sub: 'u1', email: 'user@example.com', hd: 'example.com', nonce: 'wrong' }, | CODE |
| LOW | auth/google/src/index.test.ts | 245 | payload: { sub: 'u1', email: 'user@example.com', nonce }, | CODE |
| LOW | auth/google/src/index.test.ts | 296 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 320 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 347 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 395 | email: 'user@example.com', | CODE |
| LOW | auth/google/src/index.test.ts | 477 | expect(firstUrl.searchParams.get('userKey')).toBe('user@example.com'); | CODE |
| LOW | auth/google/src/index.test.ts | 546 | expect(consoleError.mock.calls[0]?.join(' ')).not.toContain('user@example.com'); | CODE |
| LOW | auth/google/src/index.test.ts | 579 | subject: 'admin@example.com', | CODE |
| LOW | auth/okta/src/index.test.ts | 218 | profile: { login: 'user@example.com', email: 'user@example.com', firstName: 'Test', lastName: 'User' }, | CODE |
| LOW | auth/okta/src/index.test.ts | 227 | email: 'user@example.com', | CODE |
| LOW | auth/neon/src/index.test.ts | 411 | email: 'user@example.com', | CODE |
| LOW | auth/neon/src/index.test.ts | 426 | email: 'user@example.com', | CODE |
| LOW | auth/clerk/src/index.test.ts | 582 | email: 'user@example.com', | CODE |
| LOW | auth/clerk/src/index.test.ts | 594 | expect(result.user.email).toBe('user@example.com'); | CODE |
| LOW | auth/auth0/src/index.test.ts | 424 | email: 'user@example.com', | CODE |
| LOW | auth/auth0/src/index.test.ts | 433 | expect(result.user.email).toBe('user@example.com'); | CODE |
| LOW | client-sdks/ai-sdk/src/__tests__/custom-data.test.ts | 129 | name: 'John Doe', | CODE |
| LOW | client-sdks/ai-sdk/src/__tests__/custom-data.test.ts | 160 | expect(customDataChunk.data.user.name).toBe('John Doe'); | CODE |
| LOW | workflows/_test-utils/src/domains/structured-output.ts | 168 | phone: '555-1234', | CODE |
| LOW | stores/astra/src/vector/index.test.ts | 428 | name: 'John Doe', | CODE |
| LOW | stores/couchbase/src/vector/index.integration.test.ts | 255 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | stores/couchbase/src/vector/index.integration.test.ts | 255 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | stores/couchbase/src/vector/index.unit.test.ts | 378 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | stores/couchbase/src/vector/index.unit.test.ts | 378 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 400 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 400 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 403 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 403 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 485 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 485 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 488 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW⚡ | stores/couchbase/src/vector/index.unit.test.ts | 488 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | stores/dsql/src/storage/index.test.ts | 201 | it('placeholder', () => {}); | CODE |
| LOW | observability/mastra/src/exporters/base.test.ts | 377 | metadata: { ...span.metadata, userName: 'John Doe', department: 'Engineering' }, | CODE |
| LOW | observability/mastra/src/exporters/base.test.ts | 389 | userName: 'John Doe', | CODE |
| LOW | …astra/src/span_processors/senstive-data-filter.test.ts | 267 | fullName: 'John Doe', | CODE |
| LOW | …astra/src/span_processors/senstive-data-filter.test.ts | 313 | content: '{ email": "test@test.com" }', | CODE |
| LOW | …astra/src/span_processors/senstive-data-filter.test.ts | 328 | expect(input.messages[0].content).toBe('{ email": "test@test.com" }'); | CODE |
| LOW | observability/datadog/src/compliance.test.ts | 70 | exporter = new DatadogExporter({ mlApp: 'compliance', apiKey: 'fake-key', agentless: true }); | CODE |
| LOW | e2e-tests/_local-registry-setup/registry.js | 57 | execSync(`npm config set //localhost:${port}/:_authToken dummy-token`); | CODE |
| LOW | e2e-tests/_local-registry-setup/registry.js | 58 | execSync(`pnpm config set //localhost:${port}/:_authToken dummy-token`); | CODE |
| LOW | browser/agent-browser/src/__tests__/dialog.test.ts | 112 | const result = await browser.dialog({ triggerRef: '@e3', action: 'accept', text: 'John Doe' }); | CODE |
| LOW | browser/agent-browser/src/__tests__/dialog.test.ts | 114 | expect(mockDialog.accept).toHaveBeenCalledWith('John Doe'); | CODE |
| LOW | …ents/__tests__/ask-question-inline-long-labels.test.ts | 86 | 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna ali | CODE |
| LOW | …ents/__tests__/ask-question-inline-long-labels.test.ts | 86 | 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna ali | CODE |
| LOW | …/tui/components/__tests__/wrapping-select-list.test.ts | 46 | const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor'; | CODE |
| LOW | …/tui/components/__tests__/wrapping-select-list.test.ts | 46 | const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor'; | CODE |
| LOW⚡ | …/tui/components/__tests__/wrapping-select-list.test.ts | 66 | const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor'; | CODE |
| LOW⚡ | …/tui/components/__tests__/wrapping-select-list.test.ts | 66 | const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor'; | CODE |
| LOW⚡ | …/tui/components/__tests__/wrapping-select-list.test.ts | 73 | const longLabel = 'Lorem ipsum dolor sit amet consectetur adipiscing elit'; | CODE |
| 163 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | explorations/longmemeval/src/commands/investigate.ts | 901 | console.log(`\n💡 Don't forget to run: pnpm run sync-improved-om-qa\n`); | CODE |
| MEDIUM | examples/agent/src/hitl-approval-recall.ts | 102 | controller.enqueue({ type: 'text-delta', id: 'text-0', delta: 'All done — let me know if you need more.' }); | CODE |
| MEDIUM | examples/agent/src/mastra/agents/approval-demo-agent.ts | 95 | delta: 'All done — let me know if you need anything else.', | CODE |
| MEDIUM | examples/agent/src/mastra/agents/model-v2-agent.ts | 269 | * Another research agent that should NOT be used (for demonstration purposes) | COMMENT |
| MEDIUM | …evals/src/scorers/llm/tool-call-accuracy/index.test.ts | 329 | content: 'I cannot provide weather information without checking.', | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-c1a4b69b.json | 90 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-c1a4b69b.json | 98 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json | 63 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json | 71 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-a7373d50.json | 172 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json | 63 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json | 71 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-d4f909c5.json | 238 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json | 55 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json | 63 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50da5a32.json | 256 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json | 55 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json | 63 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-7316c0c7.json | 219 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-ec76f34b.json | 90 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-ec76f34b.json | 98 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50215a35.json | 55 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50215a35.json | 63 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-50215a35.json | 222 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json | 55 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json | 63 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json | 231 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-3ae2bed0.json | 302 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json | 63 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json | 71 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-45e4713b.json | 238 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json | 82 | "text": "You will be calling just *one* primitive at a time to accomplish the user task, every call to | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json | 90 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| LOW | …s__/core-src-agent-agent-gemini.e2e/test-99f429d7.json | 191 | "text": "\n You are a router in a network of specialized AI agents.\n Your job is to d | CODE |
| MEDIUM⚡ | …c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json | 236 | "event: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id | CODE |
| MEDIUM⚡ | …c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json | 237 | "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.json | 239 | ".done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_015934ded4c5883c006a32a2742cd8819 | CODE |
| MEDIUM⚡ | …c-agent-__tests__-tool-approval.e2e/test-e3f1ad60.json | 240 | "event: response.completed\ndata: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_015934ded4c5883 | CODE |
| LOW | packages/core/src/loop/network/index.ts | 237 | ## Available Workflows in Network (make sure to use inputs corresponding to the input schema when calling a wo | COMMENT |
| LOW | packages/core/src/loop/network/index.ts | 239 | ## 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.json | 5372 | "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" Niño and La Niña. \\n\\nMy research is now c | CODE |
| MEDIUM | …s__/schema-compat-src-provider-compats-google.e2e.json | 1325 | "text": "I have successfully called the `manySchemasTool` with valid sample data satisfying all the | CODE |
| MEDIUM | …-compat-src-provider-compats-openai-reasoning.e2e.json | 1787 | "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.tsx | 125 | Here's a simple example: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | stores/libsql/src/storage/domains/harness/index.ts | 157 | return runPrune({ db: this.#db, domain: 'harness', targets, options, logger: this.logger }); | CODE |
| MEDIUM | workspaces/docker/src/sandbox/process-manager.ts | 97 | // backoff would be more robust under heavy load, but overkill in practice. | COMMENT |
| MEDIUM⚡ | …/__recordings__/core-src-tools-provider-tools.e2e.json | 814 | "event: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"content_index\":0,\"item_id | CODE |
| MEDIUM⚡ | …/__recordings__/core-src-tools-provider-tools.e2e.json | 815 | "event: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"content_index\":0,\"item_ | CODE |
| MEDIUM⚡ | …/__recordings__/core-src-tools-provider-tools.e2e.json | 816 | "event: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"item\":{\"id\":\"msg_003b24 | CODE |
| MEDIUM⚡ | …/__recordings__/core-src-tools-provider-tools.e2e.json | 819 | "data: {\"type\":\"response.completed\",\"response\":{\"id\":\"resp_003b244db9908ccb006a0aef0ea85481968f11de26 | CODE |
| MEDIUM | …/__recordings__/core-src-tools-provider-tools.e2e.json | 1769 | "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\ | CODE |
| MEDIUM | …/__recordings__/core-src-tools-provider-tools.e2e.json | 1769 | "event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":1,\"content_block\":{\"type\":\ | CODE |
| MEDIUM | …ings__/core-src-tools-provider-tools-ordering.e2e.json | 364 | "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":22,\"delta\":{\"type\":\"citati | CODE |
| MEDIUM | …ings__/core-src-agent-__tests__-tool-handling.e2e.json | 923 | "text": "Here's an overview of TypeScript:\n\n### What is TypeScript?\nTypeScript is an open-source pr | CODE |
| MEDIUM | …/core-src-agent-agent-processor.e2e/test-8d6b5c23.json | 153 | "text": "Extract and structure the key information from the following text according to the specified | CODE |
| MEDIUM | packages/core/src/mastra/index.ts | 5703 | this.#logger?.error('Failed to destroy harness during shutdown', { | CODE |
| MEDIUM | packages/core/src/processors/processors/skills.test.ts | 37 | instructions: '# Testing\n\nHelp write comprehensive tests.', | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 2782 | "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 2922 | "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 3086 | "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 3277 | "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 3556 | "text": "I'll help you research weather patterns in California and create a comprehensive summary. Let | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 5156 | "ces cooler temperatures overall compared to the south.\\n* **Southern California:** Known for hotter, drier c | CODE |
| MEDIUM | …/memory-integration-tests-src-message-ordering-v6.json | 5265 | "content": "# Weather Patterns in California\n\nCalifornia is renowned for its diverse and complex | CODE |
| MEDIUM | packages/mcp/src/client/configuration.e2e.test.ts | 317 | // Adding a small delay or an explicit trigger if the fixture supported it would be more robust. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/docs-audit/scripts/run-checks.sh | 10 | # Usage: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/init-run.sh | 13 | # Usage: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/snapshot.sh | 12 | # Usage: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/eval-typecheck.sh | 10 | # Usage: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/eval-setup.sh | 12 | # Usage: | COMMENT |
| LOW | .claude/skills/docs-audit/scripts/format-doc.sh | 7 | # Usage: | COMMENT |
| LOW | …ls/mastra-smoke-test/scripts/discover-release-scope.sh | 5 | # Usage: | COMMENT |
| LOW | …kills/mastra-smoke-test/scripts/check-versioning-pr.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | .claude/skills/builder-smoke-test/scripts/scaffold.sh | 22 | # Usage: | COMMENT |
| LOW⚡ | .claude/skills/builder-smoke-test/scripts/preflight.sh | 14 | # Usage: | COMMENT |
| LOW | …e/skills/builder-smoke-test/scripts/seed-multi-user.sh | 20 | # Usage: | COMMENT |
| LOW | …e/skills/builder-smoke-test/scripts/wait-for-server.sh | 6 | # Usage: | COMMENT |
| LOW | …pg/src/storage/performance-indexes/performance-test.ts | 530 | // Example usage | COMMENT |
| LOW | …ql/src/storage/performance-indexes/performance-test.ts | 543 | // Example usage | COMMENT |
| LOW | mastracode/web/docker-compose.yml | 7 | # Usage: | COMMENT |
| LOW | scripts/install-example.js | 95 | // Example usage | COMMENT |
| LOW | scripts/ignore-example.js | 102 | // Example usage | COMMENT |
| LOW | scripts/generate-package-docs.ts | 291 | ## How to use | COMMENT |
| LOW | scripts/test-migration-e2e.sh | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/rag/src/document/document.test.ts | 723 | return False | CODE |
| HIGH | packages/rag/src/document/document.test.ts | 724 | return True | CODE |
| HIGH | packages/rag/src/document/document.test.ts | 1005 | print(i) | CODE |
| HIGH | packages/rag/src/document/document.test.ts | 1222 | print("Hello") | CODE |
| HIGH | packages/rag/src/document/document.test.ts | 2800 | print("Hello World") | CODE |
| HIGH | packages/rag/src/document/document.test.ts | 3579 | print(f"The result is {z}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test-migration-e2e.sh | 137 | # Check if test directory exists | COMMENT |
| LOW | scripts/test-migration-e2e.sh | 143 | # Check if test file exists | COMMENT |
| LOW | .github/workflows/test-combined-stores.yml | 52 | # Check if we should include vectorize tests | COMMENT |
| LOW | .github/workflows/regenerate-provider-registry.yml | 87 | # Check if an automated provider registry changeset already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/__recordings__/core-src-tools-provider-tools.e2e.json | 1757 | "event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"input_j | CODE |
| MEDIUM | .github/workflows/call-external-mastra-workflow.yml | 43 | # Create the workflow run and capture the runId | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/core/src/_types/ai-sdk.types.d.ts | 4681 | export function getData(name: string): ValueOf<typeof data> { | CODE |
| LOW | packages/rag/src/document/document.test.ts | 3855 | function processData(data) { | CODE |
| LOW | …odemod/src/test/__fixtures__/runtime-context.output.ts | 22 | function handleRequest(requestContext: RequestContext<MyContext>) { | CODE |
| LOW | …codemod/src/test/__fixtures__/runtime-context.input.ts | 22 | function handleRequest(runtimeContext: RuntimeContext<MyContext>) { | CODE |