Data System Authority Rules
Overview
The wiki has two overlapping systems that store structured entity data:
- KB YAML (
packages/kb/data/things/*.yaml) — the knowledge base package, with rich typed facts, time series, and cross-entity references - Old YAML facts (
data/facts/*.yaml) — the legacy facts system, powering the<F>inline component and<Calc>expressions
Nine entities currently have entries in both KB YAML and old YAML facts. Without a clear rule, editors may update one system while the other goes stale. This document defines the authority hierarchy.
Note: The Postgres statements system was retired in March 2026 (PR #1908). The DB tables have been archived with a
_archived_prefix. This document now covers only the two remaining data systems.
Authority Hierarchy
Rule 1: KB YAML is authoritative for entities it covers
For any entity that has a packages/kb/data/things/<slug>.yaml file, KB YAML is the single source of truth for structured properties (revenue, valuation, headcount, founding date, legal structure, etc.).
- Do not update
data/facts/<slug>.yamlfor entities with KB entries - When a number changes (new funding round, updated headcount), edit the KB YAML file only
- The old facts file for that entity should be treated as deprecated (see migration path below)
Rule 2: Old YAML facts remain authoritative for non-KB entities
For entities not yet in KB, data/facts/<slug>.yaml remains the authoritative source for structured properties. These facts power <F> and <Calc> components on wiki pages and should continue to be updated normally.
Current non-KB entities with old facts files:
anthropic-government-standoff.yaml— event file, not an entity; no KB equivalent plannedcenter-for-ai-safety.yamlchan-zuckerberg-initiative.yamlcoefficient-giving.yamlgoogle-deepmind.yamljaan-tallinn.yamlmanifund.yamlsurvival-and-flourishing-fund.yaml
Rule 3: Citations system is separate from structured facts
The citations system (citation quotes, accuracy checks) operates independently. It tracks which sources are cited on wiki pages and verifies their accuracy, but it is not a source of structured property values.
The 9 Overlapping Entities
These entities have entries in both data/facts/ and packages/kb/data/things/. KB YAML is authoritative for all of them.
| Entity | KB file | Old facts file | Status |
|---|---|---|---|
| anthropic | packages/kb/data/things/anthropic.yaml | data/facts/anthropic.yaml | KB authoritative |
| dustin-moskovitz | packages/kb/data/things/dustin-moskovitz.yaml | data/facts/dustin-moskovitz.yaml | KB authoritative |
| elon-musk | packages/kb/data/things/elon-musk.yaml | data/facts/elon-musk.yaml | KB authoritative |
| meta-ai | packages/kb/data/things/meta-ai.yaml | data/facts/meta-ai.yaml | KB authoritative |
| miri | packages/kb/data/things/miri.yaml | data/facts/miri.yaml | KB authoritative |
| openai | packages/kb/data/things/openai.yaml | data/facts/openai.yaml | KB authoritative |
| sam-altman | packages/kb/data/things/sam-altman.yaml | data/facts/sam-altman.yaml | KB authoritative |
| ssi | packages/kb/data/things/ssi.yaml | data/facts/ssi.yaml | KB authoritative |
| xai | packages/kb/data/things/xai.yaml | data/facts/xai.yaml | KB authoritative |
Migration Path
When adding a new entity to KB:
-
Create
packages/kb/data/things/<slug>.yamlwith the entity's structured data -
Migrate any facts from
data/facts/<slug>.yamlthat are still current into KB format -
Delete or mark deprecated the old facts file — add a comment at the top:
# DEPRECATED: This entity is now in packages/kb/data/things/<slug>.yaml. # KB YAML is authoritative. This file is kept only for any remaining <F> tag references. -
Search for
<F e="<slug>"in MDX pages — these will continue to render from the old facts file until they are updated to use KB data components (<KBFactTable>,<KBEntitySidebar>, etc.) -
File an issue to migrate any remaining
<F>tag usage on pages for that entity
Do not delete old facts files outright if there are still active <F> tags referencing them — the <F> component reads from data/facts/, not from KB YAML.
System Comparison
| Dimension | KB YAML | Old YAML facts |
|---|---|---|
| Location | packages/kb/data/things/ | data/facts/ |
| Authority | Properties for KB entities | Properties for non-KB entities |
| Data model | Typed facts with property, value, asOf, source, validEnd | Hash-keyed facts with measure, value, asOf, source |
| Cross-entity refs | Yes — !ref format for entity references | No |
| Custom YAML tags | !ref (entity references), !date (explicit date typing) | None |
| Time series | Yes — multiple facts per property with asOf | Yes — multiple entries with asOf |
| Display components | <KBFactTable>, <KBEntitySidebar>, <KBEntityFacts> | <F>, <Calc> inline components |
| Update workflow | Edit KB YAML file | Edit facts YAML file |
| Build integration | Compiled into database.json via build-data | Compiled into database.json via build-data |
KB Cross-Entity Comparisons
The KBCompareTable component renders a single property across multiple KB entities side-by-side. Time-series properties (revenue, valuation, headcount) produce a year-columnar table; point-in-time properties produce a simple latest-value table.
{/* Compare revenue across all orgs that have it */}
<KBCompareTable property="revenue" />
{/* Filter to specific entities */}
<KBCompareTable property="headcount" entities={["anthropic", "openai", "deepmind", "meta-ai", "xai"]} />
{/* Force latest-only mode */}
<KBCompareTable property="valuation" mode="latest" title="AI Lab Valuations" />
Example — revenue run-rate for frontier AI labs:
| Entity | 2023 | 2024 | 2025 | 2026 |
|---|---|---|---|---|
| Meta AI (FAIR) | — | — | $201.0 billion | — |
| OpenAI | — | $3.4 billion | $20 billion | — |
| Anthropic | $100 million | $1 billion | $9 billion | $19 billion |
| Google DeepMind | — | — | — | — |
| xAI | — | — | $3.8 billion | — |
Example — latest valuation across labs with KB data:
| Entity | Valuation | As Of |
|---|---|---|
| OpenAI | $500 billion | Oct 2025 |
| Anthropic | $380 billion | Feb 2026 |
| xAI | $230 billion | Jan 2026 |
| Safe Superintelligence Inc | $32 billion | Apr 2025 |
Related Documents
content/docs/internal/fact-system-strategy.mdx— Strategy and phase plan for old YAML factscontent/docs/internal/structured-data-architecture.mdx— Migration path from facts to claimspackages/kb/EXPERIMENTAL.md— KB package status and roadmap