top of page
All Posts


BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 5: Building Configurable File Security Policies Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 16 minutes to read, 35 to follow along In Build Chapter 4 we created FileClassifier, which says what kind of file we found. That does not tell us whether the file is safe and useful to process. A repository holds secrets, binaries, generated folders, and files too large to index. In this chapter we build a configurable file
snpaulcompany
6 days ago14 min read
BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 4: Classifying Files in a GitHub Repository Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 12 minutes to read, 25 to follow along In Build Chapter 3 we created the domain models that represent repositories, files, eligibility decisions, and inventories. The next step is to work out what kind of file we have found. In this chapter we build a FileClassifier that recognizes Python, SQL, Markdown, YAML, JSON, configurati
snpaulcompany
Nov 99 min read


BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 3: Designing the Core Domain Models Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 14 minutes to read, 30 to follow along In Build Chapters 2 and 2.1 we created the Python project and added shared support for configuration, logging, and exceptions. Now we define the core domain models: the objects that represent a repository, a file inside it, the decision about whether that file may enter the pipeline, and a summary
snpaulcompany
Nov 312 min read


BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 2.1: Building the Application Foundation Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 12 minutes to read, 25 to follow along In Build Chapter 2 we created the Python 3.11 project with uv, installed the first dependencies, and laid out an empty src package. Now we add the shared pieces that every later component will reuse: custom exceptions, typed settings, structured logging, and a basic entry point. This puts one
snpaulcompany
Oct 269 min read


BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 2: Setting Up the Python Project Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 10 minutes to read, 20 to follow along Chapter 1 defined what we are building and why. Now we start building. This chapter creates a clean Python 3.11 project with uv, installs the first dependencies, and lays out an empty package structure. There is no application logic yet, and that is deliberate. Application settings, custom exceptions
snpaulcompany
Oct 219 min read


BUILDING A PRODUCTION-READY GITHUB RAG SYSTEM
Build Chapter 1: What Are We Building, and Why GitHub RAG? Part 1: Foundation and Repository Understanding | For engineers learning RAG | About 8 minutes to read Software repositories hold far more than source code. They contain documentation, SQL, configuration, deployment steps, business rules, tests, and years of design decisions. The problem is that this knowledge is hard to find, especially in a project you did not write. Over this series we will build a Retrieva
snpaulcompany
Oct 139 min read
bottom of page