diff --git a/server/app/docs_repository.py b/server/app/docs_repository.py index 44c0729..e1dcf21 100644 --- a/server/app/docs_repository.py +++ b/server/app/docs_repository.py @@ -17,6 +17,9 @@ "node_modules", } +# Tooling instructions, not knowledge-base content. +EXCLUDED_FILES = {"CLAUDE.md"} + class RepositoryError(ValueError): pass @@ -38,6 +41,8 @@ for path in sorted(self.repo_root.rglob("*.md")): if any(part in EXCLUDED_PARTS for part in path.parts): continue + if path.name in EXCLUDED_FILES: + continue rel = path.relative_to(self.repo_root).as_posix() raw = path.read_text(encoding="utf-8") parsed = parse_frontmatter(rel, raw)