Added
- Intent graph (v2). A multi-level "why" layer.
.codebase-intel/intent-journal/*.jsonl is the
committed source of truth, and intent-graph.db is a rebuildable, git-ignored index. Nodes
carry trust tiers (mined → derived → asserted → confirmed) and four abstraction levels.
- MCP tools:
bootstrap, check_precedent, record_why, get_intent. The server now exposes 16 tools.
- CLI:
why, intent-gate, install-hooks, intent-check, intent-confirm, intent-render,
intent-migrate, intent-rebuild, intent-eval.
- Pre-commit intent gate that warns (or blocks, with
intentgraph.gate_hard) on structural
changes with no recorded why.
- Anchor repair and re-anchoring when code moves; divergence, conflict and coverage reporting.
- Human projection of the intent graph as HTML or Mermaid.
- Safe, re-runnable migration of v1 decision records into the intent graph.
- Eval harness (
intent-eval) measuring token cost and retrieval correctness against the v1
baseline. Self-hosted results and caveats are in docs/EVAL-RESULTS.md.
- Agent skill at
skills/codebase-intel/SKILL.md that tells agents when to call the intent tools.
Changed
- The package version now comes from
codebase_intel.__version__, and get_status reports
it. Before this, three version strings had drifted apart: 0.1.0, 0.2.0 and 0.2.0.
- Project URLs in the package metadata now point to the actual GitHub repository.
Fixed
- Removed all pre-existing ruff and mypy errors in the v1 modules.
pip install -U codebase-intel
PyPI: https://pypi.org/project/codebase-intel/0.3.0/