diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 5672bf0df..04e2ef291 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -57,7 +57,7 @@ Every extractor returns: ## Adding a new language extractor -1. Add a `extract_(path: Path) -> dict` function in `extract.py` following the existing pattern (tree-sitter parse → walk nodes → collect `nodes` and `edges` → call-graph second pass for INFERRED `calls` edges). +1. Add an `extract_(path: Path) -> dict` function in `extract.py` following the existing pattern (tree-sitter parse → walk nodes → collect `nodes` and `edges` → call-graph second pass for INFERRED `calls` edges). 2. Register the file suffix in `extract()` dispatch and `collect_files()`. 3. Add the suffix to `CODE_EXTENSIONS` in `detect.py` and `_WATCHED_EXTENSIONS` in `watch.py`. 4. Add the tree-sitter package to `pyproject.toml` dependencies.