Repository Analysis

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.

17.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TencentCloud/TencentDB-Agent-Memory, a TypeScript project with 25,061 GitHub stars. SynthScan v2.0 examined 254,778 lines of code across 920 source files, recording 1814 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 17.2 places this repository in the Moderate AI signal band.

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

17.2
Adjusted Score
17.2
Raw Score
100%
Time Factor
2026-08-27
Last Push
25.1K
Stars
TypeScript
Language
254.8K
Lines of Code
920
Files
1.8K
Pattern Hits
2026-08-29
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 17MEDIUM 1130LOW 667

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1121 hits · 3468 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.sh401# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/_lib.sh403# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh19# ── Gateway 内部管理凭据 ─────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh140# ── Admin user 生命周期 ─────────────────────────────────────────COMMENT
MEDIUMdeploy/global-images/start-memory-core.sh218# ── 校验 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.ts1950// ════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMagents/setup-proxy.sh2# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/setup-proxy.sh10# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/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
MEDIUMagents/skills/setup-proxy/setup-proxy.sh2# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/skills/setup-proxy/setup-proxy.sh10# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMagents/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
MEDIUMagents/skills/setup-proxy/setup-proxy.sh1122# ━━━ Optional: Asset Import ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━COMMENT
1061 more matches not shown…
Hyper-Verbose Identifiers231 hits · 229 pts
SeverityFileLineSnippetContext
LOWagents/asset-import.ts1520function looksLikeOpenClawWorkspace(dir: string): boolean {CODE
LOWagents/asset-import.ts1564function collectOpenClawSkillsFromRoot(root: string): ScannedSkill[] {CODE
LOWagents/asset-import.ts1609function collectOpenClawMemoryFiles(opts?: ScanOptions): string[] {CODE
LOWagents/asset-import.ts2104function collectDshInstructionFilesInDir(dir: string): string[] {CODE
LOWagents/asset-import.ts2276function collectHermesSkillsFromRoot(root: string): ScannedSkill[] {CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py159def wait_for_next_form_or_done(child, timeout=20):CODE
LOWMemoryProxy/src/codexHandler.ts105function extractLatestCodexUserMessage(input: unknown): TdaiMessage | null {CODE
LOWMemoryProxy/src/workbuddyHandler.ts161export function extractWorkbuddySessionId(CODE
LOWMemoryProxy/src/workbuddyHandler.ts189export function detectWorkbuddyDefaultModeGate(input: unknown): boolean {CODE
LOWMemoryProxy/src/workbuddyHandler.ts298function extractLatestWorkbuddyUserMessage(input: unknown): TdaiMessage | null {CODE
LOWMemoryProxy/src/workbuddyHandler.ts305function createWorkbuddyTdaiClient(config: ProxyConfig): TdaiClient | null {CODE
LOWMemoryProxy/src/workbuddyHandler.ts368async function triggerWorkbuddyArchiveHooks(CODE
LOWMemoryProxy/src/workbuddyHandler.ts441function buildWorkbuddyLangfuseInput(body: Record<string, unknown>): unknown {CODE
LOWMemoryProxy/src/request-prepare-adapter.ts109export function isRequestPrepareEnabledByDefault(config: ProxyConfig): boolean {CODE
LOWMemoryProxy/src/request-prepare-adapter.ts264function reportPrepareObservations(CODE
LOWMemoryProxy/src/anthropicHandler.ts158export function flattenAnthropicMessagesForOpik(CODE
LOWMemoryProxy/src/anthropicHandler.ts267function hasValidThinkingSignature(block: Record<string, unknown>): boolean {CODE
LOWMemoryProxy/src/anthropicHandler.ts1795function createSseThinkingFixStream(CODE
LOWMemoryProxy/src/systemUserPassthrough.ts462export async function handleSystemUserPassthrough(CODE
LOWMemoryProxy/src/systemUserPassthrough.ts693function mergeAnthropicUsageFromEvent(part: string, sink: Record<string, unknown>): void {CODE
LOWMemoryProxy/src/guard-adapter.ts195export async function shutdownPrivateControlPlane(): Promise<void> {CODE
LOWMemoryProxy/src/guard-adapter.ts521function forwardExtensionTelemetry(CODE
LOWMemoryProxy/src/handler.ts1927function 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.ts250export 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.ts415function defaultVisibleSkillIdsResolver(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/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.ts438function getOrBuildBundle(config: ProxyConfig): PipelineBundle {CODE
LOWMemoryProxy/src/injection/index.ts499export function shouldRegisterKnowledgeInjector(config: ProxyConfig): boolean {CODE
LOWMemoryProxy/src/injection/agents/codebuddy/parser.ts68export function parseCodeBuddySystemPrompt(text: string): PromptModule[] {CODE
LOWMemoryProxy/src/injection/agents/workbuddy/parser.ts57export function parseWorkbuddySystemPrompt(text: string): PromptModule[] {CODE
LOW…y/src/injection/injectors/asset-reflection-injector.ts41export function renderAssetReflectionBlock(tags: string[]): string {CODE
LOW…ryProxy/src/injection/injectors/tdai-tools-injector.ts56export function renderTdaiMemoryToolsBlock(CODE
LOW…xy/src/injection/injectors/knowledge-tools-injector.ts87function filterResourcesByCapabilities(CODE
LOW…xy/src/injection/injectors/knowledge-tools-injector.ts139export function renderKnowledgeToolsBlock(CODE
LOW…rc/injection/injectors/tdai-profile-memory-injector.ts146function createPrewarmAgentContext(input: PrewarmInput): AgentContext {CODE
LOWMemoryProxy/src/mem-command/response-builder.ts35export function buildAnthropicStreamResponse(text: string, requestId: string, thinking?: boolean): Response {CODE
LOWMemoryProxy/src/mem-command/response-builder.ts120export function buildOpenAIStreamResponse(text: string, requestId: string): Response {CODE
LOWMemoryProxy/src/mem-command/response-builder.ts168export function buildResponsesStreamResponse(text: string, requestId: string): Response {CODE
LOWMemoryProxy/src/tdai/client.ts27function chunkConversationMessages(messages: TdaiMessage[]): TdaiMessage[] {CODE
LOWMemoryProxy/src/routes/session-task.ts604export function createSessionCreateTaskHandler(config: ProxyConfig) {CODE
LOWMemoryProxy/src/routes/session-task.ts626export function createSessionUpdateTaskHandler(config: ProxyConfig) {CODE
LOWMemoryProxy/src/routes/session-force-archive.ts113export function createSessionForceArchiveHandler(config: ProxyConfig) {CODE
LOWMemoryProxy/src/routes/instance-destroy.ts66export function createInstanceDestroyHandler(config: ProxyConfig) {CODE
LOWMemoryProxy/src/routes/whitelist.ts242export function normalizeWhitelistRequestPath(requestPath: string): string {CODE
LOWMemoryProxy/src/routes/session-refresh.ts239export function createSessionRefreshHandler(config: ProxyConfig) {CODE
LOWMemoryProxy/src/session/context-injector.ts164export function injectSessionContextWithToggles(CODE
LOWMemoryProxy/src/session/context-injector.ts199export function buildSessionContextBlockWithToggles(CODE
LOWMemoryProxy/src/session/context-injector.ts246export function injectSessionContextIntoAnthropicSystem(CODE
171 more matches not shown…
Structural Annotation Overuse109 hits · 189 pts
SeverityFileLineSnippetContext
LOWINSTALL.md87### Step 1: Log into the panelCOMMENT
LOWINSTALL.md132### Step 2: Create Team / Agent / Task in the panelCOMMENT
LOWINSTALL.md148### Step 3: Point Claude Code at the ProxyCOMMENT
LOWINSTALL.md166### Step 4: First CC turn — pick Team → Agent → TaskCOMMENT
LOWINSTALL.md199### Step 5: Watch memory growCOMMENT
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
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py328 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py331 # Step 1: Send hello → expect formCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py347 # Step 2: Select 否 → bypassCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py353 # Step 3: Send mem:session-reset → expect reset textCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py415 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py418 # Step 1: Send hello → form → select 是 → complete bindingCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py366 # Step 4: Send hi → expect form againCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py441 # Step 3: Send mem:session-resetCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py454 # Step 4: Send hi → form → select team 2 (Down once extra)COMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py499 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/src/anthropicHandler.ts1109 // Step 18: observabilityCOMMENT
LOWMemoryProxy/src/anthropicHandler.ts1112 // Step 17: Langfuse — 上报 mem-command 为一个 generation observation。COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1064 // Step 20: L0 写入 — 保证对话时间线完整。COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1084 // Step 19: skill extract — 对话轮次计数正常累积COMMENT
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.ts191# Step 1: 先查COMMENT
LOW…rc/injection/injectors/tdai-profile-memory-injector.ts195# Step 2: 从 items[].content 里提取答案后回复COMMENT
LOWMemoryProxy/src/routes/session-task.ts263 // Step 1: LLM 生成草稿(lockedTitle 情况下只出 description)COMMENT
LOWMemoryProxy/src/routes/session-task.ts402 // Step 1: 拉当前 taskCOMMENT
LOWMemoryProxy/src/routes/session-task.ts422 // Step 2: 决定新 description + statusSuggestionCOMMENT
LOWMemoryProxy/src/routes/session-task.ts458 // Step 3: 写 pending,等 confirmCOMMENT
LOWMemoryProxy/src/routes/session-refresh.ts180 // Step 1: 尝试重拉 agent/task detail 并覆写 SessionStore。COMMENT
LOWMemoryProxy/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
LOWMemoryPanel/web/src/components/team/MemberSection.tsx248 // Step 3: 自动加入当前 teamCOMMENT
LOWMemoryPanel/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
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py260 # Step 1: SignKeyCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py267 # Step 2: HttpStringCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py271 # Step 3: StringToSignCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py275 # Step 4: SignatureCOMMENT
LOWsdk/memory-core/typescript/src/cos.ts206 // Step 1: SignKey = HMAC-SHA1(SecretKey, q-key-time)COMMENT
LOWsdk/memory-core/typescript/src/cos.ts209 // Step 2: HttpStringCOMMENT
LOWsdk/memory-core/typescript/src/cos.ts212 // Step 3: StringToSignCOMMENT
LOWsdk/memory-core/typescript/src/cos.ts216 // Step 4: SignatureCOMMENT
LOWMemoryCore/SKILL-DIAGNOSTIC-EXPORT.md15### Step 1: 确认环境COMMENT
LOWMemoryCore/SKILL-DIAGNOSTIC-EXPORT.md32### Step 2: 执行导出脚本COMMENT
LOWMemoryCore/SKILL-DIAGNOSTIC-EXPORT.md50### Step 3: 确认导出结果COMMENT
49 more matches not shown…
Verbosity Indicators90 hits · 160 pts
SeverityFileLineSnippetContext
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py328 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py331 # Step 1: Send hello → expect formCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py347 # Step 2: Select 否 → bypassCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py353 # Step 3: Send mem:session-reset → expect reset textCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py415 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py418 # Step 1: Send hello → form → select 是 → complete bindingCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py366 # Step 4: Send hi → expect form againCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py441 # Step 3: Send mem:session-resetCOMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py454 # Step 4: Send hi → form → select team 2 (Down once extra)COMMENT
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py499 # Step 0: Handle trustCOMMENT
LOWMemoryProxy/src/anthropicHandler.ts1109 // Step 18: observabilityCOMMENT
LOWMemoryProxy/src/anthropicHandler.ts1112 // Step 17: Langfuse — 上报 mem-command 为一个 generation observation。COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1064 // Step 20: L0 写入 — 保证对话时间线完整。COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1084 // Step 19: skill extract — 对话轮次计数正常累积COMMENT
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.ts191# Step 1: 先查COMMENT
LOW…rc/injection/injectors/tdai-profile-memory-injector.ts195# Step 2: 从 items[].content 里提取答案后回复COMMENT
LOWMemoryProxy/src/routes/session-task.ts263 // Step 1: LLM 生成草稿(lockedTitle 情况下只出 description)COMMENT
LOWMemoryProxy/src/routes/session-task.ts402 // Step 1: 拉当前 taskCOMMENT
LOWMemoryProxy/src/routes/session-task.ts422 // Step 2: 决定新 description + statusSuggestionCOMMENT
LOWMemoryProxy/src/routes/session-task.ts458 // Step 3: 写 pending,等 confirmCOMMENT
LOWMemoryProxy/src/routes/session-refresh.ts180 // Step 1: 尝试重拉 agent/task detail 并覆写 SessionStore。COMMENT
LOWMemoryProxy/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
LOWMemoryPanel/web/src/components/team/MemberSection.tsx248 // Step 3: 自动加入当前 teamCOMMENT
LOWMemoryPanel/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
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py260 # Step 1: SignKeyCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py267 # Step 2: HttpStringCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py271 # Step 3: StringToSignCOMMENT
LOWsdk/memory-core/python/tencentdb_agent_memory/cos.py275 # Step 4: SignatureCOMMENT
LOWsdk/memory-core/typescript/src/cos.ts206 // Step 1: SignKey = HMAC-SHA1(SecretKey, q-key-time)COMMENT
LOWsdk/memory-core/typescript/src/cos.ts209 // Step 2: HttpStringCOMMENT
LOWsdk/memory-core/typescript/src/cos.ts212 // Step 3: StringToSignCOMMENT
LOWsdk/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.ts269 // Step 2: Batch Conflict Detection + WriteCOMMENT
LOWMemoryCore/src/core/skill/skill-store.ts235 // Step 2: DROP 旧表 → 重建新 schema(事务内原子操作)COMMENT
LOWMemoryCore/src/core/skill/skill-store.ts241 // Step 3: 回填所有 head 行到 FTSCOMMENT
LOWMemoryCore/src/core/skill/skill-store.ts220 // Step 1: 从主表读取所有 head 行(回填用)COMMENT
LOWMemoryCore/src/core/hooks/auto-capture.ts302 // Step 3: Notify scheduler of this conversation roundCOMMENT
LOWMemoryCore/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
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
30 more matches not shown…
Over-Commented Block120 hits · 100 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.sh141# 首次启动:init-admin 时**传入我们生成的随机 user_key**,返回体里读回来存文件。COMMENT
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 # anthropicUpstream:COMMENT
LOWMemoryProxy/config.example.yaml161 # compressProtocol: openaiCOMMENT
LOWMemoryProxy/config.example.yaml181# 对所有 URL 中带 spaceId 的主模型调用生效。COMMENT
LOWMemoryProxy/config.example.yaml201# - 兜底 / 测试: backend=memoryCOMMENT
LOWMemoryProxy/config.example.yaml221# │ sqlite.dbPath │ [死] │ sqlite=[可默认空] 其他=[死] │COMMENT
LOWMemoryProxy/config.example.yaml241 # ── TTL / NoTTL 前缀分档(业务代码按 key 前缀落桶,见 2026-07-10 方案)─────COMMENT
LOWMemoryProxy/config.example.yaml261 #COMMENT
LOWMemoryProxy/config.example.yaml281 # 不配(空 / undefined)时按 4 层优先级自动决定,对齐 coreCOMMENT
LOWMemoryProxy/config.example.yaml301 # [可] 5xx / 429 / 网络错 / 超时重试次数。默认 2。COMMENT
LOWMemoryProxy/config.example.yaml381# ── Admin / Ops 端点鉴权(服务级 shared secret) ─────────────────────────────COMMENT
LOWMemoryProxy/config.example.yaml401# 优先级:env TDAI_PROXY_ADMIN_API_KEY > yaml admin.apiKey > 默认 ""COMMENT
LOWMemoryProxy/config.example.yaml421 # userId: "${TDAI_WIKI_SYSTEM_USER_ID}"COMMENT
LOWMemoryProxy/config.example.yaml481# 可选 injector:COMMENT
LOWMemoryProxy/config.example.yaml501 externalGatewayUrl: "https://gateway.example.com"COMMENT
LOWMemoryProxy/config.example.yaml521# ── 提取(写侧:把每轮对话/工具调用回流到内核) ─────────────────────────────COMMENT
LOWMemoryProxy/config.example.yaml541# 流程:COMMENT
LOWMemoryProxy/config.example.yaml561 # 关闭时每个 session 只 warn 一次(避免长会话刷屏)。COMMENT
LOWMemoryProxy/config.example.yaml581 # 一个真实的 kernel user_id(配合 upstream.agents.workbuddy.apiKey 中的COMMENT
LOWMemoryProxy/config.example.yaml621# 3. knowledge injector 拉取 team 知识资源列表COMMENT
LOWMemoryProxy/config.example.yaml641# knowledge 走 API Gateway 域名)。COMMENT
LOWMemoryProxy/config.example.yaml661skillRuntime:COMMENT
LOWMemoryProxy/config.example.yaml681COMMENT
LOWMemoryProxy/config.example.yaml701COMMENT
LOWMemoryProxy/scripts/setup-claude-code.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/scripts/qa/task-e2e.sh1#!/usr/bin/env bashCOMMENT
LOWMemoryProxy/src/codexHandler.ts841 // prewarm, all injectors) without writing a third protocol adapter.COMMENT
LOWMemoryProxy/src/codexHandler.ts901 // <skill_tools> / <available_skills> / <user_memory> /COMMENT
LOWMemoryProxy/src/anthropicHandler.ts381 forwardTimeoutMs: number,COMMENT
LOWMemoryProxy/src/anthropicHandler.ts541 }COMMENT
LOWMemoryProxy/src/anthropicHandler.ts761 // 记录本 turn 是否真的走了 handleSessionInit state machine —— 用来精确判定COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1001 }COMMENT
LOWMemoryProxy/src/anthropicHandler.ts1321 // Per-agent apiKey resolution — three cases:COMMENT
LOWMemoryProxy/src/handler.ts701 const _requestKind = _adapter.classifyRequest(body as Record<string, unknown>, c.req.path, lcHeaders);COMMENT
LOWMemoryProxy/src/handler.ts821 // 说明:COMMENT
LOWMemoryProxy/src/handler.ts1101 // 命中时:执行命令 → 写 L0 → 触发 skill extract → 伪造 OpenAI 响应返回,跳过COMMENT
LOWMemoryProxy/src/server.ts161COMMENT
LOWMemoryProxy/src/server.ts181 // `/cost-guard/...` 请求都命中不到路由,走到最终 catch-all 或返 404COMMENT
LOWMemoryProxy/src/server.ts201 // markerOptIn=true 就必须显式注册这两条 anthropic/openai 5 段路由。COMMENT
LOWMemoryProxy/src/server.ts241 // 兼容 base_url 不带 /v1 的写法COMMENT
LOWMemoryProxy/src/server.ts261 // `/analyse` 语义:AssetReflectionInjector 检测到该段后往 system promptCOMMENT
LOWMemoryProxy/src/server.ts281 // 见 packages/llm/llm-deepseek/src/adapter.ts:301)COMMENT
LOWMemoryProxy/src/skill/handler-glue.ts101 // ── round-level 触发 gate ──COMMENT
LOWMemoryProxy/src/skill/skill-bridge.ts721 // For "search" subpath: stamp scope="team" so the handler skipsCOMMENT
60 more matches not shown…
Magic Placeholder Names16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHREADME.deployment.md32export TDAI_LLM_API_KEY="your-api-key"CODE
HIGHINSTALL_CN.md244 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL_CN.md244 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL.md268 -e LLM_API_KEY=<YOUR_API_KEY> \CODE
HIGHINSTALL.md268 -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
Excessive Try-Catch Wrapping38 hits · 41 pts
SeverityFileLineSnippetContext
LOWMemoryProxy/scripts/qa/codex-tui-smoke.py30 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py299 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py303 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py572 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py57 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py387 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py472 except Exception as e:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-smoke.py33 except Exception:CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-smoke.py207 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.py533CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py679CODE
LOW…-core/python/tencentdb_agent_memory/v3/skill_client.py1018CODE
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
MEDIUMMemoryProxy/config.example.yaml14# injection 依赖 coreSkill(skill RAG 注入) + tdai(memory L1/L2/L3)COMMENT
MEDIUMMemoryProxy/config.example.yaml482# skill — <cloud_skills> 块:从内核 RAG 检索相关 skill 注入 system prompt;COMMENT
MEDIUMMemoryProxy/config.example.yaml618# 1. <cloud_skills> RAG 注入:GET /v3/skill/search 检索相关 skillCOMMENT
MEDIUMMemoryProxy/config.example.yaml633 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
LOWsdk/memory-core/python/tencentdb_agent_memory/_http.py18logger = logging.getLogger(__name__)CODE
LOWsdk/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 Nesting8 hits · 6 pts
SeverityFileLineSnippetContext
LOWMemoryProxy/scripts/qa/codex-tui-smoke.py54CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py241CODE
LOWMemoryProxy/scripts/qa/cc-session-reset-full-rebind.py586CODE
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
LOWagents/setup-proxy.sh7# Usage:COMMENT
LOWagents/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.sh1159 # 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