Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

release: 0.8.2 — ask de-ranks pytest test_*.py / conftest

Shrish Dwivedid4ec9d7c7ba3
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8cfdd981..16d13e4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## 0.8.2
+
+### Fixed
+
+- **`graft ask` no longer buries source under test files on pytest-style repos.** The
+ test-de-rank (`isTestPath`) matched test directories (`tests/`, `spec/`) and suffix
+ names (`_test`, `.test`, `.spec`) but missed Python's dominant `test_*.py` filename
+ **prefix** and `conftest.py`. On repos whose tests live outside a `tests/`-named
+ directory (e.g. a `t/unit/` layout), tests were not de-ranked and swamped `ask`
+ results. The prefix and `conftest.py` are now recognized.
+
## 0.8.1
### Changed
diff --git a/package.json b/package.json
index 159cbae2..b645390f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@nanonets/graft",
- "version": "0.8.1",
+ "version": "0.8.2",
"description": "Build a repo's context graph as a folder of linked markdown files that live in the repo and stay in sync with the code through git.",
"keywords": [
"ai",