sourcemap tells you, with evidence, which public source to trust for which kind of entity and which kind of fact, and keeps that answer current.
For a kind of data (org charts, academic identities), it finds the sources that publish it, reads them, checks their statements against other sources, and draws a map: segments × sources, each cell with coverage and an honest accuracy interval. Every number opens up to the checks behind it, and every check to a saved copy of what the source returned.
Status: demo built — Samsung Electronics marketing org chart: sources found through Telem, measured against DART (
docs/experiments/0001-…), and a multi-segment source benchmark for Samsung, Nvidia and Airbus (docs/experiments/0002-…, pagedata/multi/sourcemap_benchmark.html). Seedocs/plan/anddocs/agent/log.md.
docs/domain.md— the problem, the vocabulary, the pipeline and the accuracy rules. The source of truth for behaviour.docs/containers.md— the processes, stores and outside services.docs/data-model.md— the database.docs/components/— one doc per part of the system.docs/adr/— the decisions and why.docs/plan/— the stages: goal, what gets built, and how each is checked.docs/agent/log.md— what happened in each session and what is open.
- Two data types: org chart (16 companies in 4 segments) and academic identity (17 departments in 4 segments).
- Sources: theorg.com, Open DART, LinkedIn via Apify, OpenAlex, ORCID, company leadership pages, university directories.
- No human-labelled gold set: ground truth comes from reference sources and cross-lineage lookups (ADR 0003).
- Centrepiece: the search-provider benchmark — the same queries through every search provider behind Telem, scored per segment on how well each finds sources (ADR 0015). Second: a daily news change monitor that decides which claims to re-check first, never what is true (ADR 0016).
To be written in later stages. Planned commands:
sourcemap seed # load starting content into a fresh database
sourcemap worker # the worker process (all internet, model and paid work)
sourcemap api # the API + web UI
sourcemap run maintenance org_chart --mode test
sourcemap map org_chart # print the map in the terminal
Keys go in .env (never committed): TELEM_API_KEY, OPENROUTER_API_KEY, APIFY_TOKEN,
OPENDART_API_KEY (optional), OPENALEX_EMAIL (optional, polite pool). Agents use the local
Claude Code login.
Open data/demo/sourcemap_demo.html (rebuild it with .venv/bin/python scripts/demo_page.py).
- The question at the top, and the flow.
- Section 1: the planner thinks in publisher categories: point at "Korean regulatory filings" and its Korean queries; this is how DART is found without anyone typing its URL.
- Section 2: the same queries through every search provider behind Telem; the known-answer leaderboard with 90% intervals; who found DART, theorg and samsung.com.
- Section 3: the source map: DART is the reference (1,119 executives, 93 in marketing); theorg's employment and title accuracy with intervals, and its marketing coverage of 2/93.
- Section 4: open the checks behind a number: Seong H. Cho ↔ 조성혁, the DART quote, the verdict; and the one disagreement (Won-Jin Lee).
- Section 5: Samsung's marketing org chart by unit, from the official filing.
- Honest limits.
The data in data/demo/ comes from live calls (Telem, OpenRouter, DART, theorg); it is not committed.
.venv/bin/python scripts/demo_multi.py refs|plan|search|read|verify # each step cached in data/multi/
.venv/bin/python scripts/demo_multi_page.py # → data/multi/sourcemap_benchmark.html