The agent platform built on sync.
This report presents the forensic synthetic code analysis of electric-sql/electric, a TypeScript project with 10,269 GitHub stars. SynthScan v2.0 examined 432,579 lines of code across 2115 source files, recording 888 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 3.1 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 888 distinct pattern matches across 18 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 | website/src/components/home/HomeCompositionHero.vue | 70 | // ── Inter-layer bridges ──────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/projection.ts | 154 | // ── Polyline helpers (for channel paths and walking actors) ────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/projection.ts | 194 | // ── Hit-testing (screen → world) ───────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/palette.ts | 20 | // ── CSS custom property names ──────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/palette.ts | 28 | // ── Hard-coded fallbacks for SSR / when CSS vars are missing ──────── | COMMENT |
| MEDIUM | website/src/components/home/iso/palette.ts | 45 | // ── Cache (cleared each frame by `resetPaletteCache()`) ────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/palette.ts | 86 | // ── Public colour helpers ──────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/palette.ts | 114 | // ── Parsing ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 28 | // ── Substrate classification ───────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 33 | // ── Building structure ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 141 | // ── Substrate ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 195 | // ── Actors ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 225 | // ── Threads ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 243 | // ── Scene root ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 256 | // ── Camera & scripts ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 342 | // ── Per-section animation tweaks ────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 355 | // ── Active runtime state ────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 429 | // ── Projection types ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/types.ts | 456 | // ── Rendering options ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 42 | // ── 1. Reception / front-of-house ─────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 110 | // ── 2. Coordination / war-room ─────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 214 | // ── 3. Workshop / fulfilment ───────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 267 | // ── 4. Planning + analysis ─────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 328 | // ── 5. Comms room (server racks visible) ───────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 391 | // ── 6. Archives ────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 445 | // ── Outdoor strip in front (south of building, y > 7.0) ─────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 507 | // ── Substrate ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 669 | // ── Actors — all at floor level (z=0) now ──────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scene.ts | 752 | // ── Threads — same 8 as v2, all surface IDs preserved ──────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 78 | // ── Filter ease (always runs, even under reduced motion) ────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 94 | // ── Highlights decay ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 103 | // ── Ambient comet spawning on channels ───────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 132 | // ── Advance comets ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 145 | // ── Advance walking actors ───────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 165 | // ── Decay junction flashes / handoff bursts / connection arcs ───── | COMMENT |
| MEDIUM | website/src/components/home/iso/simulate.ts | 170 | // ── Run scripts (ambient + focus, both ticking each frame) ──────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 57 | // ── Public entry point ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 81 | // ── Draw command queue ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 151 | // ── Filter helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 166 | // ── Exclusion-zone dimming (text occlusion) ────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 198 | // ── Building shell, floors, zones, furniture ───────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 901 | // ── Substrate (channels, packets, comets, junctions, risers) ────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1202 | // ── Skybridge ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1273 | // ── Sidewalk + outdoor props ───────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1383 | // ── Pedestrians ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1419 | // ── Actors (couriers, inspectors, analysts, sweepers) ──────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1614 | // ── Connection arcs (sync/streams/agents on hover) ─────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1649 | // ── Handoff bursts (coral particles) ───────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1688 | // ── Boxes (used for desks etc.) ─────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1741 | // ── Geometry utilities ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/render.ts | 1802 | // ── Theme-aware colour helpers (legacy / surface helpers) ──────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/crops.ts | 30 | // ── 1) Hero: the whole campus ───────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/crops.ts | 64 | // ── 2) Agents — coordination floor ──────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/crops.ts | 97 | // ── 3) Streams — substrate cutaway ─────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/crops.ts | 132 | // ── 4) Sync — mirrored surfaces ────────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scripts/ambient.ts | 29 | // ── Sync threads — surface mirror pulses ───────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scripts/ambient.ts | 86 | // ── Streams threads — comet flow ───────────────────────────────── | COMMENT |
| MEDIUM | website/src/components/home/iso/scripts/ambient.ts | 167 | // ── Dispatch courier — comms-room → workshop ───────────────────── | COMMENT |
| MEDIUM | website/src/components/brand-toys/BrandToysToy.vue | 45 | // ───────────── Resolve the target component ───────────── | COMMENT |
| MEDIUM | website/src/components/brand-toys/BrandToysToy.vue | 61 | // ───────────── URL-state helpers ───────────── | COMMENT |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/.vitepress/markdown-export.ts | 468 | function normalizeExplicitMarkdown(markdown: string): string { | CODE |
| LOW | website/.vitepress/markdown-export.ts | 642 | function replaceAnnotatedCodeBlocks(root: Element, document: Document) { | CODE |
| LOW | website/.vitepress/markdown-export.ts | 798 | function extractExplicitInsertionAnchors(sourceBody: string) { | CODE |
| LOW | website/.vitepress/markdown-export.ts | 836 | function spliceExplicitMarkdownIntoBase( | CODE |
| LOW | website/.vitepress/markdown-export.ts | 1000 | export async function exportMarkedPagesToMarkdown(exportOutDir: string) { | CODE |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 276 | function hasSelfOverlapOrIntersection(points: MeshPoint[]): boolean { | CODE |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 438 | function segmentsIntersectOrOverlap( | CODE |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 783 | export function buildRenderedPathSegments( | CODE |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 2061 | function tryPlaceStraightHorizontal( | CODE |
| LOW | website/src/components/pricing/ComparisonTable.vue | 108 | function formatServiceEffectiveRate(plan, service) { | CODE |
| LOW | examples/.shared/lib/database.ts | 86 | export function createDatabaseForCloudElectric({ | CODE |
| LOW | examples/agents-playground/entities/researcher.ts | 32 | function createResearchWorkerPrompt(systemPrompt: string): string { | CODE |
| LOW | examples/agents-playground/entities/researcher.ts | 42 | function createResearchWithSpecialistsTool(ctx: HandlerContext) { | CODE |
| LOW | examples/linearlite/src/utils/filterState.ts | 11 | export function getFilterStateFromSearchParams( | CODE |
| LOW | scripts/patch_api_spec_version.js | 23 | function replaceVersionPlaceholders(content) { | CODE |
| LOW | packages/electric-ax/src/view.ts | 101 | export function formatEntityConversationView( | CODE |
| LOW | packages/electric-ax/src/view.ts | 133 | export function formatEntityConversationViewFromDB( | CODE |
| LOW | packages/electric-ax/src/prompt-api-key.ts | 37 | export function parsePastedAnthropicApiKey(input: string): string { | CODE |
| LOW | packages/electric-ax/src/prompt-api-key.ts | 54 | function assertAnthropicApiKeyPrefix(key: string): void { | CODE |
| LOW | packages/electric-ax/src/start.ts | 53 | export function resolveElectricAgentsPort( | CODE |
| LOW⚡ | packages/electric-ax/src/start.ts | 66 | export function getStartedEnvironmentMessage( | CODE |
| LOW⚡ | packages/electric-ax/src/start.ts | 76 | export function getStoppedEnvironmentMessage( | CODE |
| LOW⚡ | packages/electric-ax/src/start.ts | 86 | export function getStartedBuiltinAgentsMessage( | CODE |
| LOW | packages/electric-ax/src/start.ts | 133 | function defaultPullWakeOwnerPrincipal(): string { | CODE |
| LOW | packages/electric-ax/src/start.ts | 154 | export function resolvePullWakeOwnerPrincipal( | CODE |
| LOW | packages/electric-ax/src/start.ts | 166 | function parseAdditionalServerHeaders( | CODE |
| LOW | packages/electric-ax/src/start.ts | 208 | export function resolveBuiltinServerHeaders( | CODE |
| LOW | packages/electric-ax/src/start.ts | 238 | export function resolveComposeProjectName( | CODE |
| LOW | packages/electric-ax/src/start.ts | 286 | export async function waitForElectricAgentsServer( | CODE |
| LOW | packages/electric-ax/src/start.ts | 319 | export async function startElectricAgentsDevEnvironment( | CODE |
| LOW | packages/electric-ax/src/start.ts | 347 | export async function stopElectricAgentsDevEnvironment( | CODE |
| LOW | packages/electric-ax/src/observe-ui.tsx | 59 | function nextOptimisticInboxOrderIndex(): number { | CODE |
| LOW | packages/electric-ax/src/observe-ui.tsx | 129 | function timelineRowsToDisplayRows( | CODE |
| LOW | packages/electric-ax/src/observe-ui.tsx | 189 | function compareTimelineOrderValues( | CODE |
| LOW⚡ | packages/electric-ax/src/index.ts | 133 | function getDefaultElectricAgentsIdentity(): string { | CODE |
| LOW⚡ | packages/electric-ax/src/index.ts | 137 | function defaultElectricAgentsPrincipalForIdentity(identity: string): string { | CODE |
| LOW⚡ | packages/electric-ax/src/index.ts | 141 | function parseElectricAgentsHeaders( | CODE |
| LOW | packages/electric-ax/src/index.ts | 311 | function styleElectricAgentsWithOptions( | CODE |
| LOW | packages/electric-ax/src/index.ts | 346 | export function formatQuickstartBackendStartedMessage({ | CODE |
| LOW | packages/electric-ax/src/index.ts | 758 | export function createElectricCliHandlers( | CODE |
| LOW | packages/agents-mobile/src/screens/SessionScreen.tsx | 119 | export function StateInspectorSessionScreen({ | CODE |
| LOW | packages/agents-mobile/src/screens/SessionScreen.tsx | 947 | function NativeEntityContextDrawer({ | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentServers.ts | 110 | function createAgentServersCollection(dashboardUrl: string) { | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentServers.ts | 124 | function createEnvironmentsCollection(dashboardUrl: string) { | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentServers.ts | 152 | function createWorkspacesCollection(dashboardUrl: string) { | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentServers.ts | 177 | function getOrCreateCollections(dashboardUrl: string): CollectionSet { | CODE |
| LOW⚡ | packages/agents-mobile/src/lib/sidebarPrefs.ts | 107 | export function toggleSidebarTypeVisibility(type: string): void { | CODE |
| LOW⚡ | packages/agents-mobile/src/lib/sidebarPrefs.ts | 114 | export function toggleSidebarStatusVisibility(status: string): void { | CODE |
| LOW⚡ | packages/agents-mobile/src/lib/sidebarPrefs.ts | 121 | export function toggleSidebarCreatorVisibility(creator: string): void { | CODE |
| LOW | packages/agents-mobile/src/lib/availableServers.ts | 95 | export function resolveActiveAfterCloudSignOut( | CODE |
| LOW | packages/agents-mobile/src/lib/agentsClient.ts | 232 | export function createEntityTypesCollection(baseUrl: string) { | CODE |
| LOW | packages/agents-mobile/src/lib/agentsClient.ts | 298 | export function createEntityEffectivePermissionsCollection(baseUrl: string) { | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentUrls.ts | 4 | export function cloudAgentServerUrlFromDashboard( | CODE |
| LOW | packages/agents-mobile/src/lib/cloudAgentUrls.ts | 28 | export function getCloudServiceIdFromServerUrl( | CODE |
| LOW | packages/agents-mobile/src/lib/slashAutocomplete.ts | 120 | export function buildSlashCommandInsertion( | CODE |
| LOW | …ts-server-conformance-tests/src/electric-agents-dsl.ts | 221 | function toServerEntityTypeRegistration( | CODE |
| LOW | …ts-server-conformance-tests/src/electric-agents-dsl.ts | 2008 | function checkEntityContextOnWebhook(history: Array<HistoryEvent>): void { | CODE |
| LOW | …ts-server-conformance-tests/src/electric-agents-dsl.ts | 2024 | function checkStreamPathsMatchEntityUrl(history: Array<HistoryEvent>): void { | CODE |
| LOW | …ts-server-conformance-tests/src/electric-agents-dsl.ts | 2039 | function checkStatusTransitionsValid(history: Array<HistoryEvent>): void { | CODE |
| LOW | …ts-server-conformance-tests/src/electric-agents-dsl.ts | 2064 | function checkEntityTypeExistsBeforeSpawn(history: Array<HistoryEvent>): void { | CODE |
| 356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/index.md | 1 | --- | COMMENT |
| LOW | …osts/2024-05-14-electricsql-postgres-client-support.md | 81 | // Import your generated database schema. | COMMENT |
| LOW | website/src/components/ScalabilityChart.vue | 81 | borderColor: latencyColor, | COMMENT |
| LOW | website/src/components/home/HomeCompositionHero.vue | 61 | // the agents or sync layer above/below — re-using the existing rail | COMMENT |
| LOW | website/src/components/home/HomeCompositionHero.vue | 81 | // The pool is fixed-size + reactive so we never grow/shrink the DOM: | COMMENT |
| LOW | website/src/components/home/HomeCompositionHero.vue | 101 | COMMENT | |
| LOW | website/src/components/home/HomeCompositionHero.vue | 121 | // against the band's *padding box*, not its border box, so the | COMMENT |
| LOW | website/src/components/home/HomeCompositionHero.vue | 161 | const offset = | COMMENT |
| LOW | website/src/components/home/HomeProductSection.vue | 121 | // snapshot. On wide viewports the scene column comfortably fits all | COMMENT |
| LOW | …/components/blog/data-primitive-agent-loop/sequence.js | 1 | // Static data for the agent-loop animation. | COMMENT |
| LOW | …log/data-primitive-agent-loop/useAgentLoopAnimation.js | 1 | // Composable that owns the reactive state for the agent-loop animation | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 81 | seed: string | number | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 381 | return dx * dx + dy * dy | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 1121 | const candidates: MeshPoint[][] = [] | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 1321 | normalizePolyline(simplifyPolyline(points)) | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 1401 | // dimming + soft destination-out punch in MeshOfStreams.vue keeps | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 1841 | // that's fine: it just means the inside lanes will hit the per-lane | COMMENT |
| LOW | website/src/components/brand-toys/meshOfStreams.ts | 1861 | for (let idx = 1; idx < chosen.core.length - 1; idx++) { | COMMENT |
| LOW | website/src/components/brand-toys/MeshOfStreams.vue | 61 | // before it is feathered into the mesh. Larger values produce a | COMMENT |
| LOW | website/src/components/brand-toys/MeshOfStreams.vue | 481 | timeSec * wheel.rotationRate * props.wheelRotationSpeed | COMMENT |
| LOW | website/src/components/streams-home/StreamFlowBg.vue | 1 | <script setup lang="ts"> | COMMENT |
| LOW | website/src/components/streams-home/StreamFlowBg.vue | 21 | // section graphics to dial back ambient activity. | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 1 | <script setup lang="ts"> | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 21 | density?: number | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 41 | // normal. Off by default to preserve the live hero's | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 61 | // When true, every new node added (via click or random spawn) | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 81 | // Override the initial node count. -1 (the default) means use | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 161 | // current position. | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 601 | } | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 681 | // - minimum distance from existing nodes (so spawns don't pile up) | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 961 | // radial halo, and a bright head — so the in-flight tokens read as | COMMENT |
| LOW | website/src/components/agents-home/HeroNetworkBg.vue | 1141 | } | COMMENT |
| LOW | website/src/components/sync-home/PGliteReplDemo.vue | 1 | <script setup> | COMMENT |
| LOW | …site/src/components/sync-home/MultiClientPulseDemo.vue | 41 | COMMENT | |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 1 | <script setup lang="ts"> | COMMENT |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 21 | // canvases (which never draw labels at rest). | COMMENT |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 41 | activity?: number | COMMENT |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 61 | // default) disables. Picks a random alive shape and tweens it | COMMENT |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 961 | COMMENT | |
| LOW | website/src/components/sync-home/SyncFanOutBg.vue | 1221 | if (!props.paused && t.progress >= 1) { | COMMENT |
| LOW | website/src/lib/social-bot-detection.ts | 1 | // Social media and messaging platform bots that need HTML with meta tags for | COMMENT |
| LOW | …s/write-patterns/patterns/2-optimistic-state/index.tsx | 61 | } | COMMENT |
| LOW | examples/write-patterns/shared/app/vite-env.d.ts | 1 | /// <reference types="vite/client" /> | COMMENT |
| LOW | examples/burn/priv/static/robots.txt | 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file | COMMENT |
| LOW | examples/redis/tsconfig.build.json | 21 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React J | COMMENT |
| LOW | examples/redis/tsconfig.build.json | 41 | /* JavaScript Support */ | COMMENT |
| LOW | examples/redis/tsconfig.build.json | 61 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted Jav | COMMENT |
| LOW | examples/redis/tsconfig.build.json | 81 | // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined` | COMMENT |
| LOW | examples/redis/tsconfig.json | 21 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React J | COMMENT |
| LOW | examples/redis/tsconfig.json | 41 | /* JavaScript Support */ | COMMENT |
| LOW | examples/redis/tsconfig.json | 61 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted Jav | COMMENT |
| LOW | examples/redis/tsconfig.json | 81 | // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined` | COMMENT |
| LOW | examples/.shared/playwright.config.ts | 41 | // name: `webkit`, | COMMENT |
| LOW | examples/.shared/playwright.config.ts | 61 | // name: 'Google Chrome', | COMMENT |
| LOW | examples/phoenix-liveview/priv/static/robots.txt | 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file | COMMENT |
| LOW | examples/phoenix-liveview/assets/js/app.js | 1 | // If you want to use Phoenix channels, run `mix help phx.gen.channel` | COMMENT |
| LOW | examples/phoenix-liveview/assets/js/app.js | 41 | // expose liveSocket on window for web console debug logs and latency simulation: | COMMENT |
| LOW | …les/linearlite-read-only/src/components/IssueModal.tsx | 41 | // const kanbanorder = generateKeyBetween(lastIssue?.kanbanorder, null) | COMMENT |
| LOW | examples/linearlite-read-only/src/pages/Issue/index.tsx | 61 | // id: issue.id, | COMMENT |
| LOW | examples/linearlite-read-only/src/pages/Issue/index.tsx | 101 | // await db.issue.update({ | COMMENT |
| 166 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/about/legal/subprocessors.md | 32 | ## Workflow orchestration | COMMENT |
| MEDIUM | website/docs/sync/stacks.md | 240 | You can also combine TanStack DB with [Phoenix.Sync](#phoenix-sync) if you're building agentic systems with Elixir | CODE |
| MEDIUM | website/docs/sync/stacks.md | 326 | ### Building agentic systems | COMMENT |
| MEDIUM | website/docs/sync/stacks.md | 328 | Phoenix is built in [Elixir](https://elixir-lang.org), which runs on the [BEAM](https://blog.stenmans.org/theBeamBook/). | CODE |
| MEDIUM | …e/blog/posts/2026-04-29-introducing-electric-agents.md | 89 | ## Moving to multi-agent | COMMENT |
| MEDIUM | …/2026-06-16-electric-agents-0-6-from-runtime-to-app.md | 26 | - **Core APIs.** [Long-lived entities](/docs/agents/usage/defining-entities), [StreamDB state](/docs/streams/stream-db), | CODE |
| MEDIUM | …ite/blog/posts/2026-04-08-data-primitive-agent-loop.md | 99 | Beyond the core [open protocol](https://github.com/durable-streams/durable-streams/blob/main/PROTOCOL.md), Durable Strea | CODE |
| MEDIUM | website/blog/posts/2026-03-26-stream-db.md | 24 | You provide a [Standard Schema](https://standardschema.dev) and get type‑safe, multiplexed durable state with sync | CODE |
| MEDIUM | website/blog/posts/2026-03-26-stream-db.md | 295 | StreamDB runs on [Durable Streams](https://durable-streams.com), an open protocol for persistent, addressable, real | CODE |
| MEDIUM | …ts/2026-04-07-yjs-durable-streams-on-electric-cloud.md | 15 | [Yjs](https://yjs.dev) is the de facto library for collaborative editing on the web — battle-proven, CRDT-based, and pow | CODE |
| MEDIUM | …5-local-first-ai-with-tauri-postgres-pgvector-llama.md | 49 | ## AI, vector databases and retrieval-augmented generation | COMMENT |
| MEDIUM | …5-local-first-ai-with-tauri-postgres-pgvector-llama.md | 70 | ### Cloud-based RAG | COMMENT |
| MEDIUM | …5-local-first-ai-with-tauri-postgres-pgvector-llama.md | 82 | ### Local-first RAG | COMMENT |
| MEDIUM | …5-local-first-ai-with-tauri-postgres-pgvector-llama.md | 94 | ### Hybrid RAG | COMMENT |
| MEDIUM | …5-local-first-ai-with-tauri-postgres-pgvector-llama.md | 156 | ### Enabling local RAG with Ollama, llama2 and Tauri | COMMENT |
| MEDIUM⚡ | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 62 | > See the [🔥 Burn demo app](/sync/demos/burn) and [source code](https://github.com/electric-sql/electric/tree/main/examp | CODE |
| MEDIUM⚡ | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 70 | ## Simplifying the agentic stack | COMMENT |
| MEDIUM⚡ | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 72 | We've had decades to evolve the [patterns of traditional software](https://12factor.net). We're scrambling, as an indust | CODE |
| MEDIUM | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 86 | ### What is agentic software? | COMMENT |
| MEDIUM | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 106 | ## Building an agentic system | COMMENT |
| MEDIUM | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 180 | Phoenix is built in [Elixir](https://elixir-lang.org), which runs on the [BEAM](https://blog.stenmans.org/theBeamBook/). | CODE |
| MEDIUM | …posts/2025-08-12-bringing-agents-back-down-to-earth.md | 450 | See the [🔥 Burn demo app](/sync/demos/burn) and [source code](https://github.com/electric-sql/electric/tree/main/example | CODE |
| MEDIUM | website/src/components/home/iso/render.ts | 515 | // they're a neutral scaffold. Filter mul applies to the glow/colour | COMMENT |
| MEDIUM | packages/agents/skills/quickstart/scaffold-ui/main.tsx | 31 | // Dark-mode hook (inlined – single-file scaffold) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/.claude/commands/blog-review.md | 19 | ### Step 1: Read the post and context | COMMENT |
| LOW | website/.claude/commands/blog-review.md | 27 | ### Step 2: Identify the core editorial questions | COMMENT |
| LOW | website/.claude/commands/blog-review.md | 92 | ### Step 3: Launch review agents | COMMENT |
| LOW | website/.claude/commands/blog-review.md | 185 | ### Step 4: Synthesise findings | COMMENT |
| LOW | website/.claude/commands/blog-review.md | 211 | ### Step 5: Present review | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 10 | ### Step 1: Gather context | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 17 | ### Step 2: Develop visual metaphors | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 63 | ### Step 3: Collect reference images | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 82 | ### Step 4: Synthesise the style direction | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 94 | ### Step 5: Generate the output | COMMENT |
| LOW | website/.claude/commands/blog-image-brief.md | 158 | ### Step 6: Iterate | COMMENT |
| LOW | website/docs/agents/walkthrough.md | 229 | ## Step 1 - Basic assistant | COMMENT |
| LOW | website/docs/agents/walkthrough.md | 383 | ## Step 2 - Imperative spawning | COMMENT |
| LOW | website/docs/agents/walkthrough.md | 487 | ## Step 3 - Tool call spawning | COMMENT |
| LOW | website/docs/agents/walkthrough.md | 576 | ## Step 4 - Multi-agent | COMMENT |
| LOW | website/docs/agents/walkthrough.md | 745 | ## Step 5 - Hybrid control flow | COMMENT |
| LOW⚡ | packages/start/src/electric-api.ts | 98 | // Step 1: POST to create claimable source and get claimId | COMMENT |
| LOW⚡ | packages/start/src/electric-api.ts | 123 | // Step 2: Poll until state === 'ready' | COMMENT |
| LOW⚡ | packages/start/src/electric-api.ts | 126 | // Step 3: Extract and validate credentials | COMMENT |
| LOW⚡ | packages/start/src/template-setup.ts | 31 | // Step 1: Pull TanStack Start template using gitpick (skip for current directory) | COMMENT |
| LOW⚡ | packages/start/src/template-setup.ts | 40 | // Step 2: Generate .env file with credentials | COMMENT |
| LOW | packages/start/src/template-setup.ts | 62 | // Step 3: Ensure .gitignore includes .env | COMMENT |
| LOW | packages/start/src/cli.ts | 230 | // Step 2: Setup TanStack Start template | COMMENT |
| LOW | packages/start/src/cli.ts | 268 | // Step 3: Display completion message | COMMENT |
| LOW | packages/agents/skills/quickstart.md | 125 | ## Step 1: Minimal entity | COMMENT |
| LOW | packages/agents/skills/quickstart.md | 157 | ## Step 2: One worker | COMMENT |
| LOW | packages/agents/skills/quickstart.md | 222 | ## Step 3: Two workers + state | COMMENT |
| LOW | packages/agents/skills/quickstart.md | 304 | ## Step 4: Server routes | COMMENT |
| LOW | packages/agents/skills/quickstart.md | 388 | ## Step 5: Frontend — live results | COMMENT |
| LOW | …kages/sync-service/plans/2026-03-09-issue-3985/plan.md | 15 | ### Step 1: Make FlushTracker handle all fragment types | COMMENT |
| LOW | …kages/sync-service/plans/2026-03-09-issue-3985/plan.md | 86 | ### Step 2: Remove commit-only guard in ShapeLogCollector | COMMENT |
| LOW | …kages/sync-service/plans/2026-03-09-issue-3985/plan.md | 100 | ### Step 3: Update FlushTracker tests | COMMENT |
| LOW | …kages/sync-service/plans/2026-03-09-issue-3985/plan.md | 121 | ### Step 4: Validate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | website/docs/agents/index.md | 179 | const lastError = ctx.db.collections.errors.toArray.at(-1) | CODE |
| CRITICAL | website/src/components/home/iso/render.ts | 993 | const ch = opts.state.scene.substrate.channels.find( | CODE |
| CRITICAL | website/src/components/home/iso/render.ts | 1126 | const ch = opts.state.scene.substrate.channels.find( | CODE |
| CRITICAL | packages/agents-runtime/src/wake-session.ts | 240 | this.db.collections.manifests.utils.acceptMutations(transaction) | CODE |
| CRITICAL | .github/workflows/load_test.yml | 168 | body: `🏋️ Load test triggered for ${context.payload.pull_request.head.sha.substring(0, 7)}. Results will b | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/start/src/electric-api.ts | 98 | // Step 1: POST to create claimable source and get claimId | COMMENT |
| LOW⚡ | packages/start/src/electric-api.ts | 123 | // Step 2: Poll until state === 'ready' | COMMENT |
| LOW⚡ | packages/start/src/electric-api.ts | 126 | // Step 3: Extract and validate credentials | COMMENT |
| LOW⚡ | packages/start/src/template-setup.ts | 31 | // Step 1: Pull TanStack Start template using gitpick (skip for current directory) | COMMENT |
| LOW⚡ | packages/start/src/template-setup.ts | 40 | // Step 2: Generate .env file with credentials | COMMENT |
| LOW | packages/start/src/template-setup.ts | 62 | // Step 3: Ensure .gitignore includes .env | COMMENT |
| LOW | packages/start/src/cli.ts | 230 | // Step 2: Setup TanStack Start template | COMMENT |
| LOW | packages/start/src/cli.ts | 268 | // Step 3: Display completion message | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/.vitepress/theme/components/MegaNav.vue | 230 | // Single root-level pointer tracker. Far more robust than per-trigger | COMMENT |
| MEDIUM | …e/public/demos/territory-wars/assets/index-CJXmzTYg.js | 9 | `).replace(U1,``)}function l0(e,s){return s=a0(s),a0(e)===s}function Ht(e,s,a,c,f,h){switch(a){case`children`:typeof c== | CODE |
| MEDIUM | scripts/dev.sh | 3 | # Dev harness for the Electric Agents stack. | COMMENT |
| MEDIUM | packages/durable-streams-rust/.bench-local.sh | 2 | # Local regression harness (macOS dev box) for the live-file compaction work. | COMMENT |
| MEDIUM | packages/durable-streams-rust/Cargo.toml | 15 | # conformance harness, release workflow, and docs are unaffected. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/agents-runtime/src/sandbox/exec-fetch.ts | 39 | elif command -v node >/dev/null 2>&1; then | CODE |
| HIGH | packages/agents-runtime/src/sandbox/exec-fetch.ts | 41 | elif command -v wget >/dev/null 2>&1; then | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | website/src/components/brand-toys/meshOfStreams.ts | 1842 | // floor and become near-sharp, exactly as requested: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/sync_service_dockerhub_image.yml | 3 | # If you decide to modify the list of triggers for this action, don't forget to also update the | COMMENT |
| LOW | .github/workflows/sync_service_dockerhub_image.yml | 3 | # If you decide to modify the list of triggers for this action, don't forget to also update the | COMMENT |
| LOW | .github/workflows/agent_server_dockerhub_image.yml | 3 | # If you decide to modify the list of triggers for this action, don't forget to also update the | COMMENT |
| LOW | .github/workflows/agent_server_dockerhub_image.yml | 3 | # If you decide to modify the list of triggers for this action, don't forget to also update the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | website/docs/sync/api/config.md | 591 | example="your-api-key"> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/bash/client.bash | 102 | # Check if headers were received | COMMENT |
| LOW | .github/workflows/changesets_release.yml | 58 | # Assign publishedPackages to a variable first to avoid any interpretation of JSON special chars by the shell | COMMENT |
| LOW | .github/workflows/teardown_examples_pr_stack.yml | 79 | # Check if the error is because the stage doesn't exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/bash/client.bash | 52 | # Create the output directory if it doesn't exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/typescript-client/bin/pbt-soak.sh | 8 | # Usage: | COMMENT |
| LOW | packages/sync-service/dev/gen_shapes.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/typescript-client/test/column-mapper.test.ts | 349 | expect(encodeWhereClause(`name = 'John Doe' AND userId = $1`, encode)).toBe( | CODE |
| LOW | packages/typescript-client/test/column-mapper.test.ts | 350 | `name = 'John Doe' AND user_id = $1` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tegration-tests/support_files/normalize-otel-output.py | 52 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/agents-runtime/test/entity-timeline.test.ts | 1652 | function getData(liveQuery: any): Array<any> { | CODE |