Asking "what are the other fields" got a wall, and the wall was two things, not one. The corpus genuinely does not name the helium fields — that part is a data gap, recorded in docs/DATA-MODEL.md. But the assistant also could not go and find out, and that was not a considered limit: ai-kit has had `webSearch` and `readPage` all along, and `SEARXNG_URL` is simply not set for this app, so "You have no tools" in the prompt described the deployment rather than a policy. It can look now, and what it finds arrives as a lead rather than a finding. The corpus is the product: a claim on it has been read and accepted by a person. So three rules keep the two apart. Web passages travel in their own channel and render under their own heading — they never become `[F#]`, which means a corpus row. A fetched page is attacker-controlled text, so it is fenced, labelled, and the model is told that nothing inside the quotes is an instruction; the defence is the framing rather than sanitising somebody's prose. And it is bounded: one search, two pages, short excerpts, tight timeouts, and only after the corpus has already failed to answer. A question is not permission to crawl. Grounding verification still guards corpus answers, and is skipped only for an answer that is openly citing the web, because that answer is not claiming to be corpus-grounded. Off unless `SEARXNG_URL` is set, and it reports "off" rather than "nothing" — "we did not look" and "we looked and found nothing" are different answers. Enabling it in production is one line in the box env, and is deliberately left to a human: it turns anonymous questions into outbound fetches. Claude-Session: https://claude.ai/code/session_01Y6ecRd91ZsPPcjuNkKTFV2 Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
8.5 KiB
Where the data goes next
Written 2026-09-17, after a review of what the corpus actually says when you read it as a reader rather than as its author. Three complaints drove it, and all three are fair.
The three faults
1. The geology directory is mostly noise. 51 country rows, and 30 of them (59%) connect to no bottleneck at all. The most common resources are oil, natural gas, copper, uranium and gold — a general commodities directory wearing this site's clothes. "Timor-Leste has some oil" is true and tells a reader nothing about why technology is slow. Similar-geology matching built on it produces noise, because the similarity is computed over resources that do not matter here.
2. The corpus asserts concentration without substantiating it. "One company on earth builds them." "Produced only as a by-product of a few natural gas fields." Which company? Which fields? Where? A reader is asked to take the most load-bearing claims on trust, which is the opposite of what this project is for. It reads, in George's words, as a mystery wrapped in an enigma.
3. There are no numbers. Severity is a 0–12 judgement and everything else is prose. A reader cannot ask how much is produced, how much is left, who has how much, or what would change it.
What to build
A. Quantify: production and reserves, per material and place
interface Quantity {
value: number;
unit: 'tonnes' | 'kt' | 'Mt' | 'Mcm' | 'GWh' | 'units';
/** The year the figure is FOR, which is not the year it was published. */
year: number;
/** Estimated, reported, or a range — never a bare number pretending to be exact. */
basis: 'reported' | 'estimated' | 'range';
low?: number;
high?: number;
source: string;
readOn: string;
}
interface Endowment {
material: EntityId; // bottleneck
place: EntityId; // country
production?: Quantity; // per year
reserves?: Quantity; // remaining
share?: number; // fraction of world production, DERIVED not stored
}
Rules:
- Every figure carries its year, its basis and its source. A number without a year is a lie with a decimal point.
- Derived figures are computed, never stored: world share, reserves-to-production ratio, and per-capita figures are functions of the rows, so they cannot drift from them.
- Reserves are not resources. USGS distinguishes them; so must we, or the number means nothing.
Primary source: USGS Mineral Commodity Summaries (2026 edition; US Government, public domain, covers 90+ materials with production and reserves by country). Verified available earlier in this work. National surveys and the IAEA Red Book for uranium fill gaps.
B. Name the facilities
The claim "a few fields" becomes checkable only when the fields are named.
interface Facility {
kind: 'field' | 'mine' | 'refinery' | 'plant' | 'fab';
name: string; // "LaBarge", "Ras Laffan", "Orenburg"
place: EntityId; // country
operator?: EntityId; // company
makes: EntityId[]; // bottlenecks
capacity?: Quantity;
source: string;
readOn: string;
}
This is a new entity kind, which is now a single adapter file. It answers "where are those fields" directly, gives each one a profile and a discussion, and lets a helium page link the three places its supply actually comes from.
C. Per-capita and concentration, as derived reads
Interesting precisely because they are ratios the rows already support:
- reserves per capita, production per capita — which places are structurally rich rather than large;
- Herfindahl-style concentration per material — a numeric companion to the "how few suppliers qualify" judgement, computed from production shares rather than asserted;
- reserves-to-production ratio — how long the current rate can continue.
All derived. None stored. Each shown with the rows it came from.
D. Strategic location is a constraint, and is not geology
Singapore holds no minerals and is central anyway. So are Hormuz, Bab el-Mandeb, Malacca, Suez, Panama and Taiwan — and the Iran/Qatar helium event already in the corpus is exactly this: a war near a strait threatening supply that is not produced there.
interface Chokepoint {
name: string; // "Strait of Hormuz"
kind: 'strait' | 'canal' | 'cable' | 'corridor';
places: EntityId[]; // countries controlling or adjacent
carries: EntityId[]; // bottlenecks whose supply transits it
why: string;
source: string;
}
A transits relation joins a bottleneck to a chokepoint, so "what is in the way" includes the route
and not only the rock. This is the piece the current model misses entirely: it knows where things are
made and nothing about how they move.
E. Prune the directory to the thesis
A country row earns its place when it connects to a bottleneck. The other 30 either gain a connection with a source, or move behind an explicit "general geology, not part of the research" boundary. Coverage is not a virtue when most of it is off-subject — it dilutes the rows that matter and makes similarity matching meaningless.
F. Substitution: existing is not the same as available
The corpus scores "how hard to replace" 0–3 and leaves it there. That flattens the only question a reader actually has, because an alternative can exist and still be unavailable — for quite different reasons, each with a different remedy and a different time constant:
interface Substitute {
for: EntityId; // the bottleneck
candidate: string; // or an EntityId when it is a science entry we cover
status:
| 'in use' // already substituting at scale
| 'qualified, capacity-limited'
| 'qualified for some uses' // works for a subset, not the binding one
| 'demonstrated, not qualified'
| 'laboratory'
| 'none known';
/** WHY it is not simply used. More than one usually applies. */
blockedBy: ('physics' | 'qualification' | 'capacity' | 'cost' | 'contract' | 'regulation')[];
why: string; // the nuance, in plain words
sources: string[];
}
The distinction that matters most is physics against everything else. Liquid helium has no
substitute below 4 K — that is a law, and no amount of money or time changes it. Grain-oriented
electrical steel has alternatives that are qualified for some uses, blocked by qualification and
capacity — that is a schedule, and money and time do change it. Today both read as a 3.
A profile should say which it is, because "there is no alternative" and "the alternative needs four years of qualification and a new mill" lead a reader to opposite conclusions.
G. More than one source, and say when they are not independent
Most records carry a single source. One source is a citation; two independent ones are evidence.
Fields become sources: string[], and where sources are not independent — a press release and the
trade-press article that reprints it — that is recorded rather than counted twice.
This also protects against the failure mode this project is most exposed to: a number that is everywhere on the internet because everyone copied the same original, which is one source wearing a dozen hats.
Presentation
- Progressive disclosure, not omission. A page opens with the claim and the number; the rows, years and sources sit one interaction deeper. Today the claim is shown and the substantiation does not exist at all, which is the wrong end of the trade.
- Visual aids where they carry information: production share by country, reserves-to-production, a supply route. Not decoration, and never a chart of a judgement — a 0–12 score plotted as a bar invites reading it as a measurement.
- Every number links to its source, like every other claim on the site.
Roadmap, not now
- PDF and PPT export of a profile or a comparison.
- A comparison view across entities (the module contract already supports it).
Order
- USGS production and reserves for the materials already in the corpus — the numbers a reader asks for first, on rows that already matter. Multi-sourced where a second independent figure exists.
- Facilities for the most concentrated materials, so "a few fields" names them.
- Derived reads: share, per-capita, concentration, R/P.
- Chokepoints and the
transitsrelation. - Prune or fence the off-thesis country rows.
- Substitution nuance:
physicsversusqualification/capacity/cost, starting with the materials scored 3 for replaceability, since that score is currently carrying all the weight and explaining none of it.