AI Slop Code Risk Monitor

Finsys/dockhand

SlopCodeMonitor badge for Finsys/dockhand Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Dockhand - Docker management you will like.

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Finsys/dockhand, a TypeScript project with 6,957 GitHub stars. SynthScan examined 531,178 lines of code across 1783 source files, recording 502 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.0K
Stars
TypeScript
Language
531.2K
Lines of Code
1.8K
Files
502
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 5.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 2.5/100 · LOW

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

PR Review Velocity Impact 4.8/100 · LOW

Which changes need focused human review? 502 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 11LOW 491

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 502 distinct pattern matches across 9 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.

Hyper-Verbose Identifiers272 hits · 260 pts
SeverityFileLineSnippetContext
LOWvite.config.ts177function buildDockerStreamHttpRequest(path: string, target: DockerTarget, body = ''): string {CODE
LOWsrc/hooks.server.ts96async function cleanupOrphanedScannerContainers() {CODE
LOWsrc/lib/git-stack-branch.ts71export function normalizeStackBranchUpdate(CODE
LOWsrc/lib/config/grid-columns.ts262export function getDefaultColumnPreferences(gridId: GridId): { id: string; visible: boolean }[] {CODE
LOWsrc/lib/stores/sidebar-preferences.ts67function createSidebarPreferencesStore() {CODE
LOWsrc/lib/stores/containers.ts309 async function loadPendingUpdatesInternal(envId: number | null) {CODE
LOWsrc/lib/stores/grid-preferences.ts42function createGridPreferencesStore() {CODE
LOWsrc/lib/server/stacks.ts708export function validateStacksDirAtStartup(): void {CODE
LOWsrc/lib/server/stacks.ts1117async function checkFlatLocalStackNameCollision(stackName: string, envId?: number | null): Promise<string | null> {CODE
LOWsrc/lib/server/stacks.ts2344async function cleanupOrphanStackContainers(CODE
LOWsrc/lib/server/stacks.ts2861export async function computeStackDeletionPaths(CODE
LOWsrc/lib/server/stacks.ts3211async function reconcileStackPendingUpdates(stackName: string, envId: number): Promise<void> {CODE
LOWsrc/lib/server/stacks.ts4083async function resolveProviderVarsBestEffort(CODE
LOWsrc/lib/server/stacks.ts4129async function applyProviderSecretsToComposeResult(CODE
LOWsrc/lib/server/container-event-notify.ts10export function shouldNotifyContainerEvent(CODE
LOWsrc/lib/server/vulnerabilities-cache.ts95export function getVulnerabilitiesCacheStats(): { envs: number; views: number; inflight: number } {CODE
LOWsrc/lib/server/vulnerabilities-cache.ts101export function invalidateVulnerabilitiesCache(envIdNum?: number | null): void {CODE
LOWsrc/lib/server/scheduled-actions-list.ts16export async function containerActionScheduleRows() {CODE
LOWsrc/lib/server/oidc-callback-core.ts25export function describeTokenExchangeFailure(status: number, body: string): string {CODE
LOWsrc/lib/server/content-disposition.ts10export function attachmentContentDisposition(filename: string): string {CODE
LOWsrc/lib/server/stack-path-utils.ts5export function getStackPathHintsFromContainers(containers: { labels?: Record<string, string> | null }[]): {CODE
LOWsrc/lib/server/stack-path-utils.ts59export function moveStackFilePathCrossDevice(CODE
LOWsrc/lib/server/vulnerabilities.ts279export function parseVulnerabilitiesQuery(url: URL): VulnerabilitiesQuery {CODE
LOWsrc/lib/server/vulnerabilities.ts312export async function getFilteredSortedFindings(envIdNum: number, query: VulnerabilitiesQuery): Promise<Finding[]> {CODE
LOWsrc/lib/server/nav-preferences.ts50export async function getEffectiveNavPreferences(userId: number | null): Promise<NavPreferences> {CODE
LOWsrc/lib/server/license.ts187export async function hasValidEnterpriseLicense(): Promise<boolean> {CODE
LOWsrc/lib/server/token-cache.ts79export function invalidateTokenCacheForUser(userId: number): void {CODE
LOWsrc/lib/server/dockhand-override-file.ts14export function buildDockhandOverrideFile(envVars: Record<string, string>): string {CODE
LOWsrc/lib/server/container-image-divergence.ts57export function detectImageLabelDivergence(CODE
LOWsrc/lib/server/scanner-output-core.ts24export function classifyUnparseableOutput(output: string): 'truncated' | 'cli-error' | 'unknown' {CODE
LOWsrc/lib/server/webhook-secret-policy.ts16export function decideWebhookSecretPolicy(CODE
LOWsrc/lib/server/webhook-secret-policy.ts37export function webhookConfigRequiresSecret(CODE
LOWsrc/lib/server/host-path.ts111function populateCachesFromInspect(info: OwnContainerInfo, ownDockerHostOverride?: string): void {CODE
LOWsrc/lib/server/host-path.ts154function resolveDataDirFromInspect(info: OwnContainerInfo, dataDir: string): string | null {CODE
LOWsrc/lib/server/host-path.ts182async function inspectOwnContainerViaDbEnv(containerId: string, dataDir: string): Promise<string | null> {CODE
LOWsrc/lib/server/host-path.ts356export function getAutoDetectedDockerHost(): string | null {CODE
LOWsrc/lib/server/host-path.ts418export function translateContainerPathViaMount(containerPath: string): string | null {CODE
LOWsrc/lib/server/host-path.ts485export function unpersistedComposePathWarning(CODE
LOWsrc/lib/server/host-path.ts577export function rewriteComposeVolumePaths(composeContent: string, workingDir: string): { content: string; modified: boolCODE
LOWsrc/lib/server/subprocess-manager.ts717export function refreshSubprocessEnvironments(): void {CODE
LOWsrc/lib/server/registry-auth.ts41export function canReattachAuthOnRedirect(from: string, to: string): boolean {CODE
LOW⚡src/lib/server/docker.ts3861export async function getRegistryManifestDigest(imageName: string, _envId?: number | null, signal?: AbortSignal): PromisCODE
LOW⚡src/lib/server/docker.ts3865export async function getRegistryManifestDigestDetailed(imageName: string, _envId?: number | null, signal?: AbortSignal)CODE
LOW⚡src/lib/server/docker.ts3874async function getRegistryImageCreatedAt(imageName: string, digest: string, envId?: number | null, parentSignal?: AbortSCODE
LOWsrc/lib/server/docker.ts2046async function recreateSystemdManagedContainer(CODE
LOWsrc/lib/server/docker.ts2135async function findRunningContainerByName(CODE
LOWsrc/lib/server/docker.ts2211export async function recreateContainerFromInspect(CODE
LOWsrc/lib/server/docker.ts2699export async function createContainerFromMetadata(CODE
LOWsrc/lib/server/docker.ts3322export async function getImageReleaseAgeWarning(imageName: string, envId?: number | null): Promise<string | null> {CODE
LOWsrc/lib/server/docker.ts3756async function harborListProjectRepositories(baseUrl: string, project: string, headers: Record<string, string>): PromiseCODE
LOWsrc/lib/server/docker.ts3985async function localImageMatchesRegistry(CODE
LOWsrc/lib/server/docker.ts4048export async function checkImageUpdateAvailable(CODE
LOWsrc/lib/server/docker.ts4695export async function connectContainerToNetwork(CODE
LOWsrc/lib/server/docker.ts4748export async function connectContainerToNetworkRaw(CODE
LOWsrc/lib/server/docker.ts4775export async function disconnectContainerFromNetwork(CODE
LOWsrc/lib/server/docker.ts5382export async function runContainerWithStreaming(options: {CODE
LOWsrc/lib/server/docker.ts6541export async function getOrCreateVolumeHelperContainer(CODE
LOWsrc/lib/server/docker.ts6541export async function getOrCreateVolumeHelperContainer(CODE
LOWsrc/lib/server/docker.ts6618export async function createVolumeHelperContainer(CODE
LOWsrc/lib/server/docker.ts6630export async function releaseVolumeHelperContainer(CODE
212 more matches not shown…
Structural Annotation Overuse42 hits · 77 pts
SeverityFileLineSnippetContext
LOWscripts/emergency/reset-db.sh5# WARNING: This will DELETE ALL DATA!COMMENT
LOWscripts/emergency/restore-db.sh5# WARNING: This will overwrite the current database!COMMENT
LOWscripts/emergency/sqlite/reset-db.sh4# WARNING: This will DELETE ALL DATA including users, settings, and activity logs!COMMENT
LOWscripts/emergency/sqlite/restore-db.sh4# WARNING: This will overwrite the current database!COMMENT
LOWscripts/emergency/postgres/reset-db.sh4# WARNING: This will DELETE ALL DATA including users, settings, and activity logs!COMMENT
LOWscripts/emergency/postgres/restore-db.sh4# WARNING: This will overwrite the current database!COMMENT
LOW⚡src/lib/server/docker.ts3649 // Step 1: check the WWW-Authenticate header from /v2/COMMENT
LOW⚡src/lib/server/docker.ts3656 // Step 2: confirm via /api/v2.0/pingCOMMENT
LOW⚡src/lib/server/env-interpolation.ts16 // Step 1: Find lines matching `- ENV_KEY=...${...}...`COMMENT
LOW⚡src/lib/server/env-interpolation.ts23 // Step 2: Extract all ${VAR} references from the valueCOMMENT
LOWsrc/lib/server/git.ts1833 // Step 1: ConnectingCOMMENT
LOW⚡src/lib/server/git.ts1845 // Step 2: CloningCOMMENT
LOW⚡src/lib/server/git.ts1855 // Step 3: Fetching (blobless clone - fetches all commits but blobs on-demand)COMMENT
LOWsrc/lib/server/git.ts1896 // Step 4: Reading compose fileCOMMENT
LOWsrc/lib/server/git.ts1981 // Step 5: Deploying stackCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts451 // Step 1: Pull new imageCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts459 // Step 2: Get new image IDCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts466 // Step 3: SAFETY - Restore original tag to old imageCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts471 // Step 4: Tag new image with temp suffixCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts475 // Step 5: Scan the immutable image IDCOMMENT
LOWsrc/lib/server/registry/auth-header.ts44 // Step 1: Challenge request to /v2/ (always at registry root, not under org path).COMMENT
LOWsrc/lib/server/registry/auth-header.ts66 // Step 2: Parse WWW-Authenticate headerCOMMENT
LOWsrc/lib/server/registry/auth-header.ts101 // Step 3: Request token from realm (with credentials if available).COMMENT
LOWsrc/lib/server/registry/manifest-digest.ts108 // Step 1: Challenge request to /v2/COMMENT
LOWsrc/lib/server/registry/manifest-digest.ts130 // Step 2: Parse WWW-Authenticate headerCOMMENT
LOWsrc/lib/server/registry/manifest-digest.ts160 // Step 3: Request token from realm (with credentials if available).COMMENT
LOW⚡src/routes/dashboard/DraggableGrid.svelte166 // Step 1: Push items that directly collide with the moved itemCOMMENT
LOW⚡src/routes/dashboard/DraggableGrid.svelte176 // Step 2: Resolve cascading collisions by sorting top-to-bottom and pushing downCOMMENT
LOWsrc/routes/api/registries/test/+server.ts70 // Step 1: connectivity — can we reach /v2/ at all?COMMENT
LOWsrc/routes/api/registries/test/+server.ts88 // Step 2: if credentials provided, test authentication.COMMENT
LOWsrc/routes/api/registry/image/+server.ts74 // Step 1: Resolve manifest digest. Try each type individually becauseCOMMENT
LOWsrc/routes/api/registry/image/+server.ts100 // Step 2: Delete the manifest by digest using the matched typeCOMMENT
LOW⚡src/routes/api/self-update/+server.ts263 // Step 1: Pull the new Dockhand imageCOMMENT
LOW⚡src/routes/api/self-update/+server.ts270 // Step 2: Build container config from self-inspectCOMMENT
LOW⚡src/routes/api/self-update/+server.ts290 // Step 3: Pull the updater imageCOMMENT
LOW⚡src/routes/api/self-update/+server.ts297 // Step 4: Create new container with temp nameCOMMENT
LOWsrc/routes/api/self-update/+server.ts337 // Step 5: Launch updater sidecar (point of no return)COMMENT
LOW…c/routes/api/containers/batch-update-stream/+server.ts314 // Step 1: Pull latest imageCOMMENT
LOW…c/routes/api/containers/batch-update-stream/+server.ts387 // Step 2: Scan temp imageCOMMENT
LOW⚡src/routes/backups/CreateBackupModal.svelte37 // Step 1: Select sourceCOMMENT
LOW⚡src/routes/backups/CreateBackupModal.svelte45 // Step 2: ConfigureCOMMENT
LOWsrc/routes/backups/CreateBackupModal.svelte90 // Step 3: Schedule & RunCOMMENT
Over-Commented Block78 hits · 75 pts
SeverityFileLineSnippetContext
LOWdocker-entrypoint-node.sh101 adduser -u "$PUID" -G "$TARGET_GROUP" -h /home/dockhand -D dockhandCOMMENT
LOWtests/preview-env-security.test.ts221 });COMMENT
LOWtests/deploy-endpoints.test.ts481 });COMMENT
LOWtests/deploy-log-store.test.ts201 // not a permanent miss.COMMENT
LOWtests/fs-guard.test.ts1import { describe, test, expect, beforeAll, afterAll } from 'bun:test';COMMENT
LOWtests/deploy-run-record.test.ts241 await recorder.end(false, undefined, 'exit code 1');COMMENT
LOWupdater/update.sh1#!/bin/shCOMMENT
LOWscripts/emergency/export-stacks.sh1#!/bin/shCOMMENT
LOWscripts/emergency/reset-mfa.sh1#!/bin/shCOMMENT
LOWscripts/emergency/relocate-stack-paths.sh1#!/bin/shCOMMENT
LOWscripts/emergency/reset-password.sh1#!/bin/shCOMMENT
LOWscripts/emergency/reset-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/_relocate-common.sh1#!/bin/shCOMMENT
LOWscripts/emergency/create-admin.sh1#!/bin/shCOMMENT
LOWscripts/emergency/backup-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/restore-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/sqlite/reset-mfa.sh1#!/bin/shCOMMENT
LOWscripts/emergency/sqlite/reset-password.sh1#!/bin/shCOMMENT
LOWscripts/emergency/sqlite/create-admin.sh1#!/bin/shCOMMENT
LOWscripts/emergency/sqlite/backup-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/sqlite/restore-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/reset-mfa.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/reset-password.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/list-users.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/create-admin.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/backup-db.sh1#!/bin/shCOMMENT
LOWscripts/emergency/postgres/restore-db.sh1#!/bin/shCOMMENT
LOWscripts/openapi/lib.ts201// * pointer to a related endpoint)COMMENT
LOWscripts/openapi/lib.ts321 return 0;COMMENT
LOWscripts/openapi/lib.ts561COMMENT
LOWsrc/lib/env-merge.ts1// Merge a git stack's repo .env vars with its DB override vars for display in theCOMMENT
LOWsrc/lib/server/stacks.ts1341 // Anchor for everything compose-adjacent: the directory the compose fileCOMMENT
LOWsrc/lib/server/stacks.ts2921 return withStackLock(stackName, async () => {COMMENT
LOWsrc/lib/server/stacks.ts3841// what the provider supports:COMMENT
LOWsrc/lib/server/crash-guard.ts1// Process-level safety net: a rejected promise that nothing awaits (e.g. an abortedCOMMENT
LOWsrc/lib/server/git-branch-lookup.ts61 if (bracket) return bracket[1].toLowerCase();COMMENT
LOWsrc/lib/server/dns-dispatcher.ts1import { setGlobalDispatcher, Agent, EnvHttpProxyAgent, type Dispatcher } from 'undici';COMMENT
LOWsrc/lib/server/dns-dispatcher.ts141// the backup helper's restic progress). undici's default bodyTimeout (300s) aborts aCOMMENT
LOWsrc/lib/server/host-path.ts581 // We look for patterns like:COMMENT
LOWsrc/lib/server/docker.ts2381 // A container's Config.Env/Labels are flattened at create time, so the oldCOMMENT
LOWsrc/lib/server/docker.ts3101 const existingOptions = extractContainerOptions(oldContainerInfo);COMMENT
LOWsrc/lib/server/docker.ts4121 return { hasUpdate: false, currentDigest: currentRepoDigests[0] ?? currentImageId, localDigests };COMMENT
LOWsrc/lib/server/docker.ts5481 // On some Docker hosts (e.g. Synology NAS with older kernels), follow=trueCOMMENT
LOWsrc/lib/server/docker.ts5501 // leave exitCode undefined — the guard below fails closed on undefined.COMMENT
LOWsrc/lib/server/sse.ts141 // end() is still counted as "attempted" and never retried.COMMENT
LOWsrc/lib/server/preview-env-handler.ts101 */COMMENT
LOWsrc/lib/server/scanner.ts861COMMENT
LOWsrc/lib/server/git.ts1501 console.log(`${logPrefix} Calling deployStack...`);COMMENT
LOWsrc/lib/server/git.ts1781 const repoPath = await getStackRepoPath(stackId, gitStack.stackName, gitStack.environmentId);COMMENT
LOWsrc/lib/server/git.ts2041 } catch (error) {COMMENT
LOWsrc/lib/server/git.ts2321 console.log(`${logPrefix} Temp directory: ${tempDir}`);COMMENT
LOWsrc/lib/server/db.ts4701 .returning({ id: scheduleExecutions.id });COMMENT
LOWsrc/lib/server/secretproviders/probe-cache.ts21}COMMENT
LOWsrc/lib/server/backups/restic.ts261 destination.hostPath || translateLocalRepoPath(repo)COMMENT
LOWsrc/lib/server/backups/restore-service.ts601 // swap writes to that exact path on `env`'s daemon. If `env` is NOT the snapshot'sCOMMENT
LOWsrc/lib/server/backups/retention.ts101 // held lock before giving up. This runs inside Dockhand's per-repo serializer, soCOMMENT
LOWsrc/lib/server/backups/backup-service.ts321 // regression in the selectedVolumes filter is visible in the execution log.COMMENT
LOWsrc/lib/server/backups/backup-service.ts361 ? `${v.source} → ${v.name}`COMMENT
LOWsrc/lib/server/backups/restore-script.ts121 // (e.g. two different snapshots restored into /srv/shared, from different repos soCOMMENT
LOWsrc/lib/server/backups/index.ts161 // ALL relative binds (files AND dirs), not just dirs: a single-file bind (./config.yaml)COMMENT
18 more matches not shown…
Verbosity Indicators36 hits · 68 pts
SeverityFileLineSnippetContext
LOW⚡src/lib/server/docker.ts3649 // Step 1: check the WWW-Authenticate header from /v2/COMMENT
LOW⚡src/lib/server/docker.ts3656 // Step 2: confirm via /api/v2.0/pingCOMMENT
LOW⚡src/lib/server/env-interpolation.ts16 // Step 1: Find lines matching `- ENV_KEY=...${...}...`COMMENT
LOW⚡src/lib/server/env-interpolation.ts23 // Step 2: Extract all ${VAR} references from the valueCOMMENT
LOWsrc/lib/server/git.ts1833 // Step 1: ConnectingCOMMENT
LOW⚡src/lib/server/git.ts1845 // Step 2: CloningCOMMENT
LOW⚡src/lib/server/git.ts1855 // Step 3: Fetching (blobless clone - fetches all commits but blobs on-demand)COMMENT
LOWsrc/lib/server/git.ts1896 // Step 4: Reading compose fileCOMMENT
LOWsrc/lib/server/git.ts1981 // Step 5: Deploying stackCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts451 // Step 1: Pull new imageCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts459 // Step 2: Get new image IDCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts466 // Step 3: SAFETY - Restore original tag to old imageCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts471 // Step 4: Tag new image with temp suffixCOMMENT
LOW⚡src/lib/server/scheduler/tasks/env-update-check.ts475 // Step 5: Scan the immutable image IDCOMMENT
LOWsrc/lib/server/registry/auth-header.ts44 // Step 1: Challenge request to /v2/ (always at registry root, not under org path).COMMENT
LOWsrc/lib/server/registry/auth-header.ts66 // Step 2: Parse WWW-Authenticate headerCOMMENT
LOWsrc/lib/server/registry/auth-header.ts101 // Step 3: Request token from realm (with credentials if available).COMMENT
LOWsrc/lib/server/registry/manifest-digest.ts108 // Step 1: Challenge request to /v2/COMMENT
LOWsrc/lib/server/registry/manifest-digest.ts130 // Step 2: Parse WWW-Authenticate headerCOMMENT
LOWsrc/lib/server/registry/manifest-digest.ts160 // Step 3: Request token from realm (with credentials if available).COMMENT
LOW⚡src/routes/dashboard/DraggableGrid.svelte166 // Step 1: Push items that directly collide with the moved itemCOMMENT
LOW⚡src/routes/dashboard/DraggableGrid.svelte176 // Step 2: Resolve cascading collisions by sorting top-to-bottom and pushing downCOMMENT
LOWsrc/routes/api/registries/test/+server.ts70 // Step 1: connectivity — can we reach /v2/ at all?COMMENT
LOWsrc/routes/api/registries/test/+server.ts88 // Step 2: if credentials provided, test authentication.COMMENT
LOWsrc/routes/api/registry/image/+server.ts74 // Step 1: Resolve manifest digest. Try each type individually becauseCOMMENT
LOWsrc/routes/api/registry/image/+server.ts100 // Step 2: Delete the manifest by digest using the matched typeCOMMENT
LOW⚡src/routes/api/self-update/+server.ts263 // Step 1: Pull the new Dockhand imageCOMMENT
LOW⚡src/routes/api/self-update/+server.ts270 // Step 2: Build container config from self-inspectCOMMENT
LOW⚡src/routes/api/self-update/+server.ts290 // Step 3: Pull the updater imageCOMMENT
LOW⚡src/routes/api/self-update/+server.ts297 // Step 4: Create new container with temp nameCOMMENT
LOWsrc/routes/api/self-update/+server.ts337 // Step 5: Launch updater sidecar (point of no return)COMMENT
LOW…c/routes/api/containers/batch-update-stream/+server.ts314 // Step 1: Pull latest imageCOMMENT
LOW…c/routes/api/containers/batch-update-stream/+server.ts387 // Step 2: Scan temp imageCOMMENT
LOW⚡src/routes/backups/CreateBackupModal.svelte37 // Step 1: Select sourceCOMMENT
LOW⚡src/routes/backups/CreateBackupModal.svelte45 // Step 2: ConfigureCOMMENT
LOWsrc/routes/backups/CreateBackupModal.svelte90 // Step 3: Schedule & RunCOMMENT
Example Usage Blocks29 hits · 44 pts
SeverityFileLineSnippetContext
LOWscripts/emergency/export-stacks.sh6# Usage:COMMENT
LOWscripts/emergency/clear-sessions.sh6# Usage:COMMENT
LOWscripts/emergency/reset-mfa.sh6# Usage:COMMENT
LOWscripts/emergency/relocate-stack-paths.sh15# Usage:COMMENT
LOWscripts/emergency/disable-auth.sh6# Usage:COMMENT
LOWscripts/emergency/reset-password.sh6# Usage:COMMENT
LOWscripts/emergency/reset-db.sh7# Usage:COMMENT
LOWscripts/emergency/list-users.sh6# Usage:COMMENT
LOWscripts/emergency/create-admin.sh6# Usage:COMMENT
LOWscripts/emergency/backup-db.sh6# Usage:COMMENT
LOWscripts/emergency/restore-db.sh7# Usage:COMMENT
LOWscripts/emergency/sqlite/clear-sessions.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/reset-mfa.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/disable-auth.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/reset-password.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/reset-db.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/list-users.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/create-admin.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/backup-db.sh6# Usage:COMMENT
LOWscripts/emergency/sqlite/restore-db.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/clear-sessions.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/reset-mfa.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/disable-auth.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/reset-password.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/reset-db.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/list-users.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/create-admin.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/backup-db.sh6# Usage:COMMENT
LOWscripts/emergency/postgres/restore-db.sh6# Usage:COMMENT
Redundant / Tautological Comments24 hits · 36 pts
SeverityFileLineSnippetContext
LOWscripts/emergency/export-stacks.sh26# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/clear-sessions.sh23# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/reset-mfa.sh34# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/reset-mfa.sh45# Check if user existsCOMMENT
LOWscripts/emergency/sqlite/disable-auth.sh23# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/reset-password.sh41# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/reset-password.sh52# Check if user existsCOMMENT
LOWscripts/emergency/sqlite/reset-password.sh86# Check if node and argon2 are availableCOMMENT
LOWscripts/emergency/sqlite/reset-db.sh32# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/list-users.sh20# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/list-users.sh48 # Check if user has Admin roleCOMMENT
LOWscripts/emergency/sqlite/create-admin.sh30# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/create-admin.sh64# Check if admin user already existsCOMMENT
LOWscripts/emergency/sqlite/create-admin.sh87 # Check if user already has Admin roleCOMMENT
LOWscripts/emergency/sqlite/backup-db.sh26# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/restore-db.sh40# Check if running locally (not in Docker)COMMENT
LOWscripts/emergency/sqlite/restore-db.sh45# Check if backup file existsCOMMENT
LOWscripts/emergency/postgres/reset-mfa.sh41# Check if user exists using psqlCOMMENT
LOWscripts/emergency/postgres/reset-password.sh65# Check if user existsCOMMENT
LOWscripts/emergency/postgres/reset-password.sh102# Check if node and argon2 are availableCOMMENT
LOWscripts/emergency/postgres/list-users.sh61 # Check if user has Admin roleCOMMENT
LOWscripts/emergency/postgres/create-admin.sh77# Check if admin user already existsCOMMENT
LOWscripts/emergency/postgres/create-admin.sh100 # Check if user already has Admin roleCOMMENT
LOWscripts/emergency/postgres/restore-db.sh64# Check if backup file existsCOMMENT
Modern AI Meta-Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtests/backups/restore-script.test.ts272 // script's scaffold cleanup (`rm -rf <staging>/volumes`) depends on that.COMMENT
MEDIUMtests/backups/restore-script.test.ts285 // scaffold. Reproduce restic's output layout exactly.COMMENT
MEDIUMscripts/generate-openapi.ts319// --scaffold <file>COMMENT
MEDIUMscripts/openapi/lib.ts457// --scaffold (starting point). Deliberately conservative: false negativesCOMMENT
MEDIUMscripts/openapi/lib.ts466 // shallowly (verified via spot-check across the annotated + scaffold sets).COMMENT
MEDIUMsrc/lib/server/backups/restore-script.ts132 // straight into the mount and `rm -rf`-ing a `volumes` scaffold there - thatCOMMENT
Decorative Section Separators5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtests/secret-masking.test.ts51// ─── parseEnvInterpolation ─────────────────────────────────────────COMMENT
MEDIUMtests/secret-masking.test.ts195// ─── buildMaskSet (simulates getSecretKeysToMask) ──────────────────COMMENT
MEDIUMtests/secret-masking.test.ts247// ─── Provider-injected keys (H1) ───────────────────────────────────COMMENT
MEDIUMtests/secret-masking.test.ts289// ─── Full masking pipeline ─────────────────────────────────────────COMMENT
MEDIUMsrc/routes/stacks/StackModal.svelte343 // ─── Path State (Simplified) ─────────────────────────────────────────────────COMMENT
Fake / Example Data10 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/container-labels.test.ts212 'maintainer': 'admin@example.com',CODE
LOWsrc/routes/settings/auth/users/UserModal.svelte383 placeholder={isEditing ? 'admin@example.com' : 'john@example.com'}CODE
LOWsrc/routes/settings/auth/users/UserModal.svelte393 placeholder={isEditing ? 'Administrator' : 'John Doe'}CODE
LOW…routes/settings/notifications/NotificationModal.svelte412 <Input id="notif-smtp-username" bind:value={formSmtpUsername} placeholder="user@example.com" />CODE
LOWsrc/routes/api/auth/login/+server.ts25 * resp-200-example: {"success":true,"user":{"id":1,"username":"admin","email":"admin@example.com","displayName":"Admin"COMMENT
LOWsrc/routes/api/auth/session/+server.ts11 * resp-200-example: {"authenticated":true,"authEnabled":true,"user":{"id":1,"username":"admin","email":"admin@example.cCOMMENT
LOWsrc/routes/api/profile/+server.ts60 * body-example: {"displayName":"Jane Doe","currentPassword":"***","newPassword":"***"}COMMENT
LOWsrc/routes/api/users/+server.ts23 * resp-200-example: [{"id":1,"username":"admin","email":"admin@example.com","displayName":"Admin","isAdmin":true,"isActCOMMENT
LOWsrc/routes/api/users/+server.ts84 * body-example: {"username":"jdoe","email":"jdoe@example.com","password":"correct horse battery staple","displayName":"COMMENT
LOWsrc/routes/api/users/[id]/+server.ts89 * body-example: {"displayName":"Jane Doe","email":"jane@example.com"}COMMENT