Workspace artifacts

Given workspace root /path/to/project, Codegenome writes:

PathPurpose
.genome/watcher.dbSQLite timeline + graph store (MCP reads this)
.genome/graph.jsonLatest serialized graph snapshot
.genome/scan_cache.dbIncremental 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}