Scenario combo · 3 tools · recorded 2026-08-29

Combo Draft: Memory & Session Governance Stack (claude-mem + deepcode + code-review-graph) ✓ Verified

User wants a single-session dev loop that “remembers + finds precisely + sees everything” — cross-session memory, pre-commit static analysis, change-impact graphs in one bundle.

Scenario

Single-session dev loop = remember (claude-mem cross-session memory + memory UI/MCP) + check accurately (deepcode pre-commit static analysis) + see completely (crg change impact graph). Write surfaces don't overlap (3/3 pairs verified). Users usually get stuck on "claude-mem needs npm + Bun + plugin registration, will it conflict with pip tools installed together" — this combo answers that.

Combo members

claude-mem: cross-session memory base (heavy piece)

  • Download: official npm (package claude-mem; plugin itself synced to the GitHub release tag); China uses the npmmirror registry
  • Version: [13.16.1, 13.16.1] (manifest locked to the plugin version; npm CLI version lags at 12.4.7, an official phenomenon; worker runtime needs Bun)
  • Install:
npm_config_registry=https://registry.npmmirror.com npm install -g claude-mem
claude-mem install --ide claude-code   # expected output: Installation Complete (Plugin dir: ~/.claude/plugins/...; Worker port: 37700)
note: install write surfaces = ~/.claude.json (plugin registration) + ~/.claude/plugins/ + ~/.claude/backups/ + ~/.claude-mem/; worker port 37700 (memory UI + MCP mcp-search).

deepcode: static analysis (heavy piece)

  • Download: official PyPI (package deepcode-hku); China recommends the Tsinghua mirror (official PyPI borderline at 16s and prone to timeout)
  • Version: [2.1.0, 2.1.0] (manifest locked; Python >= 3.12)
  • Install:
pip install deepcode-hku --index-url https://pypi.tuna.tsinghua.edu.cn/simple
deepcode --version   # expected output: DeepCode 2.1.0
note: running tasks needs deepcode init + provider config (LLM key) first.

code-review-graph (crg): review graph (light piece)

  • Download: official PyPI (package code-review-graph, ==2.3.8); China must use the Tsinghua mirror
  • Version: [2.3.8, 2.3.8] (manifest locked; Python >= 3.10)
  • Install:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple code-review-graph==2.3.8
code-review-graph --version   # expected output: code-review-graph 2.3.8
note: this combo only uses the CLI surface (build/status); the registration subcommand (writes ~/.claude.json etc.) is outside this combo's scope.

Install order

  1. claude-mem first (memory base, npm + plugin registration) — the only member writing the ~/.claude registration surface, install and confirm it first.
  2. Then deepcode (pip analyzer) — cross-ecosystem co-install with claude-mem measured compatible (coexist-deepcode evidence).
  3. Finally crg (pip graph) — verified compatible with both; any order works, but memory base before analyzer/graph is semantically smoother.

Dependency warnings

  • Conflicts: claude-mem×deepcode compatible (verified 2026-08-28, cross-ecosystem npm+pip co-install dual smoke exit 0); claude-mem×crg compatible (verified); crg×deepcode compatible (verified) — 3/3 pairs verified, source: site docs. Note: claude-mem and Claude-ecosystem entries (omc/cc-switch/ccr/skilldock etc.) have possible-conflict inferred rows (shared ~/.claude registration surface), check bash site docs claude-mem before installing.
  • Versions: claude-mem [13.16.1,13.16.1] (npm CLI 12.4.7); deepcode [2.1.0,2.1.0] (Python >= 3.12); crg [2.3.8,2.3.8].
  • Environment: claude-mem worker needs Bun (runtime) + port 37700 (memory UI/MCP); deepcode analysis needs an LLM provider; crg build writes workspace .code-review-graph/.
  • China network: npm via npmmirror; pip via the Tsinghua mirror; the most likely sticking point = claude-mem plugin install networking (npm package + plugin marketplace pull), the command already carries npmmirror.

Acceptance check (one shot)

Run this block after installing; all green = combo ready; any failure -> back to the matching step in the install walkthrough.
claude-mem --version
deepcode --version
code-review-graph --version
claude-mem install --ide claude-code 2>&1 | tail -2

预期输出: claude-mem version (CLI 12.4.7 lags plugin 13.16.1, official); DeepCode 2.1.0; code-review-graph 2.3.8; install prints Installation Complete (no errors)

Note: member-level commands measured; worker runtime needs Bun (install Bun before running install).

Verification evidence

Every combo is measured in an isolated environment (smoke + write-surface check); unmeasured items are honestly marked in the text, and measurement dates are listed in the verification section below.

Verified 2026-08-29 · TTL expires 2027-02-25 (180 days)

Local verification record(2026-08-28)

  • Evidence paths: local repro log 2026-08-28; local repro log 2026-08-28; local repro log 2026-08-28.
  • Not measured (stated honestly): claude-mem plugin registration form co-installed with Claude-ecosystem entries (Claude not logged in on this machine, matrix inferred state); deepcode full analysis flow (needs provider); crg registration subcommand (not executed in this combo).

Related problems

← All combos | Tool Catalog | Hit a problem? Submit a helpdesk card