Workspace artifacts
Given workspace root /path/to/project, Codegenome writes:
| Path | Purpose |
|---|---|
.genome/watcher.db | SQLite timeline + graph store (MCP reads this) |
.genome/graph.json | Latest serialized graph snapshot |
.genome/scan_cache.db | Incremental scan cache |
.genome/exports/ | HTML, JSON, Markdown, GraphML, Cypher, Obsidian output |
Gitignore recommendation
# .gitignore .genome/
Custom database path
Legacy CLI supports --db-path for timeline dumps and MCP when the DB is not in the default location.
python -m codegenome --workspace . --db-path /custom/watcher.db --dump-timeline
Workspace metrics
python -m codegenome --workspace . --print-metrics
# {"file_count": 142, "line_count": 18450}