AI Slop Code Risk Monitor

cloudflare/cloudflare-os

SlopCodeMonitor badge for cloudflare/cloudflare-os Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Agent workspace built on Cloudflare Workers for creating documents, building apps, and running agents with your company’s context and systems.

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cloudflare/cloudflare-os, a TypeScript project with 11,634 GitHub stars. SynthScan examined 958,394 lines of code across 2036 source files, recording 1079 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
11.6K
Stars
TypeScript
Language
958.4K
Lines of Code
2.0K
Files
1.1K
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 4.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 4.5/100 · LOW

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

PR Review Velocity Impact 7.8/100 · LOW

Which changes need focused human review? 1079 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 4HIGH 4MEDIUM 214LOW 857

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 1079 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators206 hits · 608 pts
SeverityFileLineSnippetContext
MEDIUM…ges/gatekeeper-homeassistant/worker-configuration.d.ts11204// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…ges/gatekeeper-homeassistant/worker-configuration.d.ts11225// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-supabase/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-supabase/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ckages/gatekeeper-mcp-portal/worker-configuration.d.ts11192// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…ckages/gatekeeper-mcp-portal/worker-configuration.d.ts11213// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/mcp-shared/worker-configuration.d.ts11192// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/mcp-shared/worker-configuration.d.ts11213// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-github/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-github/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-github/__tests__/workerd/worker.ts533 // ── Hooks, with this object standing in for the Overseer ─────────────COMMENT
MEDIUMpackages/gatekeeper-github/src/github-hooks.ts91// ── Driver ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-github/src/github-hooks.ts724// ── Webhook deliveries ──────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-x/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-x/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-email/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-email/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-zoominfo/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-zoominfo/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-notion/worker-configuration.d.ts11211// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/gatekeeper-notion/worker-configuration.d.ts11232// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tegration-tests/__tests__/google-hooks-upgrade.test.ts125 // ── Under the release before this one ──────────────────────────────────────────────────────COMMENT
MEDIUM…tegration-tests/__tests__/google-hooks-upgrade.test.ts157 // ── The upgrade ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tegration-tests/__tests__/google-hooks-upgrade.test.ts163 // ── Under this tree's release ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-backend/worker-configuration.d.ts11210// ── Error types ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-backend/worker-configuration.d.ts11231// ── Binding ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/ChatInterface.tsx5307 // ─── sidebar list content (reused in both modes) ──────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/ChatInterface.tsx5556 // ─── main render ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/workshop-frontend/src/GadgetEditor.tsx1397 // ── reload UI when preview branch/code changes ────────────────────────────────COMMENT
MEDIUM⚡packages/workshop-frontend/src/GadgetEditor.tsx1407 // ── user info ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/workshop-frontend/src/GadgetEditor.tsx1412 // ── notification mute ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx80// ─── console log subscriber ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx104// ─── workpieces subscriber ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx165// ─── right-panel tabs ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx462// ─── component ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx476 // ── toasts ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx479 // ── core state ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx490 // ── title editing ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx525 // ── role gating ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx533 // ── layout ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx644 // ── code / chat state ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx712 // ── workpiece selection ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx929 // ── console log buffering ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1063 // ── chat count / auto-switch ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1183 // ── navigation helper ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1216 // ── keep single-chat routing aligned with the current mode ──────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1238 // ── resize handle ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1282 // ── workpiece list subscription ───────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1308 // ── selected gadget stub ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1322 // ── follow the agent across gadgets ─────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1348 // ── workpiece picker handlers ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1382 // ── console log subscription ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1431 // ── title save/cancel ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1449 // ── back ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1454 // ── delete ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1471 // ── shared height tokens ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1475 // ── error / loading states ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/GadgetEditor.tsx1552 // ── always render the full two-pane edit layout; preview overlays on top ──────COMMENT
MEDIUMpackages/workshop-frontend/src/OnboardingWizard.tsx41// ─── constants ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/workshop-frontend/src/OnboardingWizard.tsx64// ─── component ──────────────────────────────────────────────────────────────────COMMENT
146 more matches not shown…
Over-Commented Block452 hits · 426 pts
SeverityFileLineSnippetContext
LOWpnpm-workspace.yaml21 # Exact: TypeScript 7 (tsgo). Type-checking runs on the native compiler. Build-timeCOMMENT
LOWpnpm-workspace.yaml41 playwright: ^1.64.0COMMENT
LOWplans/gatekeeper-kit.md381 // expired — grant gone: provider-confirmed death (the account owns announcing it; deliveryCOMMENT
LOWplans/gatekeeper-kit.md421 // credential, and it is the only authority that mattersCOMMENT
LOWplans/gatekeeper-kit.md441 // after the notify await resolves a mid-notification reconnectCOMMENT
LOWplans/gatekeeper-kit.md461 // atomic triple under a non-"" identity (the source refuses a ""COMMENT
LOWplans/gatekeeper-kit.md481 // "unavailable" or an internal "unadjudicated" answer → theCOMMENT
LOW.agents/skills/write-gatekeeper/SKELETON.md341// Hook type — remove this section (and the HookController/HookInitiator/HookTargetMetadataCOMMENT
LOW.agents/skills/write-gatekeeper/SKELETON.md421COMMENT
LOW.agents/skills/write-gatekeeper/SKELETON.md441type MyHookControllerImplProps = MyGatekeeperImplProps & MyHookProps;COMMENT
LOW.agents/skills/write-gatekeeper/SKELETON.md461}COMMENT
LOWscripts/map-concurrent.ts1// Runs an async operation over a list with a bounded number of them in flight.COMMENT
LOWscripts/relay-termination.test.ts241 assert.ok(existsSync(cleaned), "the grandchild was SIGKILLed before it finished cleaning up");COMMENT
LOWscripts/assert-workerd.ts1// Fails the suite unless it is genuinely executing inside workerd.COMMENT
LOWscripts/build-bundled-blueprints.test.ts141// Nothing was catching that. The module is gitignored, so `git status` stays clean, and theCOMMENT
LOWscripts/with-timeout.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/with-timeout.ts21// other running task; were that child the watchdog, its tree would run on unbounded, and on LinuxCOMMENT
LOWscripts/clean-error-reporting-artifacts.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/build-gatekeeper-configurator.test.ts261 const read = new Set(COMMENT
LOWscripts/pnpm-command.ts1// Spawn pnpm from a script without going through a shell.COMMENT
LOWscripts/run-dev-server.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/run-dev-server.ts221// The signal count is only an impatience shortcut on top of that grace deadline, and it isCOMMENT
LOWscripts/run-dev-server.ts321// gatekeeper needs its `build:configurator` or `build:app:dev` task (declared in itsCOMMENT
LOWscripts/run-dev-server.ts401function bindingName(gk: Gatekeeper): string {COMMENT
LOWscripts/run-dev-server.ts501COMMENT
LOWscripts/run-dev-server.ts681});COMMENT
LOWscripts/run-local.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/run-local.ts61// Known limitation, not worth the restructuring to fix: the pre-flight steps above areCOMMENT
LOWscripts/vite.config.ts41 // input, and racing whatever task owns that path. So the fixtures stay outside it:COMMENT
LOWscripts/relay-termination.ts1// Termination relay for the thin wrappers that exist only to spawn one child (`vp/run.ts`,COMMENT
LOWscripts/relay-termination.ts61 const handler = () => onSignal(signal);COMMENT
LOWscripts/kill-process-tree.ts1// Signal a process and every descendant it has.COMMENT
LOWscripts/evals/eval-keys.ts1// Cache keys for Workshop eval results, read from git trees so no checkout is needed. The evalCOMMENT
LOWscripts/release/upload-release.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/release/manifest-lib.ts1// Generates the release manifest: the contract between this repo's CI (which builds workerCOMMENT
LOWscripts/release/manifest-lib.ts281 "gatekeeper-mcp", // MCP OAuth uses dynamic client registration, not a static appCOMMENT
LOWscripts/release/manifest-lib.ts301// 2. Nothing could distinguish two installs. A gatekeeper taking no inputs (seeCOMMENT
LOWscripts/release/manifest-lib.ts501 // read from wrangler.jsonc): webFetch's toMarkdown conversion depends on it, and it is alsoCOMMENT
LOWscripts/release/promote-release.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/release/build-release.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/release/build-release.ts41const FRONTEND_DIR = join(PACKAGES_DIR, "workshop-frontend");COMMENT
LOWscripts/release/build-release.ts121 // kill it. mapConcurrent makes this check before claiming an item, but an asset-serving bundleCOMMENT
LOWscripts/release/build-release.ts161 });COMMENT
LOWscripts/release/build-release.ts241}COMMENT
LOWscripts/release/build-release.ts261// rejects with the abort reason, i.e. the root cause itself, which is what lets the failure summaryCOMMENT
LOWscripts/vp/concurrency.ts1// Picks the task concurrency for the `vp run` invocations this repo makes, from the machine it isCOMMENT
LOWscripts/vp/concurrency.ts21// hang risk -- so memory, not CPU, caps the count on small machines: 8 GiB → 4, 16 GiB → 8,COMMENT
LOWscripts/vp/concurrency.ts41// formula, and the note says which of the sources the number came from, since a value that silentlyCOMMENT
LOWscripts/vp/run.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/preview/staging-config.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/preview/preview.ts1#!/usr/bin/env nodeCOMMENT
LOWscripts/preview/preview.ts21// Between tiers the next tier's `previews.services[].preview_id` is patched with the ids theCOMMENT
LOWpackages/gatekeeper-homeassistant/vite.config.ts1// Vite+ per-package settings. The build:configurator task definition is shared by all gatekeepersCOMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts10821 returnRawResponse: true;COMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts14121 send(records: T[]): Promise<void>;COMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts14241 [I in keyof A]: Unstubify<A[I]>;COMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts14261 type MethodOrProperty<V> = V extends (...args: infer P) => infer R ? (...args: UnstubifyAll<P>) => Result<Awaited<R>COMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts14281 // Project-specific parameters used to inform types.COMMENT
LOW…ges/gatekeeper-homeassistant/worker-configuration.d.ts15461 }COMMENT
LOWpackages/gatekeeper-homeassistant/src/types.d.ts1// TypeScript interface for the Home Assistant gatekeeper. These types are exposed to gadgetsCOMMENT
392 more matches not shown…
Hyper-Verbose Identifiers296 hits · 286 pts
SeverityFileLineSnippetContext
LOWplans/gatekeeper-kit.md308export async function notifyCredentialsExpiredOnce(CODE
LOWplans/gatekeeper-kit.md310export function clearCredentialExpiryLatch(kv): void;CODE
LOWplans/gatekeeper-kit.md2358export function commitDetailsFromGitObject(oid: GitOid, payload: Uint8Array,CODE
LOWscripts/build-gatekeeper-configurator.test.ts61async function assertNoReportingArtifacts(directory: string): Promise<void> {CODE
LOWscripts/dev-server-config.ts5export function getWranglerPortFromBackendHost(backendHost: string): string | null {CODE
LOWscripts/kill-process-tree.ts120export async function killProcessTreeEscalating(CODE
LOWscripts/contribution-policy.ts109export function getContributionPolicyViolations(pullRequest: PolicyPullRequest): string[] {CODE
LOWscripts/contribution-policy.ts141export async function enforceContributionPolicy({ github, context, core }: {CODE
LOWscripts/preview/staging-config.ts291function backendGatekeeperServices(gatekeepers: string[], baseUrl: string): PreviewService[] {CODE
LOWscripts/preview/preview.ts498function patchPreviewServiceBindings(CODE
LOWpackages/gatekeeper-homeassistant/src/homeassistant.ts802async function getResourceConfiguratorCreds(target: object): Promise<HomeAssistantCredentials> {CODE
LOWpackages/gatekeeper-homeassistant/src/simulation.ts297export function sortActionsChronologically(actions: HomeAssistantAction[]): HomeAssistantAction[] {CODE
LOWpackages/gatekeeper-mcp-portal/src/portal.ts207async function listAvailablePortalServers(CODE
LOWpackages/gatekeeper-mcp-portal/src/config.ts55export function requirePortalServerVisible(env: Env, serverId: string): void {CODE
LOWpackages/gatekeeper-mcp-portal/src/config.ts140export function portalCatalogValidationMode(CODE
LOWpackages/gatekeeper-mcp-portal/src/config.ts206export function portalAuthRequiresReconnect(CODE
LOWpackages/error-reporting/src/index.ts248export function normalizeFrontendErrorReport(input: unknown): FrontendErrorReportV1 | null {CODE
LOWpackages/error-reporting/src/index.ts282export function extractFrontendFrameReport(value: unknown): FrontendFrameErrorReportV1 | null {CODE
LOWpackages/mcp-shared/__tests__/schema-to-ts.test.ts68function expectTypeScriptToCompile(source: string): void {CODE
LOWpackages/mcp-shared/__tests__/schema-to-ts.test.ts72function expectTypeScriptProgramToCompile(source: string): void {CODE
LOWpackages/mcp-shared/src/scope.ts137export function requireCompleteCatalogForToolSelection(truncated: boolean): void {CODE
LOWpackages/mcp-shared/src/scope.ts150export function validateToolScopeAgainstCatalog(CODE
LOWpackages/gatekeeper-github/src/github.ts1013function commentTargetFromResponse(comment: GitHubPullRequestReviewCommentResponse): GitHubDiffCommentTarget {CODE
LOWpackages/gatekeeper-github/src/github.ts1031function discussionCommentFromResponse(comment: GitHubIssueCommentResponse): GitHubDiscussionCommentEntry {CODE
LOWpackages/gatekeeper-github/src/github.ts1043function submittedDiffCommentFromResponse(comment: GitHubPullRequestReviewCommentResponse): GitHubSubmittedDiffComment {CODE
LOWpackages/gatekeeper-github/src/git-commits.ts102export function commitDetailsFromGitObject(CODE
LOWpackages/gatekeeper-github/src/github-search.ts15export function assertIssueSearchResultsInRepo(CODE
LOWpackages/gatekeeper-email/src/email.ts87function getSupportedResourcesList(env: Env): SupportedResource[] {CODE
LOWpackages/gatekeeper-notion/src/notion-actions.ts327export function defaultPropertiesFromSchema(schema: NotionDatabaseSchema): Record<string, NotionPropertyValue> {CODE
LOWpackages/gatekeeper-notion/src/notion-actions.ts495function normalizeAppendedMarkdown(markdown: string): string {CODE
LOWpackages/gatekeeper-kit/src/preview-oauth.ts65function validatePreviewConfigurationUrl(url: URL, label: string): void {CODE
LOWpackages/gatekeeper-kit/src/credential-expiry.ts50export async function notifyCredentialsExpiredOnce(CODE
LOWpackages/gatekeeper-kit/src/credential-expiry.ts105export function clearCredentialExpiryLatch(kv: ExpiryLatchKv): void {CODE
LOWpackages/gatekeeper-kit/src/git-objects.ts215export function commitDetailsFromGitObject(CODE
LOW…egration-tests/__tests__/workshop-prompt-cache.test.ts40function expectEachRequestExtendsThePrevious(requests: readonly unknown[]) {CODE
LOW…s/integration-tests/__tests__/workshop-sharing.test.ts86async function expectOpenDeniedAfterRestart(CODE
LOW…s/integration-tests/__tests__/workshop-sharing.test.ts107async function listShareLinksAfterRestart(username: string, workspaceId: string) {CODE
LOWpackages/integration-tests/src/harness.ts255export function startTestGatekeeperHarness(options: { enableGadgetExecution?: boolean } = {})CODE
LOW…ckages/workshop-backend/browser/browser-export-page.ts89export function getValidatedScreenshotClip(maxPixels: number) {CODE
LOWpackages/workshop-backend/__tests__/fixtures.ts28export function makePreIndexActionStorage(mockStorage: DurableObjectStorage) {CODE
LOW…/workshop-backend/__tests__/restricted-actions.test.ts40function seedRestrictedObservation(impl: any, gatekeeperId: number, actionId: number): void {CODE
LOW…s/workshop-backend/scripts/import-bundled-blueprint.ts72function rejectIgnoredBlueprintPaths(name: string, files: Iterable<string>): void {CODE
LOWpackages/workshop-backend/src/overseer.ts263function defaultBlueprintBindingTitle(record: GatekeeperRecord, bindingName?: string): string {CODE
LOWpackages/workshop-backend/src/overseer.ts366function connectionTypeFromCreationSpec(CODE
LOWpackages/workshop-backend/src/overseer.ts397function validateBlueprintScreenshotUpload(screenshot: BlueprintScreenshotUpload): BlueprintScreenshotUpload {CODE
LOWpackages/workshop-backend/src/overseer.ts670export function sanitizeMessageFormatRefs(CODE
LOWpackages/workshop-backend/src/admin-config.ts113export function deploymentOutputForBlueprint(CODE
LOWpackages/workshop-backend/src/admin-config.ts336export function parseRestrictedWebFetchHosts(hosts: string[]): string[] {CODE
LOWpackages/workshop-backend/src/admin-config.ts468export function formatInstanceInstructions(instructions: string): string {CODE
LOWpackages/workshop-backend/src/anthropic-compaction.ts73export function supportsAnthropicCompaction(model: Model<Api>): boolean {CODE
LOWpackages/workshop-backend/src/anthropic-compaction.ts88export async function requestAnthropicCompaction(CODE
LOWpackages/workshop-backend/src/anthropic-compaction.ts129export function withAnthropicCompactionBlock(CODE
LOWpackages/workshop-backend/src/agent.ts292export function makeStoredAssistantMessage(message: AssistantMessage): StoredAssistantMessage {CODE
LOWpackages/workshop-backend/src/agent.ts929function formatCallableAgentPrompt({types, mainType}: SpawnCallableOptions): string {CODE
LOWpackages/workshop-backend/src/agent.ts945export function formatMissingBlueprintBindings(CODE
LOWpackages/workshop-backend/src/agent.ts1429export function rehydrateStoredAssistantMessage(CODE
LOWpackages/workshop-backend/src/agent.ts1454function makeReplayAssistantMessage(CODE
LOWpackages/workshop-backend/src/agent-compaction.ts180export function findProtectedFromSequence(messages: AiChatMessage[]): number | undefined {CODE
LOWpackages/workshop-backend/src/blueprint-archive.ts132function encodeBlueprintArchivePrefix(metadata: BlueprintMetadata, contentLength: number): Uint8Array {CODE
LOWpackages/workshop-backend/src/blueprint-archive.ts145export function buildBlueprintArchiveStream(CODE
236 more matches not shown…
Fake / Example Data73 hits · 76 pts
SeverityFileLineSnippetContext
LOWpackages/gatekeeper-email/src/types.d.ts2 /** Display name, e.g. "John Doe". Empty string if not provided. */COMMENT
LOWpackages/gatekeeper-email/src/types.txt2 /** Display name, e.g. "John Doe". Empty string if not provided. */COMMENT
LOWpackages/workshop-backend/__tests__/code-change.test.ts472 let c = content({ 1: { "f.txt": "placeholder" } });CODE
LOW⚡…rkshop-backend/__tests__/admin-settings-models.test.ts1072 "gateway.provider.test", admin => admin.testGatewayProvider(provider, "admin@example.com"));CODE
LOW⚡…rkshop-backend/__tests__/admin-settings-models.test.ts1074 "gateway.model.test", admin => admin.testGatewayModel(modelId, "admin@example.com"));CODE
LOW⚡…rkshop-backend/__tests__/admin-settings-models.test.ts1076 "gateway.model.test", admin => admin.testNewGatewayModel(model, "admin@example.com"));CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1097 .toStrictEqual({ user: "admin@example.com" });CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1246 await expect(inDo(admin => admin.testGatewayProvider("ollama", "admin@example.com")))CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1284 const test = admin.testGatewayProvider("cloudflare", "admin@example.com");CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1346 .toStrictEqual({ user: "admin@example.com" });CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1499 await expect(inDo(admin => admin.testGatewayModel(id, "admin@example.com")))CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1520 const test = admin.testGatewayModel(GLM, "admin@example.com");CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1570 .toStrictEqual({ user: "admin@example.com" });CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1696 await expect(inDo(admin => admin.testNewGatewayModel(model, "admin@example.com")))CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1709 await expect(inDo(admin => admin.testNewGatewayModel(model, "admin@example.com")))CODE
LOW…rkshop-backend/__tests__/admin-settings-models.test.ts1729 const test = admin.testNewGatewayModel(STATED, "admin@example.com");CODE
LOWpackages/workshop-backend/src/worktree-binding.d.ts72 /** Human-readable name, e.g. "Jane Doe". */COMMENT
LOWpackages/workshop-backend/src/worktree-binding.txt72 /** Human-readable name, e.g. "Jane Doe". */COMMENT
LOW…es/workshop-backend/src/storage-schema/user-storage.ts210 id: "user@example.com",CODE
LOWpackages/workshop-shared/src/gatekeeper.ts248 /** User's display name, e.g. "John Doe". This is a non-unique name that is human-readable. */COMMENT
LOW…urator-ui/src/runtime/HierarchyPicker.browser.test.tsx894 await expect.element(search).toHaveAttribute("placeholder", "Search");CODE
LOW…urator-ui/src/runtime/HierarchyPicker.browser.test.tsx899 await expect.element(search).toHaveAttribute("placeholder", "Search Drive");CODE
LOW…urator-ui/src/runtime/HierarchyPicker.browser.test.tsx1349 await expect.element(search).toHaveAttribute("placeholder", "Search everything");CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json59 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json82 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json665 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json700 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json733 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json815 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json824 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json926 "placeholder": {CODE
LOW…es/gatekeeper-google/__tests__/slides-live-sample.json935 "placeholder": {CODE
LOW…gatekeeper-google/__tests__/markdown-converter.test.ts786 "Before ", { richLink: { title: "placeholder", uri: "https://example.com" } }, " after\n",CODE
LOW…s/gatekeeper-google/__tests__/slides-live-outline.json34 "placeholder": {CODE
LOW…s/gatekeeper-google/__tests__/slides-live-outline.json51 "placeholder": {CODE
LOW…s/gatekeeper-google/__tests__/slides-live-outline.json138 "placeholder": {CODE
LOW…s/gatekeeper-google/__tests__/slides-live-outline.json192 "placeholder": {CODE
LOW…s/gatekeeper-google/__tests__/slides-live-outline.json199 "placeholder": {CODE
LOW…ges/gatekeeper-google/__tests__/slides-live-theme.json20 "placeholder": {CODE
LOW…ges/gatekeeper-google/__tests__/slides-live-theme.json28 "placeholder": {CODE
LOW…ges/gatekeeper-google/__tests__/slides-live-theme.json89 "placeholder": {CODE
LOW…ges/gatekeeper-google/__tests__/slides-live-theme.json97 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json205 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json212 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json219 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json268 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json275 "placeholder": {CODE
LOW⚡packages/gatekeeper-google/src/blank-presentation.json282 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json20 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json28 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json240 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json247 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json303 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json310 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json331 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json600 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json641 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json678 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json719 "placeholder": {CODE
LOWpackages/gatekeeper-google/src/blank-presentation.json764 "placeholder": {CODE
13 more matches not shown…
Structural Annotation Overuse33 hits · 50 pts
SeverityFileLineSnippetContext
LOW.agents/skills/write-gatekeeper/SKILL.md36### Step 1: Understand the external serviceCOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md43### Step 2: Design the Session typesCOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md65### Step 3: STOP — Present API for reviewCOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md73### Step 4: ImplementCOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md91### Step 5: RegisterCOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md95### Step 6: Add resource selection UICOMMENT
LOW.agents/skills/write-gatekeeper/SKILL.md146### Step 7: STOP — Ask operator whether to proceed to phase 2COMMENT
LOWpackages/gatekeeper-github/README.md38### Step 1: Create a GitHub OAuth AppCOMMENT
LOWpackages/gatekeeper-github/README.md55### Step 2: Generate a Client SecretCOMMENT
LOWpackages/gatekeeper-github/README.md62### Step 3: Configure Your Local EnvironmentCOMMENT
LOWpackages/gatekeeper-github/README.md85### Step 5: Verify SetupCOMMENT
LOWpackages/gatekeeper-email/README.md95### Step 1: Deploy the email gatekeeper and set env.BASE_URLCOMMENT
LOWpackages/gatekeeper-email/README.md109### Step 2: Enable Email RoutingCOMMENT
LOWpackages/gatekeeper-email/README.md114### Step 3: Create an Email Worker RouteCOMMENT
LOWpackages/gatekeeper-cloudflare/README.md118### Step 1: Register the redirect URICOMMENT
LOWpackages/gatekeeper-cloudflare/README.md138### Step 2: Configure Your Local EnvironmentCOMMENT
LOWpackages/gatekeeper-cloudflare/README.md168### Step 4: Verify SetupCOMMENT
LOWpackages/gatekeeper-linear/src/linear.ts414 // Step 1: user opens the connect link (<doId>/<nonce>) -> redirect to Linear's consent screen.COMMENT
LOWpackages/gatekeeper-linear/src/linear.ts438 // Step 2: Linear redirects back here with code + state.COMMENT
LOWpackages/gatekeeper-google/README.md20### Step 1: Create a Google Cloud ProjectCOMMENT
LOWpackages/gatekeeper-google/README.md30### Step 2: Enable Required APIsCOMMENT
LOWpackages/gatekeeper-google/README.md61### Step 3: Configure the OAuth Consent ScreenCOMMENT
LOWpackages/gatekeeper-google/README.md98### Step 4: Test UsersCOMMENT
LOWpackages/gatekeeper-google/README.md108### Step 5: Create OAuth CredentialsCOMMENT
LOWpackages/gatekeeper-google/README.md120### Step 6: Configure Your Local EnvironmentCOMMENT
LOWpackages/gatekeeper-google/README.md146### Step 8: Verify SetupCOMMENT
LOWpackages/gatekeeper-spotify/README.md25### Step 1: Create a Spotify appCOMMENT
LOWpackages/gatekeeper-spotify/README.md42### Step 2: Configure your local environmentCOMMENT
LOWpackages/gatekeeper-spotify/README.md57### Step 3: Add yourself as a user (development mode)COMMENT
LOWpackages/gatekeeper-spotify/README.md67### Step 4: Verify setupCOMMENT
LOWpackages/gatekeeper-gitlab/README.md45### Step 1: Create a GitLab applicationCOMMENT
LOWpackages/gatekeeper-gitlab/README.md61### Step 2: Configure your local environmentCOMMENT
LOWpackages/gatekeeper-gitlab/README.md92### Step 4: Verify setupCOMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALscripts/vitest-task.test.ts316 assert.ok(config.run.tasks.test.dependsOn.includes("build:configurator"));CODE
CRITICALpackages/workshop-backend/src/overseer.ts11638 let pending = [...this.impl.storage.actions.pendingByGatekeeper.get(gatekeeperId)];CODE
CRITICALpackages/workshop-backend/src/overseer.ts11750 this.impl.storage.actions.pendingByGatekeeper.get(action.gatekeeperId));CODE
CRITICALpackages/workshop-backend/src/overseer.ts12238 let response = this.impl.storage.gadgetResponseDeliveries.undeliveredByChatId.get(chatId);CODE
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHplans/x-gatekeeper.md507 /** Set when an attached image was generated by AI; X then labels the post. */COMMENT
HIGHpackages/gatekeeper-x/src/types.d.ts215 /** Set to true when an attached image was generated by AI; X then labels the post. */COMMENT
HIGHpackages/gatekeeper-x/src/types.txt215 /** Set to true when an attached image was generated by AI; X then labels the post. */COMMENT
AI Slop Vocabulary7 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMpnpm-workspace.yaml65 # vitest-evals 0.17 declares `vitest >=4 <5`, but its harness, judges and reporter work unchangedCOMMENT
MEDIUMpackages/integration-tests/__tests__/google-fake.ts240 return this.#push(harness, {CODE
MEDIUMpackages/integration-tests/__tests__/google-fake.ts249 return this.#push(harness, {CODE
MEDIUMpackages/integration-tests/__tests__/google-fake.ts268 async #push(harness: Harness, message: { attributes?: Record<string, string>; data: string }): Promise<number> {CODE
MEDIUMpackages/workshop-backend/src/overseer.ts5949 // seamless behavior the user opted into.COMMENT
MEDIUM…ckages/workshop-frontend/src/features/code/otClient.ts34// seamless; a destructive bump (revert / draft discard / turn abort) discards local editsCOMMENT
MEDIUM.github/workflows/workshop-evals-pr.yml15 # Eval CI and harnessCOMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpackages/gatekeeper-microsoft/scripts/office-render.ts110print(document.pageCount)CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/workshop-backend/__tests__/ai-models.test.ts1649// A decision model binding is revoked as a language model binding is (see bindingConfig()).COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpackages/gatekeeper-linear/src/linear.ts414 // Step 1: user opens the connect link (<doId>/<nonce>) -> redirect to Linear's consent screen.COMMENT
LOWpackages/gatekeeper-linear/src/linear.ts438 // Step 2: Linear redirects back here with code + state.COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/workshop-backend/src/overseer.ts4715 // TODO: Fix exception reporting it tail workers so we can remove this hack.COMMENT