AI Slop Code RIsk Monitor

zts212653/clowder-ai

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

4.9 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for zts212653/clowder-ai, a TypeScript project with 3,353 GitHub stars. SynthScan examined 2,403,361 lines of code across 10833 source files, recording 7157 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 4.9 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.9
Adjusted Signal
4.9
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
3.4K
Stars
TypeScript
Language
2.4M
Lines of Code
10.8K
Files
7.2K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 11.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 17.7/100 · LOW

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

PR Review Velocity Impact 20.9/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 105HIGH 10MEDIUM 1545LOW 5497

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 7157 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Hyper-Verbose Identifiers4629 hits · 4722 pts
SeverityFileLineSnippetContext
LOW⚡desktop/renderer-link-policy.js6function createVersionedRendererUrl(appUrl, version) {CODE
LOW⚡desktop/renderer-link-policy.js15function createRendererLinkOrigins({ appOrigin, apiOrigin, previewGatewayPort }) {CODE
LOW⚡desktop/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.md956async function terminalizePreAdmissionFailure(entry, failure) {CODE
LOWscripts/intake-from-opensource.sh892function 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/test_whisper_cuda.py44 def test_no_cuda_and_no_torch_loads_cpu(self):CODE
LOWscripts/services/test_whisper_cuda.py51 def test_cuda_initialization_failure_retries_cpu(self):CODE
LOWscripts/services/test_whisper_cuda.py62 def test_cpu_failure_does_not_report_success(self):CODE
LOWscripts/services/test_whisper_cuda.py69 def test_broken_optional_torch_import_still_loads_cpu(self):CODE
LOWscripts/services/test_whisper_cuda.py84 def test_optional_torch_probe_failure_still_loads_cpu(self):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/collective-service/src/collaboration-work.ts29export function requireWorkAccountableHuman(work: CollectiveWorkRecord, humanId: string): void {CODE
LOWpackages/collective-service/src/collaboration-work.ts64export function recordCollectiveWorkResult(CODE
LOWpackages/collective-service/src/collaboration-work.ts112export function issueCollectiveWorkResultReceipt(CODE
LOWpackages/collective-service/src/collaboration-work.ts183export function collaborationActorFromEvent(event: CollectiveEventEnvelope): CollectiveCollaborationActor {CODE
LOW…llective-service/src/collaboration-agent-acceptance.ts17export function acceptCollectiveWorkAsAgent(CODE
4569 more matches not shown…
Decorative Section Separators1488 hits · 4566 pts
SeverityFileLineSnippetContext
MEDIUMcat-cafe-skills/manifest.yaml10# ─── 开发流程链 ─────────────────────────────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1632# ─── 降级为 refs/(不再是独立 skill) ─────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1675# ─── 三条铁律(仅此三条) ──────────────────────────────COMMENT
MEDIUMcat-cafe-skills/manifest.yaml1684# ─── 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
MEDIUM⚡scripts/setup.sh346# ── Core 核心 ────────────────────────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh353# ── API Gateway Proxy 反向代理 ───────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh361# ── Voice Input (ASR) 语音输入 ───────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh370# ── Voice Input (ASR) 语音输入 ───────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh378# ── Voice Output (TTS) 语音输出 ──────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh385# ── Voice Output (TTS) 语音输出 ──────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh393# ── Speech Correction 语音纠正 ───────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh400# ── Speech Correction 语音纠正 ───────────────────────────────COMMENT
MEDIUM⚡scripts/setup.sh408# ── Semantic Retrieval 语义检索(Embedding)────────────────COMMENT
MEDIUM⚡scripts/setup.sh416# ── Semantic Retrieval 语义检索(Embedding)────────────────COMMENT
MEDIUM⚡scripts/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
1428 more matches not shown…
Hallucination Indicators105 hits · 960 pts
SeverityFileLineSnippetContext
CRITICAL…mponents/content-review/ContentModificationLanding.tsx292 return `${context ? `${context.targetName} · ${context.threadTitle}` : '尚未接责的修改请求'} · ${item.record.payload.intent.bodCODE
CRITICALpackages/shared/src/types/entrusted-work-actions.ts72const entrustedWorkTimeFactV1Schema = entrustedWorkV1Schema.shape.time.shape.businessDeadline.unwrap();CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js376 deps.socketManager.emitToUser.mock.calls.filter((call) => call.arguments[1] === 'thread_updated').length,CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js621 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'thread_updated'),CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js865 const terminalized = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js910 const cancelMessages = deps.socketManager.broadcastAgentMessage.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js971 const terminalized = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1067 const failedUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1072 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1293 const spawnStarted = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'spawn_started');CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1648 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1681 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1687 const succeededUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1726 const terminalWrites = deps.invocationRecordStore.update.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1733 const completion = deps.queueProcessor.onInvocationComplete.mock.calls.find(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1762 const terminalWrites = deps.invocationRecordStore.update.mock.calls.filter(CODE
CRITICALpackages/api/test/messages-delivery-mode.test.js1774 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
CRITICAL⚡packages/api/test/queue-processor.test.js5285 const spawnCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'spawn_started');CODE
CRITICAL⚡packages/api/test/queue-processor.test.js5293 const earlyIntentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICAL⚡packages/api/test/queue-processor.test.js5299 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js215 deps.invocationRecordStore.update.mock.calls.some(({ arguments: args }) => args[1]?.status === 'failed'),CODE
CRITICALpackages/api/test/queue-processor.test.js372 queueDeps.invocationRecordStore.update.mock.calls.some(CODE
CRITICALpackages/api/test/queue-processor.test.js381 queueDeps.router.routeExecution.mock.calls.some((call) => call.arguments[1]?.includes(recalledSource.content)),CODE
CRITICALpackages/api/test/queue-processor.test.js833 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js860 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js885 const succeededUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js914 const failedUpdate = sharedDeps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js920 sharedDeps.invocationRecordStore.update.mock.calls.some((call) => call.arguments[1]?.status === 'succeeded'),CODE
CRITICALpackages/api/test/queue-processor.test.js1319 const delivered = durableDeps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js1493 const delivered = durableDeps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js1515 const deliveredEvents = durableDeps.socketManager.emitToUser.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js2317 const deliveredEvents = durableDeps.socketManager.emitToUser.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js2323 const textEvents = durableDeps.socketManager.broadcastAgentMessage.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js3060 durableDeps.socketManager.broadcastToRoom.mock.calls.filter(CODE
CRITICALpackages/api/test/queue-processor.test.js3113 const receiptEvent = durableDeps.socketManager.broadcastToRoom.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js3544 const retryCreate = durableDeps.invocationRecordStore.create.mock.calls.at(-1)?.arguments[0];CODE
CRITICALpackages/api/test/queue-processor.test.js4496 deps.messageStore.markDelivered.mock.calls.map((call) => call.arguments[0]),CODE
CRITICALpackages/api/test/queue-processor.test.js4500 const deliveredCall = deps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js4563 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'messages_delivered'),CODE
CRITICALpackages/api/test/queue-processor.test.js4568 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'queue_updated'),CODE
CRITICALpackages/api/test/queue-processor.test.js4617 const deliveredCall = deps.socketManager.emitToUser.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js4627 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'queue_updated'),CODE
CRITICALpackages/api/test/queue-processor.test.js4649 deps.socketManager.emitToUser.mock.calls.some((call) => call.arguments[1] === 'messages_delivered'),CODE
CRITICALpackages/api/test/queue-processor.test.js4723 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-queued'),CODE
CRITICALpackages/api/test/queue-processor.test.js4772 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-codex-queued'),CODE
CRITICALpackages/api/test/queue-processor.test.js4828 customDeps.messageStore.markDelivered.mock.calls.some((call) => call.arguments[0] === 'msg-old-seen'),CODE
CRITICALpackages/api/test/queue-processor.test.js4862 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js4875 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js4913 const pausedCall = deps.socketManager.emitToUser.mock.calls.find((c) => c.arguments[1] === 'queue_paused');CODE
CRITICALpackages/api/test/queue-processor.test.js5048 const broadcasts = deps.socketManager.broadcastAgentMessage.mock.calls.map((call) => call.arguments[0]);CODE
CRITICALpackages/api/test/queue-processor.test.js5064 const canceledUpdate = deps.invocationRecordStore.update.mock.calls.find(CODE
CRITICALpackages/api/test/queue-processor.test.js5133 durableDeps.invocationRecordStore.update.mock.calls.some((call) => call.arguments[1]?.status === 'canceled'),CODE
CRITICALpackages/api/test/queue-processor.test.js5258 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6585 const intentCall = failDeps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
CRITICALpackages/api/test/queue-processor.test.js6596 const intentCall = deps.socketManager.broadcastToRoom.mock.calls.find((c) => c.arguments[1] === 'intent_mode');CODE
45 more matches not shown…
Structural Annotation Overuse290 hits · 540 pts
SeverityFileLineSnippetContext
LOWcat-cafe-skills/feat-lifecycle/SKILL.md52### Step 0: 关联检测(内部 + 社区 issue 都必须做)🔴COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md48### Step 1: 识别——我在绝境里吗?COMMENT
LOWcat-cafe-skills/vision-rescue/SKILL.md57### Step 2: 回到第一真相源COMMENT
LOW⚡cat-cafe-skills/vision-rescue/SKILL.md71### Step 3: 找外部声音COMMENT
LOW⚡cat-cafe-skills/vision-rescue/SKILL.md81### Step 4: 喊伙伴COMMENT
LOW⚡cat-cafe-skills/vision-rescue/SKILL.md91### Step 5: 拒绝投降(除非 operator signoff)COMMENT
LOWcat-cafe-skills/worktree/SKILL.md59# Step 1: 检查是否有未提交的文档变更COMMENT
LOWcat-cafe-skills/worktree/SKILL.md63# Step 2: 检查 main 与 remote 双向同步COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md45### Step 1: 拆解 — 识别独立可交付单元COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md56### Step 2: 提议 Thread — 每个子任务一个提议(用户审批后才创建)COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md119### Step 3: 选猫 — 按任务和当前成员分配角色COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md148### Step 4: 并行执行 — Worktree 隔离COMMENT
LOWcat-cafe-skills/thread-orchestration/SKILL.md160### Step 5: 交付 — 直接消费依赖,整项完成回流COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md39## Step 1: Grounding(落地 provider-neutral subject 与 author)COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md61## Step 2: 身份与 custody 判断(fail-closed)COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md81## Step 3: Maintainer 五问(仓库中立版)COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md112## Step 4: 反向溯源(reverse provenance)COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md153## Step 5: 工具落点与协作COMMENT
LOWcat-cafe-skills/opensource-ops/SKILL.md178## Step 6: 回报(reportingMode)COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md46### Step 1: 场景识别COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md69### Step 2: 步骤拆分 + YAML 编排COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md115### Step 3: 元素标签标注COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md139### Step 4: 注册到 Guide RegistryCOMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md158### Step 5: CI 契约测试COMMENT
LOWcat-cafe-skills/guide-authoring/SKILL.md165### 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
LOW⚡cat-cafe-skills/refs/repo-inbox.md107### Step 2: Ground — 基础合法性COMMENT
LOW⚡cat-cafe-skills/refs/repo-inbox.md117### Step 3: Gate — 主人翁五问COMMENT
LOW⚡cat-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.md42### Step 1: 分析现有 UICOMMENT
LOWcat-cafe-skills/pencil-design/SKILL.md54### Step 2: 判断设计类型COMMENT
LOWcat-cafe-skills/pencil-design/SKILL.md62### Step 3: 风格验证COMMENT
LOW⚡desktop/update-checker.js190 // Step 3: sort descendingCOMMENT
LOW⚡desktop/update-checker.js197 // Step 4: find first valid (highest complete release)COMMENT
LOWdocs/configuration/startup.md102# Step 1: Install dependenciesCOMMENT
LOWdocs/configuration/startup.md106# Step 2: Start servicesCOMMENT
LOWdocs/configuration/startup.zh-CN.md102# Step 1: Install dependenciesCOMMENT
LOWdocs/configuration/startup.zh-CN.md106# Step 2: Start servicesCOMMENT
LOW⚡docs/features/F040-backlog-reorganization.md420### Step 1: 创建 `feat-completion` skill(P1,~30min)COMMENT
LOW⚡docs/features/F040-backlog-reorganization.md426### Step 2: 沉淀 ADR(P2,~20min)COMMENT
LOW⚡docs/features/F040-backlog-reorganization.md434### Step 3: 更新 lessons-learned(P2,~10min)COMMENT
LOW⚡docs/features/F040-backlog-reorganization.md440### Step 4: 同步三猫指引(P2,~15min)COMMENT
LOW⚡docs/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
230 more matches not shown…
Verbosity Indicators234 hits · 450 pts
SeverityFileLineSnippetContext
LOW⚡desktop/update-checker.js190 // Step 3: sort descendingCOMMENT
LOW⚡desktop/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…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.js1523 // Step 1: enqueue by forcing transient failures.COMMENT
LOWpackages/mcp-server/test/callback-tools.test.js1535 // Step 2: recover network and verify replay + current post both sent.COMMENT
LOW⚡packages/api/test/tmux-agent-spawner.test.js525 // Step 1: consume the __tmuxPaneCreated event (generator now suspendedCOMMENT
LOW⚡packages/api/test/tmux-agent-spawner.test.js532 // Step 2: kick off the next iteration — this synchronously resumes theCOMMENT
LOW⚡packages/api/test/tmux-agent-spawner.test.js537 // Step 3: yield a macrotask so the generator has definitely settled atCOMMENT
LOW⚡packages/api/test/tmux-agent-spawner.test.js541 // Step 4: release the shell. Timer + watcher are already armed, so theCOMMENT
LOW⚡packages/api/test/tmux-agent-spawner.test.js547 // Step 5: drain the rest of the stream.COMMENT
LOW⚡packages/api/test/plugin-schedule-activate.test.js380 // Step 1: enable plugin with a schedule resourceCOMMENT
LOW⚡packages/api/test/plugin-schedule-activate.test.js387 // Step 2: disable with a DIFFERENT resource list (simulates plugin.yaml change)COMMENT
LOW⚡packages/api/test/plugin-schedule-activate.test.js484 // Step 1: enable plugin with a schedule resource named 'my-poller'COMMENT
LOW⚡packages/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
174 more matches not shown…
Over-Commented Block244 hits · 224 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md21COMMENT
LOWcat-cafe-skills/manifest.yaml1# Clowder AI Skills Manifest — 路由单一真相源COMMENT
LOWcat-cafe-skills/eval-design/SKILL.md81 # 配对时用差值 CI 半宽),与该目标的剩余空间、consumerCOMMENT
LOWcat-cafe-skills/hyperfocus-brake/sanitizer.sh1#!/usr/bin/env bashCOMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md321COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md341#COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md361# 详见 ../.cat-cafe-shared-refs/pr-template.md「云端 Review 触发 Comment 模板」COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md401 echo "✅ Hotfix cross-cat review: Author=$PR_AUTHOR, Approved by=$REVIEWERS"COMMENT
LOWcat-cafe-skills/merge-gate/SKILL.md421# 7. Squash merge(GitHub 处理,禁止本地 squash!)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-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.sh1381 # empty scope and silently degraded to whole-repo scan, hitting pre-existingCOMMENT
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/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/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
LOW…ckages/web/src/stores/__tests__/bubble-reducer.test.ts1721 currentMessages,COMMENT
LOWpackages/web/src/components/CliDiagnosticsPanel.tsx101 // Tier 4 — cognitive / context limitCOMMENT
LOW…nents/__tests__/HubObservabilityTab-deep-link.test.tsx61 // FAIL. Sequence:COMMENT
LOWpackages/web/src/hooks/preview-auto-open-delivery.ts101 return { status: 'skipped', eventId, reason: 'client_inactive' };COMMENT
184 more matches not shown…
Modern AI Meta-Vocabulary33 hits · 91 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/F308-full-sync-durable-fast-train.md100### Phase B — Safe orchestrationCOMMENT
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.sh177# 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.ts63 /** clowder-ai#1208: explicit context window cap. undefined=Auto, positive int=Manual. */COMMENT
MEDIUMpackages/shared/src/types/cat.ts89 /** clowder-ai#1208: explicit member-level context window cap (tokens).COMMENT
MEDIUMpackages/shared/src/types/cat-breed.ts85 * 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.js3610 // 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.js556 // #1208: changing context window via top-level contextWindow fieldCOMMENT
MEDIUMpackages/api/test/cats-routes-runtime-crud.test.js623 // #1208: model switch + context window via top-level contextWindowCOMMENT
MEDIUMpackages/api/test/system-prompt-builder.test.js2037 // 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.js324 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.ts151 /** 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.ts80 /** clowder-ai#1208: explicit context window cap. null to remove, undefined to skip. */COMMENT
MEDIUMpackages/api/src/routes/cats.ts168 /** clowder-ai#1208: explicit context window cap. undefined=Auto, positive int=Manual.COMMENT
MEDIUMpackages/api/src/routes/cats.ts683 // #1208 Items 4+6: resolved context window info + client capability for Hub display.COMMENT
AI Slop Vocabulary19 hits · 54 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.json6577 "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.js308 // 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.js181 `---\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.ts141 // the cloud cat side, exactly when the receiver needs robust parsing most.)COMMENT
MEDIUM⚡…s/cats/services/agents/providers/ClaudeAgentService.ts207 * #1542: write the harness-injected PreCompact registration to a temp settingsCOMMENT
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 Data42 hits · 42 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.ts27 'placeholder',CODE
LOW…ages/shared/src/types/cloud-bridge-outbound-receipt.ts120 return ['empty', 'contentEditable', 'proseMirror', 'placeholder', 'virtualKeyboard', 'trailingBreak'].every(CODE
LOWpackages/api/test/f296-installed-layout.test.js35 test('placeholder', () => {});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.js37 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.js103 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.js220 prompt: 'placeholder',CODE
LOWpackages/api/test/write-vignette.test.js218 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-native-test-grant.test.js29 if (invocationId !== 'inv' || callbackToken !== 'fake-token') return { ok: false, reason: 'invalid_token' };CODE
LOWpackages/api/test/callback-native-test-grant.test.js76 headers: { 'x-invocation-id': 'inv', 'x-callback-token': 'fake-token' },CODE
LOWpackages/api/test/callback-native-test-grant.test.js83 assert.ok(!live.body.includes('fake-token'));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…api/test/harness-eval/eval-repair-approval-fixtures.js85 [nextActionRef, caseAction({ supersedesProposalId: 'placeholder' })],CODE
LOW…pi/test/harness-eval/publish-verdict-freshness.test.js266 snapshotRefs: ['placeholder'],CODE
LOW…pi/test/harness-eval/publish-verdict-freshness.test.js267 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.ts120 sourceKind: 'cli' | 'browser' | 'placeholder';CODE
LOWpackages/api/src/routes/quota.ts351 sourceKind: 'placeholder',CODE
LOWsite/main.js75 ['data-i18n-placeholder', 'placeholder'],CODE
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHscripts/services/tts-api.py721except BaseException:CODE
HIGHscripts/services/whisper-api.py260except Exception:CODE
HIGHscripts/services/whisper-api.py289except Exception:CODE
HIGHscripts/services/whisper-api.py296except ImportError:CODE
HIGHscripts/services/embed-api.py482except ImportError:CODE
HIGHscripts/services/embed_runtime_policy.py168except asyncio.CancelledError:CODE
HIGHscripts/services/embed_runtime_policy.py177except asyncio.CancelledError:CODE
Excessive Try-Catch Wrapping30 hits · 34 pts
SeverityFileLineSnippetContext
LOW…duck-roadshow/pipeline/bin/microduck_control_runner.py322 except Exception as error: # runner boundary emits no secret-bearing tracebackCODE
MEDIUM…duck-roadshow/pipeline/bin/microduck_control_runner.py317def main() -> int:CODE
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
MEDIUMscripts/services/tts-api.py687def produce_events():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
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
LOW⚡scripts/services/whisper-api.py289 except Exception:CODE
LOW⚡scripts/services/whisper-api.py298 except Exception:CODE
LOW⚡scripts/services/whisper-api.py306 except Exception:CODE
LOWscripts/services/whisper-api.py317 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 Imports11 hits · 11 pts
SeverityFileLineSnippetContext
LOW…duck-roadshow/pipeline/bin/microduck_control_runner.py10CODE
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.js1360elif compgen -G "${backupDir}/stale-aof-test-6399-*" >/dev/null; thenCODE
HIGHpackages/api/test/start-dev-script.test.js1434elif 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 · 4 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.sh1559 # 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