AI Slop Code RIsk Monitor

saltbo/zpan

Lightweight file hosting platform built on top of S3-compatible storage

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for saltbo/zpan, a TypeScript project with 2,074 GitHub stars. SynthScan examined 234,062 lines of code across 1047 source files, recording 713 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 5.8 (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.

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-10-01
Last Push
2.1K
Stars
TypeScript
Language
234.1K
Lines of Code
1.0K
Files
713
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 7.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 351 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.6/100 · LOW

Are imports declared and package/API names verified? 70 finding(s).

Agent Over-Engineering Ratio 23.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 626 finding(s).

PR Review Velocity Impact 24.2/100 · LOW

Which changes need focused human review? 713 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 293LOW 420

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 713 distinct pattern matches across 6 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.

Decorative Section Separators292 hits · 908 pts
SeverityFileLineSnippetContext
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts11// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts79// ─── Setup ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts86// ─── App-host passthrough tests ───────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts140// ─── Unverified custom domain ─────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts161// ─── Custom domain redirect ───────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts434// ─── Referer allowlist tests ──────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts476// ─── Cross-org isolation ──────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts514// ─── accessCount atomicity ────────────────────────────────────────────────────COMMENT
MEDIUMserver/middleware/image-hosting-domain.cf-test.ts62// ─── CF custom domain tests ───────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts38// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts65// ─── createShare ─────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts179// ─── resolveShareByToken ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts256// ─── verifyPassword ───────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts299// ─── isAccessibleByUser ───────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts319// ─── listForApi ──────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts340// ─── listReceivedForApi ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts373// ─── incrementViews ──────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts391// ─── incrementDownloadsAtomic ─────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts468// ─── revokeShareByToken ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts499// ─── listShareRecipientUserIds ────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts535// ─── revokeByMatter ───────────────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts75// ─── findActiveConflict ───────────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts148// ─── applyConflictResolution ──────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts366// ─── planConflictResolution ───────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts419// ─── commitConflictPlan ───────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.cf-test.ts103// ─── Atomic counter race tests on D1 ─────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.cf-test.ts161// ─── revokeByMatter on D1 ────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts93// ─── createMatter ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts242// ─── confirmUpload ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts282// ─── updateMatter (rename / move) ─────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts355// ─── move ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts393// ─── copyMatter ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts456// ─── restoreMatter ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts514// ─── case-insensitive conflict across service calls ───────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts546// ─── confirmUpload quota-then-replace atomicity ───────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts586// ─── restoreMatter rename-before-activate ordering ───────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts105// ─── storage usage reservations ───────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts321// ─── confirmUpload ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts470// ─── updateMatter — folder-into-itself error ──────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts505// ─── listTrashedRoots ─────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts57// ─── Public invite-link info ────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts80// ─── POST /:teamId/invite-links ────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts129// ─── GET /:teamId/invitations ─────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts167// ─── POST /:teamId/members ─────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts229// ─── Activity feed tests (from master) ────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts277// ─── Auth guard ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts287// ─── Access control ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts368// ─── Happy path ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts461// ─── Pagination ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts542// ─── Ordering ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts562// ─── Metadata ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts597// ─── Multiple events across orgs ──────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts671// ─── Org logo (PUT/DELETE /:teamId/logo) ─────────────────────────────────────COMMENT
MEDIUM⚡server/http/teams.integration.test.ts871// ─── Admin Teams API (/api/teams admin-console resources) ─────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts14// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts126// ─── POST /api/shares auth guard ─────────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts140// ─── POST /api/shares ─────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts418// ─── PUT /api/shares/:token/privacy ──────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts507// ─── GET /api/shares auth guard ───────────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts517// ─── GET /api/shares ──────────────────────────────────────────────────────────COMMENT
232 more matches not shown…
Hyper-Verbose Identifiers334 hits · 356 pts
SeverityFileLineSnippetContext
LOWserver/entry-node.ts106function reportNodeInstanceTelemetry(): void {CODE
LOWserver/app.ts444function shouldReportInitialTelemetry(requestUrl: string): boolean {CODE
LOWserver/auth.integration.test.ts36async function configureRequiredEmailVerification(ctx: TestCtx) {CODE
LOWserver/openapi.integration.test.ts991function resolveLocalOpenApiReference(document: unknown, reference: string): unknown {CODE
LOWserver/auth.ts124function isExternalResourceClientRegistration(body: Record<string, unknown>): boolean {CODE
LOWserver/auth.ts139async function dynamicRegistrationOrigins(request: Request): Promise<string[]> {CODE
LOWserver/auth.ts160export function officialWorkersPreviewOrigin(CODE
LOWserver/auth.ts225export function toBetterAuthCaptchaOptions(config: CaptchaConfig): CaptchaOptions {CODE
LOWserver/auth.ts261function usesEmailVerificationPolicy(request: Request): boolean {CODE
LOWserver/auth.ts291async function recordOrganizationAuthAudit(CODE
LOWserver/auth.ts347async function ensureUserRegistrationAudit(db: Database, userId: string, firstAccountId?: string): Promise<void> {CODE
LOWserver/auth.ts403function buildVerificationEmailHtml(url: string): string {CODE
LOWserver/auth.ts415function buildResetPasswordEmailHtml(url: string): string {CODE
LOWserver/auth.ts1083async function findPersonalOrgFromExistingSession(db: Database, userId: string): Promise<string | null> {CODE
LOWserver/auth.ts1119async function createFreePlanEntitlementValues(CODE
LOWserver/auth.ts1203async function getDefaultOrgTrafficQuota(db: Database): Promise<number> {CODE
LOW…er/middleware/image-hosting-domain.integration.test.ts30async function setTrafficPlanEntitlement(db: TestDb, orgId: string, bytes: number) {CODE
LOWserver/middleware/authz.ts138async function currentAuthorizationContext(CODE
LOWserver/middleware/image-hosting-domain.ts139function recordImageDownloadFailure(CODE
LOWserver/middleware/image-hosting-domain.ts168export async function handleImageHostingDomainRequest({CODE
LOWserver/middleware/auth.integration.test.ts25async function authedHeadersWithFreshSession(CODE
LOWserver/middleware/audit-routes.ts283function responseDownloadTaskTarget(): AuditTarget {CODE
LOWserver/middleware/audit-transfers.ts146async function resolveCreatedImageUpload(context: AuditRouteContext): Promise<TransferAuditTarget | null> {CODE
LOWserver/middleware/auth.ts254export function mapOauthVerificationError(error: unknown, resource: string): AppError {CODE
LOWserver/test/storage-usage-consistency.ts41export async function calculateExpectedStorageUsage(db: Database, orgId: string): Promise<StorageUsageBreakdown[]> {CODE
LOWserver/test/storage-usage-consistency.ts72export async function expectStorageUsageConsistent(db: Database, orgId: string, context: string): Promise<void> {CODE
LOWserver/auth/oauth-par.ts13export function oauthPushedAuthorizationRequests(options: OAuthProviderOptions): BetterAuthPlugin {CODE
LOWserver/auth/oauth-par.ts69export async function resolvePushedAuthorizationRequest(input: {CODE
LOWserver/auth/oauth-par.ts103async function validatePushedAuthorizationRequest(CODE
LOWserver/auth/oauth-provider.ts33export function createOAuthProviderOptions(input: {CODE
LOWserver/auth/oauth-provider.ts126function oauthStandardsMetadataExtension(): OAuthProviderExtension {CODE
LOWserver/auth/oauth-provider.ts135function externalResourceGrantExtension(resourceAudience: string): OAuthProviderExtension {CODE
LOW⚡server/auth/oauth-provider.ts215function parseWorkspaceAuthorizationDetail(detail: AuthorizationDetail) {CODE
LOW⚡server/auth/oauth-provider.ts221function assertUniqueWorkspaceIdentifiers(details: Array<{ identifier?: string }>) {CODE
LOW⚡server/auth/oauth-provider.ts228function workspaceAuthorizationDetailsCovered(CODE
LOWserver/auth/oauth-provider.ts240function parseTokenExchangeAuthorizationDetails(body: unknown): AuthorizationDetail[] {CODE
LOWserver/auth/oauth-client-registration-management.ts141export function addOAuthClientRegistrationManagementOpenApi(document: { paths: Record<string, unknown> }): void {CODE
LOWserver/auth/oauth-client-registration-management.ts224export async function handleOAuthClientRegistrationManagement(CODE
LOWserver/auth/oauth-client-registration-management.ts273async function augmentRegistrationResponse(CODE
LOWserver/auth/oauth-client-registration-management.ts408function isSecureOrLocalDevelopmentUrl(value: string, serverUrl: URL): boolean {CODE
LOWserver/auth/oauth-client-registration-management.ts504async function matchesStoredClientSecret(candidate: string, stored: string | null): Promise<boolean> {CODE
LOWserver/adapters/repos/archive-target-folder.ts32export function createArchiveTargetFolderRepo(db: Database): ArchiveTargetFolderRepo {CODE
LOWserver/adapters/repos/admin-stats-counter-query.ts194export function buildAdminStatsCounterRowsSqlStatements(range: AdminStatsCounterQueryRange): string[] {CODE
LOWserver/adapters/repos/admin-stats-counter-query.ts211export function buildAdminStatsCounterRollupInsertSqlStatements(range: AdminStatsCounterQueryRange): string[] {CODE
LOWserver/adapters/repos/admin-stats-counter-query.ts243function buildCounterSqlStatements(range: AdminStatsCounterQueryRange, statement: string): string[] {CODE
LOWserver/adapters/repos/webdav-state.ts327function lockConflictsWithResource(lock: DavLock, resourcePath: string): boolean {CODE
LOWserver/adapters/repos/oauth-client-registration.ts10export async function insertOAuthClientRegistration(db: Database, clientId: string, tokenHash: string): Promise<void> {CODE
LOWserver/adapters/repos/oauth-client-registration.ts46export async function replaceManagedOAuthClient(CODE
LOWserver/adapters/repos/oauth-client-registration.ts66export async function listManagedOAuthClientResources(db: Database, clientId: string): Promise<string[]> {CODE
LOWserver/adapters/repos/oauth.ts216function workspaceIdsFromAuthorizationDetails(value: unknown): string[] {CODE
LOWserver/adapters/repos/admin-stats-rollup.ts184export async function captureAdminStatsSnapshot(CODE
LOWserver/adapters/repos/matter.ts64function descendantParentCondition(folderPath: string): SQL {CODE
LOWserver/adapters/repos/image-hosting-config.ts6export function createImageHostingConfigRepo(db: Database): ImageHostingConfigRepo {CODE
LOWserver/adapters/repos/license-binding.ts75async function updateLicenseBindingAfterRefresh(db: Database, input: UpdateLicenseBindingInput): Promise<void> {CODE
LOWserver/adapters/repos/user-admin.ts25async function findActiveUserIdByUsername(db: Database, username: string): Promise<string | null> {CODE
LOWserver/adapters/repos/user-admin.ts40async function listUserPersonalEntitlements(CODE
LOWserver/adapters/repos/user-admin.ts49async function grantUserPersonalEntitlement(CODE
LOWserver/adapters/repos/user-admin.ts65async function updateUserPersonalEntitlement(CODE
LOWserver/adapters/repos/user-admin.ts81async function revokeUserPersonalEntitlement(CODE
LOWserver/adapters/repos/downloader-bootstrap.ts11export function createDownloaderBootstrapCredentialRepo(CODE
274 more matches not shown…
Fake / Example Data70 hits · 78 pts
SeverityFileLineSnippetContext
LOWserver/auth.integration.test.ts386 const res = await signUp(ctx, 'user@example.com')CODE
LOW⚡server/middleware/auth.integration.test.ts55 await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOW⚡server/middleware/auth.integration.test.ts63 await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOW⚡server/middleware/auth.integration.test.ts73 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOW⚡server/middleware/auth.integration.test.ts80 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOW⚡server/middleware/auth.integration.test.ts88 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/middleware/auth.integration.test.ts99 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/test/setup.ts903 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/test/setup.ts908 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/adapters/gateways/email.integration.test.ts75 { key: 'email_smtp_user', value: 'user@example.com' },CODE
LOWserver/adapters/gateways/email.integration.test.ts85 expect(config.smtp.user).toBe('user@example.com')CODE
LOWserver/adapters/gateways/email.integration.test.ts191 await gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hello', html: '<p>Hi</p>' })CODE
LOWserver/adapters/gateways/email.integration.test.ts194 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts219 await gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hello', html: '<p>Hi</p>' })CODE
LOWserver/adapters/gateways/email.integration.test.ts229 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts274 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts280 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts310 gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hi', html: '<p>Hi</p>' }),CODE
LOWserver/adapters/gateways/email.integration.test.ts369 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts376 to: 'user@example.com',CODE
LOW⚡server/http/teams.integration.test.ts875 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOW⚡server/http/teams.integration.test.ts879 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/teams.integration.test.ts926 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/teams.integration.test.ts941 const adminId = await userId(db, 'admin@example.com')CODE
LOWserver/http/admin-users-ba.integration.test.ts12 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/admin-users-ba.integration.test.ts16 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/admin-users-ba.integration.test.ts33 expect(body.users.map((u) => u.email)).toEqual(expect.arrayContaining(['admin@example.com', 'member@example.com']))CODE
LOWserver/http/admin-users-ba.integration.test.ts38 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/admin-users-ba.integration.test.ts52 const adminRows = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com'`)CODE
LOWserver/http/admin-users-ba.integration.test.ts119 const adminRows = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com'`)CODE
LOWserver/http/webdav.integration.test.ts189 headers: basicHeaders('user@example.com', 'secret'),CODE
LOWserver/http/users.integration.test.ts7 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/users.integration.test.ts12 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/quotas.integration.test.ts7 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/quotas.integration.test.ts12 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/quotas.integration.test.ts26 await authedHeaders(app, 'admin@example.com')CODE
LOW⚡server/http/auth/auth.integration.test.ts209 body: JSON.stringify({ name: 'Admin User', email: 'admin@example.com', password: 'password123456' }),CODE
LOW⚡server/http/auth/auth.integration.test.ts211 const users = await db.select().from(authSchema.user).where(eq(authSchema.user.email, 'admin@example.com'))CODE
LOW⚡server/http/auth/auth.integration.test.ts220 body: JSON.stringify({ name: 'Admin User', email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/site/audit.integration.test.ts15 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/audit.integration.test.ts531 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/site/branding.integration.test.ts122 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts13 { key: 'email_smtp_user', value: 'user@example.com' },CODE
LOWserver/http/site/email-config.integration.test.ts46 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts117 expect(smtp.user).toBe('user@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts179 user: 'user@example.com',CODE
LOWserver/http/site/licensing.integration.test.ts28 cloudAccountEmail: 'user@example.com',CODE
LOWserver/http/site/licensing.integration.test.ts40 expect(body.account_email).toBe('user@example.com')CODE
LOWserver/http/site/invitations.integration.test.ts321 .where(eq(authSchema.user.email, 'admin@example.com'))CODE
LOWserver/http/site/storages.integration.test.ts41 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/http/site/announcements.integration.test.ts35 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/audit-events.integration.test.ts477 const users = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com' LIMIT 1`)CODE
LOWserver/http/site/licensing-admin.integration.test.ts84 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/usecases/webdav.test.ts210 username: 'user@example.com',CODE
LOWserver/usecases/webdav.test.ts236 expect(findActiveUserIdByUsername).toHaveBeenCalledWith('user@example.com')CODE
LOWserver/usecases/site/email-config.test.ts21 smtp: { host: 'smtp.example.com', port: 587, user: 'user@example.com', pass: 'supersecret', secure: true },CODE
LOWserver/usecases/site/email-config.test.ts97 user: 'user@example.com',CODE
LOWserver/usecases/site/signup-mode.integration.test.ts21 await signUp(ctx, 'admin@example.com')CODE
LOW⚡server/usecases/site/signup-mode.integration.test.ts149 await signUp(ctx, 'admin@example.com')CODE
LOW⚡server/usecases/site/signup-mode.integration.test.ts153 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
10 more matches not shown…
Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippetContext
LOWserver/http/events.ts61// event: resync → retention gap; refetch active queriesCOMMENT
LOWserver/domain/license-keys.ts1// Cloud public keys for verifying PASETO v4 entitlement certificates.COMMENT
LOWserver/usecases/team.ts1// The team resource usecase. Owns every business decision behind both teamCOMMENT
LOWserver/usecases/background-job.ts1// The background-jobs resource usecase (/api/background-jobs). Owns everyCOMMENT
LOWserver/usecases/object.ts1// The objects resource usecase. Owns every business decision behind theCOMMENT
LOWserver/usecases/user.ts1// The users resource usecase. Owns the front-of-house business decisions behindCOMMENT
LOWserver/usecases/webdav.ts1// The WebDAV resource usecase. WebDAV is special: the http handler owns theCOMMENT
LOWserver/usecases/image-hosting/images.ts1// The image-hosting (ihost) resource usecase. Owns every business decision behindCOMMENT
LOWserver/usecases/ports/archive-target-folder.ts1// Validates that an explicit archive target folder exists and is a folder (not aCOMMENT
LOWserver/usecases/store/store.ts1// The cloud store resource usecase. Owns every business decision behind theCOMMENT
LOWshared/schemas/errors.ts1import { z } from '@hono/zod-openapi'COMMENT
LOW.github/workflows/deploy.yml1name: DeployCOMMENT
LOWsrc/components/files/files-toolbar.test.ts1import { describe, expect, it } from 'vitest'COMMENT
LOWsrc/routes/(auth)/sign-up.test.ts1import { SignupMode } from '@shared/constants'COMMENT
LOWsrc/routes/(auth)/sign-in.test.ts1import { SignupMode } from '@shared/constants'COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/design/agent-file-management-regression.md90### Debug round 1 — plugin approval orchestrationCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdeploy/docker-compose.downloader.yml2# Usage:COMMENT