Repository navigation
Conversation
…ured docs - Add doc-repo ingester that scans git repos for docs and extracts knowledge via LLM - Unify write isolation: all levels 1+ now use PR-only flow (no direct DB write) - Add dashboard capture and logs pages - Update demo config with level 3 (docs) and doc-repo ingestion setup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here's the filled PR template:
Jira Issue: N/A
Description
Adds
DocRepoIngester— a new ingester that scans git repositories of unstructured documentation (.md,.rst,.txt,.adoc) and extracts structured knowledge entries via LLM. Resolves #37.Core changes:
DocRepoIngesterclass (src/lore/ingest/doc_repo.py) implementing theLoreIngesterABC — orchestratesDocIngesterper file with repo-level sync, path filtering (doc_paths/exclude_paths), content-hash-based incremental sync, and provenance trackingSyncEngineupdated to detectingester: "doc-repo"in hierarchy config and route toDocRepoIngesterinstead of the default frontmatter parser; repos without the field use existing behavior (backward compatible)lore ingest) extended with--repo,--doc-paths, and--exclude-pathsflags for one-off doc repo ingestiondoc_paths,exclude_paths, andingesterfields on hierarchy entriesAssisted-by: Claude
Testing
Steps to test
pip install -e ".[dev]"pytest tests/unit/test_ingest_doc_repo.py tests/unit/test_sync_engine.py tests/unit/test_cli.py tests/unit/test_mcp_tools.py -vbash scripts/create-demo-config.shlore syncand verify doc-repo hierarchy entries are processed via DocRepoIngesterlore ingest --repo <doc-repo-url> --doc-paths docs/guidesfor one-off ingestionlore dashboard) and verify Capture and Logs pages renderScenarios tested
doc_pathsare processed;exclude_pathsare skippedingester: "doc-repo"is set in configingesterfield use existing frontmatter parserDeployment considerations