Skip to content

About

Local-first Charlie Munger corpus and embedded Munger Mode agent package.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Charlie Munger Corpus Engineering

This workspace is for building a high-fidelity, first-party Charlie Munger corpus that can later power an embedded "Munger mode" agent.

Purpose

The objective is not to build an app shell.

The objective is to build a local corpus that is:

  • source-traceable
  • English-first
  • first-party-material-first
  • retrieval-ready
  • usable for high-fidelity voice and reasoning imitation

Directory layout

  • corpus/source_registry/
    • source-level metadata records
  • corpus/raw_sources/
    • raw files, transcripts, notes, OCR outputs
  • corpus/cleaned_sources/
    • normalized source texts
  • corpus/chunks/
    • retrieval units with tags
  • corpus/indices/
    • generated search/index artifacts
  • docs/
    • collection rules, annotation guide, taxonomy, workflow
  • schemas/
    • JSON schemas for source and chunk records
  • templates/
    • starter JSON templates
  • scripts/
    • local validation and indexing utilities

Recommended workflow

  1. Add one first-party item into corpus/raw_sources/.
  2. Create its source metadata JSON in corpus/source_registry/.
  3. Normalize the text into corpus/cleaned_sources/.
  4. Split it into tagged chunk records in corpus/chunks/.
  5. Run validation:
python scripts/validate_corpus.py
  1. Build the local search index:
python scripts/build_index.py
  1. Test retrieval:
python scripts/search_corpus.py "incentives and human misjudgment"

Collection standard

  • Prefer speeches, interviews, Q&A, annual meetings, Daily Journal remarks, and verified book excerpts.
  • Keep the original wording whenever possible.
  • Never store unattributed quote-farm material as if it were first-party evidence.
  • Distinguish:
    • verbatim
    • near-verbatim
    • inference-anchor

Completion standard for phase 1

Phase 1 is complete when the workspace contains a core corpus with:

  • source metadata for each item
  • cleaned text for each item
  • tagged retrieval chunks for each item
  • a working local index
  • enough coverage to answer style- and reasoning-sensitive prompts from original material first

First batch

Start with the concrete intake list in:

  • docs/first_batch_core_sources.md
  • docs/first_batch_intake_queue.csv

About

Local-first Charlie Munger corpus and embedded Munger Mode agent package.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages