Repository Analysis

apache/maka

Apache Maka (Incubating) is a local-first AI agent workspace. Model messages, tool calls, tool results, permission decisions, and termination events are recorded as an append-only log.

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/maka, a TypeScript project with 3,981 GitHub stars. SynthScan v2.0 examined 1,111,242 lines of code across 2972 source files, recording 4110 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-08-29
Last Push
4.0K
Stars
TypeScript
Language
1.1M
Lines of Code
3.0K
Files
4.1K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 4HIGH 5MEDIUM 86LOW 4015

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 4110 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers3682 hits · 3766 pts
SeverityFileLineSnippetContext
LOWdocs/archive/2026-06-24-runtime-ledger-backfill.md411export function backfillRuntimeEventsFromStoredMessages(input: RuntimeEventBackfillInput): RuntimeEventBackfillResult {CODE
LOWpackages/ui/stories/model-picker.stories.tsx123 render: function ExistingConversationRender() {CODE
LOWpackages/ui/stories/model-picker.stories.tsx264 render: function ThinkingLevelSeparateRender() {CODE
LOWpackages/ui/src/composer-helpers.ts56export function deriveComposerModelSwitchAvailability(input: {CODE
LOWpackages/ui/src/composer-helpers.ts133export function rememberComposerHistoryEntry(entries: string[], text: string): string[] {CODE
LOWpackages/ui/src/chat-turn.tsx799function splitTimelineAtUserMessages(CODE
LOWpackages/ui/src/chat-turn.tsx1083export function ModelProviderRetryIndicator(props: { retry: LiveProviderRetry }) {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts131export function compareScheduledTaskBySort(a: ScheduledTask, b: ScheduledTask, sort: 'created-desc' | 'next-run-asc' | 'CODE
LOWpackages/ui/src/scheduled-task-helpers.ts141function scheduledTaskStatusDisplayRank(task: ScheduledTask): number {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts148function scheduledTaskNextRunSortValue(task: ScheduledTask): number {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts152function scheduledTaskLastRunSortValue(task: ScheduledTask): number {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts156export function normalizeScheduledTaskSearchQuery(query: string): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts160export function scheduledTaskMatchesSearch(task: ScheduledTask, query: string, locale: UiLocale): boolean {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts176export function scheduledTaskStatusGroupLabel(status: ScheduledTaskStatus, locale: UiLocale): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts184export function scheduledTaskRunRangeStart(range: 'day' | 'week' | 'month' | 'all', now: number): number | null {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts194export function scheduledTaskEditableRunAt(task: ScheduledTask, now: number = Date.now()): number {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts204export function scheduledTaskRecurrenceValue(task: ScheduledTask): ScheduledTaskRecurrence {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts212export function duplicateScheduledTaskTitle(title: string, locale: UiLocale): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts62export function toScheduledTaskLocalDateTimeValue(ts: number): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts68export function scheduledTaskTemplateNextRunAt(template: ScheduledTaskExampleTemplate, now: number = Date.now()): numberCODE
LOWpackages/ui/src/scheduled-task-helpers.ts84export function scheduledTaskFormValidation(input: {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts115export function formatScheduledTaskDeliveryProviderList(): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts119export function compareScheduledTaskForDisplay(a: ScheduledTask, b: ScheduledTask, locale: UiLocale): number {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts251export function formatScheduledTaskRecurrence(task: ScheduledTask, locale: UiLocale): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts263export function formatScheduledTaskDeliveryTargetLabel(effect: ScheduledTaskEffect, locale: UiLocale): string {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts322export function createScheduledTaskFormSeed(now: number = Date.now()): ScheduledTaskFormSeed {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts337export function scheduledTaskTemplateSeed(template: ScheduledTaskExampleTemplate, now: number = Date.now()): ScheduledTaCODE
LOWpackages/ui/src/scheduled-task-helpers.ts348function scheduledTaskFormSeedFromTask(task: ScheduledTask): ScheduledTaskFormSeed {CODE
LOWpackages/ui/src/scheduled-task-helpers.ts371export function scheduledTaskDuplicateSeed(task: ScheduledTask, locale: UiLocale): ScheduledTaskFormSeed {CODE
LOWpackages/ui/src/search-modal.tsx126function searchModalThrownErrorMessage(CODE
LOWpackages/ui/src/user-question-prompt-state.ts35export function buildUserQuestionResponse(CODE
LOWpackages/ui/src/streaming-display-redaction.ts75export function createStreamingDisplayRedactionState(CODE
LOWpackages/ui/src/streaming-display-redaction.ts99export function appendStreamingDisplayRedaction(CODE
LOWpackages/ui/src/streaming-display-redaction.ts219export function truncateStreamingDisplayAppend(CODE
LOWpackages/ui/src/streaming-display-redaction.ts247export function truncateStreamingDisplayTail(CODE
LOWpackages/ui/src/titlebar-session-identity.tsx54export function deriveTitlebarProjectName(options: {CODE
LOWpackages/ui/src/attachment-image.tsx45export function SessionAttachmentProvider(props: {CODE
LOWpackages/ui/src/chat-view.tsx900export function DeepResearchProgressPanel({CODE
LOWpackages/ui/src/use-message-selection-quote.ts62export function preservesNativeSelectionScroll(CODE
LOWpackages/ui/src/live-turn-projection.ts114function projectToolActivityIdentity(event: {CODE
LOWpackages/ui/src/live-turn-projection.ts617export function reconcileTerminalLiveTurn(CODE
LOWpackages/ui/src/skill-status.ts42function hasManagedUpdateAttention(skill: SkillEntry): boolean {CODE
LOWpackages/ui/src/skill-status.ts81export function skillExceptionalStateLabel(skill: SkillEntry, copy: SkillsCopy): string | null {CODE
LOWpackages/ui/src/skill-status.ts117export function formatSkillLibraryDescription(skill: SkillEntry, copy: SkillsCopy): string | undefined {CODE
LOWpackages/ui/src/chat-input-behavior.ts85export function fileTransferContainsFiles(types: Iterable<string>, fileCount: number): boolean {CODE
LOWpackages/ui/src/materialize.ts241function materializeToolResultStatus(CODE
LOWpackages/ui/src/materialize.ts625export function applyShellRunOverlayEntry(CODE
LOWpackages/ui/src/materialize.ts646export function toolActivityPresentationStatus(item: ToolActivityItem): ToolActivityStatus {CODE
LOWpackages/ui/src/materialize.ts857export function foldShellRunToolActivities(CODE
LOWpackages/ui/src/turn-virtualizer.ts58export function turnVirtualizationRequired(CODE
LOWpackages/ui/src/turn-virtualizer.ts100export function turnVirtualWindowForRange(CODE
LOWpackages/ui/src/turn-virtualizer.ts108export function turnVirtualWindowForViewport(CODE
LOWpackages/ui/src/turn-virtualizer.ts144export function stableTurnVirtualWindowForViewport(CODE
LOWpackages/ui/src/turn-virtualizer.ts223export function reconcileTurnVirtualWindow(CODE
LOWpackages/ui/src/inline-reference.tsx30export function inlineReferenceFileBasename(relativePath: string): string {CODE
LOWpackages/ui/src/inline-reference.tsx35export function workspaceFileInlineReference(relativePath: string): InlineReferenceVisual {CODE
LOWpackages/ui/src/inline-reference.tsx44export function workspaceFileReferencePositions(root: Node): WorkspaceFileReferencePosition[] {CODE
LOWpackages/ui/src/streaming-presentation.ts25export function isProgressiveStreamingEnabled(streaming?: boolean): boolean {CODE
LOWpackages/ui/src/streaming-presentation.ts48export function isTimeDrivenMotionEnabled(within?: Element | null): boolean {CODE
LOWpackages/ui/src/transcript-projection.ts76export function createTranscriptProjection(): TranscriptProjection {CODE
3622 more matches not shown…
Over-Commented Block296 hits · 293 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWdeny.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.pr_agent.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.coderabbit.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWnative/runtime-host-peer/Cargo.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWnative/runtime-host-peer/rust-toolchain.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWnative/gitoxide-helper/Cargo.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWnative/gitoxide-helper/rust-toolchain.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexperiments/windows-sandbox/launcher/Cargo.toml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWexperiments/windows-sandbox/launcher/src/protocol.rs41 pub network: NetworkMode,COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs181 std::mem::forget(profile);COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs201/// AppContainer-confined and Job-accounted, and that exits cleanly, failsCOMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs221 // the lifecycle never runs unlocked.COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs261 // returns an error, so availability fails closed for this cycle. TheCOMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs461 // descendant may still hold this AppContainer identity), so it is surfacedCOMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs581 }COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs621 }COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs681 | DESKTOP_ENUMERATE;COMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs701/// plus any hidden windows/menus the child creates, so 512 KiB (a sixth of theCOMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs761/// off the interactive desktop, so code that never re-attaches cannotCOMMENT
LOW…ments/windows-sandbox/launcher/src/windows_launcher.rs1641 result.push('"');COMMENT
LOWexperiments/windows-sandbox/launcher/src/acl_ledger.rs61/// a live lease and would recover grants that are still in use. The names areCOMMENT
LOWexperiments/windows-sandbox/launcher/src/acl_ledger.rs81}COMMENT
LOWexperiments/windows-sandbox/launcher/src/acl_ledger.rs321/// The pre-existing object keeps whatever security descriptor its creator gaveCOMMENT
LOWscripts/release-eval-smoke-sitecustomize.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWscripts/generate-app-icons.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWscripts/generate-app-icons.py81 return ("%g %g %g %g" % (x0, y0, x1 - x0, y1 - y0), int(x1 - x0), int(y1 - y0))COMMENT
LOWpackages/ui/stories/capability-audit-strip.stories.tsx21import type { CapabilityAuditReport } from '@maka/core/capability-audit';COMMENT
LOWpackages/ui/src/chat-empty-hero.tsx81 // Greet the user by name when they've set one in Personalization Settings.COMMENT
LOWpackages/ui/src/chat-view.tsx361 const turns = useTranscriptProjection({COMMENT
LOWpackages/ui/src/chat-view.tsx381 // timeline — as `turns[last]`. Only the tail TurnView gets a freshCOMMENT
LOWpackages/ui/src/scheduled-task-inspector.tsx21//COMMENT
LOWpackages/ui/src/skill-status.ts21//COMMENT
LOWpackages/ui/src/chat-surface-layout.tsx101 // Unconditional: an authority nobody attaches a scroller to writes nothingCOMMENT
LOWpackages/ui/src/use-chat-scroll.ts61 // A new conversation arrives at its tail. Nothing special positions it: theCOMMENT
LOWpackages/ui/src/use-chat-scroll.ts81 void Promise.resolve(loadEarlierRef.current?.()).catch(() => undefined);COMMENT
LOWpackages/ui/src/composer.tsx961 : mentionCopy.skillsAriaLabel,COMMENT
LOWpackages/ui/src/composer.tsx1241 // Keystrokes made during an IME composition never reach this handler — theCOMMENT
LOWpackages/ui/src/composer.tsx1361 // disabled reasons (empty draft, in-flight import) keep the neutral label.COMMENT
LOWpackages/ui/src/composer.tsx1821 icon={<Sparkles size={ICON_SIZE.control} aria-hidden="true" />}COMMENT
LOWpackages/ui/src/composer.tsx1841 }COMMENT
LOWpackages/ui/src/skills-panel.tsx21//COMMENT
LOWpackages/ui/src/transcript-scroll-authority.tsx141 const target = root;COMMENT
LOWpackages/ui/src/transcript-scroll-authority.tsx181 // Everything that moves the tail without the reader asking, watched inCOMMENT
LOWpackages/ui/src/index.ts61export * from './toast.js';COMMENT
LOWpackages/ui/src/session-sidebar-nav.tsx121 // One sentence, serving as both the tooltip and the accessible name.COMMENT
LOWpackages/ui/src/toast.tsx21//COMMENT
LOWpackages/ui/src/session-list-panel.tsx81 <SegmentedControlItem value="project" label={copy.groupByProject} />COMMENT
LOWpackages/ui/src/markdown-body.tsx161 // edges, which is the defect this whole change exists to remove. OneCOMMENT
LOWpackages/ui/src/skill-inspector.tsx21//COMMENT
LOWpackages/ui/src/use-roving-row-focus.ts21//COMMENT
LOWpackages/ui/src/use-roving-row-focus.ts61 [containerRef],COMMENT
LOWpackages/ui/src/prompt-anchor-rail.tsx441 // tick there while the rail sat at scrollTop 0.COMMENT
LOWpackages/ui/src/prompt-anchor-rail.tsx481 const root = scrollRef.current;COMMENT
LOWpackages/ui/src/primitives/module-page.tsx21//COMMENT
LOWpackages/ui/src/primitives/module-page.tsx41//COMMENT
LOWpackages/ui/src/primitives/module-page.tsx121 // rows would have less room than their own content needs.COMMENT
LOWpackages/ui/src/primitives/page-header.tsx21//COMMENT
LOWpackages/ui/src/primitives/stat-tile.tsx21//COMMENT
LOWpackages/core/src/bot-chat-settings.ts201 ...(allowedUserIds ? { allowedUserIds } : { allowedUserIds: undefined }),COMMENT
236 more matches not shown…
Decorative Section Separators77 hits · 242 pts
SeverityFileLineSnippetContext
MEDIUMpackages/ui/src/skills-panel.tsx241 // ── Derived views ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/skills-panel.tsx336 // ── Catalog rows (市场 / 内置): one job each — install. ──────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx131 // ── shared base ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx139 // ── file diff (shared with apps/desktop artifact-preview) ─────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx154 // ── terminal ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx182 // ── explore agent / subagent (shared shell) ───────────────────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx215 // ── web search ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/primitives/chat.tsx230 // ── load-tool result card (separate base; not an overlay) ─────────────COMMENT
MEDIUMpackages/ui/src/__tests__/materialize.test.ts259// ── #1307: the timeline model stays flat (fold is a render concern) ──────────COMMENT
MEDIUMpackages/ui/src/__tests__/materialize.test.ts259// ── #1307: the timeline model stays flat (fold is a render concern) ──────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts36// ── Locale ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts81// ── Tool command extraction ──────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts95// ── Key priority tables ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts147// ── Secret masking ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts166// ── Helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts219// ── Public API: invocation line ─────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts319// ── Public API: args preview (live wire) ────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts506// ── Public API: quiet JSON value ─────────────────────────────────────────COMMENT
MEDIUMpackages/core/src/tool-quiet-preview.ts608// ── Internal: headline / remainder ──────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts178 // ── Model text ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts203 // ── Model thinking ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts229 // ── Tool calls / results ──────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts371 // ── Session sandbox boundary ──────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts433 // ── Steering: a user message injected mid-turn at a step boundary ─────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts457 // ── Transient provider retry progress ────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts477 // ── Plan handoff (placeholder; Phase 5/7 refines) ─────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts497 // ── Token usage ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts549 // ── Error ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/session-event-runtime-mapper.ts571 // ── Terminal: abort + complete ────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/path-containment.ts186// ── Contained file I/O ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/path-containment.ts271// ── Generic type guard ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/path-containment.ts278// ── Crypto helper ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts213// ── Public API: budget ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts43// ── Limits ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts58// ── Types ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts181// ── Prompt rendering ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts227// ── Public API: gating ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts249// ── Public API: context selection ────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts378// ── Public API: prompt fragment ───────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts420// ── Public API: load instructions ──────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts514// ── Public API: search ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts526// ── Internal: search ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-context.ts626// ── Internal: decision helper ────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-discovery.ts44// ── Types ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-discovery.ts162// ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-discovery.ts322// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-agent-tools.ts52// ── Constants ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-agent-tools.ts61// ── Types ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-agent-tools.ts71// ── Shadow selection tracker ──────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-agent-tools.ts111// ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-state.ts38// ── Types ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-state.ts73// ── Internal types ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-state.ts81// ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills-state.ts319// ── Internal helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/ai-sdk-backend.ts701 // ── Session context ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/ai-sdk-backend.ts711 // ── Process-singleton deps ─────────────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/ai-sdk-backend.ts727 // ── Optional knobs (defaults shown) ────────────────────────────────────COMMENT
MEDIUMpackages/runtime/src/skills.ts37// ── From path-containment (contained I/O moved in #1408) ──────────────────COMMENT
MEDIUMpackages/runtime/src/skills.ts37// ── From path-containment (contained I/O moved in #1408) ──────────────────COMMENT
MEDIUMpackages/runtime/src/skills.ts45// ── From skills-metadata ──────────────────────────────────────────────────COMMENT
17 more matches not shown…
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICAL…desktop/src/renderer/settings/bot-onboarding-modal.tsx69 void window.maka.settings.bots.onboarding.cancel(sessionId).catch(() => undefined);CODE
CRITICAL…desktop/src/renderer/settings/bot-onboarding-modal.tsx82 const result = await window.maka.settings.bots.onboarding.start({CODE
CRITICAL…desktop/src/renderer/settings/bot-onboarding-modal.tsx114 const result = await window.maka.settings.bots.onboarding.poll(sessionId);CODE
CRITICAL…desktop/src/renderer/settings/bot-onboarding-modal.tsx141 const result = await window.maka.settings.bots.onboarding.openInBrowser(snapshot.sessionId);CODE
AI Slop Vocabulary4 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json12282 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUM…/eval/harbor/deepseek-harness-profile/cordis.patch.yml12# `package.json` declares no bundles, so the harness composes this tree over anCOMMENT
MEDIUM…/eval/harbor/deepseek-harness-profile/cordis.patch.yml17# Derived from the harness's own examples/jsonrpc-agent/minimal.cordis.yml —COMMENT
MEDIUM…/eval/harbor/deepseek-harness-profile/cordis.patch.yml24# Source: https://github.com/deepseek-ai/deepseek-harnessCOMMENT
Modern AI Meta-Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMdocs/code-origin-audit.md83| 1 | `apps/desktop/src/main/__tests__/renderer-core-barrel-node-boundary.test.ts:30-52` | [`muratgur/ordinus`](https://CODE
MEDIUMpackages/ui/README.md58## Contracts & guardrailsCOMMENT
MEDIUMapps/desktop/stories/app-shell.stories.tsx987// visual-acceptance scaffold for the transcript. Open this first, then theCOMMENT
MEDIUMapps/desktop/src/renderer/README.md78## Contracts & guardrailsCOMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOW…s/core/src/__tests__/provider-catalog-contract.test.ts62 const resolved = def.baseUrlTemplate.replace(/\$\{[^}]+\}/g, 'placeholder');CODE
LOWpackages/core/src/__tests__/interaction.test.ts450 script: 'review note\npassword=dummy-value\nrun visible',CODE
LOWpackages/core/src/__tests__/interaction.test.ts460 assert.doesNotMatch(projected.prompt.review.arguments.text, /dummy-value/);CODE
LOWpackages/core/src/__tests__/redaction.test.ts114 assignment: 'review note\npassword=dummy-value\nrun visible',CODE
LOWpackages/core/src/__tests__/redaction.test.ts182 redactSecrets('# " review note\npassword=dummy-value\npython deploy.py --target production'),CODE
LOW…cli/src/__tests__/runtime-host-service-manager.test.ts1005 await writeFile(join(base, 'placeholder'), '', 'utf8');CODE
LOW…ps/desktop/src/main/__tests__/assistant-stream.test.ts121 `${'lorem ipsum dolor sit amet '.repeat(200)} sk-deadbeef00000000deadbeef00000000`,CODE
LOW…ps/desktop/src/main/__tests__/assistant-stream.test.ts121 `${'lorem ipsum dolor sit amet '.repeat(200)} sk-deadbeef00000000deadbeef00000000`,CODE
LOWapps/desktop/src/overlay/pip.html330 <div id="placeholder" data-visible="1" aria-hidden="true"><div id="sweep"></div></div>CODE
LOWapps/desktop/src/overlay/pip.ts38const placeholder = document.getElementById('placeholder') as HTMLDivElement;CODE
Cross-Language Confusion4 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpackages/eval/harbor/relay_agent.py496 prepared = await environment.exec("mkdir -p /logs/artifacts && chmod 700 /logs/artifacts")STRING
HIGHpackages/eval/harbor/relay_agent.py619 f"pgid=$(cat {shlex.quote(scope_path)} 2>/dev/null) || exit 0; "STRING
HIGHpackages/eval/harbor/relay_agent.py646 f"pgid=$(cat {shlex.quote(scope_path)} 2>/dev/null) || exit 4; "STRING
HIGHpackages/eval/harbor/relay_agent.py648 "kill -0 -- \"-$pgid\" 2>/dev/null; status=$?; "STRING
Deep Nesting10 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/generate-app-icons.py359CODE
LOWscripts/generate-app-icons.py425CODE
LOWscripts/generate-app-icons.py528CODE
LOWpackages/eval/harbor/test_relay_lifecycle.py601CODE
LOWpackages/eval/harbor/test_relay_lifecycle.py704CODE
LOWpackages/eval/harbor/test_relay_contract.py393CODE
LOWpackages/eval/harbor/test_relay_contract.py463CODE
LOWpackages/eval/harbor/test_relay_contract.py544CODE
LOWpackages/eval/harbor/relay_agent.py563CODE
LOWpackages/eval/harbor/relay_agent.py114CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWpackages/eval/harbor/test_cell_egress_namespace.py32CODE
LOWpackages/eval/harbor/test_relay_artifacts.py18CODE
LOWpackages/eval/harbor/test_relay_artifacts.py20CODE
LOWpackages/eval/harbor/eval_framework.py24CODE
LOWpackages/eval/harbor/relay_agent.py20CODE
LOWpackages/eval/harbor/test_egress_filter_live.py29CODE
LOWpackages/eval/harbor/egress_filter.py20CODE
Excessive Try-Catch Wrapping8 hits · 7 pts
SeverityFileLineSnippetContext
LOWpackages/eval/harbor/relay_agent.py602 except Exception:STRING
LOWpackages/eval/harbor/relay_agent.py606 except Exception:STRING
LOWpackages/eval/harbor/egress_filter.py172 except Exception:CODE
LOWpackages/eval/harbor/egress_filter.py230 except Exception as error:CODE
LOWpackages/eval/harbor/egress_filter.py241 except Exception:CODE
LOWpackages/eval/harbor/egress_filter.py307 except Exception:CODE
LOWpackages/eval/harbor/egress_filter.py326 except Exception:CODE
LOWpackages/eval/harbor/egress_filter.py335 except Exception:CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHREADME.md33 <a href="https://deepwiki.com/apache/maka"><img src="https://img.shields.io/badge/DeepWiki-third--party%20AI%20docs-9BCODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/eval/harbor/egress-proxy/entrypoint.sh25# Create the audit log if this is the first start. Truncating here would eraseCOMMENT
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpackages/eval/harbor/deepseek-codex-models.json54 "instructions_template": "You are Codex, an agent based on GPT-5. You and the user share one workspace, and yourCODE
LOWpackages/eval/harbor/deepseek-codex-models.json66 "base_instructions": "You are Codex, an agent based on GPT-5. You and the user share one workspace, and your job iCODE