Skip to content

Folder scanning + settings panel + auto-ingest#31

Merged
markgewhite merged 3 commits into
mainfrom
feature/10-folder-scanning-settings
Apr 11, 2026
Merged

Folder scanning + settings panel + auto-ingest#31
markgewhite merged 3 commits into
mainfrom
feature/10-folder-scanning-settings

Conversation

@markgewhite
Copy link
Copy Markdown
Owner

Summary

  • Added scanner module for file discovery and MD5 hash computation
  • Added ingest module for incremental ingestion with file-hash change detection (only new/changed files ingested)
  • Added public load_file() to loader for single-file loading
  • Added Chainlit settings panel with folder path input and recursive scan toggle
  • Settings changes trigger re-scan and re-ingestion
  • Auto-scan runs on app startup

Closes #10

Test plan

  • Scanner discovers supported files (.pdf, .docx, .txt, .md) and excludes others
  • Recursive/non-recursive scanning works correctly
  • MD5 hash computed from file contents
  • Unchanged files skipped during ingestion
  • New files ingested with file_hash in metadata
  • Relative paths stored in metadata
  • Settings panel with folder path and recursive toggle
  • Full test suite: 95 tests pass

🤖 Generated with Claude Code

markgewhite and others added 3 commits April 11, 2026 23:05
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@markgewhite markgewhite merged commit 0c12359 into main Apr 11, 2026
1 check passed
@markgewhite markgewhite deleted the feature/10-folder-scanning-settings branch April 11, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folder scanning + settings panel + auto-ingest

1 participant