AI Slop Code Risk Monitor

Narcooo/inkos

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

Story Creation AI Agent for novel, scripts, translation, interactive games, and IP content

3.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Narcooo/inkos, a TypeScript project with 10,951 GitHub stars. SynthScan examined 126,833 lines of code across 746 source files, recording 355 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 3.2 (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.

3.2
Adjusted Signal
3.2
Raw Pattern Score
100%
Time Factor
2026-10-24
Last Push
11.0K
Stars
TypeScript
Language
126.8K
Lines of Code
746
Files
355
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 13.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 12.8/100 · LOW

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

PR Review Velocity Impact 14.1/100 · LOW

Which changes need focused human review? 355 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 4MEDIUM 5LOW 346

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 355 distinct pattern matches across 7 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 Identifiers329 hits · 335 pts
SeverityFileLineSnippetContext
LOWpackages/studio/src/shared/confirmed-production.ts23export function isConfirmedProductionAction(CODE
LOWpackages/studio/src/components/chat-utils.ts20export function coerceSharedSessionMessages(CODE
LOWpackages/studio/src/components/chat-utils.ts48export function formatSharedSessionContext(meta: SharedSessionMeta): string {CODE
LOW…tudio/src/components/chat/NarrativeForecastPreview.tsx49export function getNarrativeForecastPreviewDetails(exec: ToolExecution): NarrativeForecastPreviewDetails | null {CODE
LOW…tudio/src/components/chat/NarrativeForecastPreview.tsx76export function buildNarrativeForecastSelectionInstruction(CODE
LOW…tudio/src/components/chat/NarrativeForecastPreview.tsx86export function buildNarrativeForecastRecheckInstruction(CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx261export function getChapterContextTraceDetails(exec: ToolExecution): ReadonlyArray<ChapterContextTraceDetails> {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx277function ChapterContextTracePreview({ exec }: { exec: ToolExecution }) {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx350export function getChapterRevisionDetails(exec: ToolExecution): ChapterRevisionDetails | null {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx361export function getChapterStateResyncDetails(exec: ToolExecution): ChapterStateResyncDetails | null {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx420function ChapterStateResyncPreview({ exec }: { exec: ToolExecution }) {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx442export function getGeneratedArtifactDetails(exec: ToolExecution): GeneratedArtifactDetails | null {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx475function ScriptStoryboardResultPreview({ exec, onOpenFilmStudio }: { exec: ToolExecution; onOpenFilmStudio?: (projectId:CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx540function ShortFictionResultPreview({ exec }: { exec: ToolExecution }) {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx738export function getProposedActionContractRows(details: ProposedActionDetails): ReadonlyArray<{ label: string; value: strCODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx865function hasStructuredResultPreview(exec: ToolExecution): boolean {CODE
LOW…ages/studio/src/components/chat/ToolExecutionSteps.tsx1132export function groupToolExecutionsChronologically(executions: ToolExecution[]): RenderGroup[] {CODE
LOWpackages/studio/src/hooks/use-book-activity.ts149export function shouldRefetchBookCollections(message: SSEMessage | undefined): boolean {CODE
LOWpackages/studio/src/hooks/use-book-activity.ts153export function shouldRefetchDaemonStatus(message: SSEMessage | undefined): boolean {CODE
LOWpackages/studio/src/lib/studio-events.ts64export function closeStudioEventConnections(): void {CODE
LOWpackages/studio/src/lib/error-copy.ts17export function localizeKnownRuntimeMessage(message: string): string {CODE
LOW⚡packages/studio/src/api/server.ts543function normalizeStudioSessionKind(value: unknown, fallback: SessionKind): SessionKind {CODE
LOW⚡packages/studio/src/api/server.ts552function normalizeStudioActionSource(value: unknown): ActionSource {CODE
LOW⚡packages/studio/src/api/server.ts560function normalizeStudioRequestedIntent(value: unknown): RequestedIntent | undefined {CODE
LOW⚡packages/studio/src/api/server.ts576function normalizeStudioProposalAction(value: unknown): RequestedIntent | undefined {CODE
LOW⚡packages/studio/src/api/server.ts585function normalizeStudioActionPayload(value: unknown): ActionPayload | undefined {CODE
LOW⚡packages/studio/src/api/server.ts594function normalizeStudioSkillIdList(value: unknown, field: string): string[] {CODE
LOW⚡packages/studio/src/api/server.ts1672function resolveCreatedBookIdFromDetails(details: Readonly<Record<string, unknown>> | undefined): string | null {CODE
LOW⚡packages/studio/src/api/server.ts1679function resolveCreatedWorkIdFromToolExec(exec: CollectedToolExec): string | null {CODE
LOW⚡packages/studio/src/api/server.ts1687async function loadStudioBookListSummary(CODE
LOWpackages/studio/src/api/server.ts188async function resolveStudioProfileSkills(CODE
LOWpackages/studio/src/api/server.ts271function buildRunningTaskContextBlock(task: StudioTaskSnapshot, lang: StudioLanguage): string {CODE
LOWpackages/studio/src/api/server.ts486function normalizeProjectGeneratedPath(root: string, rawPath: string, code: string): { readonly relPath: string; readonlCODE
LOWpackages/studio/src/api/server.ts517function resolveProjectTextArtifactFile(root: string, rawPath: string): { readonly relPath: string; readonly resolved: sCODE
LOWpackages/studio/src/api/server.ts657async function normalizeAgentAttachments(CODE
LOWpackages/studio/src/api/server.ts824function normalizeSkillImportFiles(value: unknown): {CODE
LOWpackages/studio/src/api/server.ts972function validateAgentActionExecution(args: {CODE
LOWpackages/studio/src/api/server.ts1052function hasSuccessfulToolOwnedResponse(execs: ReadonlyArray<CollectedToolExec>): boolean {CODE
LOWpackages/studio/src/api/server.ts1065function manualToolAssistantMessage(CODE
LOWpackages/studio/src/api/server.ts1113async function executeConfirmedProductionAction(args: {CODE
LOWpackages/studio/src/api/server.ts1650function resolveCreatedBookIdFromArgs(args?: Record<string, unknown>): string | null {CODE
LOWpackages/studio/src/api/server.ts1659function resolveCreatedBookIdFromToolExecs(execs: ReadonlyArray<CollectedToolExec>): string | null {CODE
LOWpackages/studio/src/api/server.ts1808function appendModelToServiceCatalog(CODE
LOWpackages/studio/src/api/server.ts1953async function readEffectiveEnvConfigValues(root: string): Promise<{ source: "project" | "global"; values: EnvConfigValuCODE
LOWpackages/studio/src/api/server.ts1961async function resolveConfiguredServiceBaseUrl(root: string, serviceId: string, inlineBaseUrl?: string): Promise<string CODE
LOWpackages/studio/src/api/server.ts1978async function resolveConfiguredServiceEntry(root: string, serviceId: string): Promise<ServiceConfigEntry | undefined> {CODE
LOWpackages/studio/src/api/server.ts2050function radarTimestampForFilename(value: string | undefined): string {CODE
LOWpackages/studio/src/api/server.ts2112function fallbackTextModelsForEndpoint(CODE
LOWpackages/studio/src/api/server.ts2123function shouldTrustStaticModelsWhenLiveListUnavailable(endpoint: ReturnType<typeof getAllEndpoints>[number] | undefinedCODE
LOWpackages/studio/src/api/server.ts2235async function fetchModelsFromServiceBaseUrl(CODE
LOWpackages/studio/src/api/work-session.ts4export function workSessionResponseMetadata(session: BookSession) {CODE
LOWpackages/studio/src/api/work-session.ts14export async function recoverSessionAfterAgentFailure(root: string, sessionId: string): Promise<BookSession | null> {CODE
LOWpackages/studio/src/pages/chat-page-state.ts29export function resolveWorkSessionBinding(input: {CODE
LOWpackages/studio/src/pages/chat-page-state.ts189export function shouldShowPlayChoicePanel(input: {CODE
LOWpackages/studio/src/pages/StoryGraphTree.tsx17export function buildProjectExportDownloadUrl(projectId: string): string | null {CODE
LOWpackages/studio/src/pages/service-detail-state.ts108export async function rehydrateServiceConnectionStatus(args: {CODE
LOWpackages/studio/src/pages/service-detail-state.ts136export function matchServiceConfigEntryForDetail(CODE
LOWpackages/studio/src/pages/BookCreate.tsx110export function defaultChapterWordsForLanguage(language: "zh" | "en"): string {CODE
LOWpackages/studio/src/pages/BookCreate.tsx114export function platformOptionsForLanguage(language: "zh" | "en"): ReadonlyArray<PlatformOption> {CODE
LOWpackages/studio/src/store/preferences/store.ts28export function readStoredToolDetailsDefaultOpen(CODE
269 more matches not shown…
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHpackages/cli/src/project-bootstrap.ts13 return content.includes("INKOS_LLM_API_KEY=") && !content.includes("your-api-key-here");CODE
HIGHpackages/cli/src/tui/setup.ts326 return !!match && match[1]!.trim().length > 0 && !match[1]!.includes("your-api-key");CODE
HIGHpackages/cli/src/commands/doctor.ts161 hasGlobal = globalContent.includes("INKOS_LLM_API_KEY=") && !globalContent.includes("your-api-key-here");CODE
HIGHpackages/cli/src/commands/doctor.ts192 const hasKey = apiKeyOptional || (!!apiKey && apiKey.length > 10 && apiKey !== "your-api-key-here");CODE
Verbosity Indicators7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡packages/studio/e2e/export.spec.ts19 // Step 1: fetch the exported HTML from the server.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts25 // Step 2: load the raw HTML string into a blank page (no server connection).COMMENT
LOW⚡packages/studio/e2e/export.spec.ts29 // Step 3: the embedded player must have bootstrapped with no server.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts32 // Step 4: click the single choice in the start node.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts37 // Step 5: the ending screen must appear.COMMENT
LOWpackages/core/src/pipeline/runner.ts1690 // Step 1: Generate foundation once. A failed replay preserves the draftCOMMENT
LOWpackages/core/src/pipeline/runner.ts1748 // Step 2: Sequential replayCOMMENT
Structural Annotation Overuse7 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡packages/studio/e2e/export.spec.ts19 // Step 1: fetch the exported HTML from the server.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts25 // Step 2: load the raw HTML string into a blank page (no server connection).COMMENT
LOW⚡packages/studio/e2e/export.spec.ts29 // Step 3: the embedded player must have bootstrapped with no server.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts32 // Step 4: click the single choice in the start node.COMMENT
LOW⚡packages/studio/e2e/export.spec.ts37 // Step 5: the ending screen must appear.COMMENT
LOWpackages/core/src/pipeline/runner.ts1690 // Step 1: Generate foundation once. A failed replay preserves the draftCOMMENT
LOWpackages/core/src/pipeline/runner.ts1748 // Step 2: Sequential replayCOMMENT
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpackages/core/src/__tests__/provider.test.ts11// ── Mock @mariozechner/pi-ai ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/__tests__/provider.test.ts28// ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/__tests__/provider.test.ts153// ── Tests ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/__tests__/provider.test.ts1031// ── 回归测试:per-call maxTokens 不被裁剪(v2.0.0 精简版)─────────────COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/studio/src/lib/truth-display.ts79// reader-facing; parse the table by header name (robust to column reordering)COMMENT
Over-Commented Block3 hits · 2 pts
SeverityFileLineSnippetContext
LOWpackages/studio/src/api/server.ts2501 if (!saved || saved.status !== "running") return saved;COMMENT
LOW…/studio/src/store/chat/slices/message/stream-events.ts381 const execution = data.execution as ToolExecution;COMMENT
LOWpackages/core/src/llm/provider.ts501COMMENT