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 summarizes scanner evidence for stagewise-io/stagewise, a TypeScript project with 6,832 GitHub stars. SynthScan examined 367,817 lines of code across 1818 source files, recording 756 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 4.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 479 finding(s).
Are imports declared and package/API names verified? 11 finding(s).
Are wrappers, guards, and repeated structures necessary? 605 finding(s).
Which changes need focused human review? 756 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 756 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | 344 | // ─── Basic execution ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 392 | // ─── Session persistence ───────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 489 | // ─── Session cwd ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 509 | // ─── waitUntil ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 527 | // ─── Idle detection ──────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 702 | // ─── Abort ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 724 | // ─── Streaming ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 740 | // ─── Session lifecycle ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 939 | // ─── Concurrency limits ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 968 | // ─── Edge cases ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.test.ts | 1002 | // ─── 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 | 69 | // ─── Command timeout/idle policy ──────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 100 | // ─── ANSI stripping ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 160 | // ─── Head/tail output capping ──────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 174 | // ─── Shell integration scripts (inlined) ───────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 338 | // ─── Pending command state ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 364 | // ─── SessionManager ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 417 | // ─── Session creation ──────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 708 | // ─── Command execution ─────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 851 | // ─── Live snapshot (UI streaming) ─────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 880 | // ─── Session management ────────────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1002 | // ─── Private: command resolution ───────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1177 | // ─── Private: output accumulation ──────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1266 | // ─── Private: session lifecycle ────────────────────────────── | COMMENT |
| MEDIUM | packages/agent-shell/src/engine/session-manager.ts | 1487 | // ─── 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 |
| 206 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 | 81 | export function generateChangelogMarkdown( | CODE |
| LOW | packages/agent-shell/src/engine/session-manager.test.ts | 277 | async function waitForWindowsPtyReadyBeforeTeardown( | 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 | …ent-core/src/agents/shared/history-compression.test.ts | 62 | function makeMockHostModelsWithPreset( | 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 | …/agent-core/src/agents/shared/title-generation.test.ts | 57 | function makeMockHostModelsWithPreset( | 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 | 93 | async function rebuildRegistryFromMetadata( | CODE |
| LOW | …es/agent-core/src/agents/shared/memory/global-index.ts | 171 | async function upsertMemoryIndexEntryLocked( | CODE |
| LOW | packages/agent-core/src/agents/shared/memory/index.ts | 136 | async function hashMessageContentWithPrefix( | 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 | 91 | function getNetworkRetryableErrorMessage( | CODE |
| LOW | …agent-core/src/services/agent-manager/agent-manager.ts | 109 | 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 | 47 | 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 | 51 | async function resolveWorkspaceUsagePath( | CODE |
| LOW⚡ | …ckages/agent-core/src/services/agent-persistence/db.ts | 61 | async function getWorkspaceUsageLookupKeys( | CODE |
| LOW⚡ | …ckages/agent-core/src/services/agent-persistence/db.ts | 71 | 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 | …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 | 122 | export function initContributorStateFromBaseline( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 143 | export function applyOperationToContributorState( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 271 | export function buildContributorMapIncremental( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 392 | function determineExternalChangeType( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 414 | export function createFileDiffsFromGenerations( | CODE |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 642 | export function createEnvironmentDiffSnapshot( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 66 | function createBaselineOpWithExternal( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 143 | function createFileDiffFromContent( | CODE |
| LOW | …gent-core/src/services/diff-history/utils/diff.test.ts | 197 | 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 | 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 |
| 279 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 | 521 | COMMENT | |
| LOW | packages/agent-shell/src/engine/session-manager.ts | 1201 | } | 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 | 1721 | } | COMMENT |
| LOW | packages/agent-core/src/agents/base-agent.ts | 2801 | } | COMMENT |
| LOW | packages/agent-core/src/agents/base-agent.ts | 2901 | // the agent gets no env adapters (and the chat prompt builder also | 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 | 361 | if (resumeId) { | COMMENT |
| LOW | …t-manager/state-mutations/store-mutation-guard.test.ts | 21 | * the store directly via Immer recipes; the guardrail targets | COMMENT |
| LOW | packages/agent-core/src/services/diff-history/index.ts | 441 | }); | 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 | apps/browser/src/ui/utils/openrouter-vendor-helpers.ts | 1 | import type { ModelSelectorEntry } from '@shared/provider-instance-helpers'; | COMMENT |
| LOW | …ns/main/sidebar/agents-list/_components/agent-card.tsx | 281 | // their behavior is stable (always call the same RPC with the card's | 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 | 1361 | // instead. The diff editor's own wrap control defaults to | COMMENT |
| LOW | …/main/agent-chat/chat/_components/workspace-select.tsx | 2281 | onSelect(); | COMMENT |
| LOW | …eens/main/agent-chat/chat/_components/panel-footer.tsx | 341 | // is not stable across renders. Depending on it directly would make 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 | 121 | // `ModelProviderService`, `TelemetryService`, and the logger are all | COMMENT |
| LOW | apps/browser/src/backend/main.ts | 261 | `[Main] Pushed ${engines.length} search engines to UI karton`, | COMMENT |
| LOW | apps/browser/src/backend/main.ts | 721 | // happen before `attachAgentCoreBridge` so any attach-phase handler | COMMENT |
| LOW | apps/browser/src/backend/agents/providers/openrouter.ts | 21 | // OpenRouter provider type | 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 | 261 | } | COMMENT |
| LOW | …kend/services/window-layout/browsing-tab-controller.ts | 1161 | // Incoming (x, y) are UI-renderer CSS pixels relative to the WebContentsView | COMMENT |
| LOW | …ps/browser/src/backend/services/window-layout/index.ts | 1581 | getElectronHotkeyPlatform(), | 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 | …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/flagship-models.ts | 1 | import type { | COMMENT |
| LOW | apps/browser/src/shared/chromium-errors/codes.ts | 241 | // errors. See also ERR_ACCESS_DENIED. | COMMENT |
| 17 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 | 265 | state.toolbox.agent1.workspace.mounts.push({ | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 574 | state.toolbox.agent1.workspace.mounts.push({ | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 611 | state.toolbox.agent1.workspace.mounts.push( | CODE |
| CRITICAL | …oolbox/services/mount-manager/git-path-actions.test.ts | 635 | state.toolbox.agent1.workspace.mounts.map((mount) => mount.prefix), | CODE |
| CRITICAL | …ckend/services/toolbox/services/mount-manager/index.ts | 561 | 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 | 470 | // Step 3: Generate hunks with IDs using structuredPatch | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 493 | // Step 4: Get full diff using diffLines | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 537 | // Step 7: Attach contributors to hunks and assemble TextFileDiff | 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 | 915 | // Step 1: Find the earliest tool-call operation for each file | COMMENT |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 945 | // 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 | 470 | // Step 3: Generate hunks with IDs using structuredPatch | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 493 | // Step 4: Get full diff using diffLines | COMMENT |
| LOW | …ges/agent-core/src/services/diff-history/utils/diff.ts | 537 | // Step 7: Attach contributors to hunks and assemble TextFileDiff | 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 | 915 | // Step 1: Find the earliest tool-call operation for each file | COMMENT |
| LOW | …kages/agent-core/src/services/diff-history/utils/db.ts | 945 | // 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 | 1343 | ### 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 |
| MEDIUM | apps/browser/src/backend/agents/model-provider.ts | 1019 | // realistic floor for modern cloud models used in an agentic IDE. | COMMENT |
| MEDIUM | apps/browser/src/shared/provider-instance-helpers.ts | 732 | // a realistic floor for modern cloud models in an agentic IDE. | COMMENT |
| 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 | 2206 | 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 |