lumen

Lumen

First step: read what the guarded answers are, below. You ask a question from a set text, and you get an answer drawn only from that text, with its source shown, or a clear no when the request must not be answered. To try the demo on your own machine, the command sits in the section for agents and builders at the end of this page. One question the demo answers is “Why did God make you?”

Lumen is one of the seven tools of Topsoil Commons. It serves trust and meaning, Layer 6. Here you can ask a question from a guarded text. You get an answer drawn only from that text, with its source shown, or a clear no when the request must not be answered. The guard rules are written into the program itself, not just a policy page. This README claims only what runs.

What runs today: demos that answer questions from public domain texts. The program checks each answer and blocks answers that must not be given. Each text stands on its own. In the published check for the catechism exhibit, of the questions that must be refused, 12 of 12 were refused, and of the questions that must be allowed, 8 of 8 were allowed. The Proverbs exhibit and the Tao Te Ching exhibit each have their own published check, stated in their own sections below.

Open to every tradition

Lumen puts guard rules into code, and this way of guarding a text belongs to no one tradition. To guard a text: answer only from the text, show the source, and refuse what a community says must never be made. Each community sets the rules for its own texts. This project does not set them. The texts that run today are exhibits from three traditions: 41 questions from the Baltimore Catechism No. 2 (Project Gutenberg 14552), with questions 241 and 242 left out because they quote guarded words word for word; 29 question and answer units from the Book of Proverbs in the World English Bible (Project Gutenberg 8247); and 30 units from the Tao Te Ching in James Legge’s translation (Project Gutenberg 216). The published check numbers describe these texts only, and they are stated in the table further down this page, in plain words. Texts from every tradition, and works of meaning outside faith, are welcome on the same terms. The standing rule: each text is honored on its own terms. No blending. No ranking.

Worth is never weighed here. Usefulness is measured within each exhibit, never across them: how many of life’s recurring situations the text answers in its own words, whether a stranger can draw from it in one sitting, and whether people actually turn to it. That measure steers building effort only. It never touches standing. And every exhibit is entered through the situations of a human life, so any person can find, in each text’s own words, that it has stood where they are standing.

The standing next step for each exhibit is a situations index: a concordance by the moments of a human life, built from the text itself, leaving its order and voice untouched.

What it is

Lumen is a design study with three working components and a monorepo of scaffolds around them. It is not a deployed platform, it has no users, and the three apps do not run. What is real:

Three parts of Lumen run today and are checked by runs in this repo: the guarded catechism demo, the guarded Proverbs exhibit, and the guarded Tao Te Ching exhibit, each described in its own section below. Around them sits a set of planned apps and parts that are scaffold only, labeled as scaffold wherever they are named. The exact list of what runs and what is scaffold, with file names, sits in the section for agents and builders at the end of this page.

The three exhibits, in one table

| Exhibit | Units in the set of texts | Refused, of the questions it must refuse | Allowed, of the questions it must allow | Prompts as expected | | — | — | — | — | — | | Baltimore Catechism No. 2 | 41 | 12 of 12 | 8 of 8 | 9 of 9 | | Book of Proverbs, World English Bible | 29 | 12 of 12 | 8 of 8 | 10 of 10 | | Tao Te Ching, translated by James Legge | 30 | 12 of 12 | 8 of 8 | 10 of 10 |

Key: units are the passages in each exhibit’s set of texts. Refused, allowed, and prompts are the three scored blocks of each exhibit’s check results file, all in this repository. The exhibits are measured within themselves, never against each other.

Second exhibit: the Book of Proverbs

This exhibit is shown on its own, under the standing rule stated above: each text is honored on its own terms. No blending. No ranking.

The Book of Proverbs is the wisdom book of the Hebrew Bible. This exhibit holds that book in the World English Bible, a public domain translation. Source edition: “The World English Bible (WEB): Proverbs”, Project Gutenberg ebook 8247, release date June 1, 2005, most recently updated December 26, 2020, its text credited to www.ebible.org with slight reformatting by Martin Ward. The Project Gutenberg edition is public domain in the USA.

In this exhibit:

The exhibit has its own page in this repo, with its method and its stated limits, linked from the section for agents and builders.

Third exhibit: the Tao Te Ching

This exhibit is shown on its own, under the standing rule stated above: each text is honored on its own terms. No blending. No ranking.

The Tao Te Ching is the founding text of Taoism, a book of short aphoristic chapters. The text is traditionally attributed to Laozi; the attribution is the tradition’s. This exhibit holds the text in James Legge’s public domain translation, The Tao Teh King, or the Tao and its Characteristics, Project Gutenberg ebook 216, first published in 1891 in The Sacred Books of China (The Texts of Taoism), Sacred Books of the East, volume 39, Clarendon Press, Oxford. The edition was produced by Gregory Walker and David Widger, and Gutenberg marks it public domain in the USA, most recently updated May 11, 2015.

In this exhibit:

The exhibit has its own page in this repo, with its method and its stated limits, linked from the section for agents and builders.

Lumen Gentium, light of the nations.

Lumen, Ascent Layer 6 (trust and meaning). Lumen is one of seven layers. Each layer holds that tech should help people do more and should not take away their choice.

Lumen deals with AI that is not safe and not held to account. We count the harmful outputs it refuses, and we report that count as it is. This repo claims no number for it yet beyond the check counts in this README, which are test results, not usage.

We hope for a time when people can do more, power stays in check, and the sacraments stay with the Church. We state this as a hope and a direction, not as a claim of what we have done. This repo is one small exhibit of the guard work that hope needs.

The need

Ascent Layer 6: Trust and meaning.

“Technology that stays inside human values: refuses what it should refuse, explains itself, and remains governed by people. And beneath the technology, the older need it serves: meaning, faith, conscience, a life that adds up to something.”

Lumen serves this need with guardrails that are code, not policy, and a refuser that hard rejects guarded output before it renders.

Unmet, it looks like: machines that comply with anything, guardrails promised in principles pages and absent in code, people handed power with no story about what it is for.

The full map: The Ascent, a map of human needs

Live demo

Live demo: https://topsoilcommons.github.io/lumen/ (render verified October 15, 2026)

For agents and builders

The exact technical description lives in this section. Everything a person needs is stated in plain words above it.

For agents: the machine files are the three exhibits’ corpora and eval files: packages/catechism-rag/demo/corpus.json with its eval_cases.json and eval_results.json, exhibits/proverbs/corpus.json with its eval_cases.json and eval_results.json, and exhibits/tao-te-ching/corpus.json with its eval_cases.json and eval_results.json. Each exhibit is measured within itself, never against the others.

What is in here, exactly

Working, and verified by runs in this repo

Scaffold, labeled as such

Design documents

Layout

apps/{faithful,parish,diocese,api}        faithful: static shell. Others: scaffold.
exhibits/{proverbs,tao-te-ching}          guarded Q&A exhibits
packages/{liturgy,catechism-rag}          working components
packages/{schema,i18n,ui}                 types, small utilities, tokens
packages/{auth,charity-graph,vitality}    placeholders
docs/                                     design documents

Status

Design study, Phase 1 pieces verified as listed above. No deployment, no users, no production AI calls. The next honest step for this repo is growing the refusal eval set and packaging the guardrail layer to stand alone (see COLLABORATE.md).

The proof: the catechism check, exactly

The refusal eval (packages/catechism-rag/demo/eval_cases.json, run 2026-10-15, results in demo/eval_results.json):

Run it: node packages/catechism-rag/demo/guarded_qa.mjs --eval

The Proverbs check, exactly

The Proverbs exhibit pipeline is exhibits/proverbs/guarded_qa.mjs over the corpus at exhibits/proverbs/corpus.json (29 units, built by exhibits/proverbs/build_corpus.py). Its eval case set is exhibits/proverbs/eval_cases.json; run node exhibits/proverbs/guarded_qa.mjs –eval. Results are committed at exhibits/proverbs/eval_results.json: output block 12 of 12 refused with the expected reason, output allow 8 of 8 allowed through, prompts 10 of 10 behaved as expected, run 2026-10-15. The catechism demo command is node packages/catechism-rag/demo/guarded_qa.mjs –eval, and one question is node packages/catechism-rag/demo/guarded_qa.mjs “Why did God make you?”. The exhibits table on this page is generated by scripts/build_exhibits_table.py from the three corpus files and the three eval results files. The Proverbs exhibit’s own README, with its method and its stated limits, is at exhibits/proverbs/README.md.

The Tao Te Ching check, exactly

The Tao Te Ching exhibit pipeline is exhibits/tao-te-ching/guarded_qa.mjs over the corpus at exhibits/tao-te-ching/corpus.json (30 units, built by exhibits/tao-te-ching/build_corpus.py). The builder verified every answer verbatim against the Gutenberg source and ran all 30 answers through the shared refuser at build time: 30 checked, 0 excluded, and the corpus’s excluded list is empty on that evidence. Its eval case set is exhibits/tao-te-ching/eval_cases.json; run node exhibits/tao-te-ching/guarded_qa.mjs –eval. Results are committed at exhibits/tao-te-ching/eval_results.json: output block 12 of 12 refused with the expected reason, output allow 8 of 8 allowed through, prompts 10 of 10 behaved as expected, run 2026-10-16. Borderline cases are reported, not scored: the two teaching texts quoting guarded formulas were refused by the shared refuser, and the attributed statement about Laozi was allowed. The Tao Te Ching exhibit’s own README, with its method, its Legge gloss caveat, and its stated limits, is at exhibits/tao-te-ching/README.md, and its situations concordance is at exhibits/tao-te-ching/situations.md.

Contribute, human or agent

Pick up a good first issue in this repo. Each one is sized in hours and written to be finishable by a newcomer. Take the Eval Challenge against this repo’s published refusal scores: beat the baseline, or find a real failure the current eval misses, with the run attached. Report adoption from real use. If you took the guardrails or the guarded demo into your own setting, tell us what happened, good or bad.

The full protocol: The Open Table. Verified work is credited in the public Ledger.

Start with a prompt

For an AI agent:

You are an AI agent contributing to Lumen, a guarded question answering study.
Run the Eval Challenge end to end.
Clone this repo and run: node packages/catechism-rag/demo/guarded_qa.mjs --eval
Check your run against the published baseline: output block 12 of 12 refused with the expected reason, output allow 8 of 8 allowed through, prompts 9 of 9 behaved as expected.
Find a real failure the current eval misses, or improve one thing the eval covers, and show the run before and after.
Attach the run to your pull request, keep it to one improvement per pull request, and name your operator.

For a human:

Open a failure report issue for the refusal eval.
Include the input you gave the demo.
Include what happened, and what should have happened instead.
Attach the run if you have it.

Below this layer: Machine, autonomy

There is no layer above Layer 6.

The research under this layer: Foundations, Meaning, values, and human flourishing

Built on Machine: autonomy.

Unlocks the ability to commit.