AI Slop Code RIsk Monitor

TencentCloud/TencentDB-Agent-Memory

TencentDB Agent Memory is a team-level memory hub for AI Agents — turning conversations, docs, and code into four reusable memory assets (Chat Memory, Skill, LLM-Wiki, Code-Graph) that are governed, shared, and equipped across agents and frameworks.

16.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for TencentCloud/TencentDB-Agent-Memory, a TypeScript project with 27,917 GitHub stars. SynthScan examined 303,335 lines of code across 1133 source files, recording 2129 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 16.9 (Elevated 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.

16.9
Adjusted Signal
16.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
27.9K
Stars
TypeScript
Language
303.3K
Lines of Code
1.1K
Files
2.1K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 12.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 52.2/100 · HIGH

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

PR Review Velocity Impact 55.7/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 26MEDIUM 1339LOW 764

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 2129 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.

Decorative Section Separators1330 hits · 4090 pts
SeverityFileLineSnippetContext
MEDIUMREADME.deployment.md290 │ Hermes #3 │─┘ │ ┌─ Scanner ─┐ │ └──────────┘CODE
MEDIUMdeploy/panel-knowledge-combined/publish.sh51# ── 1) 源码 secret-scan ─────────────────────────────────────────────COMMENT
MEDIUMdeploy/panel-knowledge-combined/publish.sh63# ── 2) 准备 context ─────────────────────────────────────────────────COMMENT
MEDIUMdeploy/panel-knowledge-combined/publish.sh82# ── 3) buildx multi-arch ────────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/verify.sh42# ─── LLM 通路检查函数 ───────────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/_lib.sh152# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh154# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh256# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh258# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh421# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh423# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh19# ── Gateway 内部管理凭据 ─────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh45# ── 存储后端:sqlite(默认)/ mongodb ─────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh221# ── Admin user 生命周期 ─────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh299# ── 校验 admin key 可用 ─────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh55# ── 参数校验 ────────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh70# ── 通用步骤 ────────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh136# ── memory-core ─────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh155# ── memory-proxy ────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh238# ── memory-hub ──────────────────────────────────────────────────────COMMENT
MEDIUMdeploy/dockerhub/publish.sh271# ── 主流程 ──────────────────────────────────────────────────────────COMMENT
MEDIUMagents/asset-import.ts15// ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMagents/asset-import.ts1974// ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡agents/setup-proxy.sh2# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡agents/setup-proxy.sh10# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡agents/setup-proxy.sh13# ─── Colors & Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh90# ─── Constants ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh118# ─── Parse args ───────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh165# ─── Non-interactive fast path ────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh218# ─── Main Flow ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh229# ━━━ Step 0: Scan existing agent configs for proxy settings ━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh369# ━━━ Step 1: Proxy address + Instance ID ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh381 # ━━━ Step 2: User Key ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh400# ━━━ Select Agent ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh428# ━━━ Model ID ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh450# ━━━ Health Probe (使用真实 agent + model) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh521# ━━━ Header Preselect (Hermes/OpenClaw only) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh682# ━━━ Config File Path & Write ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh714# ─── Write Functions ──────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh1067# ─── Execute Write ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh1078# ━━━ Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/setup-proxy.sh1122# ━━━ Optional: Asset Import ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUM⚡agents/skills/setup-proxy/setup-proxy.sh2# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡agents/skills/setup-proxy/setup-proxy.sh10# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡agents/skills/setup-proxy/setup-proxy.sh13# ─── Colors & Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh90# ─── Constants ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh118# ─── Parse args ───────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh165# ─── Non-interactive fast path ────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh218# ─── Main Flow ────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh229# ━━━ Step 0: Scan existing agent configs for proxy settings ━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh369# ━━━ Step 1: Proxy address + Instance ID ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh381 # ━━━ Step 2: User Key ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh400# ━━━ Select Agent ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh428# ━━━ Model ID ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh450# ━━━ Health Probe (使用真实 agent + model) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh521# ━━━ Header Preselect (Hermes/OpenClaw only) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh682# ━━━ Config File Path & Write ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh714# ─── Write Functions ──────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh1067# ─── Execute Write ────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh1078# ━━━ Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
1270 more matches not shown…
Hyper-Verbose Identifiers281 hits · 278 pts
SeverityFileLineSnippetContext
LOWagents/asset-import.ts1544function looksLikeOpenClawWorkspace(dir: string): boolean {CODE
LOWagents/asset-import.ts1588function collectOpenClawSkillsFromRoot(root: string): ScannedSkill[] {CODE
LOWagents/asset-import.ts1633function collectOpenClawMemoryFiles(opts?: ScanOptions): string[] {CODE
LOWagents/asset-import.ts2128function collectDshInstructionFilesInDir(dir: string): string[] {CODE
LOWagents/asset-import.ts2300function collectHermesSkillsFromRoot(root: string): ScannedSkill[] {CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py163def wait_for_next_form_or_done(child, timeout=20):CODE
LOWMemoryProxy/src/request-prepare-adapter.ts138export function isRequestPrepareEnabledByDefault(config: ProxyConfig): boolean {CODE
LOWMemoryProxy/src/request-prepare-adapter.ts338function reportPrepareObservations(CODE
LOWMemoryProxy/src/request-prepare-adapter.ts516function reportSideChannelRetention(CODE
LOWMemoryProxy/src/request-prepare-adapter.ts611export function stripInjectedToolArguments(args: string): string | null {CODE
LOWMemoryProxy/src/systemUserPassthrough.ts477export async function handleSystemUserPassthrough(CODE
LOWMemoryProxy/src/systemUserPassthrough.ts746function mergeAnthropicUsageFromEvent(part: string, sink: Record<string, unknown>): void {CODE
LOWMemoryProxy/src/guard-adapter.ts207export async function shutdownPrivateControlPlane(): Promise<void> {CODE
LOWMemoryProxy/src/guard-adapter.ts559function forwardExtensionTelemetry(CODE
LOWMemoryProxy/src/trace-archive.ts144function getOrCreateStream(): WriteStream | null {CODE
LOWMemoryProxy/src/clickhouse.ts601function computeCompressRemoteStats(CODE
LOWMemoryProxy/src/instance-upstream-cache.ts145export async function getInstanceUpstreamConfigs(CODE
LOW…ryProxy/src/pipeline/stages/instance-upstream-early.ts50export async function stageInstanceUpstreamEarly(CODE
LOWMemoryProxy/src/pipeline/stages/model-gate.ts66export function buildUnregisteredModelErrorBody(requestedModel: string): Record<string, unknown> {CODE
LOW…oxy/src/pipeline/stages/instance-upstream-responses.ts62export async function stageInstanceUpstreamResponses(CODE
LOW…oxy/src/pipeline/stages/instance-upstream-responses.ts130export function isInstanceUpstreamBlocked(CODE
LOWMemoryProxy/src/pipeline/stages/observability.ts78export async function stageBuildLangfuseTurnContext(CODE
LOW…roxy/src/pipeline/stages/session-reset-confirmation.ts37export async function stageSessionResetConfirmation(CODE
LOW…roxy/src/pipeline/stages/instance-upstream-override.ts47export function stageInstanceUpstreamOverride(CODE
LOWMemoryProxy/src/pipeline/stages/rate-limit.ts52export async function stageRecordInputTokenUsage(input: RateLimitRecordInput): Promise<void> {CODE
LOW…yProxy/src/pipeline/stages/session-init-orchestrate.ts138export async function stageSessionInitOrchestrate(CODE
LOW…oxy/src/pipeline/strategies/protocol/stream-parsers.ts44export function extractOpenaiSseAssistantText(sseText: string): string {CODE
LOWMemoryProxy/src/pipeline/runners/workbuddy.ts186export function extractWorkbuddySessionId(CODE
LOWMemoryProxy/src/pipeline/runners/workbuddy.ts220export function detectWorkbuddyDefaultModeGate(input: unknown): boolean {CODE
LOWMemoryProxy/src/pipeline/runners/workbuddy.ts320function extractLatestWorkbuddyUserMessage(input: unknown): TdaiMessage | null {CODE
LOWMemoryProxy/src/pipeline/runners/workbuddy.ts379async function triggerWorkbuddyArchiveHooks(CODE
LOWMemoryProxy/src/pipeline/runners/workbuddy.ts425function buildWorkbuddyLangfuseInput(body: Record<string, unknown>): unknown {CODE
LOWMemoryProxy/src/pipeline/runners/direct.ts46function buildDirectRequestHeaders(c: Context): Record<string, string> {CODE
LOWMemoryProxy/src/pipeline/runners/direct.ts129function consumeAnthropicStreamForObs(stream: ReadableStream<Uint8Array>, ctx: DirectObsContext): void {CODE
LOWMemoryProxy/src/pipeline/runners/direct.ts177function consumeOpenAiStreamForObs(stream: ReadableStream<Uint8Array>, ctx: DirectObsContext): void {CODE
LOWMemoryProxy/src/pipeline/runners/anthropic.ts171export function flattenAnthropicMessagesForOpik(CODE
LOWMemoryProxy/src/pipeline/runners/anthropic.ts280function hasValidThinkingSignature(block: Record<string, unknown>): boolean {CODE
LOWMemoryProxy/src/pipeline/runners/anthropic.ts1521function createSseThinkingFixStream(CODE
LOW⚡MemoryProxy/src/pipeline/runners/codex.ts116function extractLatestCodexUserMessage(input: unknown): TdaiMessage | null {CODE
LOWMemoryProxy/src/pipeline/runners/openai-chat.ts1638function extractSseContentAndTools(sseText: string): SseExtractResult {CODE
LOWMemoryProxy/src/memory/bridge-telemetry.ts44export function emitBridgeToolCallTelemetry(CODE
LOWMemoryProxy/src/memory/bridge-telemetry.ts83export function agentSourceFromSessionKey(sessionKey: string): string {CODE
LOWMemoryProxy/src/memory/bridge-telemetry.ts120export function emitBridgeRejectTelemetry(input: BridgeRejectTelemetryInput): void {CODE
LOWMemoryProxy/src/memory/memory-bridge.ts262export function createMemoryBridgeHandler(CODE
LOWMemoryProxy/src/skill/handler-glue.ts73export async function triggerSkillExtractIfReady(input: TriggerInput): Promise<void> {CODE
LOWMemoryProxy/src/skill/normalize-conversation.ts268function convertAnthropicAssistant(content: unknown): NormalizedMessage[] {CODE
LOWMemoryProxy/src/skill/normalize-conversation.ts353function anthropicToolResultContentToString(rc: unknown): string {CODE
LOWMemoryProxy/src/skill/normalize-conversation.ts526function convertCodexAssistantMessage(content: unknown): NormalizedMessage[] {CODE
LOWMemoryProxy/src/skill/skill-bridge.ts420function defaultVisibleSkillIdsResolver(CODE
LOWMemoryProxy/src/skill/skill-bridge.ts997function emitSkillUsageFromResponse(args: {CODE
LOWMemoryProxy/src/common/user-query-extractor.ts73function isClaudeCodeInternalPrompt(text: string): boolean {CODE
LOWMemoryProxy/src/common/user-query-extractor.ts86export function isDshRuntimeContextSnapshot(text: string): boolean {CODE
LOWMemoryProxy/src/common/langfuse-debug.ts90export function buildRequestDebugMetadata(CODE
LOWMemoryProxy/src/common/workbuddy-injection.ts90export function buildWorkbuddyInjectionBlock(CODE
LOWMemoryProxy/src/common/responses-payload.ts23export function collectResponsesToolCalls(output: unknown): UpstreamToolCall[] {CODE
LOWMemoryProxy/src/common/responses-payload.ts62export function collectResponsesOutputText(CODE
LOWMemoryProxy/src/common/cc-request-classifier.ts68export function findLastCacheControlIndex(msgs: unknown[]): number {CODE
LOWMemoryProxy/src/injection/index.ts211export function ensureBindingRepoPersistent(config: ProxyConfig): void {CODE
LOWMemoryProxy/src/injection/index.ts447function getOrBuildBundle(config: ProxyConfig): PipelineBundle {CODE
LOWMemoryProxy/src/injection/index.ts508export function shouldRegisterKnowledgeInjector(config: ProxyConfig): boolean {CODE
221 more matches not shown…
Structural Annotation Overuse115 hits · 200 pts
SeverityFileLineSnippetContext
LOWINSTALL.md132### Step 1: Log into the panelCOMMENT
LOWINSTALL.md192# Step 1: create the user (account only, NOT added to any team). Note the returned data.user_id and data.default_user_keCOMMENT
LOWINSTALL.md199# Step 2: add that user_id to an existing Team (replace TEAM_ID; role is usually member)COMMENT
LOWINSTALL.md228### Step 2: Create Team / Agent / Task in the panelCOMMENT
LOWINSTALL.md270### Step 3: Point Claude Code at the ProxyCOMMENT
LOWINSTALL.md288### Step 4: First CC turn — pick Team → Agent → TaskCOMMENT
LOWINSTALL.md321### Step 5: Watch memory growCOMMENT
LOWINSTALL.md677### Step 1: Provision a ClickHouse instanceCOMMENT
LOWINSTALL.md697### Step 2: Turn on ClickHouse export in ProxyCOMMENT
LOWINSTALL.md725### Step 3: Turn on ClickHouse export + query API in KnowledgeCOMMENT
LOWINSTALL.md756### Step 4: Turn on the analytics query API in CoreCOMMENT
LOWINSTALL.md781### Step 5: Restart the stack and verifyCOMMENT
LOWagents/skills/setup-proxy/SKILL.md38### Step 1: 扫描现有配置COMMENT
LOWagents/skills/setup-proxy/SKILL.md62### Step 2: 收集基础信息COMMENT
LOWagents/skills/setup-proxy/SKILL.md71### Step 3: 选择 AgentCOMMENT
LOWagents/skills/setup-proxy/SKILL.md82### Step 4: 填写模型 IDCOMMENT
LOWagents/skills/setup-proxy/SKILL.md88### Step 5: 健康探测(关键验证步骤)COMMENT
LOWagents/skills/setup-proxy/SKILL.md130### Step 6: Header 预选(仅 Hermes / OpenClaw)COMMENT
LOWagents/skills/setup-proxy/SKILL.md175### Step 7: 确认配置文件路径COMMENT
LOWagents/skills/setup-proxy/SKILL.md179### Step 8: 调用脚本写入配置COMMENT
LOWagents/skills/setup-proxy/SKILL.md203### Step 9: 验证写入结果COMMENT
LOWagents/skills/setup-proxy/SKILL.md227### Step 10: 资产导入(可选)COMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py332 # Step 0: Handle trustCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py335 # Step 1: Send hello → expect formCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py351 # Step 2: Select 否 → bypassCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py357 # Step 3: Send mem:session-reset → expect reset textCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py419 # Step 0: Handle trustCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py422 # Step 1: Send hello → form → select 是 → complete bindingCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py370 # Step 4: Send hi → expect form againCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py445 # Step 3: Send mem:session-resetCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py458 # Step 4: Send hi → form → select team 2 (Down once extra)COMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py503 # Step 0: Handle trustCOMMENT
LOW⚡…xy/src/injection/injectors/knowledge-tools-injector.ts211 "### Step 1: 拿工具清单(每个资源**首次**使用时调一次即可)",CODE
LOW⚡…xy/src/injection/injectors/knowledge-tools-injector.ts220 "### Step 2: 执行工具",CODE
LOW⚡…rc/injection/injectors/tdai-profile-memory-injector.ts192# Step 1: 先查COMMENT
LOW⚡…rc/injection/injectors/tdai-profile-memory-injector.ts196# Step 2: 从 items[].content 里提取答案后回复COMMENT
LOWMemoryProxy/src/routes/session-task.ts378 // Step 1: LLM 生成草稿(lockedTitle 情况下只出 description)COMMENT
LOWMemoryProxy/src/routes/session-task.ts517 // Step 1: 拉当前 taskCOMMENT
LOWMemoryProxy/src/routes/session-task.ts537 // Step 2: 决定新 description + statusSuggestionCOMMENT
LOWMemoryProxy/src/routes/session-task.ts573 // Step 3: 写 pending,等 confirmCOMMENT
LOW⚡MemoryProxy/src/routes/session-refresh.ts180 // Step 1: 尝试重拉 agent/task detail 并覆写 SessionStore。COMMENT
LOW⚡MemoryProxy/src/routes/session-refresh.ts186 // Step 2: 用最新 state 里的 agent/task detail 构造 PrewarmInput。COMMENT
LOWMemoryProxy/src/session/store.ts332 // Step 1: L1COMMENT
LOWMemoryProxy/src/session/store.ts358 // Step 2: L2a SessionRepo (Redis / SQLite / ProxyStorage) — full SessionInitState.COMMENT
LOWMemoryProxy/src/session/store.ts391 // Step 3: L2b BindingCOMMENT
LOWMemoryPanel/web/src/components/team/MemberSection.tsx237 // Step 1: 创建用户COMMENT
LOW⚡MemoryPanel/web/src/components/team/MemberSection.tsx248 // Step 3: 自动加入当前 teamCOMMENT
LOW⚡MemoryPanel/web/src/components/team/MemberSection.tsx251 // Step 4: 关闭添加弹窗,通过回调让父组件展示密钥弹窗COMMENT
LOW⚡…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx75 // Step 1: 拉源 skill 详情(含 content + manifest)。COMMENT
LOW⚡…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx83 // Step 2: 防御性检查 —— 目标 agent 下已存在同名 skill 则提前拦截,避免后端 42201。COMMENT
LOW…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx95 // Step 3: 复制附属资源文件(逐个 readSkillFile;单个失败跳过,不阻断主流程)。COMMENT
LOW…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx116 // Step 4: 以(可编辑的)副本名 + 目标 agent 为 owner 创建 skill(v3 API)。COMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py260 # Step 1: SignKeyCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py267 # Step 2: HttpStringCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py271 # Step 3: StringToSignCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py275 # Step 4: SignatureCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts206 // Step 1: SignKey = HMAC-SHA1(SecretKey, q-key-time)COMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts209 // Step 2: HttpStringCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts212 // Step 3: StringToSignCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts216 // Step 4: SignatureCOMMENT
55 more matches not shown…
Verbosity Indicators89 hits · 161 pts
SeverityFileLineSnippetContext
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py332 # Step 0: Handle trustCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py335 # Step 1: Send hello → expect formCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py351 # Step 2: Select 否 → bypassCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py357 # Step 3: Send mem:session-reset → expect reset textCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py419 # Step 0: Handle trustCOMMENT
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py422 # Step 1: Send hello → form → select 是 → complete bindingCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py370 # Step 4: Send hi → expect form againCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py445 # Step 3: Send mem:session-resetCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py458 # Step 4: Send hi → form → select team 2 (Down once extra)COMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py503 # Step 0: Handle trustCOMMENT
LOW⚡…xy/src/injection/injectors/knowledge-tools-injector.ts211 "### Step 1: 拿工具清单(每个资源**首次**使用时调一次即可)",CODE
LOW⚡…xy/src/injection/injectors/knowledge-tools-injector.ts220 "### Step 2: 执行工具",CODE
LOW⚡…rc/injection/injectors/tdai-profile-memory-injector.ts192# Step 1: 先查COMMENT
LOW⚡…rc/injection/injectors/tdai-profile-memory-injector.ts196# Step 2: 从 items[].content 里提取答案后回复COMMENT
LOWMemoryProxy/src/routes/session-task.ts378 // Step 1: LLM 生成草稿(lockedTitle 情况下只出 description)COMMENT
LOWMemoryProxy/src/routes/session-task.ts517 // Step 1: 拉当前 taskCOMMENT
LOWMemoryProxy/src/routes/session-task.ts537 // Step 2: 决定新 description + statusSuggestionCOMMENT
LOWMemoryProxy/src/routes/session-task.ts573 // Step 3: 写 pending,等 confirmCOMMENT
LOW⚡MemoryProxy/src/routes/session-refresh.ts180 // Step 1: 尝试重拉 agent/task detail 并覆写 SessionStore。COMMENT
LOW⚡MemoryProxy/src/routes/session-refresh.ts186 // Step 2: 用最新 state 里的 agent/task detail 构造 PrewarmInput。COMMENT
LOWMemoryProxy/src/session/store.ts332 // Step 1: L1COMMENT
LOWMemoryProxy/src/session/store.ts358 // Step 2: L2a SessionRepo (Redis / SQLite / ProxyStorage) — full SessionInitState.COMMENT
LOWMemoryProxy/src/session/store.ts391 // Step 3: L2b BindingCOMMENT
LOWMemoryPanel/web/src/components/team/MemberSection.tsx237 // Step 1: 创建用户COMMENT
LOW⚡MemoryPanel/web/src/components/team/MemberSection.tsx248 // Step 3: 自动加入当前 teamCOMMENT
LOW⚡MemoryPanel/web/src/components/team/MemberSection.tsx251 // Step 4: 关闭添加弹窗,通过回调让父组件展示密钥弹窗COMMENT
LOW⚡…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx75 // Step 1: 拉源 skill 详情(含 content + manifest)。COMMENT
LOW⚡…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx83 // Step 2: 防御性检查 —— 目标 agent 下已存在同名 skill 则提前拦截,避免后端 42201。COMMENT
LOW…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx95 // Step 3: 复制附属资源文件(逐个 readSkillFile;单个失败跳过,不阻断主流程)。COMMENT
LOW…eb/src/pages/SkillsPage/components/ForkSkillDialog.tsx116 // Step 4: 以(可编辑的)副本名 + 目标 agent 为 owner 创建 skill(v3 API)。COMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py260 # Step 1: SignKeyCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py267 # Step 2: HttpStringCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py271 # Step 3: StringToSignCOMMENT
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py275 # Step 4: SignatureCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts206 // Step 1: SignKey = HMAC-SHA1(SecretKey, q-key-time)COMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts209 // Step 2: HttpStringCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts212 // Step 3: StringToSignCOMMENT
LOW⚡sdk/memory-core/typescript/src/cos.ts216 // Step 4: SignatureCOMMENT
LOWMemoryCore/src/offload-client/context-engine.ts235 // Step 1: scan from tail, find the cut indexCOMMENT
LOWMemoryCore/src/offload-client/context-engine.ts250 // Step 2: expand cut boundary to respect tool pairsCOMMENT
LOWMemoryCore/src/offload-client/context-engine.ts265 // Step 3: build retained arrayCOMMENT
LOWMemoryCore/src/offload-client/context-engine.ts281 // Step 4: if still over target and there's a large tool_result, truncate itCOMMENT
LOWMemoryCore/src/core/record/l1-extractor.ts186 // Step 1: LLM extraction (scene segmentation + memory extraction)COMMENT
LOWMemoryCore/src/core/record/l1-extractor.ts296 // Step 2: Batch Conflict Detection + WriteCOMMENT
LOWMemoryCore/src/core/hooks/auto-capture.ts302 // Step 3: Notify scheduler of this conversation roundCOMMENT
LOW⚡MemoryCore/src/core/prompts/l1-dedup.ts164 // Step 1: Build unified candidate pool (de-duplicate across all new memories)COMMENT
LOWMemoryCore/src/core/prompts/l1-dedup.ts179 // Step 2: Format unified pool as JSONCOMMENT
LOWMemoryCore/src/core/prompts/l1-dedup.ts197 // Step 3: Format each new memory with its related candidate IDsCOMMENT
LOWMemoryCore/src/core/prompts/l1-dedup.ts224 // Step 4: Assemble final promptCOMMENT
LOW⚡MemoryCore/src/core/store/sqlite/skill-store.ts210 // Step 2: DROP 旧表 → 重建新 schema(事务内原子操作)COMMENT
LOW⚡MemoryCore/src/core/store/sqlite/skill-store.ts216 // Step 3: 回填所有 head 行到 FTSCOMMENT
LOWMemoryCore/src/core/store/sqlite/skill-store.ts195 // Step 1: 从主表读取所有 head 行(回填用)COMMENT
LOWMemoryCore/src/core/conversation/l0-recorder.ts118 // Step 1: Position slice + extract user/assistant messages.COMMENT
LOWMemoryCore/src/core/conversation/l0-recorder.ts199 // Step 2: Replace polluted user messages with cached original prompt.COMMENT
LOWMemoryCore/src/core/conversation/l0-recorder.ts255 // Step 3: Sanitize and filterCOMMENT
LOWMemoryCore/src/core/conversation/l0-recorder.ts274 // Step 4: Write to JSONL file — one message per line (flat format)COMMENT
LOW…yCore/src/offload_server/compact/compaction-handler.ts123 // Step 1: Fast-path re-apply (uses compactState for confirmed/deleted IDs)COMMENT
LOW…yCore/src/offload_server/compact/compaction-handler.ts141 // Step 2: Resolve compression level using post-fast-path ratioCOMMENT
LOW…yCore/src/offload_server/compact/compaction-handler.ts153 // Step 3: Mild compressionCOMMENT
LOW…yCore/src/offload_server/compact/compaction-handler.ts177 // Step 4: Aggressive compressionCOMMENT
29 more matches not shown…
Over-Commented Block158 hits · 130 pts
SeverityFileLineSnippetContext
LOWdeploy/panel-knowledge-combined/publish.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/panel-knowledge-combined/build.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-all.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-memory-hub.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-memory-hub.sh21 MEMORY_HUB_IMAGE PANEL_PORT KNOWLEDGE_PORT PANEL_VOLUME \COMMENT
LOWdeploy/global-images/verify.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-proxy.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-memory-core.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/global-images/start-memory-core.sh41 info "创建 docker 网络 $NETWORK"COMMENT
LOWdeploy/global-images/start-memory-core.sh221# ── Admin user 生命周期 ─────────────────────────────────────────COMMENT
LOWdeploy/global-images/start-all-mongo.sh1#!/usr/bin/env bashCOMMENT
LOWdeploy/dockerhub/publish.sh1#!/usr/bin/env bashCOMMENT
LOWagents/setup-proxy.sh1#!/usr/bin/env bashCOMMENT
LOWagents/skills/setup-proxy/setup-proxy.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/config.example.yaml1# ═══════════════════════════════════════════════════════════════════════════════COMMENT
LOWMemoryProxy/config.example.yaml41 # Anthropic 和 OpenAI 协议共用同一张表。COMMENT
LOWMemoryProxy/config.example.yaml61 # 4. upstream.url + upstream.apiKey(未命中 agent 时的默认)COMMENT
LOWMemoryProxy/config.example.yaml81# - 创建 Team,把用户加为成员COMMENT
LOWMemoryProxy/config.example.yaml121 db: 0 # Redis 数据库编号COMMENT
LOWMemoryProxy/config.example.yaml141 enabled: falseCOMMENT
LOWMemoryProxy/config.example.yaml161 # compressModel: "deepseek-v4-flash" # selector + merge;省略回退 analyze*COMMENT
LOWMemoryProxy/config.example.yaml181 # # CFQ(context_focus_question)子系统。字段全部可选,整段省略即用内置默认。COMMENT
LOWMemoryProxy/config.example.yaml201 # # grep cfq.analyze_fallback.misconfigured 可确认。写了非空值则用自己的。COMMENT
LOWMemoryProxy/config.example.yaml221 # # 上限受 pending.ts 的 PENDING_TTL_S(30s)约束。0 = 不等,兜底退化成COMMENT
LOWMemoryProxy/config.example.yaml241# 对所有 URL 中带 spaceId 的主模型调用生效。COMMENT
LOWMemoryProxy/config.example.yaml261# - 兜底 / 测试: backend=memoryCOMMENT
LOWMemoryProxy/config.example.yaml281# │ sqlite.dbPath │ [死] │ sqlite=[可默认空] 其他=[死] │COMMENT
LOWMemoryProxy/config.example.yaml301 # ── TTL / NoTTL 前缀分档(业务代码按 key 前缀落桶,见 2026-07-10 方案)─────COMMENT
LOWMemoryProxy/config.example.yaml321 #COMMENT
LOWMemoryProxy/config.example.yaml341 # 不配(空 / undefined)时按 4 层优先级自动决定,对齐 coreCOMMENT
LOWMemoryProxy/config.example.yaml361 # [可] 5xx / 429 / 网络错 / 超时重试次数。默认 2。COMMENT
LOWMemoryProxy/config.example.yaml441# ── Admin / Ops 端点鉴权(服务级 shared secret) ─────────────────────────────COMMENT
LOWMemoryProxy/config.example.yaml461# 优先级:env TDAI_PROXY_ADMIN_API_KEY > yaml admin.apiKey > 默认 ""COMMENT
LOWMemoryProxy/config.example.yaml481 # userId: "${TDAI_WIKI_SYSTEM_USER_ID}"COMMENT
LOWMemoryProxy/config.example.yaml501# 时间规则默认按 TokenHub 时区 Asia/Shanghai 判定,时间范围为 [start, end)。COMMENT
LOWMemoryProxy/config.example.yaml561 cacheWrite1h: 0COMMENT
LOWMemoryProxy/config.example.yaml581 # (gateway 内部路由到 proxy pod 的端口由 ops 在 gateway 侧配,跟这里无关)。COMMENT
LOWMemoryProxy/config.example.yaml601 # 带 `/analyse/` 段的请求直接 404,零性能开销。适合确认COMMENT
LOWMemoryProxy/config.example.yaml621 enabled: trueCOMMENT
LOWMemoryProxy/config.example.yaml661 # ── DEBUG:本地开发/e2e 短路 ────────────────────────────────────────────────COMMENT
LOWMemoryProxy/config.example.yaml701 l2Limit: 3 # L2/L3 注入最大条数COMMENT
LOWMemoryProxy/config.example.yaml721 # 请求路径带 /proxy/<spaceId>/ 时会被 spaceId 覆盖COMMENT
LOWMemoryProxy/config.example.yaml761# ── Skill 运行时 ──────────────────────────────────────────────────────────COMMENT
LOWMemoryProxy/config.example.yaml781# 不注入系统提示词(不破坏 KV cache),不转发给上游模型(零 token 消耗)。COMMENT
LOWMemoryProxy/config.example.yaml801# - sidequery (TITLE/probe/…): 独立小请求 — 跳过 session-init / mem 拦截 / injection /COMMENT
LOWMemoryProxy/config.example.yaml821# 启用后,每个 trace + span 以 JSONL 行追加写入本地文件(按日期分文件),COMMENT
LOWMemoryProxy/config.example.yaml841# 2. utility Phase 4.1 - 同批COMMENT
LOWMemoryProxy/config.example.yaml861 #COMMENT
LOWMemoryProxy/scripts/setup-claude-code.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/iu-smoke.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/p1-api-test.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/cost-guard-smoke.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/p0-smoke.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/p2-observability.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/task-e2e.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/src/guard-adapter.ts341COMMENT
LOWMemoryProxy/src/clickhouse.ts981// 详见 docs/design/2026-08-03-internal-usage-telemetry-plan.mdCOMMENT
LOWMemoryProxy/src/clickhouse.ts1441 " source_tag LowCardinality(String) DEFAULT 'proxy',",COMMENT
LOWMemoryProxy/src/server.ts181 // CC: ANTHROPIC_BASE_URL=http://<proxy>:8096/claude-code/<spaceId>COMMENT
LOWMemoryProxy/src/server.ts201 // Sub-mode markers: `/cost-guard/pre` (compress only) and `/cost-guard/cheap` (route only).COMMENT
98 more matches not shown…
Magic Placeholder Names16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHREADME.deployment.md32export TDAI_LLM_API_KEY="your-api-key"CODE
HIGHINSTALL_CN.md328 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL_CN.md328 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL.md397 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL.md397 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHsdk/memory-core/python/README.md27 api_key="your-api-key",CODE
HIGHsdk/memory-core/python/README.md96 api_key="your-api-key",CODE
HIGHsdk/memory-core/python/README_CN.md27 api_key="your-api-key",CODE
HIGHsdk/memory-core/python/README_CN.md96 api_key="your-api-key",CODE
HIGHMemoryCore/README.md70export TDAI_LLM_API_KEY="your-api-key"CODE
HIGHMemoryCore/README.md126 -e TDAI_LLM_API_KEY="your-api-key" \CODE
HIGHMemoryCore/README_CN.md72export TDAI_LLM_API_KEY="your-api-key"CODE
HIGHMemoryCore/README_CN.md128 -e TDAI_LLM_API_KEY="your-api-key" \CODE
HIGHMemoryCore/scripts/install_hermes_memory_tencentdb.sh362echo " MEMORY_TENCENTDB_LLM_API_KEY=your-api-key"CODE
HIGH…yCore/scripts/export-tencent-vdb/export-tencent-vdb.ts158 console.error(' --api-key "your-api-key" \\');CODE
HIGHMemoryCore/scripts/migrate-sqlite-to-tcvdb/README.md56 --tcvdb-api-key 'your-api-key-here' \CODE
Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py303except Exception:CODE
HIGHMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py307except Exception:CODE
HIGHMemoryProxy/scripts/qa/cc-session-reset-smoke.py131except pexpect.TIMEOUT:CODE
HIGHMemoryProxy/scripts/qa/cc-session-reset-smoke.py209except Exception:CODE
HIGHMemoryProxy/scripts/qa/p1-dump-verify.py106except Exception:CODE
HIGH…re/hermes-plugin/memory/memory_tencentdb/supervisor.py361except Exception:CODE
HIGH…re/hermes-plugin/memory/memory_tencentdb/supervisor.py314except Exception:CODE
HIGH…ryCore/hermes-plugin/memory/memory_tencentdb/client.py67except Exception:CODE
HIGH…Core/hermes-plugin/memory/memory_tencentdb/__init__.py152except IndexError:CODE
Excessive Try-Catch Wrapping39 hits · 40 pts
SeverityFileLineSnippetContext
LOWMemoryProxy/scripts/qa/codex-tui-smoke.py30 except Exception:CODE
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py303 except Exception:CODE
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py307 except Exception:CODE
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-full-rebind.py576 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py60 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py391 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py476 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-smoke.py35 except Exception:CODE
LOW⚡MemoryProxy/scripts/qa/cc-session-reset-smoke.py209 except Exception:CODE
LOWMemoryProxy/scripts/qa/p1-dump-verify.py106 except Exception:CODE
LOWsdk/memory-core/python/AGENT_GUIDE.python.zh-CN.md187 except Exception as e:CODE
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py92 except Exception:CODE
LOW⚡…/memory-core/python/tencentdb_agent_memory/_v3_http.py26 except Exception as exc:CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py135 except Exception:CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py275 except Exception as e:CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py314 except Exception:CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py329 except Exception:CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py361 except Exception:CODE
LOW⚡…re/hermes-plugin/memory/memory_tencentdb/supervisor.py389 except Exception:CODE
LOW⚡…re/hermes-plugin/memory/memory_tencentdb/supervisor.py397 except Exception:CODE
LOW⚡…re/hermes-plugin/memory/memory_tencentdb/supervisor.py400 except Exception as e:CODE
LOW…ryCore/hermes-plugin/memory/memory_tencentdb/client.py67 except Exception:CODE
LOW…ryCore/hermes-plugin/memory/memory_tencentdb/client.py71 except Exception as e:CODE
LOW…ryCore/hermes-plugin/memory/memory_tencentdb/client.py86 except Exception as e:CODE
MEDIUM…Core/hermes-plugin/memory/memory_tencentdb/__init__.py558def _background_start():CODE
MEDIUM…Core/hermes-plugin/memory/memory_tencentdb/__init__.py741def _sync():CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py417 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py466 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py488 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py530 except Exception:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py573 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py626 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py710 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py751 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py813 except Exception as e:CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py904 except Exception as e:CODE
LOWMemoryCore/scripts/install-hermes-plugin.sh118except Exception:CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py621 except Exception as err: # noqa: BLE001CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py636 except Exception as err: # noqa: BLE001CODE
Unused Imports36 hits · 34 pts
SeverityFileLineSnippetContext
LOWsdk/memory-core/python/tencentdb_agent_memory/_http.py8CODE
LOWsdk/memory-core/python/tencentdb_agent_memory/_http.py12CODE
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py15CODE
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py88CODE
LOW…/memory-core/python/tencentdb_agent_memory/__init__.py21CODE
LOW…/memory-core/python/tencentdb_agent_memory/__init__.py21CODE
LOW…/memory-core/python/tencentdb_agent_memory/__init__.py22CODE
LOW…/memory-core/python/tencentdb_agent_memory/__init__.py22CODE
LOWsdk/memory-core/python/tencentdb_agent_memory/errors.py3CODE
LOW…/memory-core/python/tencentdb_agent_memory/_v3_http.py3CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py7CODE
LOW…mory-core/python/tencentdb_agent_memory/v2/__init__.py7CODE
LOW…mory-core/python/tencentdb_agent_memory/v2/__init__.py7CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py26CODE
LOW…memory-core/python/tencentdb_agent_memory/v3/client.py32CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py15CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py15CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py16CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py16CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py17CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py17CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py18CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py18CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py19CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py19CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py19CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py19CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py19CODE
LOW…re/python/tencentdb_agent_memory/v3/metadata_client.py27CODE
LOW…hon/tencentdb_agent_memory/v3/memory_generation_log.py2CODE
LOW…core/python/tencentdb_agent_memory/v3/memory_prompt.py2CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py9CODE
LOW…ryCore/hermes-plugin/memory/memory_tencentdb/client.py10CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py30CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py17CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py31CODE
AI Structural Patterns18 hits · 17 pts
SeverityFileLineSnippetContext
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py126CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py152CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py222CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py248CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py608CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py622CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py661CODE
LOW…memory-core/python/tencentdb_agent_memory/v2/client.py675CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py167CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py531CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py699CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py1036CODE
LOW…memory-core/python/tencentdb_agent_memory/v3/client.py168CODE
LOW…memory-core/python/tencentdb_agent_memory/v3/client.py577CODE
LOW…core/python/tencentdb_agent_memory/v3/memory_prompt.py40CODE
LOW…core/python/tencentdb_agent_memory/v3/memory_prompt.py105CODE
LOW…core/python/tencentdb_agent_memory/v3/memory_prompt.py119CODE
LOW…core/python/tencentdb_agent_memory/v3/memory_prompt.py142CODE
Modern AI Meta-Vocabulary6 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/global-images/start-memory-hub.sh4# 依赖:memory 需要先起来(memory-hub 里 knowledge 调 memory 做 embed/RAG)。COMMENT
MEDIUM⚡MemoryProxy/config.example.yaml14# injection 依赖 coreSkill(skill RAG 注入) + tdai(memory L1/L2/L3)COMMENT
MEDIUMMemoryProxy/config.example.yaml570# skill — <cloud_skills> 块:从内核 RAG 检索相关 skill 注入 system prompt;COMMENT
MEDIUMMemoryProxy/config.example.yaml707# 1. <cloud_skills> RAG 注入:GET /v3/skill/search 检索相关 skillCOMMENT
MEDIUMMemoryProxy/config.example.yaml722 timeoutMs: 1500 # 单次调用超时(毫秒)。RAG 在 session_init 热路径上,不宜太大CODE
MEDIUMMemoryProxy/src/injection/agents/claude-code/index.ts29 * # Context management — context window summarizationCOMMENT
Modern Structural Boilerplate11 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/_http.py18logger = logging.getLogger(__name__)CODE
LOW⚡sdk/memory-core/python/tencentdb_agent_memory/cos.py30logger = logging.getLogger(__name__)CODE
LOW…/memory-core/python/tencentdb_agent_memory/__init__.py24__all__ = ["MemoryClient", "AsyncMemoryClient", "TDAMError", "ParamError"]CODE
LOW⚡…/memory-core/python/tencentdb_agent_memory/_v3_http.py13logger = logging.getLogger(__name__)CODE
LOW⚡…memory-core/python/tencentdb_agent_memory/v2/client.py15logger = logging.getLogger(__name__)CODE
LOW…mory-core/python/tencentdb_agent_memory/v2/__init__.py9__all__ = ["MemoryClient", "AsyncMemoryClient"]CODE
LOW…memory-core/python/tencentdb_agent_memory/v3/client.py41logger = logging.getLogger(__name__)CODE
LOW…mory-core/python/tencentdb_agent_memory/v3/__init__.py27__all__ = [CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py30logger = logging.getLogger(__name__)CODE
LOW…ryCore/hermes-plugin/memory/memory_tencentdb/client.py18logger = logging.getLogger(__name__)CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py45logger = logging.getLogger(__name__)CODE
Deep Nesting10 hits · 8 pts
SeverityFileLineSnippetContext
LOWMemoryProxy/scripts/qa/codex-tui-smoke.py54CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py245CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py590CODE
LOWMemoryProxy/scripts/qa/p1-dump-verify.py123CODE
LOWMemoryProxy/scripts/qa/p1-dump-verify.py143CODE
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py57CODE
LOW…Core/hermes-plugin/memory/memory_tencentdb/__init__.py448CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py47CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py215CODE
LOW…/scripts/import-opik-to-memory-skill-py/import_opik.py595CODE
Example Usage Blocks3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡agents/setup-proxy.sh7# Usage:COMMENT
LOW⚡agents/skills/setup-proxy/setup-proxy.sh7# Usage:COMMENT
LOWMemoryKnowledge/docker/run.sh4# Usage:COMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHMemoryCore/scripts/db/mongodb-init.js101print(`indexes ensured on ${database.getName()}`);CODE
Redundant / Tautological Comments3 hits · 3 pts
SeverityFileLineSnippetContext
LOWagents/setup-proxy.sh1162 # Check if tsx/npx is availableCOMMENT
LOWagents/skills/setup-proxy/setup-proxy.sh1159 # Check if tsx/npx is availableCOMMENT
LOW…re/hermes-plugin/memory/memory_tencentdb/supervisor.py340 # Check if process diedCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWMemoryCore/index.ts377 // TODO: implement hard per-turn call limit via before_tool_call hook + execute early-return (方案 D)COMMENT
LOWMemoryCore/index.ts465 // TODO: implement hard per-turn call limit via before_tool_call hook + execute early-return (方案 D)COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMMemoryCore/scripts/install-openclaw-plugin.sh15# - 不含 :Offload;E2E harness(scripts/e2e-openclaw-plugin*)由其它同事负责,本脚本不覆盖COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…rc/pages/WorkbenchPage/components/TaskImportDialog.tsx111 if (/[….]{2,}|…/.test(v)) return 'placeholder';CODE