Pixel office.
This report summarizes scanner evidence for pixel-agents-hq/pixel-agents, a TypeScript project with 10,001 GitHub stars. SynthScan examined 91,797 lines of code across 363 source files, recording 382 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 10.6 (Moderate 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? 79 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 356 finding(s).
Which changes need focused human review? 382 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 382 distinct pattern matches across 4 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 | core/asyncapi.yaml | 76 | # ── Top-level discriminated unions ──────────────────────────── | COMMENT |
| MEDIUM | core/asyncapi.yaml | 163 | # ── Server message variants ──────────────────────────────────── | COMMENT |
| MEDIUM | core/asyncapi.yaml | 902 | # ── Terminal control plane (standalone embedded terminal) ────── | COMMENT |
| MEDIUM | core/asyncapi.yaml | 970 | # ── Client message variants ──────────────────────────────────── | COMMENT |
| MEDIUM | core/asyncapi.yaml | 1323 | # ── Supporting schemas ───────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/schemas.ts | 12 | // ── Agent State ────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/schemas.ts | 52 | // ── Layout ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/schemas.ts | 96 | // ── Sprites & Assets ───────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/schemas.ts | 128 | // ── Hook Events ────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/schemas.ts | 140 | // ── Disposable ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | core/src/constants.ts | 9 | // ── Hook API ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | core/src/constants.ts | 16 | // ── Display ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | core/src/constants.ts | 21 | // ── Terminal (standalone embedded terminal) ────────────────── | COMMENT |
| MEDIUM | core/src/constants.ts | 32 | // ── Transport ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/adapter.ts | 16 | // ── Per-adapter persisted state (agents + seats) ──────────────────── | COMMENT |
| MEDIUM | core/src/adapter.ts | 24 | // ── User-level settings (shared file, namespaced per adapter) ───── | COMMENT |
| MEDIUM | core/src/provider.ts | 12 | // ── Normalized Events (all provider types produce these) ────── | COMMENT |
| MEDIUM | core/src/provider.ts | 65 | // ── Hook-based Provider (CLIs with hooks APIs) ──────────────── | COMMENT |
| MEDIUM | core/src/assets/loader.ts | 21 | // ── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/loader.ts | 35 | // ── Decoders ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/constants.ts | 8 | // ── PNG / Asset Parsing ───────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/constants.ts | 21 | // ── Pet Sprite Dimensions (96×96 spritesheet) ────────────── | COMMENT |
| MEDIUM | core/src/assets/constants.ts | 32 | // ── Carpet auto-tile parsing ──────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/pngDecoder.ts | 35 | // ── Sprite decoding ────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/manifestUtils.ts | 8 | // ── Manifest types ────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/build.ts | 16 | // ── Furniture catalog ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/src/assets/build.ts | 100 | // ── Asset index ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/configPersistence.test.ts | 40 | // ── parseAreaMappings ──────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/configPersistence.test.ts | 98 | // ── per-provider hooks consent + preference ────────────────── | COMMENT |
| MEDIUM | server/__tests__/configPersistence.test.ts | 221 | // ── readConfig / writeConfig round-trip ────────────────────── | COMMENT |
| MEDIUM | server/__tests__/backgroundAgents.test.ts | 238 | // ── Unnamed spawn = Sub-agent (shadow-watched) ────────────────────── | COMMENT |
| MEDIUM | server/__tests__/backgroundAgents.test.ts | 435 | // ── Foreground spawns (open Agent tool, no async result) ─────────── | COMMENT |
| MEDIUM | server/__tests__/backgroundAgents.test.ts | 494 | // ── Named spawn = Teammate ────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/backgroundAgents.test.ts | 609 | // ── Shared gate ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/consentFlow.test.ts | 97 | // ── hooksConsentRequest: who is asked, and on what terms ───── | COMMENT |
| MEDIUM | server/__tests__/consentFlow.test.ts | 167 | // ── hooksConsentResponse: what each answer writes ──────────── | COMMENT |
| MEDIUM | server/__tests__/standaloneAgentLauncher.test.ts | 105 | // ── Successful launch ──────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/standaloneAgentLauncher.test.ts | 215 | // ── Process exit cleanup ───────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/standaloneAgentLauncher.test.ts | 240 | // ── JSONL adoption poll ────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/claudeHookInstaller.test.ts | 463 | // ── W1: the write path throws instead of logging ────────────── | COMMENT |
| MEDIUM | server/__tests__/claudeHookInstaller.test.ts | 756 | // ── W3: exact-suffix hook identity ──────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/claudeHookInstaller.test.ts | 914 | // ── W4: event-scope reduction + stale-install migration ─────── | COMMENT |
| MEDIUM | server/__tests__/directories.test.ts | 56 | // ── validation ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/directories.test.ts | 88 | // ── union building ─────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/directories.test.ts | 135 | // ── persistence round-trip ─────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/directories.test.ts | 194 | // ── shared dispatch ────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/directories.test.ts | 324 | // ── launch labelling ───────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 73 | // ── PermissionRequest ─────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 122 | // ── Notification ──────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 160 | // ── Stop ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 208 | // ── hookDelivered ─────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 223 | // ── Buffering ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 293 | // ── Auto-discovery ────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 307 | // ── Dispose ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 315 | // ── SessionStart ──────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 384 | // ── SessionEnd ────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 466 | // ── PreToolUse / PostToolUse ───────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 541 | // ── Pending external session confirmation ──────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 585 | // ── Resume ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/__tests__/hookEventHandler.test.ts | 687 | // ── Provider-agnostic (optional transcript_path) ──────────── | COMMENT |
| 243 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/src/fileWatcher.ts | 558 | export function setTeammateRemovalCallback(cb: (teammateAgentId: number) => void): void { | CODE |
| LOW | server/src/fileWatcher.ts | 568 | export function setTeammateRegisterCallback( | CODE |
| LOW | server/src/fileWatcher.ts | 798 | export function scanForBackgroundAgentFiles( | CODE |
| LOW | server/src/fileWatcher.ts | 918 | export function scanTeamConfigsForRemovals(agents: AgentStateStore): number[] { | CODE |
| LOW | server/src/fileWatcher.ts | 1013 | export function adoptExternalSessionFromHook( | CODE |
| LOW | server/src/fileWatcher.ts | 1174 | export function startExternalSessionScanning( | CODE |
| LOW | server/src/fileWatcher.ts | 1392 | function directoryNameFromProjectDir(dirName: string): string { | CODE |
| LOW | server/src/fileWatcher.ts | 1486 | export function startStaleExternalAgentCheck( | CODE |
| LOW | server/src/teamUtils.ts | 49 | export function hasPromotedBackgroundAgent( | CODE |
| LOW | server/src/assetLoader.ts | 522 | export async function loadExternalCharacterSprites( | CODE |
| LOW | server/src/assetLoader.ts | 584 | export function sendCharacterSpritesToWebview( | CODE |
| LOW⚡ | server/src/transcriptParser.ts | 52 | export function setBackgroundAgentDetectedCallback(cb: (leadAgentId: number) => void): void { | CODE |
| LOW⚡ | server/src/transcriptParser.ts | 61 | export function setBackgroundAgentCompletedCallback( | CODE |
| LOW⚡ | server/src/transcriptParser.ts | 71 | export function notifyBackgroundAgentCompleted(leadAgentId: number, toolUseId: string): void { | CODE |
| LOW | server/src/serverToken.ts | 35 | export function loadOrCreateStandaloneToken({ rotate = false } = {}): string { | CODE |
| LOW | server/src/directories.ts | 226 | export function handleDirectoryClientMessage( | CODE |
| LOW | server/src/wsAuth.ts | 195 | export function standaloneHandshakeVerdict( | CODE |
| LOW | server/src/directorySuggestions.ts | 48 | export function collectDirectorySuggestions( | CODE |
| LOW | server/src/providers/hook/claude/claudeHookInstaller.ts | 67 | export function settingsNonArrayEventMessage(event: string): string { | CODE |
| LOW | server/src/providers/hook/claude/claudeHookInstaller.ts | 207 | export function settingsUnusableBackupMessage(backupPath: string): string { | CODE |
| LOW | webview-ui/src/office/layout/layoutSerializer.ts | 27 | export function layoutToFurnitureInstances(furniture: PlacedFurniture[]): FurnitureInstance[] { | CODE |
| LOW | webview-ui/src/office/sprites/carpetTiles.ts | 238 | function getDualColorizedCarpetSprite( | CODE |
| LOW | webview-ui/src/office/engine/renderer.ts | 87 | export function isGhostHeadlessAgentsEnabled(): boolean { | CODE |
| LOW | webview-ui/src/components/introBubbleGeometry.ts | 52 | export function computeIntroBubbleGeometry(frame: IntroBubbleFrame): IntroBubbleGeometry { | CODE |
| LOW | scripts/asset-manager.html | 1914 | function updateGroupMembershipDisplay(asset) { | CODE |
| LOW⚡ | scripts/jsonl-viewer.html | 1085 | function openDetailForCurrentSession(jumpToRecord) { | CODE |
| LOW | e2e/global-setup.ts | 91 | function patchProductJsonForWindows(vscodePath: string): void { | CODE |
| LOW | e2e/tests/claude/hooks-off/matrix.spec.ts | 44 | async function expectExternalAgentAdoption(frame: Frame): Promise<void> { | CODE |
| LOW | e2e/tests/claude/hooks-off/editor.spec.ts | 72 | function firstDefaultFurnitureType(): string { | CODE |
| LOW | e2e/tests/claude/hooks-off/carpet.spec.ts | 273 | function firstDefaultFurnitureType(): string { | CODE |
| LOW | e2e/helpers/intro.ts | 17 | export async function advanceIntroToConsentStep(dialog: Locator): Promise<void> { | CODE |
| LOW | e2e/helpers/webview.ts | 639 | export async function configureHookServerTestSettings(frame: WebviewSurface): Promise<void> { | CODE |
| LOW | e2e/helpers/lifecycle.ts | 16 | export function withNamedInlineTeammateSession( | CODE |
| LOW | e2e/helpers/lifecycle.ts | 31 | export function withInlineTeammateSessions( | CODE |
| LOW | e2e/helpers/lifecycle.ts | 42 | export function withInlineTeammateSession( | CODE |
| LOW | e2e/helpers/team.ts | 51 | export function buildAssistantToolUseRecord( | CODE |
| LOW | e2e/helpers/team.ts | 59 | export function buildAssistantToolUseBatchRecord( | CODE |
| LOW | e2e/helpers/team.ts | 88 | export function buildUserToolResultRecord( | CODE |
| LOW | e2e/helpers/team.ts | 95 | export function buildUserToolResultBatchRecord( | CODE |
| LOW | e2e/helpers/team.ts | 117 | export function buildTeammateSpawnResultRecord( | CODE |
| LOW | e2e/helpers/team.ts | 136 | export function buildAsyncAgentLaunchResultRecord(toolUseId: string): Record<string, unknown> { | CODE |
| LOW | e2e/helpers/team.ts | 145 | export function buildBackgroundAgentDoneRecord(toolUseId: string): Record<string, unknown> { | CODE |
| LOW | e2e/helpers/team.ts | 159 | export function buildAssistantUsageRecord(cacheReadTokens: number): Record<string, unknown> { | CODE |
| LOW | e2e/helpers/external-monitor.ts | 15 | export function getExternalNarrationLogPath(tmpHome: string): string { | CODE |
| LOW | e2e/helpers/mock-claude.ts | 280 | export async function arrangeNextClaudeInvocation( | CODE |
| LOW | e2e/helpers/mock-claude.ts | 327 | export async function killTrackedExternalProcesses(): Promise<void> { | CODE |
| LOW | e2e/helpers/mock-claude.ts | 340 | export async function spawnExternalClaudeScenario(options: { | CODE |
| LOW | e2e/helpers/hooks.ts | 222 | export function notificationPermissionPrompt(sessionId: string): HookEventPayload { | CODE |
| LOW | e2e/helpers/internal-agent.ts | 59 | export async function spawnInternalAgentAndWait( | CODE |
| LOW | e2e/helpers/internal-agent.ts | 108 | export async function spawnInternalAgentAndWaitForInvocation( | CODE |
| LOW | e2e/helpers/office.ts | 71 | export async function expectOverlayVisibleWithTexts( | CODE |
| LOW | e2e/helpers/office.ts | 79 | export async function expectOverlayVisibleForAgent( | CODE |
| LOW | e2e/helpers/office.ts | 221 | export async function expectTeammateSeatedNextToLead( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .gitleaks.toml | 1 | # Gitleaks configuration | COMMENT |
| LOW | server/__tests__/claudeHookInstaller.test.ts | 421 | expect(fs.existsSync(backupPath)).toBe(true); | COMMENT |
| LOW | server/src/fileWatcher.ts | 1321 | // top-level session inside the LEAD's projectDir, so this scan sees it too | COMMENT |
| LOW | server/src/providers/hook/claude/claudeHookInstaller.ts | 241 | // verify below pins: if the file gained user content after our read, the | COMMENT |
| LOW | server/src/providers/hook/claude/claudeHookInstaller.ts | 621 | throw new Error(SETTINGS_HOOKS_NOT_OBJECT_MESSAGE); | COMMENT |
| LOW | adapters/vscode/agentManager.ts | 81 | terminal.sendText([launch.command, ...launch.args].join(' ')); | COMMENT |
| LOW | webview-ui/src/office/engine/existingAgents.ts | 1 | // webview-ui/src/office/engine/existingAgents.ts | COMMENT |
| LOW | webview-ui/src/terminal/touchGesture.ts | 221 | // before dragging (half of natural scrolls) and the text loupe on the | COMMENT |
| LOW | webview-ui/src/terminal/touchInput.ts | 101 | // repaint the transcript — so a drag that began on a text span loses its | COMMENT |
| LOW | webview-ui/src/components/MobileKeyBar.tsx | 41 | return s !== null && t !== null && withinTapSlop(t.clientX - s.x, t.clientY - s.y); | COMMENT |
| LOW | webview-ui/src/components/TerminalPane.tsx | 141 | }); | COMMENT |
| LOW | scripts/asset-manager.html | 61 | .add-mode-bar { padding: 5px 10px; background: #1a3a1a; border-bottom: 1px solid #2a5a2a; display: flex; gap: 10px; | COMMENT |
| LOW | e2e/playwright.config.ts | 41 | }, | COMMENT |
| LOW | e2e/tests/claude/hooks-off/lifecycle.spec.ts | 121 | // but the user immediately types /resume (or aborts and runs claude --resume) | COMMENT |
| LOW | e2e/tests/claude/hooks-off/lifecycle.spec.ts | 781 | // | COMMENT |
| LOW | e2e/tests/claude/hooks-off/lifecycle.spec.ts | 861 | }); | COMMENT |
| LOW | e2e/tests/claude/hooks-on/consent.spec.ts | 361 | await finishIntro(dialog); | COMMENT |
| LOW | e2e/tests/claude/hooks-on/lifecycle.spec.ts | 1101 | }); | COMMENT |
| LOW | e2e/tests/claude/hooks-on/lifecycle.spec.ts | 1361 | { timeout: 5_000 }, | COMMENT |
| LOW | e2e/tests/claude/hooks-on/lifecycle.spec.ts | 1561 | await expectOverlayVisible(frame, 'Reading foo.ts'); | COMMENT |
| LOW | e2e/tests/claude/hooks-on/lifecycle.spec.ts | 1601 | await closeBottomPanel(window); | COMMENT |
| LOW | e2e/helpers/webview.ts | 141 | // palette: the palette's fuzzy match can select the wrong command — typing | COMMENT |
| LOW | e2e/helpers/launch.ts | 81 | // Pre-seed user-level config/layout under the isolated HOME, BEFORE VS Code | COMMENT |
| LOW | e2e/helpers/launch.ts | 141 | ), | COMMENT |
| LOW | e2e/helpers/launch.ts | 221 | } else { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CHANGELOG.md | 59 | - **Context gauge on every agent** ([#351](https://github.com/pixel-agents-hq/pixel-agents/pull/351)) — Shows each agent | CODE |