Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ New features should meet these baselines:
## Project Structure

```
obsidian-graph-mcp/
obsidian-graph/
├── src/
│ ├── server.py # MCP server entry point
│ ├── vector_store.py # PostgreSQL operations
Expand Down Expand Up @@ -169,7 +169,7 @@ Currently supports Voyage Context-3 only. To add alternatives:

## Getting Help

- **Issues**: https://github.com/drewburchfield/obsidian-graph-mcp/issues
- **Issues**: https://github.com/drewburchfield/obsidian-graph/issues
- **Discussions**: Use GitHub Discussions for questions
- **MCP Community**: https://modelcontextprotocol.io/community

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Obsidian Graph

[![CI](https://github.com/drewburchfield/obsidian-graph-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/drewburchfield/obsidian-graph-mcp/actions/workflows/ci.yml)
[![CI](https://github.com/drewburchfield/obsidian-graph/actions/workflows/ci.yml/badge.svg)](https://github.com/drewburchfield/obsidian-graph/actions/workflows/ci.yml)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![MCP](https://img.shields.io/badge/MCP-compatible-green.svg)](https://modelcontextprotocol.io/)
Expand Down Expand Up @@ -152,8 +152,8 @@ This server requires a Voyage AI API key for generating embeddings:

1. **Clone the repository**:
```bash
git clone https://github.com/drewburchfield/obsidian-graph-mcp.git
cd obsidian-graph-mcp
git clone https://github.com/drewburchfield/obsidian-graph.git
cd obsidian-graph
```

2. **Configure environment**:
Expand Down
16 changes: 8 additions & 8 deletions docs/plans/2026-01-20-folder-exclusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ drafts/

**Step 2: Run tests to verify they fail**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_exclusion.py -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_exclusion.py -v`
Expected: FAIL with "ModuleNotFoundError: No module named 'src.exclusion'"

**Step 3: Write the exclusion module**
Expand Down Expand Up @@ -256,7 +256,7 @@ def load_exclusion_filter(vault_path: str) -> ExclusionFilter:

**Step 4: Run tests to verify they pass**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_exclusion.py -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_exclusion.py -v`
Expected: All tests PASS

**Step 5: Commit**
Expand Down Expand Up @@ -310,7 +310,7 @@ def test_scan_vault_excludes_configured_paths(tmp_path):

**Step 2: Run test to verify it fails**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_indexer.py::test_scan_vault_excludes_configured_paths -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_indexer.py::test_scan_vault_excludes_configured_paths -v`
Expected: FAIL (exclusion not integrated yet)

**Step 3: Modify scan_vault to use exclusion filter**
Expand Down Expand Up @@ -363,7 +363,7 @@ def scan_vault(vault_path: str) -> list[Path]:

**Step 4: Run tests to verify they pass**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_indexer.py -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_indexer.py -v`
Expected: All tests PASS

**Step 5: Commit**
Expand Down Expand Up @@ -417,7 +417,7 @@ async def test_file_watcher_ignores_excluded_paths(tmp_path, mock_store, mock_em

**Step 2: Run test to verify it fails**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_file_watcher.py::test_file_watcher_ignores_excluded_paths -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_file_watcher.py::test_file_watcher_ignores_excluded_paths -v`
Expected: FAIL

**Step 3: Modify file watcher to use exclusion filter**
Expand Down Expand Up @@ -523,7 +523,7 @@ In `VaultWatcher.startup_scan()` (around line 311):

**Step 5: Run tests to verify they pass**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest tests/test_file_watcher.py -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest tests/test_file_watcher.py -v`
Expected: All tests PASS

**Step 6: Commit**
Expand Down Expand Up @@ -654,12 +654,12 @@ git commit -m "docs: add exclusion configuration documentation"

**Step 1: Run all tests**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m pytest -v`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m pytest -v`
Expected: All tests PASS

**Step 2: Run linting**

Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph-mcp && python -m ruff check src/ tests/`
Run: `cd /Users/drewburchfield/dev/projects/obsidian-graph && python -m ruff check src/ tests/`
Expected: No errors (or fix any that appear)

**Step 3: Final commit if any fixes needed**
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "obsidian-graph-mcp"
name = "obsidian-graph"
version = "1.0.0"
description = "Semantic knowledge graph navigation for Obsidian vaults"
description = "Semantic knowledge graph engine for markdown vaults"
requires-python = ">=3.11"

[tool.pytest.ini_options]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_security_passwords.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
4. Not logged or exposed in error messages

NOTE: Path references use parents[1] for standalone repo structure:
tests/test_security_passwords.py -> obsidian-graph-mcp/
tests/test_security_passwords.py -> obsidian-graph/
"""

import os
Expand All @@ -17,7 +17,7 @@

import pytest

# Project root is parents[1] (tests -> obsidian-graph-mcp)
# Project root is parents[1] (tests -> obsidian-graph)
PROJECT_ROOT = Path(__file__).parents[1]


Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading