Repository Analysis

zts212653/clowder-ai

Build AI teams, not just agents. Hard rails, soft power, shared mission.

5.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of zts212653/clowder-ai, a TypeScript project with 2,809 GitHub stars. SynthScan v2.0 examined 1,821,614 lines of code across 7557 source files, recording 5554 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 5.4 places this repository in the Low AI signal 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).

5.4
Adjusted Score
5.4
Raw Score
100%
Time Factor
2026-08-29
Last Push
2.8K
Stars
TypeScript
Language
1.8M
Lines of Code
7.6K
Files
5.6K
Pattern Hits
2026-08-29
Scan Date
0.01
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 92HIGH 3MEDIUM 1498LOW 3961

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 5554 distinct pattern matches across 18 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.

Decorative Section Separators1444 hits · 4442 pts
SeverityFileLineSnippetContext
MEDIUMcat-cafe-skills/manifest.yaml10# ─── 开发流程链 ─────────────────────────────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1493# ─── 降级为 refs/(不再是独立 skill) ─────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1536# ─── 三条铁律(仅此三条) ──────────────────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1545# ─── lint 规则 ──────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.js36// ── Journal persistence ────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.js114// ── File integrity verification ────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.test.js24// ── Journal persistence ────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.test.js116// ── checkUpgradeResult ─────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.test.js173// ── verifyFileIntegrity ────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-downloader.test.js219// ── updatesDir ─────────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-checker.js21// ── Semver parsing & comparison ────────────────────────────────────────COMMENT
MEDIUMdesktop/update-checker.js102// ── Asset name resolution ──────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-checker.js132// ── Asset four-tuple extraction ────────────────────────────────────────COMMENT
MEDIUMdesktop/update-checker.js153// ── Update target selection ────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-checker.js242// ── Settings persistence ───────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-installer.test.js14// ── Mock helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-installer.test.js45// ── downloadAsset ──────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/generate-desktop-config.test.js54// ── F273: Plugin packaging source path regression (F204 migration) ──────COMMENT
MEDIUMdesktop/update-installer-fetch.test.js8// ── Mock helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-installer-fetch.test.js78// ── fetchReleases ─────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-manager.test.js17// ── Mock spawn ────────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-manager.test.js234// ── Windows launcher ──────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-manager.test.js283// ── macOS launcher ────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/update-manager.test.js310// ── Journal preservation on launcher failure (P1 regression) ──────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh30# ─── Args ───────────────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh47# ─── Paths + helpers ────────────────────────────────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh64# ─── Step 1: Build web app ──────────────────────────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh78# ─── Step 2: pnpm deploy runtime packages ──────────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh108# ─── Step 3: Bundle Node.js portable (both archs) ──────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh151# ─── Step 4: Build Redis portable (both archs) ─────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh199# ─── Step 5: (macOS skips CLI tarball bundling) ──────────────────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh207# ─── Step 6a: Generate icon.icns from icon.png (one-time) ──────────────COMMENT
MEDIUMdesktop/scripts/build-mac.sh227# ─── Step 6b: electron-builder + hdiutil — produces DMG per arch ──────COMMENT
MEDIUMdocs/architecture/2026-05-05-architecture-views.md774┌─ D. 构建冷启动包(Session #2+ 专用)─▼────────────────────────┐CODE
MEDIUMscripts/setup.sh3# ============================================================COMMENT
MEDIUMscripts/setup.sh8# ============================================================COMMENT
MEDIUMscripts/setup.sh58# ── Step 1: Check prerequisites ─────────────────────────────COMMENT
MEDIUMscripts/setup.sh120# ── Step 2: Install packages ────────────────────────────────COMMENT
MEDIUMscripts/setup.sh132# ── Step 3: Choose optional features ────────────────────────COMMENT
MEDIUMscripts/setup.sh329# ── Step 4: Generate .env ───────────────────────────────────COMMENT
MEDIUMscripts/setup.sh346# ── Core 核心 ────────────────────────────────────────────────COMMENT
MEDIUMscripts/setup.sh353# ── API Gateway Proxy 反向代理 ───────────────────────────────COMMENT
MEDIUMscripts/setup.sh361# ── Voice Input (ASR) 语音输入 ───────────────────────────────COMMENT
MEDIUMscripts/setup.sh370# ── Voice Input (ASR) 语音输入 ───────────────────────────────COMMENT
MEDIUMscripts/setup.sh378# ── Voice Output (TTS) 语音输出 ──────────────────────────────COMMENT
MEDIUMscripts/setup.sh385# ── Voice Output (TTS) 语音输出 ──────────────────────────────COMMENT
MEDIUMscripts/setup.sh393# ── Speech Correction 语音纠正 ───────────────────────────────COMMENT
MEDIUMscripts/setup.sh400# ── Speech Correction 语音纠正 ───────────────────────────────COMMENT
MEDIUMscripts/setup.sh408# ── Semantic Retrieval 语义检索(Embedding)────────────────COMMENT
MEDIUMscripts/setup.sh416# ── Semantic Retrieval 语义检索(Embedding)────────────────COMMENT
MEDIUMscripts/setup.sh425# ── Step 4b: Install sidecar venvs (--install-missing) ──────COMMENT
MEDIUMscripts/setup.sh491# ── Step 5: Summary ─────────────────────────────────────────COMMENT
MEDIUMscripts/logs-health.sh6# ─── Config ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/logs-health.sh32# ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/logs-health.sh95# ─── Error rate ──────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/logs-health.sh128# ─── Main ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/logs-health.sh146# ─── Config summary ─────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/install.sh134# ── Interactive arrow-key selectors (single-select & multi-select) ────────COMMENT
MEDIUMscripts/install.sh651# ── [1/8] Environment detection ────────────────────────────COMMENT
MEDIUMscripts/install.sh768# ── [2/8] Install system dependencies ──────────────────────COMMENT
1384 more matches not shown…
Hyper-Verbose Identifiers3148 hits · 3214 pts
SeverityFileLineSnippetContext
LOWdesktop/renderer-link-policy.js6function createVersionedRendererUrl(appUrl, version) {CODE
LOWdesktop/renderer-link-policy.js15function createRendererLinkOrigins({ appOrigin, apiOrigin, previewGatewayPort }) {CODE
LOWdesktop/renderer-link-policy.js24async function resolveRendererLinkOrigins({ appOrigin, apiOrigin, loadPreviewGatewayStatus }) {CODE
LOWdesktop/renderer-link-policy.js44function isAllowedRendererDownload(url, apiOrigin) {CODE
LOWdesktop/update-network-diagnostics.js44function attachRedirectDiagnostics(request, dbg) {CODE
LOWdesktop/desktop-update-menu.js10function createManualUpdateHandler({ getUpdatePrompt, getUpdater }) {CODE
LOWdesktop/desktop-update-menu.js66function installMacApplicationMenu({ app, Menu, onManualUpdate, showAbout }) {CODE
LOWdesktop/desktop-update-runtime.js7function createDesktopUpdateRuntime({CODE
LOWdesktop/project-root.js12function resolveProjectRootFromDir(startDir) {CODE
LOWdesktop/main.js38function createBaseRendererLinkOrigins() {CODE
LOWdesktop/main.js80async function refreshRendererLinkOrigins() {CODE
LOWdesktop/service-manager.test.js129 fs.symlinkSync = function symlinkSyncWithProbeCount(src, dst, type) {CODE
LOWdesktop/service-manager.test.js133 fs.readFileSync = function readFileSyncWithOnePluginProbeFailure(filePath, ...args) {CODE
LOWdesktop/mac-install-location.js3function ensureValidMacInstallLocation({ app, dialog }) {CODE
LOWdesktop/update-manager.test.js135function conditionalRefreshFailureNet() {CODE
LOW…rchitecture/message-delivery-handling-handoff-audit.md944async function terminalizePreAdmissionFailure(entry, failure) {CODE
LOWscripts/intake-from-opensource.sh784function isDeclaredInDecisionTable(file) {CODE
LOWscripts/services/test_whisper_worker.py21def _service_dependency_stubs():CODE
LOWscripts/services/test_whisper_worker.py120 async def test_qwen_load_first_and_consecutive_inference_share_one_worker(self):CODE
LOWscripts/services/test_whisper_worker.py169 async def test_qwen_deep_health_and_transcribe_operations_are_serialized(self):CODE
LOWscripts/services/test_whisper_worker.py227 async def test_qwen_load_failure_closes_worker_for_clean_retry(self):CODE
LOWscripts/services/test_whisper_worker.py258 async def test_whisper_backend_keeps_default_to_thread_dispatch(self):CODE
LOWscripts/services/test_whisper_worker.py268 async def test_shutdown_is_idempotent_and_rejects_new_qwen_work(self):CODE
LOWscripts/services/tts-api.py62def require_mlx_audio_runtime() -> None:CODE
LOWscripts/services/tts-api.py665async def synthesize_stream_endpoint(request: Request, req: SpeechRequest):CODE
LOWscripts/services/test_tts_runtime.py152 async def test_health_advertises_the_stream_route_contract(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py159 async def test_reuses_one_loaded_model_across_synthesis_requests(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py200 async def test_streams_clone_chunks_and_a_complete_wav(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py239 async def test_exposes_native_clone_stream_as_ndjson(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py275 async def test_keeps_warmup_and_native_stream_on_one_mlx_thread(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py328 async def test_keeps_every_native_stream_yield_on_the_same_worker_thread(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py378 async def test_disconnect_closes_clone_stream_and_releases_model_lock(self) -> None:CODE
LOWscripts/services/test_tts_runtime.py417 async def test_stream_failure_emits_a_structured_error_line(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py28 async def test_simultaneous_arrivals_cannot_overbook_capacity(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py66 async def test_capacity_is_bounded_while_one_request_is_active(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py101 async def test_expired_waiter_never_enters_encode_section(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py135 async def test_disconnected_waiter_never_enters_encode_section(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py176 async def test_exception_inside_admitted_work_releases_the_encoder(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py193 async def test_cancelled_waiter_releases_its_queue_reservation(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py251 def test_applies_allocator_limits_and_uses_os_footprint_delta_as_hard_gate(CODE
LOWscripts/services/test_embed_runtime_policy.py274 def test_health_metrics_keep_allocator_and_os_scopes_distinct(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py296 def test_required_os_footprint_must_exist_at_startup(self) -> None:CODE
LOWscripts/services/test_embed_runtime_policy.py306 def test_required_os_footprint_must_remain_available(self) -> None:CODE
LOWscripts/services/whisper-api.py41async def _close_qwen_worker_on_app_shutdown():CODE
LOWscripts/services/embed-api.py102def _allow_sentence_transformers_fallback() -> bool:CODE
LOWscripts/services/embed-api.py510 def _try_sentence_transformers() -> bool:CODE
LOWscripts/services/install-template.sh304def resolve_faster_whisper_repo_id(model_id):CODE
LOWscripts/services/embed_runtime_policy.py68 def _effective_deadline_seconds(self, deadline_ms: int | None) -> float:CODE
LOWscripts/services/embed_runtime_policy.py198def read_process_footprint_bytes(pid: int | None = None) -> int | None:CODE
LOWscripts/services/embed_runtime_policy.py267 def configure_before_model_load(self) -> None:CODE
LOWpackages/web/next.config.js50function buildContentSecurityPolicy() {CODE
LOW…rc/app/dev/f294-html-widget-responsive-export/page.tsx237export default function HtmlWidgetResponsiveExportFixture() {CODE
LOW…web/src/app/dev/f294-html-widget-live-message/page.tsx9function containsEmptyWidgetIframe(node: Node): boolean {CODE
LOW…web/src/app/dev/f294-html-widget-live-message/page.tsx15export default function HtmlWidgetLiveMessageFixture() {CODE
LOW…asset-collaboration/asset-collaboration-persistence.ts47function deriveLegacySuggestionBaseVersionId(suggestion: Record<string, unknown>, versions: unknown[]): string | null {CODE
LOW…asset-collaboration/asset-collaboration-persistence.ts307export function parseAssetCollaborationState(raw: string | null): AssetCollaborationState | null {CODE
LOW…asset-collaboration/asset-collaboration-persistence.ts318export function readAssetCollaborationState(CODE
LOW…asset-collaboration/asset-collaboration-persistence.ts329export function persistAssetCollaborationState(CODE
LOW…290-asset-collaboration/asset-collaboration-fixture.ts59export function createAssetCollaborationFixture(): AssetCollaborationState {CODE
LOW…0-asset-collaboration/use-asset-collaboration-store.ts20export function useAssetCollaborationStore(options: AssetCollaborationStoreOptions = {}): {CODE
3088 more matches not shown…
Hallucination Indicators92 hits · 825 pts
SeverityFileLineSnippetContext
CRITICALpackages/api/test/messages-delivery-mode.test.js363 deps.socketManager.emitToUser.mock.calls.filter((call) => call.arguments[1] === 'thread_updated').length,CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js608 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'thread_updated'),CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js852 const terminalized = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js897 const cancelMessages = deps.socketManager.broadcastAgentMessage.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js958 const terminalized = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1048 const failedUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1053 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1223 const spawnStarted = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'spawn_started');CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1578 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1611 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1617 const succeededUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1656 const terminalWrites = deps.invocationRecordStore.update.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1663 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1692 const terminalWrites = deps.invocationRecordStore.update.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1704 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICAL…api/test/queue-steer-prestart-terminal-failure.test.js270 h.socketManager.emitToUser.mock.calls.some(CODE
CRITICALpackages/api/test/action-successor-queue-fence.test.js261 deps.messageStore.markCanceled.mock.calls.map((call) => call.arguments[0]),CODE
CRITICALpackages/api/test/action-successor-queue-fence.test.js264 const deletedEvent = deps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/action-successor-queue-fence.test.js316 deps.messageStore.markCanceled.mock.calls.map((call) => call.arguments[0]),CODE
CRITICALpackages/api/test/action-successor-queue-fence.test.js496 deps.messageStore.markCanceled.mock.calls.map((call) => call.arguments[0]),CODE
CRITICALpackages/api/test/queue-processor.test.js4870 const spawnCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'spawn_started');CODE
CRITICALpackages/api/test/queue-processor.test.js4878 const earlyIntentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js4884 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js263 queueDeps.invocationRecordStore.update.mock.calls.some(CODE
CRITICALpackages/api/test/queue-processor.test.js272 queueDeps.router.routeExecution.mock.calls.some((call) => call.arguments[1]?.includes(recalledSource.content)),CODE
CRITICALpackages/api/test/queue-processor.test.js724 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js751 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js776 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js805 const failedUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js811 sharedDeps.invocationRecordStore.update.mock.calls.some((call) => call.arguments[1]?.status === 'succeeded'),CODE
CRITICALpackages/api/test/queue-processor.test.js1210 const delivered = durableDeps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js1384 const delivered = durableDeps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js1406 const deliveredEvents = durableDeps.socketManager.emitToUser.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js1965 const deliveredEvents = durableDeps.socketManager.emitToUser.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js1971 const textEvents = durableDeps.socketManager.broadcastAgentMessage.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js2698 const receiptEvent = durableDeps.socketManager.broadcastToRoom.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js3129 const retryCreate = durableDeps.invocationRecordStore.create.mock.calls.at(-1)?.arguments[0];CODE
CRITICALpackages/api/test/queue-processor.test.js4081 deps.messageStore.markDelivered.mock.calls.map((call) => call.arguments[0]),CODE
CRITICALpackages/api/test/queue-processor.test.js4085 const deliveredCall = deps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js4148 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'messages_delivered'),CODE
CRITICALpackages/api/test/queue-processor.test.js4153 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'queue_updated'),CODE
CRITICALpackages/api/test/queue-processor.test.js4202 const deliveredCall = deps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js4212 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'queue_updated'),CODE
CRITICALpackages/api/test/queue-processor.test.js4234 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'messages_delivered'),CODE
CRITICALpackages/api/test/queue-processor.test.js4308 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-queued'),CODE
CRITICALpackages/api/test/queue-processor.test.js4357 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-codex-queued'),CODE
CRITICALpackages/api/test/queue-processor.test.js4413 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-old-seen'),CODE
CRITICALpackages/api/test/queue-processor.test.js4447 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js4460 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js4498 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js4633 const broadcasts = deps.socketManager.broadcastAgentMessage.mock.calls.map((call) => call.arguments[0]);CODE
CRITICALpackages/api/test/queue-processor.test.js4649 const canceledUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js4718 durableDeps.invocationRecordStore.update.mock.calls.some((call) => call.arguments[1]?.status === 'canceled'),CODE
CRITICALpackages/api/test/queue-processor.test.js4843 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6162 const intentCall = failDeps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6173 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6194 const intentCall = emptyDeps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6298 claimLostDeps.invocationRecordStore.update.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js6424 const succeededUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js7277 deps.invocationRecordStore.update.mock.calls.some((c) => c.arguments[1]?.status === 'succeeded'),CODE
32 more matches not shown…
Structural Annotation Overuse263 hits · 489 pts
SeverityFileLineSnippetContext
LOWcat-cafe-skills/feat-lifecycle/SKILL.md48### Step 0: 关联检测(内部 + 社区 issue 都必须做)🔴COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md48### Step 1: 识别——我在绝境里吗?COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md57### Step 2: 回到第一真相源COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md71### Step 3: 找外部声音COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md81### Step 4: 喊伙伴COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md91### Step 5: 拒绝投降(除非 operator signoff)COMMENT
LOWcat-cafe-skills/worktree/SKILL.md57# Step 1: 检查是否有未提交的文档变更COMMENT
LOWcat-cafe-skills/worktree/SKILL.md61# Step 2: 检查 main 与 remote 双向同步COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md43### Step 1: 拆解 — 识别独立可交付单元COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md52### Step 2: 提议 Thread — 每个子任务一个提议(用户审批后才创建)COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md114### Step 3: 选猫 — 按任务性质匹配能力COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md139### Step 4: 并行执行 — Worktree 隔离COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md151### Step 5: 汇聚 — 确认门禁 + 串行推进COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md44### Step 1: 场景识别COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md65### Step 2: 步骤拆分 + YAML 编排COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md107### Step 3: 元素标签标注COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md131### Step 4: 注册到 Guide RegistryCOMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md150### Step 5: CI 契约测试COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md157### Step 6: 端到端验证COMMENT
LOWcat-cafe-skills/refs/chatgpt-browser-automation.md25### Step 1: 注入文本COMMENT
LOWcat-cafe-skills/refs/chatgpt-browser-automation.md38### Step 2: 发送COMMENT
LOWcat-cafe-skills/refs/chatgpt-browser-automation.md49### Step 3: 等待回复完成COMMENT
LOWcat-cafe-skills/refs/chatgpt-browser-automation.md66### Step 4: 复制回复COMMENT
LOWcat-cafe-skills/refs/chatgpt-browser-automation.md77### Step 5: 读取剪贴板COMMENT
LOWcat-cafe-skills/refs/repo-inbox.md35### Step 1: Read — 读原始对象COMMENT
LOWcat-cafe-skills/refs/repo-inbox.md107### Step 2: Ground — 基础合法性COMMENT
LOWcat-cafe-skills/refs/repo-inbox.md117### Step 3: Gate — 主人翁五问COMMENT
LOWcat-cafe-skills/refs/repo-inbox.md123### Step 4: Route — 按 Verdict 路由COMMENT
LOWcat-cafe-skills/refs/repo-inbox.md223### Step 5: Record — 收口COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md17### Step 1: 打开新对话或已有对话COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md23### Step 2: 激活 Research 模式COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md36### Step 3: 填写提示词 & 发送COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md48### Step 4: 等待 Research 完成COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md62### Step 5: 打开报告文章COMMENT
LOWcat-cafe-skills/refs/claude-ai-browser-automation.md69### Step 6: 下载报告(关键步骤!✅ 超级简单)COMMENT
LOWcat-cafe-skills/cross-thread-sync/SKILL.md31## Step 1: 发现(谁在平行工作?)COMMENT
LOWcat-cafe-skills/cross-thread-sync/SKILL.md86## Step 2: 通知(3+2 升级制)COMMENT
LOWcat-cafe-skills/cross-thread-sync/SKILL.md129## Step 3: 争用协调(共享文件冲突预防)COMMENT
LOWcat-cafe-skills/cross-thread-sync/SKILL.md164## Step 4: 处置与终结COMMENT
LOWcat-cafe-skills/pencil-design/SKILL.md38### Step 1: 分析现有 UICOMMENT
LOWcat-cafe-skills/pencil-design/SKILL.md50### Step 2: 判断设计类型COMMENT
LOWcat-cafe-skills/pencil-design/SKILL.md58### Step 3: 风格验证COMMENT
LOWdesktop/update-checker.js190 // Step 3: sort descendingCOMMENT
LOWdesktop/update-checker.js197 // Step 4: find first valid (highest complete release)COMMENT
LOWdocs/features/F040-backlog-reorganization.md420### Step 1: 创建 `feat-completion` skill(P1,~30min)COMMENT
LOWdocs/features/F040-backlog-reorganization.md426### Step 2: 沉淀 ADR(P2,~20min)COMMENT
LOWdocs/features/F040-backlog-reorganization.md434### Step 3: 更新 lessons-learned(P2,~10min)COMMENT
LOWdocs/features/F040-backlog-reorganization.md440### Step 4: 同步三猫指引(P2,~15min)COMMENT
LOWdocs/features/F040-backlog-reorganization.md447### Step 5: 验收(P3,可延后)COMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts87 // Step 1: Parent intent_mode registers all catsCOMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts93 // Step 2: Callback intent_mode for gemini with new invocationId.COMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts111 // Step 3: Gemini finishes — removing inv-B leaves no gemini orphanCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2135 // Step 1: A inv-A1 stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2144 // Step 2: B inv-B1 stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2153 // Step 3: A inv-A2 (NEW invocation) stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2347 // Step 1: stream_started — reducer 创建 canonical `msg-T1R-codex-assistant_text`COMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2364 // Step 2: tool_event — 应该 append 到 step 1 的 bubble (assistant_text container)COMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2383 // Step 3: stream_chunk — 应该 append content 到同一 bubble,不触发 canonical-splitCOMMENT
LOW…tores/__tests__/bubble-projection-alpha-replay.test.ts44 // Step 1: stream record exists in storeCOMMENT
LOW…tores/__tests__/bubble-projection-alpha-replay.test.ts56 // Step 2: callback_final event with exact-key match would normally overwrite stream contentCOMMENT
203 more matches not shown…
Verbosity Indicators217 hits · 414 pts
SeverityFileLineSnippetContext
LOWdesktop/update-checker.js190 // Step 3: sort descendingCOMMENT
LOWdesktop/update-checker.js197 // Step 4: find first valid (highest complete release)COMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts87 // Step 1: Parent intent_mode registers all catsCOMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts93 // Step 2: Callback intent_mode for gemini with new invocationId.COMMENT
LOW…/web/src/stores/__tests__/chatStore-multi-slot.test.ts111 // Step 3: Gemini finishes — removing inv-B leaves no gemini orphanCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2135 // Step 1: A inv-A1 stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2144 // Step 2: B inv-B1 stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2153 // Step 3: A inv-A2 (NEW invocation) stream + contentCOMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2347 // Step 1: stream_started — reducer 创建 canonical `msg-T1R-codex-assistant_text`COMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2364 // Step 2: tool_event — 应该 append 到 step 1 的 bubble (assistant_text container)COMMENT
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts2383 // Step 3: stream_chunk — 应该 append content 到同一 bubble,不触发 canonical-splitCOMMENT
LOW…tores/__tests__/bubble-projection-alpha-replay.test.ts44 // Step 1: stream record exists in storeCOMMENT
LOW…tores/__tests__/bubble-projection-alpha-replay.test.ts56 // Step 2: callback_final event with exact-key match would normally overwrite stream contentCOMMENT
LOW…components/memory/__tests__/CollectionCatalog.test.tsx78 // Step 1: click header → detail appearsCOMMENT
LOW…components/memory/__tests__/CollectionCatalog.test.tsx92 // Step 2: click inside detail area → detail stays (no collapse)COMMENT
LOW…components/memory/__tests__/CollectionCatalog.test.tsx101 // Step 3: click header again → collapseCOMMENT
LOW…nents/__tests__/HubObservabilityTab-deep-link.test.tsx73 // Step 1: first deep-link.COMMENT
LOW…nents/__tests__/HubObservabilityTab-deep-link.test.tsx79 // Step 2: simulate the user clicking the '总览' subtab button so internalCOMMENT
LOW…nents/__tests__/HubObservabilityTab-deep-link.test.tsx89 // Step 3: second deep-link with SAME initialSubTab value but new nonce.COMMENT
LOW…omponents/__tests__/chat-input-game-send-guard.test.ts94 // Step 1: render with idle upload — menu can openCOMMENT
LOW…omponents/__tests__/chat-input-game-send-guard.test.ts99 // Step 2: open game menuCOMMENT
LOW…omponents/__tests__/chat-input-game-send-guard.test.ts102 // Step 3: drill into modes (layer 1 → layer 2)COMMENT
LOW…omponents/__tests__/chat-input-game-send-guard.test.ts109 // Step 4: re-render with uploading status (menu stays open, upload started)COMMENT
LOW…omponents/__tests__/chat-input-game-send-guard.test.ts114 // Step 5: click a mode — should NOT call onSend because upload is blockingCOMMENT
LOW…c/components/__tests__/first-run-quest-wizard.test.tsx203 // Step 1: select templateCOMMENT
LOW…c/components/__tests__/first-run-quest-wizard.test.tsx214 // Step 2: select clientCOMMENT
LOW…c/components/__tests__/first-run-quest-wizard.test.tsx222 // Step 3: profile auto-selected, select model, test, then createCOMMENT
LOW…nents/__tests__/workspace-panel-md-add-to-chat.test.ts397 // Step 1: Verify markdown rendered mode — MarkdownContent is mountedCOMMENT
LOW…nents/__tests__/workspace-panel-md-add-to-chat.test.ts407 // Step 2: Click "编辑" button → enters editMode (unmounts MarkdownContent, mounts CodeViewer)COMMENT
LOW…nents/__tests__/workspace-panel-md-add-to-chat.test.ts419 // Step 3: Click "退出编辑" → back to rendered mode (re-mounts MarkdownContent with NEW DOM)COMMENT
LOW…nents/__tests__/workspace-panel-md-add-to-chat.test.ts430 // Step 4: Verify NEW MarkdownContent container is mountedCOMMENT
LOW…nents/__tests__/workspace-panel-md-add-to-chat.test.ts434 // Step 5: Selection on the NEW container should still trigger Add to ChatCOMMENT
LOW…es/web/src/components/rich/CommunityIssueDraftCard.tsx106 // Step 1: Create draft (server-side idempotent — returns existing if retry)COMMENT
LOW…es/web/src/components/rich/CommunityIssueDraftCard.tsx147 // Step 2: PublishCOMMENT
LOW…ges/web/src/__tests__/game-thread-loading-race.test.ts34 // Step 1: /game sent → loading set on source thread (currently active = flat state)COMMENT
LOW…ges/web/src/__tests__/game-thread-loading-race.test.ts39 // Step 2: game:thread_created arrives → navigate to game threadCOMMENT
LOW…ges/web/src/__tests__/game-thread-loading-race.test.ts48 // Step 3: HTTP response arrives → cleanup uses thread-scoped APICOMMENT
LOW…sts__/useAgentMessages-sequential-slot-cleanup.test.ts193 // Step 1: Codex finishes (non-final)COMMENT
LOW…sts__/useAgentMessages-sequential-slot-cleanup.test.ts208 // Step 2: Opus finishes (final)COMMENT
LOW…/hooks/__tests__/useAgentMessages-bubble-merge.test.ts890 // Step 1: stream chunk creates the bubble bound to inv-done.COMMENT
LOW…/hooks/__tests__/useAgentMessages-bubble-merge.test.ts907 // Step 2: done event finalizes the bubble and populates finalizedStreamRef.COMMENT
LOW…/hooks/__tests__/useAgentMessages-bubble-merge.test.ts920 // Step 3: stale tool_use arrives for the completed invocation (reordered / retry).COMMENT
LOW…s/__tests__/useAgentMessages-thinking-metadata.test.ts50 // Step 1: thinking creates placeholder (metadata may be present if msg carries it;COMMENT
LOW…s/__tests__/useAgentMessages-thinking-metadata.test.ts68 // Step 2: text chunk arrives with metadata → merge onto placeholderCOMMENT
LOW…s/__tests__/useAgentMessages-thinking-metadata.test.ts79 // Step 3: invocation_usage arrives → setMessageUsage should succeed (not no-op)COMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts231 // Step 1: Create active stream → activeRefs + sawStreamDataRef populatedCOMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts255 // Step 2: done → finalizedStreamRef populatedCOMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts264 // Step 3: resetRefs (simulates what thread switch or catch-up cleanup would do)COMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts271 // Step 4: Wipe store messages (simulates fetchHistory replace) + start new invocationCOMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts304 // Step 1: Stream + done → finalizedStreamRef setCOMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts333 // Step 2: resetRefs clears finalizedStreamRefCOMMENT
LOW…/__tests__/useAgentMessages-catchup-ref-desync.test.ts340 // Step 3: A callback arrives for a NEW invocation.COMMENT
LOWpackages/mcp-server/test/callback-tools.test.js1262 // Step 1: enqueue by forcing transient failures.COMMENT
LOWpackages/mcp-server/test/callback-tools.test.js1274 // Step 2: recover network and verify replay + current post both sent.COMMENT
LOWpackages/api/test/plugin-schedule-activate.test.js380 // Step 1: enable plugin with a schedule resourceCOMMENT
LOWpackages/api/test/plugin-schedule-activate.test.js387 // Step 2: disable with a DIFFERENT resource list (simulates plugin.yaml change)COMMENT
LOWpackages/api/test/plugin-schedule-activate.test.js484 // Step 1: enable plugin with a schedule resource named 'my-poller'COMMENT
LOWpackages/api/test/plugin-schedule-activate.test.js492 // Step 2: re-enable with the SAME name but type=mcp (type transition)COMMENT
LOWpackages/api/test/connector-action-endpoint.test.js536 // Step 1: QR confirmed — inject token via adapterCOMMENT
LOWpackages/api/test/connector-action-endpoint.test.js561 // Step 2: Disconnect — handler clears token, sets activate: falseCOMMENT
157 more matches not shown…
Over-Commented Block244 hits · 226 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md21COMMENT
LOWcat-cafe-skills/manifest.yaml1# Clowder AI Skills Manifest — 路由单一真相源COMMENT
LOWcat-cafe-skills/eval-design/SKILL.md61 domain_owner: # 谁拥有该域规约与真相COMMENT
LOWcat-cafe-skills/hyperfocus-brake/sanitizer.sh1#!/usr/bin/env bashCOMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md221COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md241# 若注册时 CI 已经终态,live baseline 会吸收历史,不补发;立即 `gh pr checks {PR}` 并继续。COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md281# ⚠️ KD-27:此时必须释放 hold_ball,禁止续约轮询。typed wait 回调是唯一通知渠道。COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md301# c. 首次触发收到 “create an environment” 回复(= Codex 没接单)COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md381# 7.5a Pre-merge: Feature Doc Truth 核对(在 merge 之前!)🔴COMMENT
LOW.claude/hooks/f24-pre-compact.sh1#!/bin/bashCOMMENT
LOW.claude/hooks/f24-post-compact-bootstrap.sh1#!/bin/bashCOMMENT
LOWdesktop/update-downloader.js1// F273: Desktop In-App Update — download & journal layerCOMMENT
LOWdesktop/update-checker.js1// F273: Desktop In-App Update — update checker (pure logic, no Electron deps)COMMENT
LOWdesktop/app-identity.js1// Runtime application identity.COMMENT
LOWdesktop/scripts/build-mac.sh1#!/usr/bin/env bashCOMMENT
LOWdesktop/scripts/build-mac.sh341 file.write(png)COMMENT
LOWdesktop/scripts/build-mac.sh421 die "hdiutil attach failed for ${arch} (mountpoint=${mount_point})"COMMENT
LOWdocs/harness-feedback/eval-domains/eval-friction.yaml41 acknowledgeHours: 48COMMENT
LOWdocs/harness-feedback/eval-domains/eval-sop.yaml1---COMMENT
LOW…arness-feedback/eval-domains/eval-capability-tips.yaml1---COMMENT
LOWscripts/setup.sh281 echo -e " ${GREEN}✓${NC} API proxy enabled"COMMENT
LOWscripts/intake-from-opensource.sh1001 # HIGH-RISK / public-only) and Markdown-link source PR references — notCOMMENT
LOWscripts/intake-from-opensource.sh1221 echo -e "${RED}✗ --record requires --decision <absorbed|public-only|rejected>${NC}"; exit 1COMMENT
LOWscripts/sync-skills.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/user-redis.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/install.sh81 fiCOMMENT
LOWscripts/start-dev.sh1#!/bin/bashCOMMENT
LOWscripts/start-dev.sh21# ./scripts/start-dev.sh -- --npm-registry=URL --pip-index-url=URL --hf-endpoint=URLCOMMENT
LOWscripts/start-dev.sh261# Connector autostart is runtime lifecycle authority, not dotenv configuration.COMMENT
LOWscripts/preflight-shared-state.sh1#!/bin/bashCOMMENT
LOWscripts/clean-stale-skill-links.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/pre-merge-check.sh1#!/bin/bashCOMMENT
LOWscripts/lib/intake-gh-retry.sh1# shellcheck shell=bashCOMMENT
LOWscripts/lib/quickstart-freshness.sh1# shellcheck shell=bashCOMMENT
LOWscripts/services/recommendation-matrix.yaml1# ============================================================COMMENT
LOWscripts/services/recommendation-matrix.yaml21# - name: <model-id>COMMENT
LOWscripts/services/recommendation-matrix.yaml721 requirement: 'HuggingFace 上的 CausalLM 因果语言模型(纯 CPU 推理,建议 ≤3B)'COMMENT
LOWscripts/services/prereq-check.sh361 # (user feedback): forcing pip to tunnel through clash verge'sCOMMENT
LOWscripts/services/prereq-check.sh381 # Windows tooling has no OS-level fallback -- that asymmetry isCOMMENT
LOWscripts/services/prereq-check.sh401 # Single source of truth: prereq-check decides, downstream justCOMMENT
LOWscripts/services/tts-server.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/embed-server.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/python-resolve.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/python-resolve.sh21# 2. uv (if user already has it) -- uv python find 3.12 reuses uv-managedCOMMENT
LOWscripts/services/python-resolve.sh41COMMENT
LOWscripts/services/python-resolve.sh181_try_legacy_project_python() {COMMENT
LOWscripts/services/whisper-server.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/install-python.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/install-template.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/services/install-template.sh21# VENV_NAME (required) -- venv dir name underCOMMENT
LOWscripts/services/llm-postprocess-server.sh1#!/usr/bin/env bashCOMMENT
LOWpackages/web/next-env.d.ts1/// <reference types="next" />COMMENT
LOWpackages/web/src/stores/callbackAuthStore.ts161 // seen (snapshot 30s lag). But this was over-engineered against theCOMMENT
LOWpackages/web/src/stores/callbackAuthStore.ts181 });COMMENT
LOWpackages/web/src/stores/bubble-invariants.ts41 // Active path `ensureActiveAssistantMessage` creates the canonicalCOMMENT
LOWpackages/web/src/stores/chatStore.ts2101 };COMMENT
LOWpackages/web/src/stores/bubble-reducer.ts201 // (1) 同 (actor, turn, kind) 严格匹配 — ADR-033 kind 共存场景COMMENT
LOWpackages/web/src/stores/bubble-reducer.ts341// 在 reducer 是 no-op(lifecycle 在 caller 用 cat status / slot cleanup 等 side-effectCOMMENT
LOWpackages/web/src/stores/bubble-reducer.ts441 next.push(m);COMMENT
LOWpackages/web/src/stores/bubble-reducer.ts601 if (m.catId !== event.actorId) continue;COMMENT
184 more matches not shown…
Modern AI Meta-Vocabulary32 hits · 88 pts
SeverityFileLineSnippetContext
MEDIUMdocs/features/F124-apple-ecosystem-voice-interaction.md173- [Xcode 26.3 unlocks the power of agentic coding — Apple Newsroom](https://www.apple.com/newsroom/2026/02/xcode-26-poinCODE
MEDIUMdocs/features/F124-apple-ecosystem-voice-interaction.md174- [Apple releases Xcode 26.3 — 9to5Mac](https://9to5mac.com/2026/02/26/apple-releases-xcode-26-3-with-support-for-agentiCODE
MEDIUMdocs/features/F213-stale-mcp-config-cleanup.md284PR #1894 (5-round P1 chain) 保留 close 状态作为 "lookup-based scaffolding antipattern" 教学案例,commits `b7d618436` → `878bb144d` CODE
MEDIUMdocs/features/F044-channel-activity-system.md252私密频道消息的 token 算谁的?Ragdoll在 `#ragdoll-hq` 发了 20 条策略讨论,进不进公开频道的 context window?CODE
MEDIUMdocs/features/F129-pack-system-multi-agent-mod.md25### 核心洞察:shared-rules 是 multi-agent 的分水岭COMMENT
MEDIUMdocs/decisions/021-f129-pack-system-architecture.md26### 关键洞察:shared-rules 是 multi-agent 的分水岭COMMENT
MEDIUMscripts/intake-from-opensource.sh167# These files often carry route wiring, dependency injection, auth/callback,COMMENT
MEDIUMscripts/lib/sync-skills-helpers.sh3# flags, keeping the CLI orchestration small without changing write boundaries.COMMENT
MEDIUMpackages/web/src/components/hub-cat-editor.model.ts53 /** clowder-ai#1208: single context window cap; empty = Auto. */COMMENT
MEDIUMpackages/web/src/hooks/useCatData.ts62 /** clowder-ai#1208: explicit context window cap. undefined=Auto, positive int=Manual. */COMMENT
MEDIUMpackages/shared/src/types/cat.ts75 /** clowder-ai#1208: explicit member-level context window cap (tokens).COMMENT
MEDIUMpackages/shared/src/types/cat-breed.ts83 * clowder-ai#1208: explicit member-level context window cap (tokens).COMMENT
MEDIUMpackages/shared/src/types/pack.ts41// ─── Guardrails (guardrails.yaml) ────────────────────────────────────COMMENT
MEDIUMpackages/shared/src/schemas/pack.ts53// ─── Guardrails (guardrails.yaml) ────────────────────────────────────COMMENT
MEDIUMpackages/api/test/api-fetcher.test.js74 url: 'https://example.com/agentic-workflows',CODE
MEDIUMpackages/api/test/api-fetcher.test.js93 assert.equal(result.articles[0].url, 'https://example.com/agentic-workflows');CODE
MEDIUMpackages/api/test/invoke-single-cat.test.js3381 // step_finish event (per LLM call inside opencode agentic loop) carriesCOMMENT
MEDIUM…kages/api/test/issue-1381-codex-context-window.test.js21describe('issue #1381: Codex exec_json native/effective context window feedback loop', () => {CODE
MEDIUMpackages/api/test/cats-routes-runtime-crud.test.js457 // #1208: changing context window via top-level contextWindow fieldCOMMENT
MEDIUMpackages/api/test/cats-routes-runtime-crud.test.js524 // #1208: model switch + context window via top-level contextWindowCOMMENT
MEDIUMpackages/api/test/system-prompt-builder.test.js2046 // Core governance (L0 家规) must come before pack guardrailsCOMMENT
MEDIUMpackages/api/test/memory/embed-eval.test.js48 // This is expected — the scaffold validates the test infra is wiredCOMMENT
MEDIUMpackages/api/test/memory/embed-eval.test.js55 // For now, the scaffold proves the test runner picks up the file.COMMENT
MEDIUMpackages/api/test/memory/event-memory-store.test.js316 ins.run('evt_legacy_2', 'dup'); // same (thread_a, msg_1, scaffold) — a legacy duplicateCODE
MEDIUMpackages/api/src/domains/packs/PackSecurityGuard.ts95 // 3. Validate guardrails.yamlCOMMENT
MEDIUMpackages/api/src/domains/packs/PackSecurityGuard.ts113 // 9. Scan guardrails for relaxation attemptsCOMMENT
MEDIUMpackages/api/src/domains/packs/PackSecurityGuard.ts243 // No guardrails — okCOMMENT
MEDIUMpackages/api/src/config/cat-config-loader.ts127 /** clowder-ai#1208: explicit context window cap. undefined=Auto, positive int=Manual. */COMMENT
MEDIUMpackages/api/src/config/runtime-cat-catalog.ts47 /** clowder-ai#1208: explicit context window cap (tokens). undefined = Auto. */COMMENT
MEDIUMpackages/api/src/config/runtime-cat-catalog.ts78 /** clowder-ai#1208: explicit context window cap. null to remove, undefined to skip. */COMMENT
MEDIUMpackages/api/src/routes/cats.ts154 /** clowder-ai#1208: explicit context window cap. undefined=Auto, positive int=Manual.COMMENT
MEDIUMpackages/api/src/routes/cats.ts536 // #1208 Items 4+6: resolved context window info + client capability for Hub display.COMMENT
AI Slop Vocabulary18 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUM…s/harness-feedback/eval-domains/eval-anchor-first.yaml30# Findings route to F236 owner (opus-47 as the registered harness-eval cell owner).COMMENT
MEDIUMdocs/harness-feedback/eval-domains/eval-friction.yaml30# Actionable friction findings route to the harness-eval owner (Phase D wiresCOMMENT
MEDIUMdocs/harness-feedback/eval-domains/eval-friction.yaml34# would be an unwakeable handoff. Use opus-47 — registered + the harness-eval cellCOMMENT
MEDIUMdocs/harness-feedback/eval-domains/eval-sop.yaml14# See: docs/features/F192-socio-technical-harness-eval.md (sunset/re-enable journal)COMMENT
MEDIUM…-domains/community-fixtures/custom-domain-example.yaml10# See: packages/api/src/infrastructure/harness-eval/community-eval-domain.tsCOMMENT
MEDIUMpackages/web/src/components/CliDiagnosticsPanel.tsx120 // clowder-ai#1324/#1325 (@codex-terra review): the harness's MANAGED argv drifted from theCOMMENT
MEDIUMpackages/mcp-server/test/callback-retry.test.js56 // robust if a future caller passes a plain AbortController signal.COMMENT
MEDIUM…ckages/mcp-server/governance/mcp-surface-baseline.json2966 "description": "Declare a bounded ball hold: keep the ball while waiting for a short, predictable condition, then CODE
MEDIUMpackages/api/test/cli-diagnostics.test.js25// clowder-ai#1324 / #848: the harness's argv and the installed CLI version drift apart.COMMENT
MEDIUMpackages/api/test/cli-diagnostics.test.js56test('#1325: a rejected USER flag must NOT be attributed to harness argv drift', () => {CODE
MEDIUMpackages/api/test/gemini-agent-service.test.js296 test('#1325: operator --agent-file reaches Gemini argv without harness-drift attribution', async () => {CODE
MEDIUMpackages/api/test/staging-content.test.js289 // History: born unconditional in PR #2005 (c3f6812ad, "harness 改动按COMMENT
MEDIUMpackages/api/test/b1c-2-build-delta-payload.test.js277 // contract precisely when the receiver needs robust parsing most.COMMENT
MEDIUM…rness-eval/design-gate-episode-source-provider.test.js29 `---\ndescription_author: codex-sol\n---\n# Plan\n## Finish line\nArchitecture cell: harness-eval\nMap delta: none\nCODE
MEDIUM…rness-eval/design-gate-episode-source-provider.test.js175 `---\ndescription_author: codex-sol\n---\n# Plan\n## Finish line\nArchitecture cell: harness-eval\n## Unrelated evidCODE
MEDIUM…ains/cats/services/cloud-bridge/build-delta-payload.ts133 // the cloud cat side, exactly when the receiver needs robust parsing most.)COMMENT
MEDIUM…mains/cats/services/frustration/FrustrationDetector.ts32 // clowder-ai#1324/#1325: the harness's managed argv drifted from the installed CLICOMMENT
MEDIUMpackages/api/src/utils/cli-diagnostics.ts147 // clowder-ai#1324 (refs #848): harness argv vs installed CLI version drifted apart.COMMENT
Fake / Example Data36 hits · 36 pts
SeverityFileLineSnippetContext
LOWcat-cafe-skills/hyperfocus-brake/sanitizer.test.sh51 result=$(sanitize "user@example.com")CODE
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts1081 it('uses local-only id when canonicalInvocationId missing, not "placeholder" magic (P2)', () => {CODE
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts1096 expect(id).not.toContain('placeholder');CODE
LOW…web/src/components/__tests__/vote-config-modal.test.ts20 expect(html).toContain('placeholder');CODE
LOW…es/web/src/components/__tests__/task-composer.test.tsx12 expect(html).toContain('placeholder');CODE
LOW…ages/shared/src/types/cloud-bridge-outbound-receipt.ts23 'placeholder',CODE
LOW…ages/shared/src/types/cloud-bridge-outbound-receipt.ts89 return ['empty', 'contentEditable', 'proseMirror', 'placeholder', 'virtualKeyboard', 'trailingBreak'].every(CODE
LOWpackages/api/test/callback-start-vote.test.js176 headers: { 'x-invocation-id': 'fake-id', 'x-callback-token': 'fake-token' },CODE
LOWpackages/api/test/telegram-adapter.test.js393 const msgId = await adapter.sendPlaceholder('2002', 'placeholder');CODE
LOWpackages/api/test/write-vignette-persistence.test.js36 execSync('git config user.email "test@test.com"', { cwd: workspaceDir, stdio: 'pipe' });CODE
LOWpackages/api/test/adapter-send-media.test.js11 const adapter = new TelegramAdapter('fake-token', {CODE
LOWpackages/api/test/adapter-send-media.test.js52 const adapter = new TelegramAdapter('fake-token', {CODE
LOWpackages/api/test/adapter-send-media.test.js84 const adapter = new TelegramAdapter('fake-token', {CODE
LOWpackages/api/test/adapter-send-media.test.js117 const adapter = new TelegramAdapter('fake-token', {CODE
LOWpackages/api/test/adapter-send-media.test.js153 const adapter = new TelegramAdapter('fake-token', {CODE
LOWpackages/api/test/streaming-outbound-hook.test.js103 assert.ok(!text.includes('placeholder'), `Receipt should not be a raw placeholder, got: ${text}`);CODE
LOWpackages/api/test/callback-bootcamp-env-check.test.js56 callbackToken: 'fake-token',CODE
LOW…ckages/api/test/connector-phase-b4-integration.test.js59 sent.push({ chatId, text, type: 'placeholder', msgId });CODE
LOW…ckages/api/test/connector-phase-b4-integration.test.js198 assert.equal(adapter.sent[0].type, 'placeholder');CODE
LOWpackages/api/test/invoke-single-cat-preflight.test.js55 execSync('git config user.email "test@test.com"', { cwd: dir, stdio: 'ignore' });CODE
LOW…i/test/f296-b3b3-provider-boundary-integration.test.js104 prompt: 'placeholder',CODE
LOW…i/test/f296-b3b3-provider-boundary-integration.test.js209 prompt: 'placeholder',CODE
LOW…ages/api/test/invoke-single-cat-turn-execution.test.js207 prompt: 'placeholder',CODE
LOWpackages/api/test/write-vignette.test.js213 execSync('git config user.email "test@test.com"', { cwd: gitDir, stdio: 'pipe' });CODE
LOWpackages/api/test/bg-carrier-streaming.test.js570 const finalAnswer = 'The file contains 42 lines of Lorem ipsum.';CODE
LOW…kages/api/test/feat-trajectory-real-git-runner.test.js202 assert.strictEqual(extractCatHandle('user@example.com'), null);CODE
LOWpackages/api/test/callback-bootcamp-state.test.js68 headers: { 'x-invocation-id': 'fake-id', 'x-callback-token': 'fake-token' },CODE
LOWpackages/api/test/shared-state-preflight.test.js31 execSync('git config user.email "test@test.com"', { cwd: dir, stdio: 'ignore' });CODE
LOWpackages/api/test/feishu-adapter.test.js916 const messageId = await adapter.sendPlaceholder('oc_chat', 'placeholder');CODE
LOWpackages/api/test/feishu-adapter.test.js1175 assert.ok(bodyEl.content.includes('user@example.com'), 'email-like @-token must NOT be replaced');CODE
LOW…pi/test/harness-eval/publish-verdict-freshness.test.js250 snapshotRefs: ['placeholder'],CODE
LOW…pi/test/harness-eval/publish-verdict-freshness.test.js251 attributionRefs: ['placeholder'],CODE
LOWpackages/api/test/integration/mcp-prompt-e2e.test.js182 callbackToken: 'fake-token',CODE
LOWpackages/api/test/integration/history.test.js90 content: 'placeholder',CODE
LOWpackages/api/src/routes/quota.ts118 sourceKind: 'cli' | 'browser' | 'placeholder';CODE
LOWpackages/api/src/routes/quota.ts349 sourceKind: 'placeholder',CODE
Excessive Try-Catch Wrapping25 hits · 26 pts
SeverityFileLineSnippetContext
LOWscripts/check-skills-mount.sh59except Exception:CODE
LOWscripts/services/llm-postprocess-api.py170 except Exception as exc:CODE
LOWscripts/services/llm-postprocess-api.py199 except Exception:CODE
LOWscripts/services/llm-postprocess-api.py210 except Exception:CODE
LOWscripts/services/llm-postprocess-api.py241 except Exception:CODE
LOWscripts/services/tts-api.py659 except Exception as exc:CODE
LOWscripts/services/tts-api.py693 except Exception as exc:CODE
LOWscripts/services/tts-api.py713 except Exception as exc:CODE
LOWscripts/services/tts-api.py764 except Exception as exc:CODE
LOWscripts/services/tts-api.py811 except Exception:CODE
MEDIUMscripts/services/tts-api.py687def produce_events():CODE
LOWscripts/services/whisper-api.py180 except Exception as exc:CODE
LOWscripts/services/whisper-api.py207 except Exception as exc:CODE
LOWscripts/services/whisper-api.py242 except Exception:CODE
LOWscripts/services/whisper-api.py260 except Exception:CODE
LOWscripts/services/whisper-api.py268 except Exception as e:CODE
LOWscripts/services/whisper-api.py297 except Exception:CODE
LOWscripts/services/embed-api.py437 except Exception as e:CODE
LOWscripts/services/embed-api.py506 except Exception as e:CODE
LOWscripts/services/embed-api.py569 except Exception:CODE
LOWscripts/services/install-template.sh236except Exception:CODE
LOWscripts/services/install-template.sh245 except Exception as e:CODE
LOWscripts/services/install-template.sh266except Exception:CODE
LOWscripts/services/install-template.sh334 except Exception as e:CODE
LOWscripts/services/embed_runtime_policy.py82 except Exception:CODE
Example Usage Blocks12 hits · 18 pts
SeverityFileLineSnippetContext
LOWdesktop/scripts/build-mac.sh14# Usage:COMMENT
LOWscripts/thread-exports-autosave.sh6# Usage:COMMENT
LOWscripts/thread-exports-sync.sh8# Usage:COMMENT
LOWscripts/user-redis.sh6# Usage:COMMENT
LOWscripts/install-git-guards.sh7# Usage:COMMENT
LOWscripts/user-redis-autobackup.sh6# Usage:COMMENT
LOWscripts/find-redis-dumps.sh7# Usage:COMMENT
LOWscripts/pre-merge-check.sh7# Usage:COMMENT
LOWscripts/services/tts-server.sh5# Usage:COMMENT
LOWscripts/services/embed-server.sh5# Usage:COMMENT
LOWscripts/services/whisper-server.sh6# Usage:COMMENT
LOWscripts/services/llm-postprocess-server.sh7# Usage:COMMENT
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/services/test_whisper_worker.py4CODE
LOWscripts/services/llm-postprocess-api.py8CODE
LOWscripts/services/tts-api.py26CODE
LOWscripts/services/test_tts_runtime.py1CODE
LOWscripts/services/test_embed_runtime_policy.py3CODE
LOWscripts/services/whisper-api.py4CODE
LOWscripts/services/embed-api.py9CODE
LOWscripts/services/dedicated_model_worker.py3CODE
LOWscripts/services/qwen_asr_backend.py3CODE
LOWscripts/services/embed_runtime_policy.py7CODE
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHpackages/api/test/start-dev-script.test.js1265elif compgen -G "${backupDir}/stale-aof-test-6399-*" >/dev/null; thenCODE
HIGHpackages/api/test/start-dev-script.test.js1339elif compgen -G "${backupDir}/stale-aof-test-6399-*" >/dev/null; thenCODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcat-cafe-skills/hyperfocus-brake/state.test.sh232 # Create a symlink pointing to a sensitive fileCOMMENT
MEDIUMassets/brand-dictionary.yaml3# This file is the machine-readable truth source for F238. It definesCOMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/features/F127-cat-instance-management.md40| `api_key` — Claude | apiKey + baseUrl + 可选 modelOverride | `<your-api-key>` + `https://api.anthropic.com` |CODE
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOWscripts/services/tts-api.py461CODE
LOWscripts/services/test_tts_runtime.py328CODE
LOWscripts/services/embed-api.py360CODE
LOWscripts/services/embed-api.py510CODE
LOWscripts/services/embed_runtime_policy.py88CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/intake-from-opensource.sh1383 # Check if this landed mainline commit is covered by an entries[] recordCOMMENT
LOWscripts/preflight-shared-state.sh33 # Check if any commits on this branch touch shared stateCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMscripts/services/test_tts_runtime.py423CODE