The librarian's four rules
A small local model paraphrases badly but is good at pointing. So it points, and the code does the rest.
The model selects, it does not write
It returns paragraph numbers. The application copies those paragraphs verbatim, so the meaning cannot drift.
Citations follow the copied text
The citation is the book the paragraph came from. The model cannot cite a book it did not quote.
Refusing is a valid answer
Always the same sentence: I do not know based on the provided documents. Easy to test, impossible to misread.
A question cannot give orders
“Ignore your rules” changes nothing. The answer still comes from a book, cited, and flagged for review when unsure.
How the score went from 3 to 15
Practice grade on the 10 training questions, then the official private grader. Same model from the third row on.
Each prompt fix moved the failure to another question. Changing the architecture fixed it.
Known limits
What this design gives up, in plain terms.