AI Slop Code Risk Monitor

companion-inc/feynman

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

The open source AI research agent.

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for companion-inc/feynman, a TypeScript project with 10,048 GitHub stars. SynthScan examined 49,503 lines of code across 210 source files, recording 74 pattern matches distributed across 4 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
10.0K
Stars
TypeScript
Language
49.5K
Lines of Code
210
Files
74
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 7.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 6.0/100 · LOW

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

PR Review Velocity Impact 7.4/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 1LOW 73

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

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

Hyper-Verbose Identifiers61 hits · 61 pts
SeverityFileLineSnippetContext
LOWextensions/research-tools/science-database-openalex.ts14export function isOpenAlexScienceDatabaseSource(source: string): source is OpenAlexScienceDatabaseSource {CODE
LOWextensions/research-tools/ncbi-rate-limit.ts45export function resetNcbiRateLimitForTests(): void {CODE
LOWextensions/research-tools/service-tier.ts27function resolveFeynmanSettingsPath(): string {CODE
LOWextensions/research-tools/service-tier.ts66function resolveProviderServiceTier(CODE
LOWextensions/research-tools/service-tier.ts100export function registerServiceTierControls(pi: ExtensionAPI): void {CODE
LOWextensions/research-tools/science-database-pubmed.ts23export function setRequestTimeoutForTests(ms: number): void {CODE
LOWextensions/research-tools/current-date.ts3export function buildCurrentDateResearchContext(now: Date): string {CODE
LOWextensions/research-tools/current-date.ts14export function registerCurrentDateResearchContext(CODE
LOWextensions/research-tools/telemetry.ts41export function resolveResearchTelemetryConfig(env: NodeJS.ProcessEnv = process.env): ResearchTelemetryConfig | undefineCODE
LOWextensions/research-tools/telemetry.ts139export function registerResearchTelemetry(CODE
LOWextensions/research-tools/project-scaffold.ts1export function buildProjectAgentsTemplate(): string {CODE
LOWextensions/research-tools/discovery.ts54export function registerDiscoveryCommands(pi: ExtensionAPI): void {CODE
LOWextensions/research-tools/science-databases.ts296export function parseSemanticScholarQuery(raw: string): { query: string; year?: string } {CODE
LOWextensions/research-tools/science-databases.ts424async function semanticScholarByArxivIds(ids: string[]): Promise<Record<string, unknown>> {CODE
LOWextensions/research-tools/science-databases.ts501export function registerScienceDatabaseTools(pi: ExtensionAPI): void {CODE
LOWsrc/cli.ts140export function resolveBundledAlphaCliPath(appRoot: string): string {CODE
LOWsrc/cli.ts165export function resolveAlphaPassthroughArgs(rawArgs: string[], defaultCwd = process.cwd()): AlphaPassthroughArgs | undefCODE
LOWsrc/cli.ts475export function buildLocalModelWorkflowNotice(modelSpec: string, workflowName: string): string {CODE
LOWsrc/cli.ts483export function appendWorkflowFlagPositionals(CODE
LOWsrc/cli.ts513export async function shouldRunInteractiveSetup(CODE
LOWsrc/setup/doctor.ts20async function findProvidersMissingApiKey(modelRuntime: ModelRuntime, authPath: string): Promise<string[]> {CODE
LOWsrc/setup/setup.ts36function printNonInteractiveSetupGuidance(): void {CODE
LOWsrc/setup/setup.ts45async function maybeInstallOptionalPackages(options: SetupOptions): Promise<void> {CODE
LOWsrc/setup/setup.ts98async function maybeInstallPreviewDependencies(): Promise<void> {CODE
LOWsrc/setup/prompts.ts32export function nonInteractiveTerminalMessage(env: NodeJS.ProcessEnv = process.env, platform = process.platform): stringCODE
LOWsrc/setup/prompts.ts50function ensureInteractiveTerminal(): void {CODE
LOWsrc/system/self-update.ts22export async function fetchLatestFeynmanVersion(timeoutMs = 5000): Promise<string | undefined> {CODE
LOWsrc/system/node-version.ts29export function getUnsupportedNodeVersionLines(version = process.versions.node): string[] {CODE
LOWsrc/system/node-version.ts42export function ensureSupportedNodeVersion(version = process.versions.node): void {CODE
LOWsrc/pi/settings.ts186function removeLegacyResearcherExtension(settings: Record<string, unknown>): void {CODE
LOWsrc/pi/settings.ts202export function feynmanSubagentExtensions(appRoot: string): string[] {CODE
LOWsrc/pi/settings.ts207function isFeynmanSubagentExtension(path: unknown): boolean {CODE
LOWsrc/pi/settings.ts224function updateSettingsWithoutPiSetter(settingsPath: string, appRoot: string, defaults: Record<string, unknown>): void {CODE
LOWsrc/pi/runtime.ts89export function ensureFeynmanWorkspaceScaffold(CODE
LOWsrc/pi/packages.ts22export function normalizeOptionalPackagePresetName(name: string): OptionalPackagePresetName | undefined {CODE
LOWsrc/pi/packages.ts27export function listOptionalPackagePresets() {CODE
LOWsrc/pi/web-access.ts155export function formatPiWebAccessDoctorLines(CODE
LOWsrc/model/commands.ts112export async function resolveModelProviderForCommand(CODE
LOWsrc/model/commands.ts189function normalizeCustomProviderBaseUrl(CODE
LOWsrc/model/commands.ts254async function bestEffortFetchOpenAiModelIds(CODE
LOWsrc/model/commands.ts283async function promptCustomProviderSetup(): Promise<CustomProviderSetup | undefined> {CODE
LOWsrc/model/commands.ts395async function promptLmStudioProviderSetup(): Promise<CustomProviderSetup | undefined> {CODE
LOWsrc/model/commands.ts433async function promptLiteLlmProviderSetup(): Promise<CustomProviderSetup | undefined> {CODE
LOWsrc/model/commands.ts616async function maybeSetRecommendedDefaultModel(settingsPath: string | undefined, authPath: string): Promise<void> {CODE
LOWsrc/model/commands.ts762async function resolveAvailableModelSpec(authPath: string, input: string): Promise<string | undefined> {CODE
LOWsrc/model/commands.ts826export async function authenticateModelProvider(authPath: string, settingsPath?: string): Promise<boolean> {CODE
LOWsrc/model/commands.ts853export async function getOrCreateDeviceId(authPath: string): Promise<string> {CODE
LOWsrc/model/commands.ts864export function describeOAuthLoginFailure(providerId: string, error: unknown): unknown {CODE
LOWsrc/model/commands.ts1003async function describeUnavailableModelSpec(authPath: string, spec: string): Promise<string> {CODE
LOWsrc/model/service-tier.ts56export function resolveProviderServiceTier(CODE
LOWsrc/model/catalog.ts176function compareByResearchPreference(left: ModelRecord, right: ModelRecord): number {CODE
LOWsrc/model/catalog.ts240function compareCurrentModelFamily(left: ModelRecord, right: ModelRecord): number {CODE
LOWsrc/model/catalog.ts383export async function getAuthenticatedModelRecords(authPath: string): Promise<ModelRecord[]> {CODE
LOWsrc/model/catalog.ts412export function buildModelStatusSnapshotFromRecords(CODE
LOWsrc/telemetry/posthog.ts54export function createTelemetryCircuitBreakerFetch(CODE
LOWsrc/telemetry/posthog.ts77function disableTelemetryAfterTransportFailure(error: unknown): void {CODE
LOWsrc/telemetry/posthog.ts159export function resolvePostHogTelemetryConfig(options: {CODE
LOWsrc/telemetry/posthog.ts216export function normalizeTelemetryProperties(properties: TelemetryProperties = {}): Record<string, string | number | booCODE
LOWsrc/telemetry/posthog.ts252export function initializePostHogTelemetry(options: {CODE
LOWsrc/telemetry/posthog.ts299export async function captureTelemetryException(error: unknown, properties: TelemetryProperties = {}): Promise<void> {CODE
1 more matches not shown…
Structural Annotation Overuse11 hits · 16 pts
SeverityFileLineSnippetContext
LOWprompts/deepresearch.md22## Step 1: PlanCOMMENT
LOWprompts/deepresearch.md36## Step 2: ScaleCOMMENT
LOWprompts/deepresearch.md50## Step 3: Gather EvidenceCOMMENT
LOWprompts/deepresearch.md88## Step 4: DraftCOMMENT
LOWprompts/deepresearch.md106## Step 5: CiteCOMMENT
LOWprompts/deepresearch.md129## Step 6: ReviewCOMMENT
LOWprompts/deepresearch.md156## Step 7: DeliverCOMMENT
LOWprompts/autoresearch.md11## Step 1: GatherCOMMENT
LOWprompts/autoresearch.md23## Step 2: EnvironmentCOMMENT
LOWprompts/autoresearch.md35## Step 3: ConfirmCOMMENT
LOWprompts/autoresearch.md49## Step 4: RunCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMRELEASES.md1415- Fixed `alpha_search` returning empty results in every mode (#167). alphaXiv search tools now return structured JSON inCODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWextensions/research-tools/ncbi-rate-limit.ts1// NCBI limits E-utilities to 3 requests/sec/IP, or 10 with an API key. Pi runsCOMMENT