Patch release bundling three maintenance PRs merged since v1.2.1.
Changed
- CLI commands now share
_open_graph_for_write/_open_graph_for_readcontext-manager helpers, replacing the ad-hoc "load config + resolve db_path + open graph" prologue acrossreindex,reindex-file,reindex-sqlmesh,reindex-dbt,status,conventions, and the five query subcommands (#137). - Split
tests/test_indexer.py,tests/test_conventions.py, andtests/test_mcp_tools.pyinto smaller per-feature files; shared MCP reset fixture moved totests/conftest.py(#136). - Expand ruff rules to include
B(bugbear) andRUF; narrowpytest.raises(Exception)toValidationErrorin tests (#134).
Fixed
graph.pysnippet reader now narrows the except toOSErrorand logs at debug instead of silently swallowing;dbt.pyreplaces broadexcept (ImportError, OSError, Exception)withyaml.YAMLError+OSErrorand logs failures (#134).
Docs
- Align
CLAUDE.mdon Python 3.11+; replace placeholder<repo-url>with real clone URL; drop hardcoded tool count from README and guides; addCONTRIBUTING.md,CHANGELOG.md, andSECURITY.md(#134).
Full Changelog: v1.2.1...v1.2.2