AI Slop Code Risk Monitor

rcourtman/Pulse

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

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rcourtman/Pulse, a Go project with 6,998 GitHub stars. SynthScan examined 2,855,836 lines of code across 8807 source files, recording 6325 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 2.5 (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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.0K
Stars
Go
Language
2.9M
Lines of Code
8.8K
Files
6.3K
Pattern Hits
2026-10-31
Scan Date
0.01
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 9.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.3/100 · LOW

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

Agent Over-Engineering Ratio 8.1/100 · LOW

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

PR Review Velocity Impact 12.0/100 · LOW

Which changes need focused human review? 6325 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 1HIGH 98MEDIUM 249LOW 5977

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 6325 distinct pattern matches across 24 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 Identifiers4648 hits · 4307 pts
SeverityFileLineSnippetContext
LOWfrontend-modern/src/App.tsx89function isWorkspaceEntryRoutePath(pathname: string): boolean {CODE
LOWfrontend-modern/src/App.tsx129export function resolvePlatformNavigationAdmission(CODE
LOWfrontend-modern/src/App.tsx172export function sessionCanReadUpdateStatus(CODE
LOWfrontend-modern/src/App.tsx221function GlobalUpdateProgressWatcher() {CODE
LOWfrontend-modern/src/AppLayout.tsx88function resolveStandaloneSubTabTitle(pathname: string): string {CODE
LOWfrontend-modern/src/AppLayout.tsx108function resolvePrimaryNavigationRoute(tab: PrimaryTab, routeMemory: PrimaryRouteMemory): string {CODE
LOWfrontend-modern/src/AppLayout.tsx119export function resetPrimaryNavigationRouteMemory() {CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts289export function buildTrueNASSystemChildCounts(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts345export function buildTrueNASStorageChildCounts(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts409export function buildTrueNASStorageTopologyRows(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts564function filterTrueNASStorageTopologyRow(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts581export function filterTrueNASStorageTopologyRows(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts611export function filterTrueNASStorageTopologyRowsByKind(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts718export function mapTrueNASIncidentSeverity(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts742function getTrueNASDiskHeatSummary(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts758export function getTrueNASStorageDotStatus(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts874export function mapTrueNASProtectionStatus(point: RecoveryPoint): TrueNASProtectionStatusBucket {CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts887export function buildTrueNASProtectionPosture(CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts981export function sortTrueNASProtectionPoints(points: readonly RecoveryPoint[]): RecoveryPoint[] {CODE
LOW…ontend-modern/src/features/truenas/truenasPageModel.ts1002export function filterTrueNASProtectionPoints(CODE
LOW…-modern/src/features/docker/dockerImagePresentation.ts71export function getDockerImageOperationalPresentation(CODE
LOWfrontend-modern/src/features/docker/dockerPageModel.ts432export function buildDockerNetworkAttachmentRows(CODE
LOWfrontend-modern/src/features/docker/dockerPageModel.ts507export function dockerResourceSearchHaystack(resource: Resource): string {CODE
LOWfrontend-modern/src/features/docker/dockerPageModel.ts647export function mapDockerIncidentSeverity(CODE
LOW…odern/src/features/docker/DockerHostDrawerOverview.tsx127export function DockerHostDrawerManagement(props: { host: Resource }) {CODE
LOW…end-modern/src/features/docker/dockerImageReference.ts32export function getDockerImageRegistryLink(CODE
LOW…end-modern/src/features/docker/dockerImageReference.ts89export function splitDockerImageReference(reference: string): { head: string; tail: string } {CODE
LOW…n/src/features/docker/DockerIdentityConflictNotice.tsx18export function DockerIdentityConflictNotice(props: DockerIdentityConflictNoticeProps) {CODE
LOW…d-modern/src/features/docker/dockerIdentityConflict.ts13export function collectIdentityConflictHosts(hosts: Resource[]): IdentityConflictHost[] {CODE
LOW…c/features/platformPage/platformEstateOverviewModel.ts15export function buildProxmoxEstateTopology(resources: readonly Resource[]): ProxmoxEstateTopology {CODE
LOW…modern/src/features/platformPage/PlatformHostScope.tsx50export function createPlatformHostScopeFocus() {CODE
LOW…ntend-modern/src/features/platformPage/agentVersion.ts71export function collectOutdatedAgentHosts(CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx250export function PlatformTableLoadingState(props: { title: string; description: string }) {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx290export function getPlatformTableResponsiveMinWidthClass(tableClass?: string): string {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx326export function PlatformDetailTableHeader(props: { children: JSX.Element; class?: string }) {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx406export function PlatformTablePreviewFooter(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx495export function PlatformResponsiveTableLabel(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx798export function PlatformTableDateTimeValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx840export function PlatformTableRelativeTimeValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx888export function PlatformTableDurationValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx984export function formatPlatformTableCountRatioValue(CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx995export function PlatformTableCountRatioValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx1050export function PlatformTablePercentValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx1074export function PlatformTableTemperatureValue(props: {CODE
LOW…odern/src/features/platformPage/sharedPlatformPage.tsx1095export function PlatformTableMetricFallback(props: { label?: string; title?: string } = {}) {CODE
LOW…res/platformPage/PlatformOutdatedSensorSetupNotice.tsx25export function PlatformOutdatedSensorSetupNotice(props: PlatformOutdatedSensorSetupNoticeProps) {CODE
LOW…ontend-modern/src/features/platformPage/sensorSetup.ts57export function collectOutdatedSensorSetupNodes(nodes: Resource[]): OutdatedSensorSetupNode[] {CODE
LOW…/features/platformPage/PlatformOutdatedAgentNotice.tsx33export function PlatformOutdatedAgentNotice(props: PlatformOutdatedAgentNoticeProps) {CODE
LOW…atures/platformPage/PlatformResourceDetailTableRow.tsx49export function getPlatformResourceDetailRowInteractionProps(CODE
LOW…atures/platformPage/PlatformResourceDetailTableRow.tsx79export function createPlatformResourceDetailState(options: {CODE
LOW…atures/platformPage/PlatformResourceDetailTableRow.tsx107export function createPlatformResourceLabelResolver(resources: () => readonly Resource[]) {CODE
LOW…-modern/src/features/standalone/standalonePageModel.ts67export function buildStandalonePostureSummary(CODE
LOW…-modern/src/features/standalone/standalonePageModel.ts114export function sortStandaloneResourcesByAttention(CODE
LOW…modern/src/features/standalone/hostIdentityConflict.ts18export function collectHostIdentityConflictHosts(hosts: Resource[]): HostIdentityConflictHost[] {CODE
LOW…src/features/standalone/HostIdentityConflictNotice.tsx29export function HostIdentityConflictNotice(props: HostIdentityConflictNoticeProps) {CODE
LOW…ern/src/features/proxmox/ProxmoxBackupServersTable.tsx159function BackupServerDatastoreContext(props: {CODE
LOW…ern/src/features/proxmox/ProxmoxBackupServersTable.tsx523export function ProxmoxBackupServersTable(props: {CODE
LOW…/features/proxmox/proxmoxBackupActivityPresentation.ts62export function getBackupActivitySegmentPresentation(CODE
LOW…/features/proxmox/proxmoxBackupActivityPresentation.ts76export function getBackupActivityUnknownCount(point: BackupActivityPoint): number {CODE
LOW…/features/proxmox/proxmoxBackupActivityPresentation.ts164export function getBackupActivityTooltipRows(CODE
4588 more matches not shown…
Over-Commented Block610 hits · 607 pts
SeverityFileLineSnippetContext
LOWinstall.sh4381 fiCOMMENT
LOWinstall.sh4741auto_update_helper_is_sane() {COMMENT
LOWinstall.sh4761#COMMENT
LOWinstall.sh4981StandardError=journalCOMMENT
LOW.gitguardian.yaml21 match: "PULSE_URL_PLACEHOLDER"COMMENT
LOWfrontend-modern/src/types/workloads.ts81 // Server-evaluated capability refusals from the unified resource. TheCOMMENT
LOW…ern/src/features/proxmox/ProxmoxBackupServersTable.tsx41 type BackupServerColumnId,COMMENT
LOW…ntend-modern/src/features/proxmox/ProxmoxCephTable.tsx41// Ceph clusters are first-class Resources (type='ceph') with structuredCOMMENT
LOW…odern/src/features/proxmox/ProxmoxMailGatewayTable.tsx161 emptyTitle: string;COMMENT
LOW…features/storageBackups/diskTemperaturePresentation.ts1import type { PhysicalDiskCollectionStatus, PhysicalDiskFieldStatus } from '@/types/resource';COMMENT
LOW…_tests__/cephRecordPresentation.branchcov0712b.test.ts641// * consolidateCephClusterPoolRecords L92 survivor spread — requires aCOMMENT
LOW…ckups/__tests__/zfsPresentation.branchcov0712b.test.ts21 }) as ZFSDevice;COMMENT
LOW…sts__/storagePoolRowPresentation.branchcov0713.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…ckups/__tests__/rowPresentation.branchcov0712b.test.ts261 } as unknown as StorageRecord;COMMENT
LOW…tests__/storageBarPresentation.branchcov0723pm.test.ts21 scan: 'none',COMMENT
LOW…tests__/storageBarPresentation.branchcov0723pm.test.ts41// L64 `zfsPool.scan || ''`COMMENT
LOW…tests__/storageBarPresentation.branchcov0723pm.test.ts261COMMENT
LOW…torageCapacityDeltaPresentation.branchcov0712b.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…erts/__tests__/alertHistoryModel.branchcov0713.test.ts101//COMMENT
LOW…__tests__/alertDestinationsModel.branchcov0713.test.ts381 });COMMENT
LOW…odern/src/features/kubernetes/KubernetesNodesTable.tsx41import {COMMENT
LOW…n/__tests__/platformNavigationModel.branchcov2.test.ts41COMMENT
LOW…n/__tests__/platformNavigationModel.branchcov2.test.ts101COMMENT
LOWfrontend-modern/src/stores/websocket.ts461COMMENT
LOWfrontend-modern/src/stores/websocket.ts481 // reacting to the operator. Bare pointer movement deliberately does notCOMMENT
LOWfrontend-modern/src/utils/patrolSummaryPresentation.ts1import type { PatrolRunRecord } from '@/api/patrol';COMMENT
LOW…s__/aiPatrolSchedulePresentation.branchcov0713.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…__tests__/alertEmailPresentation.branchcov0718.test.ts41// - both arms of getAlertEmailUsernamePlaceholder ('SendGrid' vs 'SMTP2GO'),COMMENT
LOW…_/alertResourceTablePresentation.branchcov0718.test.ts21//COMMENT
LOW…ests__/alertHistoryPresentation.branchcov0712c.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…__/availabilityProbePresentation.branchcov0719.test.ts1import { afterEach, describe, expect, it, vi } from 'vitest';COMMENT
LOW…tests__/alertConfigPresentation.branchcov0712b.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…ests__/securityScorePresentation.branchcov0718.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…ests__/securityScorePresentation.branchcov0718.test.ts21// "Review the remaining..." message retained).COMMENT
LOW…tests__/auditWebhookPresentation.branchcov0718.test.ts21// v8 reports the module at 100% branch coverage but only ~43% function coverageCOMMENT
LOW…_tests__/resourceMetadataEvents.branchcov0712c.test.ts1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';COMMENT
LOW…ts__/resourceBadgePresentation.branchcov0725am.test.ts21// Every one of those arms is UNREACHABLE BY CONSTRUCTION. They are defensiveCOMMENT
LOW…tests__/securityAuthPresentation.branchcov0713.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…/__tests__/nodeModalPresentation.branchcov0718.test.ts21//COMMENT
LOW…/__tests__/nodeModalPresentation.branchcov0718.test.ts61// getNodeMonitoringCoverageCopy — pbs input (sibling only asserted pve + pmg).COMMENT
LOW…tructureOnboardingPresentation.branchcov0723pm.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…__/alertDestinationsPresentation.branchcov0718.test.ts41 // Error-copy constants reused as comparison anchors for the new branches.COMMENT
LOW…_/unifiedAgentStatusPresentation.branchcov0713.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…tests__/k8sNamespacePresentation.branchcov0718.test.ts21// getK8sNamespacesEmptyState(true|false).COMMENT
LOW…/utils/__tests__/aiCostPresentation.branchcov2.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOWfrontend-modern/src/components/updateReadinessModel.ts1// Decision logic for the post-update reload in UpdateProgressModal.COMMENT
LOW…odern/src/components/Settings/connectionsTableModel.ts941 if (isPassiveAgentRolloutConfirmationFallbackSignal(signal, hasPassiveAgentConfigConfirmation))COMMENT
LOW…ettings/__tests__/nodeModalModel.branchcov0712.test.ts21// * `host.trim()` then `if (!value) return ''` — empty + whitespace-onlyCOMMENT
LOW…ettings/__tests__/nodeModalModel.branchcov0712.test.ts81 it('strips a leading http(s):// scheme inside the catch arm', () => {COMMENT
LOW…areConnectionFailurePresentation.branchcov0712.test.ts21} from '../vmwareConnectionFailurePresentation';COMMENT
LOW…InfrastructureOperationsState.branchcov0722pm.test.tsx1import { unixBootstrapTestSource } from '@/utils/__tests__/unixBootstrapTestSource';COMMENT
LOW…tings/__tests__/nodeModalModel.branchcov0724pm.test.ts21 ip: '10.0.0.1',COMMENT
LOW…/__tests__/settingsNavVisibility.branchcov0713.test.ts1import { describe, expect, it, vi } from 'vitest';COMMENT
LOW…/__tests__/settingsNavVisibility.branchcov0713.test.ts21// - requiredCapability {resolved + missing} (L168-172)COMMENT
LOW…ed/__tests__/commandPaletteModel.branchcov0712.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…ed/__tests__/commandPaletteModel.branchcov0713.test.ts21// its `toLowerCase().trim().replace(/\s+/g, '')` pipeline and everyCOMMENT
LOW…d/__tests__/commandPaletteModel.branchcov0712c.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…ponents/AI/__tests__/aiChatUtils.branchcov0712.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…trol/__tests__/toolPresentation.branchcov0712b.test.ts1import { describe, expect, it } from 'vitest';COMMENT
LOW…trol/__tests__/toolPresentation.branchcov0712b.test.ts21// post-value `)` break (line 298), end-of-body right after `=` (line 267),COMMENT
550 more matches not shown…
Decorative Section Separators134 hits · 400 pts
SeverityFileLineSnippetContext
MEDIUM…ern/src/components/shared/__tests__/TagBadges.test.tsx4// ── Hoisted mocks ──────────────────────────────────────────────────────COMMENT
MEDIUM…ern/src/components/shared/__tests__/TagBadges.test.tsx22// ── Module mocks ───────────────────────────────────────────────────────COMMENT
MEDIUM…ern/src/components/shared/__tests__/TagBadges.test.tsx69// ── Helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ern/src/components/shared/__tests__/TagBadges.test.tsx93// ── Tests ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…d-modern/src/components/Workloads/GuestDrawer.test.tsx21// ── Mocks ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…d-modern/src/components/Workloads/GuestDrawer.test.tsx108// ── Helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUM…d-modern/src/components/Workloads/GuestDrawer.test.tsx189// ── Tests ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…n/src/components/Workloads/__tests__/GuestRow.test.tsx9// ── Hoisted mocks ──────────────────────────────────────────────────────COMMENT
MEDIUM…n/src/components/Workloads/__tests__/GuestRow.test.tsx16// ── Module mocks ───────────────────────────────────────────────────────COMMENT
MEDIUM…n/src/components/Workloads/__tests__/GuestRow.test.tsx159// ── Helpers ────────────────────────────────────────────────────────────COMMENT
MEDIUM…n/src/components/Workloads/__tests__/GuestRow.test.tsx219// ── Setup / Teardown ───────────────────────────────────────────────────COMMENT
MEDIUM…n/src/components/Workloads/__tests__/GuestRow.test.tsx229// ── Tests ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/EnhancedCPUBar.test.tsx53 // ── Basic rendering ──────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/EnhancedCPUBar.test.tsx75 // ── Bar width ────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/EnhancedCPUBar.test.tsx135 // ── Cores display ────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/EnhancedCPUBar.test.tsx152 // ── Anomaly indicator ────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/EnhancedCPUBar.test.tsx246 // ── Tooltip ──────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx20// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx83// ── Rendering with no data ──────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx98 // ── Single disk (no stacking) ───────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx129 // ── Aggregate disk fallback ─────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx161 // ── Multiple disks (inline per-disk mode) ──────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx206 // ── Explicit stacked mode ──────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx254 // ── Aggregate mode with multiple disks ──────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx322 // ── Mini mode ──────────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx364 // ── Tooltip ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx435 // ── Color thresholds ──────────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx519 // ── Bar percent clamping ──────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx534 // ── Zero capacity edge case ─────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx554 // ── Anomaly indicator ──────────────────────────────────────────────────COMMENT
MEDIUM…components/Workloads/__tests__/StackedDiskBar.test.tsx599 // ── maxDiskInfo for aggregate mode ────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts50 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts52 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts90 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts92 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts147 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts149 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts175 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts177 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts337 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts339 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts446 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts448 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts489 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts491 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts611 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…s/Workloads/__tests__/useGroupedTableWindowing.test.ts613 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts42 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts44 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts77 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts79 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts133 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts135 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts193 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts195 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts302 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts304 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts423 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts425 // ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…nts/Infrastructure/__tests__/useTableWindowing.test.ts488 // ──────────────────────────────────────────────────────────────COMMENT
74 more matches not shown…
Cross-Language Confusion73 hits · 396 pts
SeverityFileLineSnippetContext
HIGHtests/integration/scripts/owned-run-browser.test.py55 if (!videos.length || videos.some(name => fs.statSync(results + '/' + name).size === 0)) throw Error('no finished viCODE
HIGHscripts/tests/test_server_removal_failures.py119 if [[ "$FLOW" == menu ]]; then main || exit $?; else uninstall_pulse || exit $?; fiCODE
HIGHscripts/tests/test_faq_deployment_docs.py49 self.assertIn("ok && trigger > 0", adapter)CODE
HIGHscripts/tests/test_faq_deployment_docs.py97 self.assertIn('props.envOverrides().discoveryEnabled || props.savingDiscoverySettings()', form)CODE
HIGHscripts/tests/test_playwright_acquisition.py142 "run: npx playwright install --with-deps chromium || true\n"),CODE
HIGHscripts/tests/test_audit_recovery_docs.py162 self.assertIn("resp.StatusCode < 200 || resp.StatusCode >= 300", self.sender)CODE
HIGHscripts/tests/test_ci_secret_scan.py225 self.assertIn("DIFF_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || githuSTRING
HIGHscripts/tests/test_server_directory_setup.py26chown_install_dir_for_pulse() { step install-owner || return 23; }CODE
HIGHscripts/tests/test_server_directory_setup.py27cat() { step env-write || return 23; command cat "$@"; }CODE
HIGH⚡scripts/tests/test_server_directory_setup.py75 result = self.shell('status=0\nsetup_directories || status=$?\n'STRING
HIGH⚡scripts/tests/test_server_directory_setup.py88 result = self.shell('status=0\nsetup_directories || status=$?\n'STRING
HIGHscripts/tests/test_server_directory_setup.py156main || status=$?CODE
HIGHscripts/tests/test_workflow_trust.py123 script: return trueCODE
HIGHscripts/tests/test_workflow_trust.py138 script: return trueCODE
HIGHscripts/tests/test_server_config_backups.py658main || status=$?CODE
HIGH⚡scripts/tests/test_e2e_test_images.py350 "run: npx playwright test --config=fixture-readiness.config.ts || true"),CODE
HIGHscripts/tests/test_e2e_test_images.py448 "run: node --test scripts/settings-scroll-audit.test.mjs || true\n"),CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py32 confirmations.push(message);CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py37 calls.push({path, ...init});CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py41 return {ok: result.status >= 200 && result.status < 300,CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py45 table: rows => tables.push(rows),CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py46 info: message => messages.push({kind: 'info', message}),CODE
HIGH⚡scripts/tests/test_patrol_rule_help.py47 error: message => messages.push({kind: 'error', message}),CODE
HIGHscripts/tests/test_deployment_update_docs.py79 "helm repo update &&", "docker stop pulse && docker rm pulse",CODE
HIGHscripts/tests/test_auto_update_service_state.py134 perform_update v6.6.0 || status=$?CODE
HIGHscripts/tests/test_auto_update_service_state.py726 'status=0\nverify_update_running_executable pulse-custom@department || status=$?\n'STRING
HIGHscripts/tests/test_go_test_compilation.py134 "PULSE_GO_COMPILE_BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || gitSTRING
HIGHscripts/tests/test_notification_runtime.py117 self.assertIn('rawRequest["telemetryEnabled"]; ok && h.config.EnvOverrides["PULSE_TELEMETRY"]', handler)CODE
HIGH⚡scripts/tests/test_server_service_discovery.py185 existing) check_existing_installation || status=$?CODE
HIGH⚡scripts/tests/test_server_service_discovery.py187 main|late-main) main || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py188 archive) install_pulse_archive "$FIXTURE/pulse-v6.6.0-linux-amd64.tar.gz" v6.6.0 || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py189 build) build_from_source main || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py190 automatic) perform_update v6.6.0 || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py191 uninstall) uninstall_pulse || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py192 reset) reset_pulse || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py193 unit) install_systemd_service || status=$? ;;CODE
HIGH⚡scripts/tests/test_server_service_discovery.py194 ensure-unit) ensure_systemd_service_installed || status=$? ;;CODE
HIGHscripts/tests/test_server_update_timer.py114 install_auto_update_assets || result=$?CODE
HIGH⚡scripts/tests/test_vm_disk_diagnostics.py740 "if (renderFrame !== null) { cancelAnimationFrame(renderFrame); renderFrame = null; }"STRING
HIGH⚡scripts/tests/test_vm_disk_diagnostics.py743 "if (disposed || pendingCount === 0) return; "STRING
HIGHscripts/tests/test_metric_alert_help_docs.py50 hold = producer.split('if !triggered && primary == "" {', 1)[1].split('return true', 1)[0]CODE
HIGHscripts/tests/test_server_start_admission.py77main || exit "$?"CODE
HIGHscripts/tests/test_server_start_admission.py105 body = 'start_pulse || exit "$?"\nprintf "FLAG=%s\\n" "$PULSE_WAS_ACTIVE"\n'STRING
HIGH⚡scripts/tests/test_pve_backup_troubleshooting_docs.py61 "cfg.BackupDefaults.WarningDays <= 0 && cfg.BackupDefaults.CriticalDays <= 0",CODE
HIGHscripts/tests/test_pve_backup_troubleshooting_docs.py337 self.assertNotIn('systemctl "$@" >/dev/null 2>&1 || true', helper)STRING
HIGHscripts/tests/test_server_script_publication.py139 build_from_source fixture || exit "$?"CODE
HIGHscripts/tests/test_server_script_publication.py159 main || exit "$?"CODE
HIGH⚡scripts/tests/test_release_backend_queue.py230while kill -0 "${{pids[0]}}" 2>/dev/null; do sleep .01; doneCODE
HIGH⚡scripts/tests/test_release_backend_queue.py232wait_for_task || status=$?CODE
HIGHscripts/tests/test_server_update_repair.py90main || status=$?CODE
HIGH⚡scripts/tests/test_agent_uninstall_docs.py119 self.assertIn('systemctl stop "$unit" >/dev/null 2>&1 || return 1', helper)CODE
HIGH⚡scripts/tests/test_agent_uninstall_docs.py120 self.assertIn('systemctl disable "$unit" >/dev/null 2>&1 || return 1', helper)CODE
HIGH⚡scripts/tests/test_api_reference_routes.py85 "if req.Method != http.MethodGet && req.Method != http.MethodHead {\n\t\t\tscope = config.ScopeMonitoringWrite"),CODE
HIGH⚡scripts/tests/test_api_reference_routes.py88 "if req.Method != http.MethodGet && req.Method != http.MethodHead {\n\t\t\tscope = config.ScopeMonitoringWrite"),CODE
HIGH⚡scripts/tests/test_api_reference_routes.py91 "if req.Method != http.MethodGet && req.Method != http.MethodHead {\n\t\t\tscope = config.ScopeMonitoringWrite"),CODE
HIGH⚡scripts/tests/test_npm_audit_retry.py470 self.assertEqual(finding["range"], "<=1.1.20 || 4.0.0 - 5.0.11")STRING
HIGHscripts/tests/test_npm_audit_retry.py433 "range": "<=1.1.20 || 4.0.0 - 5.0.11",STRING
HIGH⚡scripts/tests/test_release_lifecycle_rehearsal.py208 for payload in ("not json", "{}", "[]", '[{"tag_name":"v6.6.0"}]', '[[],{}]', '[[null]]'):CODE
HIGH⚡scripts/tests/test_release_lifecycle_rehearsal.py218 for payload in ("not json", "[]", "{}", '{"tag_name":null}'):CODE
HIGH⚡scripts/tests/test_agent_profile_docs.py96 self.assertIn("b && cfg.DockerExplicitlyDisabled", startup)CODE
13 more matches not shown…
Modern AI Meta-Vocabulary80 hits · 238 pts
SeverityFileLineSnippetContext
MEDIUMfrontend-modern/public/docs/PATROL_ARCHITECTURE.md52## The agentic loopCOMMENT
MEDIUM…tests__/WorkloadsSurface.performance.contract.test.tsx1198 // overview layout guardrails check the surface imports only its type.COMMENT
MEDIUMcmd/eval/main.go12// -scenario string Scenario to run: smoke, readonly, routing, routing-recovery, logs, readonly-recovery, search-id, diCOMMENT
MEDIUMinternal/repoctl/doc.go1// Package repoctl contains repository-level guardrails that enforceCOMMENT
MEDIUMinternal/cloudcp/cloud_audit_branchcov0723am_test.go243// CheckStorageGuardrails error, and a cfg with guardrails disabled returns nilCOMMENT
MEDIUMinternal/cloudcp/cloud_audit_branchcov0723am_test.go277// guardrails-disabled path in EnforceStorageAdmission never reaches theCOMMENT
MEDIUMinternal/unifiedresources/adapters.go3273// namespacedKubernetesResource assembles the Resource scaffold and namespacedCOMMENT
MEDIUMinternal/ai/service.go2289 // Stop the agentic loop when approvals are required.COMMENT
MEDIUMinternal/ai/service.go2708 // If any command needed approval, stop the agentic loop here.COMMENT
MEDIUMinternal/ai/patrol_run.go622 // Run agentic AI analysis — the LLM uses tools to investigate and reports findingsCOMMENT
MEDIUMinternal/ai/patrol_run.go1147 // Run agentic AI analysis on filtered state with scopeCOMMENT
MEDIUMinternal/ai/patrol.go11// runAIAnalysisState() ── agentic LLM loop with toolsCOMMENT
MEDIUMinternal/ai/patrol.go25// blocked command detection. Investigation guardrails and remediationCOMMENT
MEDIUMinternal/ai/patrol_ai.go2// system/user prompt construction, the agentic analysis loop, evaluation passes,COMMENT
MEDIUMinternal/ai/patrol_ai.go500// runAIAnalysis uses the agentic tool-driven approach to analyze infrastructure.COMMENT
MEDIUMinternal/ai/patrol_ai.go630 // Execute the agentic patrol loopCOMMENT
MEDIUMinternal/ai/patrol_ai.go1012// The new agentic prompt instructs the LLM to use investigation tools andCOMMENT
MEDIUMinternal/ai/patrol_ai.go1178// buildSeedContext produces the infrastructure state context for the agentic patrol loop.COMMENT
MEDIUMinternal/ai/tools/control_targets.go64// currently advertises a lifecycle capability. The agentic loop uses it toCOMMENT
MEDIUMinternal/ai/tools/control_targets.go408// action (or its lifecycle synonym). It is the evidence behind the agenticCOMMENT
MEDIUMinternal/ai/tools/strict_resolution_test.go1363 // Commands that WOULD be read-only, but guardrails block themCOMMENT
MEDIUMinternal/ai/tools/protocol.go78// signalling a failure to the agentic loop (IsError=true).COMMENT
MEDIUMinternal/ai/tools/tools_conclude.go81// conclusion. The agentic loop then asks only for the final summary.COMMENT
MEDIUMinternal/ai/tools/executor.go646 // This is set per-session by the agentic loop before tool executionCOMMENT
MEDIUMinternal/ai/tools/executor.go1021// This should be called by the agentic loop before executing tools for a session.COMMENT
MEDIUMinternal/ai/tools/tools_query.go290 // === PHASE 1.5: NonInteractiveOnly guardrails ===COMMENT
MEDIUMinternal/ai/tools/tools_query.go330 // Additional guardrails before content inspection.COMMENT
MEDIUMinternal/ai/tools/tools_query.go600// Also includes NonInteractiveOnly guardrails - pulse_read runs non-interactively,COMMENT
MEDIUMinternal/ai/tools/tools_query.go661// Returns nil if command passes all guardrails.COMMENT
MEDIUMinternal/ai/tools/tools_query.go1088// Note: Most guardrails have been moved to checkMutationCapabilityGuards (Phase 1)COMMENT
MEDIUMinternal/ai/tools/tools_query.go1092 // This phase is kept for potential future guardrails that should runCOMMENT
MEDIUMinternal/ai/tools/tools_query.go1521 // NonInteractiveOnly guardrailsCOMMENT
MEDIUMinternal/ai/memory/changes.go44// agentic execution. The history is loaded once at construction and neverCOMMENT
MEDIUMinternal/ai/chat/agentic_control.go119// SetMaxTurns overrides the maximum number of agentic turns for this loop.COMMENT
MEDIUMinternal/ai/chat/agentic_control.go145// agentic turns.COMMENT
MEDIUMinternal/ai/chat/agentic_control.go152// SetBudgetChecker sets a function called after each agentic turn to enforceCOMMENT
MEDIUMinternal/ai/chat/service.go293// failed) user-chat agentic turn. Uses the totals accumulated by theCOMMENT
MEDIUMinternal/ai/chat/service.go428 // Create agentic loopCOMMENT
MEDIUMinternal/ai/chat/service.go486 // Update agentic loopCOMMENT
MEDIUMinternal/ai/chat/service.go786 // Run agentic loop. Tool selection is model-owned: the turn always carriesCOMMENT
MEDIUMinternal/ai/chat/service.go2677// ExecutePatrolStream creates a temporary agentic loop for patrol execution.COMMENT
MEDIUMinternal/ai/chat/service.go2678// Unlike ExecuteStream (which uses the shared agentic loop with the chat system prompt),COMMENT
MEDIUMinternal/ai/chat/service.go2727 // Create a temporary agentic loop with the patrol system promptCOMMENT
MEDIUMinternal/ai/chat/service.go2793 // history into the agentic loop accumulates broken state: when anyCOMMENT
MEDIUMinternal/ai/chat/service.go2810 // Run the agentic loopCOMMENT
MEDIUMinternal/ai/chat/service.go2839 // agentic loop, but we still write to it for the Pulse AssistantCOMMENT
MEDIUMinternal/ai/chat/service.go3475// SetBudgetChecker sets a function called after each agentic turn to enforceCOMMENT
MEDIUMinternal/ai/chat/service.go3476// token spending limits. The checker is propagated to the agentic loop.COMMENT
MEDIUMinternal/ai/chat/service.go3850// web chat was retired, and the agentic loop refuses fabricated calls.COMMENT
MEDIUMinternal/ai/chat/metrics.go40 // Loop health - tracks agentic loop iterationsCOMMENT
MEDIUMinternal/ai/chat/metrics.go128// RecordAgenticIteration records an agentic loop iteration (one LLM call).COMMENT
MEDIUMinternal/ai/chat/metrics.go129// This counts each turn in the agentic loop, not each tool call.COMMENT
MEDIUMinternal/ai/chat/interaction_scenario_corpus_test.go9// helpers, so refactors of the agentic loop (including Patrol-phase work onCOMMENT
MEDIUMinternal/ai/chat/agentic_verification.go16// used to detect repeated identical calls in the agentic loop.COMMENT
MEDIUMinternal/ai/chat/knowledge_extractor_test.go1082 // Simulate what agentic.go does: store negative markerCOMMENT
MEDIUM⚡internal/ai/chat/knowledge_extractor_test.go1935 // Step 2: Store facts in KA (as agentic.go does)COMMENT
MEDIUMinternal/ai/chat/knowledge_extractor_test.go1988 // Simulate negative marker storage (as agentic.go does)COMMENT
MEDIUMinternal/ai/chat/types.go246 MaxTurns int `json:"max_turns,omitempty"` // Override max agentic turns (0 = use defaulCODE
MEDIUMinternal/ai/chat/types.go1339// Max turns for the agentic loop to prevent infinite loopsCOMMENT
MEDIUMinternal/ai/chat/agentic.go23// parallel tool execution in the agentic loop. Defined at package levelCOMMENT
20 more matches not shown…
Deep Nesting224 hits · 194 pts
SeverityFileLineSnippetContext
LOWtests/integration/scripts/owned-run.py18CODE
LOWtests/integration/scripts/owned-run-browser.test.py69CODE
LOWtests/qualification/guest-agent-backup/test_check.py124CODE
LOWtests/qualification/guest-agent-backup/test_check.py134CODE
LOWtests/qualification/guest-agent-backup/test_check.py153CODE
LOWinternal/api/testdata/chart_latency_proof.py203CODE
LOWscripts/check_docs_mirror.py95CODE
LOWscripts/diagnose-root-pair.py71CODE
LOWscripts/npm_audit_process.py23CODE
LOWscripts/test-container-packaging.py58CODE
LOWscripts/test-container-packaging.py188CODE
LOWscripts/test-container-packaging.py217CODE
LOWscripts/check_telemetry_schema_parity.py27CODE
LOWscripts/check_public_docs.py85CODE
LOWscripts/release_candidate_manifest.py278CODE
LOWscripts/browser_os_packages.py166CODE
LOWscripts/repo-boundary-regression.py16CODE
LOWscripts/telemetry_adoption_report.py1742CODE
LOWscripts/telemetry_adoption_report.py2063CODE
LOWscripts/telemetry_adoption_report.py3183CODE
LOWscripts/telemetry_adoption_report.py3659CODE
LOWscripts/telemetry_adoption_report.py1223CODE
LOWscripts/diagnose-uuid-layout.py73CODE
LOWscripts/release_browser_packet.py70CODE
LOWscripts/check_workflow_trust.py409CODE
LOWscripts/check_workflow_trust.py517CODE
LOWscripts/check_workflow_trust.py618CODE
LOWscripts/check_workflow_trust.py790CODE
LOWscripts/check_workflow_trust.py1307CODE
LOWscripts/check_workflow_trust.py1474CODE
LOWscripts/check_workflow_trust.py1637CODE
LOWscripts/tests/test_server_removal_failures.py193CODE
LOWscripts/tests/test_server_removal_failures.py207CODE
LOWscripts/tests/test_server_removal_failures.py253CODE
LOWscripts/tests/test_external_agent_docs.py223CODE
LOWscripts/tests/test_security_docs.py81CODE
LOWscripts/tests/test_security_docs.py103CODE
LOWscripts/tests/test_security_docs.py139CODE
LOWscripts/tests/test_security_docs.py158CODE
LOWscripts/tests/test_security_docs.py208CODE
LOWscripts/tests/test_release_train_ci_contract.py11CODE
LOWscripts/tests/test_dev_prepush_frontend.py356CODE
LOWscripts/tests/test_telemetry_adoption_report.py973CODE
LOWscripts/tests/test_auto_update_systemd.py240CODE
LOWscripts/tests/test_auto_update_systemd.py277CODE
LOWscripts/tests/test_auto_update_systemd.py342CODE
LOWscripts/tests/test_auto_update_systemd.py354CODE
LOWscripts/tests/test_auto_update_systemd.py388CODE
LOWscripts/tests/test_auto_update_systemd.py461CODE
LOWscripts/tests/test_auto_update_systemd.py494CODE
LOWscripts/tests/test_auto_update_systemd.py576CODE
LOWscripts/tests/test_auto_update_systemd.py719CODE
LOWscripts/tests/test_authentication_diagnostic_docs.py136CODE
LOWscripts/tests/test_authentication_diagnostic_docs.py155CODE
LOWscripts/tests/test_authentication_diagnostic_docs.py167CODE
LOWscripts/tests/test_authentication_diagnostic_docs.py185CODE
LOWscripts/tests/test_authentication_diagnostic_docs.py257CODE
LOWscripts/tests/test_api_auth_docs.py331CODE
LOWscripts/tests/test_api_auth_docs.py353CODE
LOWscripts/tests/test_api_auth_docs.py381CODE
164 more matches not shown…
Unused Imports170 hits · 166 pts
SeverityFileLineSnippetContext
LOWanalyze_coverage.py2CODE
LOWtests/integration/scripts/owned-run.test.py1CODE
LOW…on/navigation-reconnect/2026-09-05-access/interrupt.py1CODE
LOWinternal/api/testdata/rg09/apt_workflows_colima.py4CODE
LOWscripts/select-smoke-test-shard.py3CODE
LOWscripts/write_github_output.py4CODE
LOWscripts/release_lifecycle_rehearsal_versions.py17CODE
LOWscripts/check_docs_mirror.py18CODE
LOWscripts/dependency_advisory_watch.py11CODE
LOWscripts/npm_audit_process.py4CODE
LOWscripts/sync_chart_release_metadata.py4CODE
LOWscripts/check_telemetry_schema_parity.py4CODE
LOWscripts/check-workflow-dispatch-inputs.py4CODE
LOWscripts/check_public_docs.py4CODE
LOWscripts/release_candidate_manifest.py4CODE
LOWscripts/browser_os_packages.py21CODE
LOWscripts/readme_entrypoints_test.py4CODE
LOWscripts/telemetry_adoption_report.py9CODE
LOWscripts/shard_go_tests.py4CODE
LOWscripts/check_workflow_trust.py4CODE
LOWscripts/memory/summarize_release_memory.py11CODE
LOWscripts/tests/test_security_docs.py9CODE
LOWscripts/tests/test_dev_prepush_frontend.py3CODE
LOWscripts/tests/test_telemetry_adoption_report.py4CODE
LOWscripts/tests/test_api_auth_docs.py8CODE
LOWscripts/tests/test_public_docs_workflow.py8CODE
LOWscripts/tests/test_webhook_verification_docs.py8CODE
LOWscripts/tests/test_memory_troubleshooting_docs.py9CODE
LOWscripts/tests/test_workflow_trust.py4CODE
LOWscripts/tests/test_smoke_runner.py4CODE
LOWscripts/tests/test_sync_chart_release_metadata.py4CODE
LOWscripts/tests/test_setup_access_docs.py9CODE
LOWscripts/tests/test_agent_removal_systemd.py6CODE
LOWscripts/tests/test_agent_removal_systemd.py9CODE
LOWscripts/tests/test_performance_troubleshooting_docs.py8CODE
LOWscripts/tests/test_localized_public_docs.py4CODE
LOWscripts/tests/test_precommit_admission.py9CODE
LOWscripts/tests/test_write_github_output.py4CODE
LOWscripts/tests/test_public_docs_claims.py4CODE
LOWscripts/tests/test_bootstrap_import_docs.py10CODE
LOWscripts/tests/test_deployment_update_docs.py10CODE
LOWscripts/tests/test_repo_docs_link_drift.py4CODE
LOWscripts/tests/test_smoke_workflow.py4CODE
LOWscripts/tests/test_node_api_docs.py7CODE
LOWscripts/tests/test_password_recovery_docs.py9CODE
LOWscripts/tests/test_validate_published_release.py3CODE
LOWscripts/tests/test_notification_troubleshooting_docs.py8CODE
LOWscripts/tests/test_gitleaks_ignore.py4CODE
LOWscripts/tests/test_admin_docs.py8CODE
LOWscripts/tests/test_docs_mirror.py4CODE
LOWscripts/tests/test_vm_disk_diagnostics.py8CODE
LOWscripts/tests/test_configuration_auth_docs.py8CODE
LOWscripts/tests/test_require_safe_gh_attestation.py3CODE
LOWscripts/tests/test_api_reference_routes.py9CODE
LOWscripts/tests/test_troubleshooting_logs.py7CODE
LOWscripts/tests/test_npm_audit_retry.py3CODE
LOWscripts/tests/test_release_lifecycle_rehearsal.py4CODE
LOWscripts/installtests/agent_legacy_teardown.py8CODE
LOWscripts/intelligence_lab/patrol_autonomy_colima.py4CODE
LOWscripts/intelligence_lab/patrol_autonomy_colima.py14CODE
110 more matches not shown…
Fake / Example Data124 hits · 132 pts
SeverityFileLineSnippetContext
LOWfrontend-modern/public/docs/WEBHOOKS.md567 "tenantName": "Acme Corp",CODE
LOWfrontend-modern/public/docs/WEBHOOKS.md597 "tenantName": "Acme Corp",CODE
LOW…ups/__tests__/recordPresentation.branchcov0718.test.ts381 issueLabel: 'placeholder',CODE
LOW…atures/alerts/AlertAppriseDestinationsSection.test.tsx74 'placeholder',CODE
LOW…atures/alerts/AlertAppriseDestinationsSection.test.tsx82 expect(screen.getByLabelText('API key')).toHaveAttribute('placeholder', 'Optional API key');CODE
LOW…__tests__/alertDestinationsModel.branchcov0712.test.ts94 username: 'user@example.com',CODE
LOW…__tests__/alertDestinationsModel.branchcov0712.test.ts108 username: 'user@example.com',CODE
LOW…erts/__tests__/AlertDeadManDestinationSection.test.tsx59 expect(input).toHaveAttribute('placeholder', 'Configured — enter a new URL to replace');CODE
LOWfrontend-modern/src/utils/alertEmailPresentation.ts13export const ALERT_EMAIL_REPLY_TO_PLACEHOLDER = 'admin@example.com';CODE
LOW…ern/src/utils/__tests__/alertEmailPresentation.test.ts37 expect(ALERT_EMAIL_REPLY_TO_PLACEHOLDER).toBe('admin@example.com');CODE
LOW…utils/__tests__/frontendResourceTypeBoundaries.test.ts4029 expect(emailProviderSelectSource).not.toContain('admin@example.com');CODE
LOW⚡…ectionEditor/__tests__/AvailabilityTargetSlot.test.tsx334 'placeholder',CODE
LOW⚡…ectionEditor/__tests__/AvailabilityTargetSlot.test.tsx338 'placeholder',CODE
LOW⚡…ectionEditor/__tests__/AvailabilityTargetSlot.test.tsx346 'placeholder',CODE
LOW…ettings/__tests__/NetworkBoundaryCorsGuidance.test.tsx52 expect(input).toHaveAttribute('placeholder', 'https://app.example.com:8443');CODE
LOW…/components/Settings/__tests__/ReportingPanel.test.tsx316 'placeholder',CODE
LOW…omponents/Settings/__tests__/ssoProvidersModel.test.ts19 allowedEmails: ['admin@example.com'],CODE
LOW…omponents/Settings/__tests__/ssoProvidersModel.test.ts27 expect(payload.allowedEmails).toEqual(['admin@example.com']);CODE
LOW…omponents/Settings/__tests__/ssoProvidersModel.test.ts49 expect(oidc.allowedEmails).toEqual(['admin@example.com', 'ops@example.com']);CODE
LOWfrontend-modern/src/components/shared/TagInput.test.tsx61 expect(input).toHaveAttribute('placeholder', 'Add tag');CODE
LOW…d-modern/src/components/__tests__/OrgSwitcher.test.tsx13 { id: 'acme', displayName: 'Acme Corp' },CODE
LOWdeploy/provider-msp/traefik.yml30 email: "admin@example.com"CODE
LOWdeploy/provider-msp/traefik.yml39 email: "admin@example.com"CODE
LOWtests/integration/tests/99-visual-crawl.spec.ts99 const placeholder = el.getAttribute("placeholder") || "";CODE
LOWinternal/config/multi_tenant_branchcov0722pm_test.go291 require.NoError(t, mtp.SaveOrganization(&models.Organization{ID: "acme", DisplayName: "Acme Corp"}))CODE
LOWinternal/config/multi_tenant_branchcov0722pm_test.go294 assert.Equal(t, "Acme Corp", loaded.DisplayName)CODE
LOWinternal/config/persistence_test.go1643 Username: "user@example.com",CODE
LOWinternal/config/persistence_test.go1646 To: []string{"admin@example.com", "ops@example.com"},CODE
LOWinternal/config/persistence_test.go1704 Username: "user@example.com",CODE
LOWinternal/config/oidc_test.go138 AllowedEmails: []string{"user@example.com"},CODE
LOWinternal/config/oidc_test.go260 AllowedEmails: []string{"user@example.com", ""},CODE
LOWinternal/models/organization_additional_test.go41 {UserID: "admin@example.com", Role: OrgRoleAdmin, AddedBy: "owner@example.com"},CODE
LOW⚡internal/models/organization_additional_test.go72 {UserID: "u_admin", Email: "admin@example.com", Role: OrgRoleAdmin, AddedBy: "u_owner"},CODE
LOW⚡internal/models/organization_additional_test.go79 if role := org.GetMemberRoleForPrincipal("u_intruder", "admin@example.com"); role != "" {CODE
LOW⚡internal/models/organization_additional_test.go88 if org.CanonicalizePrincipalIdentity("u_intruder", "admin@example.com") {CODE
LOW⚡internal/models/organization_additional_test.go125 {UserID: "u_admin", Email: "admin@example.com", Role: OrgRoleAdmin},CODE
LOW⚡internal/models/organization_additional_test.go133 if org.CanUserIDAccess("owner@example.com") || org.CanUserIDManage("admin@example.com") {CODE
LOW⚡internal/models/organization_additional_test.go136 if got := org.GetMemberRoleByUserID("admin@example.com"); got != "" {CODE
LOW⚡internal/models/organization_additional_test.go139 if got := org.GetMemberRole("admin@example.com"); got != OrgRoleAdmin {CODE
LOWinternal/models/organization_additional_test.go151 {UserID: "u_admin", Email: "admin@example.com", Role: OrgRoleAdmin},CODE
LOWinternal/models/organization_additional_test.go161 userID, role, ok = org.ResolvePrincipalByEmail("admin@example.com")CODE
LOWinternal/cloudcp/portal/handlers_test.go999 html := renderPortalHTML(t, BuildBootstrapData(true, "admin@example.com", []portalPageAccount{CODE
LOWinternal/cloudcp/portal/frontend/src/store.test.ts159 { subject_id: 'u_2', email: 'admin@example.com', role: 'admin', user_id: 'u_2', state: 'active', created_at:CODE
LOWinternal/cloudcp/portal/frontend/src/store.test.ts167 { subject_id: 'u_2', email: 'admin@example.com', role: 'admin', user_id: 'u_2', state: 'active', created_at: '2026CODE
LOWinternal/cloudcp/portal/frontend/src/shell_view.ts1117 '" placeholder="Acme Corp" maxlength="80" autocomplete="off">' +CODE
LOWinternal/cloudcp/portal/frontend/src/shell_view.ts1389 '" placeholder="user@example.com" autocomplete="off"></div>' +CODE
LOW…al/cloudcp/portal/frontend/src/account_runtime.test.ts100 '<input id="ws-name-acct_1" value="Acme Corp">' +CODE
LOW…al/cloudcp/portal/frontend/src/account_runtime.test.ts118 body: JSON.stringify({ display_name: 'Acme Corp' }),CODE
LOWinternal/cloudcp/registry/registry_test.go471 Email: "user@example.com",CODE
LOW⚡internal/cloudcp/registry/registry_test.go490 if got.Email != "user@example.com" {CODE
LOW⚡internal/cloudcp/registry/registry_test.go491 t.Errorf("Email = %q, want %q", got.Email, "user@example.com")CODE
LOW⚡internal/cloudcp/registry/registry_test.go501 got2, err := reg.GetUserByEmail("user@example.com")CODE
LOWinternal/unifiedresources/store_test.go2160 Actor: "admin@example.com",CODE
LOWinternal/unifiedresources/store_test.go2868 Actor: "admin@example.com",CODE
LOWinternal/unifiedresources/history_identity_test.go715 record(pveDiskAlertChange("placeholder", "pve1", "/dev/sda", ChangeAlertFired, "To Be Filled By O.E.M.", "", now), sdCODE
LOWinternal/unifiedresources/history_identity_test.go739 require.ElementsMatch(t, []string{"own", "reordered", "replacement", "unidentified", "placeholder"}, pveDiskHistoryIDCODE
LOWinternal/ai/providers/gemini_stream_test.go29 client := NewGeminiClient("fake-key", "gemini-pro", ts.URL, 10*time.Second)CODE
LOWinternal/ai/providers/gemini_stream_test.go105 client := NewGeminiClient("fake-key", "gemini-pro", ts.URL, 10*time.Second)CODE
LOWinternal/ai/providers/gemini_stream_test.go163 client := NewGeminiClient("fake-key", "gemini-pro", ts.URL, 10*time.Second)CODE
LOWinternal/api/licensing_handlers_auto_migrate_test.go57 Email: "user@example.com",CODE
64 more matches not shown…
Redundant / Tautological Comments53 hits · 87 pts
SeverityFileLineSnippetContext
LOW⚡install.sh5664 # Check if user selected stable updateCOMMENT
LOW⚡install.sh5674 # Check if user selected RC updateCOMMENT
LOW⚡install.sh5684 # Check if user selected reinstallCOMMENT
LOW⚡install.sh5690 # Check if user selected removeCOMMENT
LOW⚡install.sh5696 # Check if user selected cancelCOMMENT
LOWinstall.sh993 # Check if empty and use defaultCOMMENT
LOWinstall.sh1125 # Check if SELinux is available and enforcingCOMMENT
LOWinstall.sh1151 # Check if this is a Proxmox VE hostCOMMENT
LOWinstall.sh1350 # Check if we can interact with the userCOMMENT
LOWinstall.sh1453 # Check if ID is in useCOMMENT
LOWinstall.sh1581 # Check if the default interface is a bridgeCOMMENT
LOWinstall.sh1906 # Check if selected template is Alpine or other non-Debian basedCOMMENT
LOWinstall.sh1958 # Check if template exists - pveam list shows full paths like storage:vztmpl/file.tar.zstCOMMENT
LOWinstall.sh1963 # Check if this exact template exists in pveam listCOMMENT
LOWinstall.sh2073 # Set timezone to UTC for consistent loggingCOMMENT
LOWinstall.sh3812 # Check if we should build from source - do this FIRST to avoid confusing version messagesCOMMENT
LOWinstall.sh5838 # Check if this is truly a fresh installation or an updateCOMMENT
LOWinstall.sh6265 # Check if this is a Docker container (multiple detection methods)COMMENT
LOWdocker-entrypoint.sh80 # Check if we need to modify the user/groupCOMMENT
LOWtests/integration/scripts/run-tests.sh163 # Check if the Pulse test container is actually running and reachable.COMMENT
LOWinternal/api/configapi/setup_script_render.go107# Check if running as rootCOMMENT
LOWinternal/api/configapi/setup_script_render.go1433 # Check if this is a Raspberry PiCOMMENT
LOWinternal/api/configapi/setup_script_render.go1582# Check if running as rootCOMMENT
LOWinternal/api/configapi/setup_script_render.go1588# Check if proxmox-backup-manager command existsCOMMENT
LOW.devcontainer/start-pulse-dev.sh7# Check if already runningCOMMENT
LOWscripts/remerge-parallel.sh223 # Check if there's a cherry-pick in progress that needs finishingCOMMENT
LOWscripts/sync-production-config.sh61 # Check if keys are differentCOMMENT
LOWscripts/sync-production-config.sh92 # Check if production nodes.enc is valid (not corrupted)COMMENT
LOWscripts/sync-production-config.sh105 # Check if dev copy is suspiciously small (likely corrupted)COMMENT
LOWscripts/sync-production-config.sh109 # Check if files are different (always prefer production to avoid drift)COMMENT
LOWscripts/hot-dev.sh358# Check if Pro module is available and use it for full audit logging support.COMMENT
LOWscripts/install.sh615 # Check if SELinux is available and enforcingCOMMENT
LOWscripts/install.sh4470 # Check if Docker is available and accessibleCOMMENT
LOWscripts/install.sh4848 # Check if running inside a Kubernetes pod (in-cluster config)COMMENT
LOWscripts/install.sh6772# Check if we can write to /usr/local/bin (catches immutable filesystems like TrueNAS)COMMENT
LOWscripts/install.sh7221# Check if it's a valid executable (ELF for Linux/FreeBSD, Mach-O for macOS).COMMENT
LOWscripts/install.sh7419# Check if pulse-agent is already installed and handle upgrade gracefullyCOMMENT
LOWscripts/install.sh7968 # Check if task already existsCOMMENT
LOWscripts/pulse-auto-update.sh79# Check if auto-updates are enabledCOMMENT
LOWscripts/pulse-auto-update.sh850 # Check if auto-updates are enabledCOMMENT
LOWscripts/pulse-auto-update.sh853 # Check if we're in Docker (updates not supported)COMMENT
LOW⚡scripts/install-docker.sh68# Check if running as root (early check for better error messages)COMMENT
LOW⚡scripts/install-docker.sh84# Check if Docker is installedCOMMENT
LOW⚡scripts/install-docker.sh93# Check if docker compose is availableCOMMENT
LOWscripts/dev-deploy-agent.sh86 # Check if host is reachable and get architectureCOMMENT
LOW⚡scripts/lint-fixer/watch.sh61 # Check if it's currently calling AICOMMENT
LOW⚡scripts/lint-fixer/watch.sh69 # Check if testingCOMMENT
LOW⚡scripts/lint-fixer/watch.sh76 # Check if scanningCOMMENT
LOW⚡scripts/lint-fixer/watch.sh82 # Check if buildingCOMMENT
LOW⚡scripts/lint-fixer/watch.sh88 # Check if completedCOMMENT
LOWscripts/lint-fixer/watch.sh199 # Check if runningCOMMENT
LOWscripts/lint-fixer/run.sh437 # Check if changes were ACTUALLY madeCOMMENT
LOWscripts/installtests/install_docker_sh_test.go531const rootCheckBlock = `# Check if running as root (early check for better error messages)CODE
Structural Annotation Overuse43 hits · 78 pts
SeverityFileLineSnippetContext
LOWfrontend-modern/public/docs/INSTALL.md325### Step 1: Get the TokenCOMMENT
LOWfrontend-modern/public/docs/INSTALL.md339### Step 2: Create Admin AccountCOMMENT
LOW…ern/src/utils/__tests__/onboardingBackupSafety.test.ts26 start: '### Step 2: Create Admin Account',CODE
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts293 // Step 1: Acknowledge the findingCOMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts302 // Step 2: Verify finding is still present (acknowledged ≠ removed)COMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts314 // Step 3: Resolve the finding (closes the loop)COMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts323 // Step 4: Verify finding is removed from active findingsCOMMENT
LOWinternal/ai/routing.go89 // Step 1: Try VMID-based routing (most authoritative for pct/qm commands)COMMENT
LOWinternal/ai/routing.go142 // Step 2: Try unified provider lookup (PRIMARY method for workloads)COMMENT
LOWinternal/ai/routing.go176 // Step 3: Fallback to explicit context fields (backwards compatibility)COMMENT
LOWinternal/ai/routing.go195 // Step 3: Extract VMID from target ID and look up in stateCOMMENT
LOWinternal/ai/routing.go219 // Step 4: Try to find exact matching agentCOMMENT
LOWinternal/ai/routing.go261 // Step 5: No target node determined - for agent commands with no context, use first agent.COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go29 // Step 1: Create resolved context (simulating session creation)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go32 // Step 2: Add the LXC resource to resolved context (simulating discovery)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go47 // Step 3: Simulate prefetch marking @mention as explicit accessCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go57 // Step 4: Create tool executor with state showing pve-node is a Proxmox nodeCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go143 // Step 1: Create resolved contextCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go146 // Step 2: Add resources via bulk discovery (no explicit access)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go163 // Step 3: Verify NO resources are marked as recently accessedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go169 // Step 4: Since no children are recently accessed, host operation should be allowedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go199 // Step 1: Create resolved contextCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go202 // Step 2: Add resourcesCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go211 // Step 3: Mark the child as explicitly accessed (from @mention)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go218 // Step 4: Verify the child IS recently accessedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go223 // Step 5: This documents the CURRENT POLICY:COMMENT
LOWinternal/ai/chat/routing_contract_test.go81 // Step 5: Simulate tool call targeting the host (pve-node) instead of the LXCCOMMENT
LOWinternal/ai/chat/routing_contract_test.go92 // Step 6: Verify the ErrRoutingMismatch response structureCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1931 // Step 1: Extract facts from tool resultCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1935 // Step 2: Store facts in KA (as agentic.go does)COMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1940 // Step 3: Predict keys (as gate does on second call)COMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1944 // Step 4: Gate lookup — at least one predicted key should be foundCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1953 // Step 5: Enrichment via MarkerExpansionsCOMMENT
LOWinternal/api/ai_handlers_patrol_test.go22 // Step 1: Update settings to set patrol interval to 15 minutes explicitlyCOMMENT
LOWinternal/api/ai_handlers_patrol_test.go47 // Step 2: Verify persistence by fetching settings againCOMMENT
LOWinternal/relay/client_license_lifecycle_test.go417 // Step 1: Register with bad token — expect LICENSE_INVALID rejectionCOMMENT
LOWinternal/relay/client_license_lifecycle_test.go432 // Step 2: Simulate grant refresh by switching to a good tokenCOMMENT
LOWdocs/INSTALL.md325### Step 1: Get the TokenCOMMENT
LOWdocs/INSTALL.md339### Step 2: Create Admin AccountCOMMENT
LOW⚡pkg/pbs/client.go659 // Step 1: Create monitoring user (ignore if exists)COMMENT
LOW⚡pkg/pbs/client.go665 // Step 2: Grant Audit role on / (root path)COMMENT
LOW⚡pkg/pbs/client.go670 // Step 3: Create API tokenCOMMENT
LOWpkg/pbs/client.go685 // Step 4: Grant Audit role to the token as wellCOMMENT
Verbosity Indicators40 hits · 73 pts
SeverityFileLineSnippetContext
LOW…ern/src/utils/__tests__/onboardingBackupSafety.test.ts26 start: '### Step 2: Create Admin Account',CODE
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts293 // Step 1: Acknowledge the findingCOMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts302 // Step 2: Verify finding is still present (acknowledged ≠ removed)COMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts314 // Step 3: Resolve the finding (closes the loop)COMMENT
LOW⚡…/tests/journeys/07-ai-patrol-finding-lifecycle.spec.ts323 // Step 4: Verify finding is removed from active findingsCOMMENT
LOWinternal/ai/routing.go89 // Step 1: Try VMID-based routing (most authoritative for pct/qm commands)COMMENT
LOWinternal/ai/routing.go142 // Step 2: Try unified provider lookup (PRIMARY method for workloads)COMMENT
LOWinternal/ai/routing.go176 // Step 3: Fallback to explicit context fields (backwards compatibility)COMMENT
LOWinternal/ai/routing.go195 // Step 3: Extract VMID from target ID and look up in stateCOMMENT
LOWinternal/ai/routing.go219 // Step 4: Try to find exact matching agentCOMMENT
LOWinternal/ai/routing.go261 // Step 5: No target node determined - for agent commands with no context, use first agent.COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go29 // Step 1: Create resolved context (simulating session creation)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go32 // Step 2: Add the LXC resource to resolved context (simulating discovery)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go47 // Step 3: Simulate prefetch marking @mention as explicit accessCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go57 // Step 4: Create tool executor with state showing pve-node is a Proxmox nodeCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go143 // Step 1: Create resolved contextCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go146 // Step 2: Add resources via bulk discovery (no explicit access)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go163 // Step 3: Verify NO resources are marked as recently accessedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go169 // Step 4: Since no children are recently accessed, host operation should be allowedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go199 // Step 1: Create resolved contextCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go202 // Step 2: Add resourcesCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go211 // Step 3: Mark the child as explicitly accessed (from @mention)COMMENT
LOW⚡internal/ai/chat/routing_contract_test.go218 // Step 4: Verify the child IS recently accessedCOMMENT
LOW⚡internal/ai/chat/routing_contract_test.go223 // Step 5: This documents the CURRENT POLICY:COMMENT
LOWinternal/ai/chat/routing_contract_test.go81 // Step 5: Simulate tool call targeting the host (pve-node) instead of the LXCCOMMENT
LOWinternal/ai/chat/routing_contract_test.go92 // Step 6: Verify the ErrRoutingMismatch response structureCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1931 // Step 1: Extract facts from tool resultCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1935 // Step 2: Store facts in KA (as agentic.go does)COMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1940 // Step 3: Predict keys (as gate does on second call)COMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1944 // Step 4: Gate lookup — at least one predicted key should be foundCOMMENT
LOW⚡internal/ai/chat/knowledge_extractor_test.go1953 // Step 5: Enrichment via MarkerExpansionsCOMMENT
LOWinternal/api/auth.go1397 // We need to check if EITHER the global config has tokens OR if we have a tenant monitor (which might have tokens)COMMENT
LOWinternal/api/ai_handlers_patrol_test.go22 // Step 1: Update settings to set patrol interval to 15 minutes explicitlyCOMMENT
LOWinternal/api/ai_handlers_patrol_test.go47 // Step 2: Verify persistence by fetching settings againCOMMENT
LOWinternal/relay/client_license_lifecycle_test.go417 // Step 1: Register with bad token — expect LICENSE_INVALID rejectionCOMMENT
LOWinternal/relay/client_license_lifecycle_test.go432 // Step 2: Simulate grant refresh by switching to a good tokenCOMMENT
LOW⚡pkg/pbs/client.go659 // Step 1: Create monitoring user (ignore if exists)COMMENT
LOW⚡pkg/pbs/client.go665 // Step 2: Grant Audit role on / (root path)COMMENT
LOW⚡pkg/pbs/client.go670 // Step 3: Create API tokenCOMMENT
LOWpkg/pbs/client.go685 // Step 4: Grant Audit role to the token as wellCOMMENT
AI Slop Vocabulary24 hits · 68 pts
SeverityFileLineSnippetContext
LOWinstall.sh1515 # Quick mode - just use defaults silentlyCOMMENT
MEDIUM…_tests__/actionAuditPresentation.branchcov0712.test.ts253 // branch and robust to label/detail wording changes.COMMENT
MEDIUM…s/__tests__/actionAuditPresentation.branchcov2.test.ts253 // branch and robust to label/detail wording changes.COMMENT
MEDIUM…/components/shared/SharedPrimitives.guardrails.test.ts8376 // Hook is robust to malformed localStorage and SSR.COMMENT
MEDIUMtests/integration/docker-compose.test.yml85 # Keep the harness seed proportional to that contract instead of makingCOMMENT
MEDIUMinternal/alerts/storage.go189// storage.ID, regardless of the composite alert-state key) so it is robust toCOMMENT
MEDIUMinternal/alerts/pmg.go805// calculateTrimmedBaseline computes a robust baseline from historical samplesCOMMENT
MEDIUM…sources/action_audit_canonicalization_coverage_test.go88// re-marshaled canonical form) and the len(updates)==0 early return. The robustCOMMENT
MEDIUMinternal/ai/service.go3825 // Find the appropriate agent using robust routingCOMMENT
MEDIUMinternal/ai/service.go3828 // Use the new robust routing logicCOMMENT
MEDIUMinternal/ai/routing.go2// This file contains the robust agent routing logic for executing commands on the correct host.COMMENT
MEDIUMinternal/ai/patrol_objectives.go1047 // nuanced retained outcome is fully covered.COMMENT
MEDIUMinternal/monitoring/reload_test.go57 // If GetMonitor is robust, checking error branch might require mocking persistence failure.COMMENT
MEDIUMinternal/monitoring/monitor_polling_node_helpers.go226 // Determine SSH hostname to use (most robust approach):COMMENT
MEDIUM…ternal/vmware/activity_changes_branchcov0720am_test.go282 // this keeps the assertion robust to comparator quirks while stillCOMMENT
MEDIUMscripts/release_lifecycle_rehearsal.sh718 # /rehearsal is the fixed mount spelling used by the existing harness.COMMENT
MEDIUMscripts/install.sh8018 # Create OpenRC init script following Alpine best practicesCOMMENT
MEDIUMscripts/tests/run.sh3# Simple harness to execute smoke tests under scripts/tests/.COMMENT
MEDIUMscripts/tests/test-pulse-auto-update.sh211 # subsequent function returns in this sourced test harness.COMMENT
MEDIUMscripts/tests/test-pulse-auto-update.sh368 # subsequent function returns in this sourced test harness.COMMENT
MEDIUM⚡scripts/tests/test_release_lifecycle_rehearsal.py302 self.assertIn('grep -q "^# Pulse update command" /bin/update', self.harness)STRING
MEDIUMscripts/release_control/registry_audit_test.py239 # verification settings. A policy that names a harness without owningCOMMENT
MEDIUM.github/workflows/install-sh-smoke-body.yml5# contents:write to read unpublished assets. Reusable workflows cannot elevateCOMMENT
MEDIUM.github/workflows/install-sh-smoke-body.yml247 # PULSE_INSTALL_ALLOW_DOCKER=1 opts the smoke harness past install.sh'sCOMMENT
Empty Error Handlers13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHtests/integration/scripts/owned-run.py76except ProcessLookupError:CODE
HIGHtests/integration/scripts/owned-run.py86except ProcessLookupError:CODE
HIGHscripts/npm_audit_process.py19except ProcessLookupError:CODE
HIGHscripts/npm_audit_process.py59except subprocess.TimeoutExpired:CODE
HIGHscripts/npm_audit_process.py53except subprocess.TimeoutExpired:CODE
HIGHscripts/tests/test_memory_troubleshooting_docs.py126except ProcessLookupError:CODE
HIGHscripts/tests/test_performance_troubleshooting_docs.py137except ProcessLookupError:CODE
HIGHscripts/tests/test_troubleshooting_logs.py114except ProcessLookupError:CODE
HIGHscripts/tests/test_troubleshooting_logs.py176except ProcessLookupError:CODE
HIGHscripts/tests/test_npm_audit_retry.py98except ProcessLookupError:CODE
HIGHscripts/tests/test_npm_audit_retry.py103except ProcessLookupError:CODE
HIGHscripts/installtests/agent_systemd_teardown.py279except ProcessLookupError:CODE
HIGHscripts/installtests/agent_nas_teardown.py727except ProcessLookupError: passCODE
Synthetic Comment Markers7 hits · 50 pts
SeverityFileLineSnippetContext
HIGHinternal/ai/memory/remediation.go45 Summary string `json:"summary,omitempty"` // AI-generated summary of what was achievedCODE
HIGHinternal/ai/unified/alerts.go2// threshold-based alerts and AI-generated findings into a single intelligence layer.COMMENT
HIGHinternal/ai/unified/alerts.go937// GetAIFindings returns all active AI-generated findingsCOMMENT
HIGHinternal/ai/unified/integration.go104// AddAIFinding adds an AI-generated findingCOMMENT
HIGH…i/qualification/lab_report_pure_w0716_coverage_test.go107 // intact requirement toggled as requested; all other fields stay default.COMMENT
HIGHpkg/reporting/pdf.go515 // AI-generated executive prose, rendered between the deterministicCOMMENT
HIGHpkg/reporting/pdf.go707// summary. When data.Narrative is set (AI-generated or pre-computedCOMMENT
Excessive Try-Catch Wrapping35 hits · 35 pts
SeverityFileLineSnippetContext
LOWinstall.sh2472except Exception:CODE
LOWinstall.sh2482except Exception:CODE
LOWinstall.sh2742except Exception:CODE
LOWinstall.sh2876except Exception:CODE
LOWinstall.sh2908 except Exception:CODE
LOWtests/qualification/alert-lifecycle/acceptance.py353 except Exception as error:CODE
MEDIUMinternal/api/configapi/setup_script_render.go920def run_command(args, timeout=8):CODE
LOW⚡internal/api/configapi/setup_script_render.go951 except Exception:CODE
LOW⚡internal/api/configapi/setup_script_render.go970 except Exception:CODE
LOW⚡internal/api/configapi/setup_script_render.go993 except Exception:CODE
LOW⚡internal/api/configapi/setup_script_render.go1205 except Exception:CODE
LOW⚡internal/api/configapi/setup_script_render.go1214 except Exception:CODE
LOWinternal/api/configapi/setup_script_render.go930 except Exception:CODE
LOWinternal/api/configapi/setup_script_render.go940 except Exception:CODE
LOWinternal/api/configapi/setup_script_render.go1062 except Exception:CODE
LOWinternal/api/configapi/setup_script_render.go1296 except Exception:CODE
LOWscripts/test-container-packaging.py272 except Exception as error:STRING
LOWscripts/check_notification_runtime.py74 except Exception as exc:CODE
LOWscripts/check_notification_runtime.py353 except Exception as exc:CODE
LOWscripts/check_notification_runtime.py359 except Exception as exc:CODE
MEDIUMscripts/check_notification_runtime.py59def do_POST(self):CODE
MEDIUMscripts/check_notification_runtime.py284def run(self):CODE
LOWscripts/release-go-test-events.py53 except Exception:CODE
LOWscripts/tests/test_release_lifecycle_rehearsal.py719 except Exception:STRING
LOW…ripts/release_control/secure_runtime_attestation_v6.py719 except Exception:CODE
LOW…l/internal/msp_provider_tenant_management_rehearsal.py167 except Exception as exc: # pragma: no coverCODE
LOW…l/internal/msp_provider_tenant_management_rehearsal.py395 except Exception:CODE
LOW…rol/internal/hosted_signup_billing_replay_rehearsal.py205 except Exception as exc: # pragma: no cover - exercised via callers/testsCODE
LOW…release_control/internal/unified_agent_rc_rehearsal.py134 except Exception as exc: # pragma: no cover - exercised via caller testsCODE
LOWscripts/eval/render_model_matrix.py82 except Exception:CODE
LOW.github/scripts/demo-runtime-transaction.py631 except Exception as exc:CODE
LOW.github/scripts/demo-runtime-transaction.py656 except Exception as recovery:CODE
MEDIUM.github/scripts/demo-runtime-transaction.py197def command(self, argv, *, timeout=20, env=None):CODE
LOW.github/scripts/tests/demo_runtime_native.py188 except Exception as error:STRING
LOW.github/scripts/tests/demo_runtime_native.py213 except Exception as cleanup:STRING
Cross-Language Confusion (JS/TS)4 hits · 28 pts
SeverityFileLineSnippetContext
HIGH…modern/src/utils/__tests__/agentInstallCommand.test.ts465 elif p.get("slow"):CODE
HIGH⚡…ntend-modern/src/components/Settings/nodeModalModel.ts157elif pveum role add PulseTmpGuestAudit -privs VM.GuestAgent.Audit 2>/dev/null; thenCODE
HIGH⚡…ntend-modern/src/components/Settings/nodeModalModel.ts167 elif pveum role add PulseTmpGuestFileRead -privs VM.GuestAgent.FileRead 2>/dev/null; thenCODE
HIGH⚡…ntend-modern/src/components/Settings/nodeModalModel.ts174 elif pveum role add PulseTmpVMMonitor -privs VM.Monitor 2>/dev/null; thenCODE
Self-Referential Comments7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMinstall.sh4388# This file is loaded by systemd when starting PulseCOMMENT
MEDIUMfrontend-modern/src/utils/__tests__/docsLinks.test.ts405 const setup = truenas.split('## Quick Start')[1].split('## Creating a TrueNAS API Key')[0];CODE
MEDIUMinternal/api/configapi/setup_script_render.go838# Create a privilege-separated token and capture value (shown once by Proxmox)COMMENT
MEDIUMscripts/install.sh6810# Create the dedicated service account for the least-privilege profile andCOMMENT
MEDIUMscripts/install.sh7637 # Create a wrapper script that will be called from /boot/config/goCOMMENT
MEDIUMscripts/secure-runtime-rootful-runtime.sh3# This file is sourced by run-secure-runtime-rootful-qualification.sh and keptCOMMENT
MEDIUMscripts/build-release.sh350# Create a detection script that creates the pulse symlink based on architectureCOMMENT
Example Usage Blocks11 hits · 16 pts
SeverityFileLineSnippetContext
LOWinternal/ai/unified/setup.go40// Example usage:COMMENT
LOWscripts/package-helm-chart.sh4# Usage:COMMENT
LOWscripts/dev-launchd-setup.sh4# Usage:COMMENT
LOWscripts/remerge-parallel.sh12# Usage:COMMENT
LOWscripts/release_lifecycle_rehearsal.sh20# Usage:COMMENT
LOWscripts/hot-dev.sh40# Usage:COMMENT
LOWscripts/install.sh6# Usage:COMMENT
LOWscripts/dev-check.sh4# Usage:COMMENT
LOWscripts/hot-dev-bg.sh5# Usage:COMMENT
LOWscripts/install-mcp.sh10# Usage:COMMENT
LOWscripts/lint-fixer/run.sh9# Usage:COMMENT
AI Structural Patterns18 hits · 16 pts
SeverityFileLineSnippetContext
LOWscripts/telemetry_adoption_report.py3448CODE
LOWscripts/tests/test_server_removal_failures.py127CODE
LOWscripts/tests/test_server_release_selection.py70CODE
LOWscripts/tests/test_auto_update_service_state.py190CODE
LOWscripts/tests/test_server_service_discovery.py202CODE
LOWscripts/tests/test_server_update_timer.py126CODE
LOWscripts/tests/test_server_update_menu.py82CODE
LOWscripts/installtests/agent_legacy_teardown.py141CODE
LOWscripts/installtests/agent_uninstall_state.py43CODE
LOWscripts/installtests/agent_nas_teardown.py210CODE
LOW…ipts/release_control/validate_artifact_release_line.py67CODE
LOW…ripts/release_control/secure_runtime_attestation_v6.py936CODE
LOW…ripts/release_control/secure_runtime_attestation_v6.py1075CODE
LOWscripts/release_control/status_audit_test.py107CODE
LOWscripts/release_control/status_audit_test.py135CODE
LOWscripts/release_control/status_audit_test.py228CODE
LOW…elease_control/verify_release_container_images_test.py21CODE
LOWscripts/release_control/resolve_release_promotion.py360CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALinternal/monitoring/monitor_polling_test.go725 resource.TrueNAS == nil || resource.TrueNAS.App == nil || resource.TrueNAS.App.Stats == nil || !resource.TrueNAS.AppCODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…d-modern/src/utils/__tests__/docsTokenGuidance.test.ts91 expect(text).not.toContain('?token=YOUR_TOKEN_HERE');CODE
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOW⚡scripts/tests/test_agent_removal_systemd.py103 def helper(self, directory, refuse=False):STRING
LOWscripts/installtests/agent_removal_systemd.py164 def helper(self, directory, refuse=False):CODE
LOWscripts/release_control/run_go_rest_shard.py63def run_task(task: tuple[str, list[str]]) -> dict:CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…components/Settings/InfrastructureInstallerSection.tsx265 only for telemetry the API cannot provide, such as SMART, temperatures, and host-localCODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…se_control/internal/unified_agent_rc_rehearsal_test.py63 def set_routes(self, routes: dict[str, tuple[int, bytes, dict[str, str]]]) -> None:CODE