rajo69/ledgerkb ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app that turns a pile of documents into a living knowledge base that remembers what it learned over time.

I want to drop in PDFs, Word files, spreadsheets, slides, markdown, text, HTML, CSV, JSON, emails, or a whole folder, then have it extract chunks, store the source evidence, and let me search questions against it locally with no API key and no network needed.

The key thing is that it should not just give answers, it should keep a record of what it believes, show the exact source passages behind each result, and tell me when new documents change that position. If two documents disagree, keep both and mark the conflict instead of pretending there is one winner.

Please make it feel like a real command line tool with clear ingest, index, search, and inspect commands, plus a small local database or store behind it. If you need to look up current docs online while building, go ahead.