The Open Source Agentic IDE. Create and orchestrate coding agents, show app previews and run git workflows. Use your favorite models across all providers.
This report presents the forensic synthetic code analysis of stagewise-io/stagewise, a TypeScript project with 6,729 GitHub stars. SynthScan v2.0 examined 335,039 lines of code across 1677 source files, recording 626 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 3.7 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 626 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/experiments/extract-compression-test-data.ts | 39 | // ─── CLI args ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/experiments/extract-compression-test-data.ts | 64 | // ─── Channel → DB path ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/experiments/extract-compression-test-data.ts | 93 | // ─── Types ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/experiments/extract-compression-test-data.ts | 102 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/experiments/extract-compression-test-data.ts | 138 | // ─── Main ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 33 | // ─── Section A: applyHeadTailCap (pure) ────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 75 | // ─── Section B: stripAnsi (pure) ───────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 135 | // ─── Section C: timeout/idle selection (pure) ──────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 196 | // ─── Section D: Integration tests (real PTY sessions) ──────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 330 | // ─── Basic execution ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 361 | // ─── Session persistence ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 458 | // ─── Session cwd ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 478 | // ─── waitUntil ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 496 | // ─── Idle detection ──────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 671 | // ─── Abort ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 691 | // ─── Streaming ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 707 | // ─── Session lifecycle ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 786 | // ─── Concurrency limits ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 809 | // ─── Edge cases ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 839 | // ─── Shell integration scripts ─────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 9 | // ─── Helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 25 | // ─── OSC 133 parsing ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 239 | // ─── OSC 7 cwd parsing ─────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 389 | // ─── Sentinel fallback ─────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 461 | // ─── Detecting mode ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 486 | // ─── Utilities ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.test.ts | 558 | // ─── PowerShell OSC 133 compatibility ───────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/types.ts | 6 | // ─── Output capping constants (unchanged) ───────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/types.ts | 94 | // ─── Session types ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-logger.ts | 201 | // ─── Buffer serialization ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 35 | // ─── Command timeout/idle policy ──────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 66 | // ─── ANSI stripping ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 126 | // ─── Head/tail output capping ──────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 140 | // ─── Shell integration scripts (inlined) ───────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 304 | // ─── Pending command state ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 330 | // ─── SessionManager ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 381 | // ─── Session creation ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 594 | // ─── Command execution ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 731 | // ─── Live snapshot (UI streaming) ─────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 760 | // ─── Session management ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 868 | // ─── Private: command resolution ───────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1043 | // ─── Private: output accumulation ──────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1132 | // ─── Private: session lifecycle ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1284 | // ─── Helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent-shell/src/engine/osc-parser.ts | 29 | // ─── OSC regexes ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent-shell/src/engine/osc-parser.ts | 35 | // ─── Sentinel format ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/agent-shell/src/engine/osc-parser.ts | 39 | // ─── Strip all OSC 133 / OSC 7 sequences from text ──────────────── | COMMENT |
| MEDIUM⚡ | packages/agent-shell/src/engine/osc-parser.ts | 44 | // ─── Types ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.ts | 96 | // ─── Parser ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/osc-parser.ts | 405 | // ─── Utilities ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …s/agent-core/src/file-read-transformer/format-utils.ts | 264 | // ── Line-range slicing ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …s/agent-core/src/file-read-transformer/format-utils.ts | 285 | // ── Full content (capped by char budget) ────────────────────────── | COMMENT |
| MEDIUM | packages/agent-core/src/file-read-transformer/index.ts | 388 | // ── 1. Resolve to absolute path + stat ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-core/src/file-read-transformer/index.ts | 462 | // ── 2. Read contents + compute current hash ───────────────────────── | COMMENT |
| MEDIUM | packages/agent-core/src/file-read-transformer/index.ts | 490 | // ── 2b. Preview promotion ─────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-core/src/file-read-transformer/index.ts | 522 | // ── 3. Build cache key ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-core/src/file-read-transformer/index.ts | 544 | // ── 4. Hash comparison + cache lookup ─────────────────────────────── | COMMENT |
| MEDIUM | …t-core/src/file-read-transformer/transformers/image.ts | 42 | // ── Preview mode ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-core/src/file-read-transformer/transformers/image.ts | 58 | // ── Full mode — encode to WebP ─────────────────────────────── | COMMENT |
| MEDIUM | …re/src/file-read-transformer/transformers/directory.ts | 62 | // ── Preview mode ─────────────────────────────────────────── | COMMENT |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/experiments/extract-compression-test-data.ts | 129 | function findPreviousCompressionInSlice(messages: AgentMessage[]): number { | CODE |
| LOW | scripts/release/generate-changelog.ts | 122 | export function generateChangelogMarkdown( | CODE |
| LOW | scripts/release/generate-changelog.ts | 251 | export async function consolidatePrereleaseEntries( | CODE |
| LOW | scripts/release/git-utils.ts | 53 | export async function getFirstPrereleaseTagForCycle( | CODE |
| LOW | …e-ui/src/code-block/extract-vars-from-example-theme.ts | 648 | function findVariableForScopeWithExactness(scope: string): { | CODE |
| LOW | …e-ui/src/code-block/extract-vars-from-example-theme.ts | 789 | function extractVarsFromExampleTheme( | CODE |
| LOW | …/agent-core/src/file-read-transformer/serialization.ts | 92 | export function deserializeTransformResult( | CODE |
| LOW | …s/agent-core/src/file-read-transformer/format-utils.ts | 171 | export function setMaxReadCharsFromContextWindow( | CODE |
| LOW | …/src/file-read-transformer/populate-path-references.ts | 33 | function collectPathsFromUserMessage(message: AnyAgentMessage): string[] { | CODE |
| LOW | …gent-core/src/file-read-transformer/path-references.ts | 41 | export function extractPathLinksFromMessage( | CODE |
| LOW | …gent-core/src/file-read-transformer/path-references.ts | 81 | export function extractReadFilePathsFromAssistantMessage( | CODE |
| LOW | …gent-core/src/file-read-transformer/path-references.ts | 128 | export function extractReadFileRequestsFromAssistantMessage( | CODE |
| LOW | …core/src/file-read-transformer/ast/symbol-extractor.ts | 266 | function extractFunctionBodyMembers( | CODE |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 99 | export function stripUnderscoreProperties( | CODE |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 932 | function countReasoningPartsPerStep( | CODE |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 958 | function inferLegacyReasoningProvider( | CODE |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 983 | function selectReasoningDetailsForSource( | CODE |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 1371 | function addCacheControlBreakpoints(messages: ModelMessage[]): ModelMessage[] { | CODE |
| LOW | …s/agent-core/src/agents/shared/memory/serialization.ts | 135 | export function renderMemoryMarkdownHeader(agentInstanceId: string): string { | CODE |
| LOW | …s/agent-core/src/agents/shared/memory/serialization.ts | 178 | export function serializeAgentMemoryMarkdownSlice( | CODE |
| LOW | …s/agent-core/src/agents/shared/memory/serialization.ts | 192 | export function serializeAgentMemoryJsonl( | CODE |
| LOW | …s/agent-core/src/agents/shared/memory/serialization.ts | 216 | export async function serializeAgentMemoryHistoryChunked( | CODE |
| LOW | …es/agent-core/src/agents/shared/memory/global-index.ts | 92 | async function rebuildRegistryFromMetadata( | CODE |
| LOW | …es/agent-core/src/agents/shared/memory/global-index.ts | 170 | async function upsertMemoryIndexEntryLocked( | CODE |
| LOW | …t-core/src/agents/shared/history-compression/prompt.ts | 75 | export function buildCompressionUserMessage( | CODE |
| LOW | …re/src/agents/shared/metadata-converter/slash-items.ts | 63 | export function redactSlashIdsForTelemetry( | CODE |
| LOW | …core/src/services/agent-manager/attachment-filename.ts | 9 | export function generateAttachmentFilename( | CODE |
| LOW | …vices/agent-manager/register-agent-manager-commands.ts | 12 | export function registerAgentManagerCommands( | CODE |
| LOW | …agent-core/src/services/agent-manager/agent-manager.ts | 89 | function getNetworkRetryableErrorMessage( | CODE |
| LOW | …agent-core/src/services/agent-manager/agent-manager.ts | 107 | function messageHasPendingApproval(message: AgentMessage): boolean { | CODE |
| LOW | …rc/services/agent-manager/state-mutations/streaming.ts | 153 | export function setAssistantOwnedReasoningDetails( | CODE |
| LOW | …rvices/agent-manager/state-mutations/approvals.test.ts | 46 | function makeApprovalRequestedPart(args: { | CODE |
| LOW | …rc/services/agent-manager/state-mutations/approvals.ts | 29 | export function denyAllNonTerminalToolPartsInHistory( | CODE |
| LOW | …rc/services/agent-manager/state-mutations/approvals.ts | 81 | export function terminateNonTerminalToolPartsInLastAssistant( | CODE |
| LOW | …src/services/agent-manager/state-mutations/metadata.ts | 21 | export function attachAttachmentsToLastAssistant( | CODE |
| LOW | …src/services/agent-manager/state-mutations/metadata.ts | 112 | export function mergeAssistantPathReferences( | CODE |
| LOW⚡ | …ckages/agent-core/src/services/agent-persistence/db.ts | 43 | async function resolveWorkspaceUsagePath( | CODE |
| LOW⚡ | …ckages/agent-core/src/services/agent-persistence/db.ts | 53 | async function getWorkspaceUsageLookupKeys( | CODE |
| LOW⚡ | …ckages/agent-core/src/services/agent-persistence/db.ts | 63 | export async function collectWorkspaceLastUsedAtByPath( | CODE |
| LOW | …ges/agent-core/src/services/toolbox/path-resolution.ts | 97 | export function listAvailableMountPrefixes( | CODE |
| LOW | packages/agent-core/src/services/toolbox/utils.ts | 220 | export function rethrowCappedToolOutputError(error: unknown): never { | CODE |
| LOW | packages/agent-core/src/services/toolbox/utils.ts | 303 | export async function buildAgentFileEditContent( | CODE |
| LOW | …/services/mount-manager/workspace-info/workspace-md.ts | 20 | export function splitWorkspaceMdRelativePath(relativePath: string): { | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 7 | function generateDeterministicHunkId( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 132 | export function initContributorStateFromBaseline( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 153 | export function applyOperationToContributorState( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 281 | export function buildContributorMapIncremental( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 402 | function determineExternalChangeType( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 424 | export function createFileDiffsFromGenerations( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 882 | export function createEnvironmentDiffSnapshot( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 67 | function createBaselineOpWithExternal( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 144 | function createFileDiffFromContent( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 198 | function createExternalOpWithContent(op: Operation): OperationWithContent { | CODE |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 477 | export async function getAllOperationsForAgentInstanceId( | CODE |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 904 | export async function getUndoTargetForToolCallsByFilePath( | CODE |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 311 | export async function getPendingOperationsForAgentInstanceId( | CODE |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 392 | export async function getPendingOperationsForAgentInstanceIdAndFilepath( | CODE |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 576 | export async function getEditedFilePathsForAgentInstanceId( | CODE |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 596 | export async function getAllOperationsForAgentInstanceIdAndFilepath( | CODE |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 836 | export async function copyOperationsUpToInitBaseline( | CODE |
| 221 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …indow-layout/tab-error-handler/chromium-error-codes.ts | 312 | // Failed to set the socket's receive buffer size as requested. | COMMENT |
| HIGH⚡ | …indow-layout/tab-error-handler/chromium-error-codes.ts | 315 | // Failed to set the socket's send buffer size as requested. | COMMENT |
| HIGH⚡ | …indow-layout/tab-error-handler/chromium-error-codes.ts | 318 | // Failed to set the socket's receive buffer size as requested, despite success | COMMENT |
| HIGH⚡ | …indow-layout/tab-error-handler/chromium-error-codes.ts | 322 | // Failed to set the socket's send buffer size as requested, despite success | COMMENT |
| HIGH⚡ | apps/browser/src/shared/chromium-errors/codes.ts | 312 | // Failed to set the socket's receive buffer size as requested. | COMMENT |
| HIGH⚡ | apps/browser/src/shared/chromium-errors/codes.ts | 315 | // Failed to set the socket's send buffer size as requested. | COMMENT |
| HIGH⚡ | apps/browser/src/shared/chromium-errors/codes.ts | 318 | // Failed to set the socket's receive buffer size as requested, despite success | COMMENT |
| HIGH⚡ | apps/browser/src/shared/chromium-errors/codes.ts | 322 | // Failed to set the socket's send buffer size as requested, despite success | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/agent-shell/src/engine/sanitize-env.ts | 141 | for (const [key, value] of Object.entries(base)) { | COMMENT |
| LOW | packages/agent-shell/src/engine/sanitize-env.ts | 161 | // seed env, so the login shell never sees the app's contamination. | COMMENT |
| LOW | packages/agent-shell/src/engine/sanitize-env.ts | 181 | // Ensure `PATH` is the authoritative variable (MSYS2 bash reads uppercase | COMMENT |
| LOW | packages/agent-shell/src/engine/sanitize-env.ts | 201 | // Agent-specific env modifications. Applied only for agent PTYs | COMMENT |
| LOW | packages/agent-shell/src/engine/session-manager.ts | 481 | ptyProcess.onExit(({ exitCode }) => { | COMMENT |
| LOW | packages/agent-shell/src/engine/session-manager.ts | 1061 | session?.parser.currentMode === 'sentinel'; | COMMENT |
| LOW | …ages/tailwindcss-color-modifiers/src/index.e2e.test.ts | 61 | const result = await postcss([tailwind()]).process(inputCss, { | COMMENT |
| LOW | packages/agent-core/src/file-read-transformer/index.ts | 401 | } | COMMENT |
| LOW | packages/agent-core/src/file-read-transformer/index.ts | 481 | return wrapError( | COMMENT |
| LOW | packages/agent-core/src/agents/base-agent.ts | 1581 | } | COMMENT |
| LOW | packages/agent-core/src/agents/base-agent.ts | 2501 | * When multiple queued messages are flushed at once, `queueFlushStart` | COMMENT |
| LOW | …ges/agent-core/src/agents/shared/message-conversion.ts | 1061 | // signed. Shipping it alongside our signed `reasoning_details` array | COMMENT |
| LOW | …agent-core/src/services/agent-manager/agent-manager.ts | 321 | try { | COMMENT |
| LOW | …t-manager/state-mutations/store-mutation-guard.test.ts | 21 | * the store directly via Immer recipes; the guardrail targets | COMMENT |
| LOW | …ckages/karton/src/react/client/karton-react-client.tsx | 61 | return () => { | COMMENT |
| LOW | …ckages/karton/src/react/client/karton-react-client.tsx | 81 | // │ setTimeout(MIN_COOLDOWN_MS) fires → flushDeferred() | COMMENT |
| LOW | apps/website/src/components/posthog-provider.tsx | 21 | api_host: '/ingest', | COMMENT |
| LOW | apps/website/src/components/posthog-provider.tsx | 41 | // effect guaranteed on the next page load. | COMMENT |
| LOW | apps/browser/src/ui/utils/tiptap-content-utils.ts | 1 | import type { JSONContent } from '@tiptap/core'; | COMMENT |
| LOW | …wser/src/ui/screens/main/sidebar/agents-list/index.tsx | 981 | // Remove the worktree FIRST. Deleting agents is destructive and | COMMENT |
| LOW | …ar/agents-list/_components/agent-card-with-preview.tsx | 81 | // committed state. | COMMENT |
| LOW | …ar/agents-list/_components/agent-card-with-preview.tsx | 181 | const handleMouseEnter = useCallback(() => { | COMMENT |
| LOW | …ar/agents-list/_components/agent-card-with-preview.tsx | 221 | // rejected, or active agent not yet persisted). Next hover retries. | COMMENT |
| LOW | …ui/screens/main/file-tree/file-preview-tab-content.tsx | 1081 | const diffEditorRef = useRef<Monaco.editor.IStandaloneDiffEditor | null>( | COMMENT |
| LOW | …ui/screens/main/file-tree/file-preview-tab-content.tsx | 1441 | // Monaco reserves a left margin in the modified editor for the | COMMENT |
| LOW | …/main/agent-chat/chat/_components/workspace-select.tsx | 2441 | }} | COMMENT |
| LOW | …/main/agent-chat/chat/_components/workspace-select.tsx | 2761 | </ComboboxList> | COMMENT |
| LOW | …eens/main/agent-chat/chat/_components/panel-footer.tsx | 301 | // ChatInput has key={openAgent} so it fully re-mounts on switch — the | COMMENT |
| LOW | apps/browser/src/ui/hooks/use-attachment-metadata.tsx | 81 | // When no provider is present (e.g. file tab markdown preview, Storybook | COMMENT |
| LOW | apps/browser/src/backend/main.ts | 641 | }); | COMMENT |
| LOW | apps/browser/src/backend/utils/migrate-legacy-paths.ts | 241 | // Special: identity.json (content migration: raw UUID -> JSON object) | COMMENT |
| LOW | …rowser/src/backend/services/agent-core-bridge/index.ts | 301 | // `RequiredModelCapabilities = Record<string, boolean|undefined>`). | COMMENT |
| LOW | …kend/services/window-layout/browsing-tab-controller.ts | 1121 | // Incoming (x, y) are UI-renderer CSS pixels relative to the WebContentsView | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 241 | // errors. See also ERR_ACCESS_DENIED. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 281 | // The certificate didn't match the built-in public key pins for the host name. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 321 | COMMENT | |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 381 | COMMENT | |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 421 | // successfully connect to the destination. This likely indicates an issue with | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 441 | [-187]: 'PROXY_DELEGATE_CANCELED_CONNECT_REQUEST', | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 461 | // | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 481 | // | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 501 | // effect, this certificate cannot be revoked. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 521 | // This error is not recoverable. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 701 | // been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 761 | // Obsolete. Kept here to avoid reuse. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 781 | // Obsolete. HTTP/2 push is removed. | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 801 | // Note that this error is only used by certain APIs that interpret the HTTP | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 901 | COMMENT | |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 921 | // When Cronet APIs are being backed by HttpEngine (i.e., HttpEngineProvider is | COMMENT |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 941 | COMMENT | |
| LOW | …indow-layout/tab-error-handler/chromium-error-codes.ts | 1061 | // The DNS server responded that the request was refused. | COMMENT |
| LOW | apps/browser/src/backend/services/toolbox/index.ts | 1481 | // ShellService needs the resolved value eagerly (configures loginFallback). | COMMENT |
| LOW | …er/src/backend/services/toolbox/services/lsp/client.ts | 581 | contentChanges: [{ text: content }], | COMMENT |
| LOW | …ckend/services/toolbox/services/mount-manager/index.ts | 1621 | // descends into each `worktrees/<name>` so its `HEAD` (depth 3) is | COMMENT |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 241 | // errors. See also ERR_ACCESS_DENIED. | COMMENT |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 281 | // The certificate didn't match the built-in public key pins for the host name. | COMMENT |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 321 | COMMENT | |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 381 | COMMENT | |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 421 | // successfully connect to the destination. This likely indicates an issue with | COMMENT |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 441 | [-187]: 'PROXY_DELEGATE_CANCELED_CONNECT_REQUEST', | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/karton/test/shared/procedure-proxy.test.ts | 47 | const result = await proxy.level1.level2.level3.level4.level5.procedure(); | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 268 | state.toolbox.agent1.workspace.mounts.push({ | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 578 | state.toolbox.agent1.workspace.mounts.push({ | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 616 | state.toolbox.agent1.workspace.mounts.push( | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 642 | state.toolbox.agent1.workspace.mounts.map((mount) => mount.prefix), | CODE |
| CRITICAL | …ckend/services/toolbox/services/mount-manager/index.ts | 563 | const paths = this.uiKarton.state.workspaceGitCleanup.candidates.map( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 480 | // Step 3: Generate hunks with IDs using structuredPatch | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 503 | // Step 4: Get full diff using diffLines | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 547 | // Step 7: Attach contributors to hunks and assemble TextFileDiff | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 630 | // Step 1: Build accept/reject sets with precedence (accept wins) | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 483 | // Step 1: Find all filepaths where agent-id contributed | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 493 | // Step 2: Fetch all operations for those filepaths (with snapshot join) | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 513 | // Step 3: Group operations by filepath | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 521 | // Step 4: For each filepath, identify relevant sessions and collect ops | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 914 | // Step 1: Find the earliest tool-call operation for each file | COMMENT |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 942 | // Step 2: For each file, find the operation immediately BEFORE the earliest tool-call | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 100 | // Step 1: Rename and move nupkg file first (gets unique arch-specific name) | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 111 | // Step 2: Update and move RELEASES file (gets unique arch-specific name) | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 134 | // Step 3: Move remaining files (after unique files are safely renamed) | COMMENT |
| LOW | …owser/bundled/plugins/mini-apps/references/examples.md | 187 | ### Step 1: Open and register listener (sandbox) | COMMENT |
| LOW | …owser/bundled/plugins/mini-apps/references/examples.md | 209 | ### Step 2: Read user selections (later sandbox call) | COMMENT |
| LOW | …owser/bundled/plugins/mini-apps/references/examples.md | 216 | ### Step 3: Clean up (sandbox) | COMMENT |
| LOW | …plugins/remotion/references/rules/silence-detection.md | 3 | ## Step 1: Measure loudness with `loudnorm` | COMMENT |
| LOW | …plugins/remotion/references/rules/silence-detection.md | 16 | ## Step 2: Detect silences using adaptive threshold | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 618 | // Step 1: Find the React fiber (uses injected function if available) | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 624 | // Step 2: Serialize all relevant fiber nodes (uses injected function if available) | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 633 | // Step 3: Parse in main process (full control, better error handling) | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1217 | // Step 1: Serialize element using __CTX_EXTRACT_INFO__ in preload context | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1262 | // Step 2: Fetch additional properties from main world context | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1296 | // Step 2: Fetch React information using ReactComponentTracker | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1330 | // Step 3: Fetch own property names from main world context (not full serialization) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 480 | // Step 3: Generate hunks with IDs using structuredPatch | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 503 | // Step 4: Get full diff using diffLines | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 547 | // Step 7: Attach contributors to hunks and assemble TextFileDiff | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 630 | // Step 1: Build accept/reject sets with precedence (accept wins) | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 483 | // Step 1: Find all filepaths where agent-id contributed | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 493 | // Step 2: Fetch all operations for those filepaths (with snapshot join) | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 513 | // Step 3: Group operations by filepath | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 521 | // Step 4: For each filepath, identify relevant sessions and collect ops | COMMENT |
| LOW⚡ | …kages/agent-core/src/services/diff-history/utils/db.ts | 914 | // Step 1: Find the earliest tool-call operation for each file | COMMENT |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 942 | // Step 2: For each file, find the operation immediately BEFORE the earliest tool-call | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 100 | // Step 1: Rename and move nupkg file first (gets unique arch-specific name) | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 111 | // Step 2: Update and move RELEASES file (gets unique arch-specific name) | COMMENT |
| LOW | …owser/etc/forge-plugins/squirrel-installer-name-fix.ts | 134 | // Step 3: Move remaining files (after unique files are safely renamed) | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 618 | // Step 1: Find the React fiber (uses injected function if available) | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 624 | // Step 2: Serialize all relevant fiber nodes (uses injected function if available) | COMMENT |
| LOW⚡ | …ut/selected-element-tracker/react-component-tracker.ts | 633 | // Step 3: Parse in main process (full control, better error handling) | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1217 | // Step 1: Serialize element using __CTX_EXTRACT_INFO__ in preload context | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1262 | // Step 2: Fetch additional properties from main world context | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1296 | // Step 2: Fetch React information using ReactComponentTracker | COMMENT |
| LOW | …rvices/window-layout/selected-element-tracker/index.ts | 1330 | // Step 3: Fetch own property names from main world context (not full serialization) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ills/prompt-optimization/references/agentic-prompts.md | 82 | ### Manual chain-of-thought (use when thinking is off of model doesnt support thinking natively) | COMMENT |
| MEDIUM | packages/agent-core/SPEC.md | 1349 | ### Phase 1: Package scaffold | COMMENT |
| MEDIUM | apps/website/src/app/(home)/use-cases/minimax/page.tsx | 224 | href="https://artificialanalysis.ai/evaluations/omniscience#omniscience-hallucination-rate-tabs" | CODE |
| MEDIUM | apps/website/src/app/(home)/use-cases/minimax/page.tsx | 274 | href="https://artificialanalysis.ai/evaluations/omniscience#omniscience-hallucination-rate-tabs" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/_release-karton.yml | 23 | # Create the git tag from the current commit | COMMENT |
| MEDIUM | .github/workflows/_release-browser.yml | 66 | # Create the git tag from the current commit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …indow-layout/tab-error-handler/chromium-error-codes.ts | 595 | // numbers that correspond to services, which are not robust to spurious input | COMMENT |
| MEDIUM | apps/browser/src/shared/chromium-errors/codes.ts | 595 | // numbers that correspond to services, which are not robust to spurious input | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stage-ui/src/stories/Select.stories.tsx | 239 | label: 'John Doe', | CODE |
| LOW | …ich-text/attachments/nodes/element-attachment-view.tsx | 42 | 'placeholder', | CODE |
| LOW | …components/attachment-renderers/swdomelement/badge.tsx | 28 | 'placeholder', | CODE |
| LOW | …kend/services/window-layout/browsing-tab-controller.ts | 2161 | if (prop.name === 'placeholder' && prop.value?.objectId) { | CODE |
| LOW | apps/browser/src/web-content-preload/utils.ts | 117 | 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/ISSUE_TEMPLATE/5.agent_issue.yml | 26 | Agent: I'm unable to help with that... | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …src/backend/services/sandbox/utils/credential-fetch.ts | 333 | function handleRequest( | CODE |