Run through this before each release to verify codeloom works end-to-end.
pip install codeloom
codeloom --version # Should show 0.1.0
codeloom --help # Should list all 23 commands-
--versionshows correct version -
--helplists all commands (build, search, stats, node, opencode, claude, etc.)
Pick a real project (codeloom itself works):
cd /path/to/codeloom
codeloom build .- Build completes without errors
- Output shows stage timing breakdown (detect, extract, build, cluster, store)
-
.codeloom/knowledge.dbwas created
codeloom stats
codeloom node "hybrid_search"-
statsshows node count, edge count, communities, density -
nodefinds the function and shows file path, signature, line numbers
codeloom search "database"
codeloom search "error handling" --fast- Results include file:line with scores:
core/db.py:42 (score: 0.047) - Subgraph edges shown:
node_a -calls-> node_b -
--fastreturns results (may differ from default) - Empty query handled gracefully
codeloom search "database" --json- Output is valid JSON
-
seedskey present with array of objects - Each seed has:
id,label,kind,file,line,score,signature,signal_contributions -
edgeskey present withfrom,to,relation -
isolatedkey present (may be empty)
codeloom opencode install --scope project
codeloom opencode install --scope user
codeloom opencode uninstall --scope project
codeloom opencode uninstall --scope user-
--scope projectcreates.opencode/skills/codeloom/SKILL.md -
--scope projectwritesopencode.jsonwith MCP config -
--scope usercreates~/.config/opencode/skills/codeloom/SKILL.md -
--scope userwrites~/.config/opencode/config.jsonwith MCP config - Run install twice — second run says "already exists"
- Uninstall removes the skill directory
- Uninstall without prior install says "not found"
codeloom claude install --scope project
codeloom claude uninstall --scope project-
--scope projectcreates.claude/skills/codeloom/SKILL.md -
CLAUDE.mdcontains codeloom section with "You MUST use" language - Uninstall removes the skill directory and CLAUDE.md section
codeloom codex install
codeloom gemini install
codeloom cursor install
codeloom windsurf install
codeloom cline install
codeloom aider install- Each install completes without errors
- Each creates the expected files (AGENTS.md, GEMINI.md, .cursor/rules/, etc.)
codeloom mcp --help
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":null}' | codeloom mcp-
--helpmentions opencode.json config format - JSON-RPC request returns response listing 5 tools: search, node, stats, communities, build
codeloom search "" # Empty query
codeloom search "zzzzz_nonexistent_xyzzy" # No results
codeloom build /nonexistent/path # Invalid directory
codeloom clean # Confirm cleanup
codeloom doctor # Health check- Empty query returns gracefully
- No-results query returns empty result set (not error)
- Invalid directory shows meaningful error
-
cleanremoves.codeloom/directory after confirmation -
doctorreports installation health
pip install -e ".[dev]"
ruff check codeloom/
pytest tests/-
ruff check— all clean -
pytest tests/— 337 passed
- macOS (Intel)
- macOS (Apple Silicon)
- Linux (Ubuntu 22.04+)
- Python 3.10
- Python 3.11
- Python 3.12
- Python 3.13