Skip to content
Longterm Wiki has not been actively maintained since May 2026. Some data is still updated occasionally, but please don't rely on this site being current or accurate.
Longterm Wiki
Updated 2026-06-15HistoryData
Page StatusDocumentation
Edited 4 months ago18.7k words
Content2/13
SummaryScheduleEntityEdit historyOverview
Tables118/ ~75Diagrams8/ ~7–Int. links1/ ~149Ext. links0/ ~93Footnotes0/ ~56References0/ ~56Quotes0Accuracy0
Issues1
StaleLast edited 115 days ago - may need review

Database Schema Reference

This page is generated directly from the Drizzle schema in apps/wiki-server/src/schema.ts. It is the complete inventory of the wiki-server database — every table, column, and foreign key. For curated narrative (table purposes, migration history, the three-bases mental model) see Database Schema Overview. Run pnpm crux generate db-schema-docs to regenerate; the validation gate fails if this page falls out of sync with the schema.

Summary

MetricCount
Tables116
Columns1676
Foreign keys118
Materialized views / views1
Sections8

Entity-Relationship Diagrams

One diagram per schema section. Boxes show primary keys only (full columns are in the Table Reference below); edges are foreign keys, drawn from the referencing table (many) to the referenced table (one). A referenced table may appear in a section it does not belong to when crossed by a foreign key.

TableBase — Entity catalog tables

2 tables.

Diagram (loading…)
erDiagram
  "citation_quotes" {
    bigserial id PK
  }
  "entity_ids" {
    integer wiki_id PK
  }
  "citation_quotes" }o--|| "resources" : "resource_id"
  "citation_quotes" }o--|| "wiki_pages" : "page_id"

WikiBase — Prose content tables

1 table.

Diagram (loading…)
erDiagram
  "wiki_pages" {
    integer id PK
  }

Operational — Citation & sourcing tables

36 tables.

Diagram (loading…)
erDiagram
  "_archived_claim_page_references" {
    bigserial id PK
  }
  "_archived_claim_sources" {
    bigserial id PK
  }
  "_archived_claims" {
    bigserial id PK
  }
  "active_agents" {
    bigserial id PK
  }
  "agent_session_entities" {
    bigint agent_session_id PK
    text entity_stable_id PK
  }
  "agent_session_events" {
    bigserial id PK
  }
  "agent_session_pages" {
    bigint agent_session_id PK
    integer page_id PK
  }
  "agent_sessions" {
    bigserial id PK
  }
  "auto_update_news_items" {
    bigserial id PK
  }
  "auto_update_results" {
    bigserial id PK
  }
  "auto_update_runs" {
    bigserial id PK
  }
  "citation_accuracy_snapshots" {
    bigserial id PK
  }
  "citation_content" {
    text url PK
  }
  "edit_logs" {
    bigserial id PK
  }
  "entities" {
    text stable_id PK
  }
  "facts" {
    bigserial id PK
  }
  "groundskeeper_runs" {
    bigserial id PK
  }
  "hallucination_risk_snapshots" {
    bigserial id PK
  }
  "jobs" {
    bigserial id PK
  }
  "llm_call_payloads" {
    bigserial id PK
  }
  "page_improve_runs" {
    bigserial id PK
  }
  "page_links" {
    bigserial id PK
  }
  "pipeline_runs" {
    text run_id PK
  }
  "resource_citations" {
    text resource_id PK
    integer page_id PK
  }
  "resource_content_versions" {
    bigserial id PK
  }
  "resource_forum_posts" {
    text resource_id PK
  }
  "resource_papers" {
    text resource_id PK
  }
  "resource_policy_docs" {
    text resource_id PK
  }
  "resource_tabular_sources" {
    text resource_id PK
  }
  "resources" {
    text id PK
  }
  "service_health_incidents" {
    bigserial id PK
  }
  "session_pages" {
    bigint session_id PK
    integer page_id PK
  }
  "sessions" {
    bigserial id PK
  }
  "source_snapshots" {
    bigserial id PK
  }
  "sourcing_attempts" {
    text table_name PK
    text record_id PK
  }
  "summaries" {
    text entity_id PK
  }
  "_archived_claim_page_references" }o--|| "_archived_claims" : "claim_id"
  "_archived_claim_page_references" }o--|| "wiki_pages" : "page_id"
  "_archived_claim_sources" }o--|| "_archived_claims" : "claim_id"
  "_archived_claim_sources" }o--|| "resources" : "resource_id"
  "_archived_claims" }o--|| "entities" : "entity_id"
  "agent_session_entities" }o--|| "agent_sessions" : "agent_session_id"
  "agent_session_events" }o--|| "active_agents" : "agent_id"
  "agent_session_pages" }o--|| "agent_sessions" : "agent_session_id"
  "agent_session_pages" }o--|| "wiki_pages" : "page_id"
  "auto_update_news_items" }o--|| "auto_update_runs" : "run_id"
  "auto_update_news_items" }o--|| "wiki_pages" : "routed_to_page_id"
  "auto_update_results" }o--|| "auto_update_runs" : "run_id"
  "auto_update_results" }o--|| "wiki_pages" : "page_id"
  "citation_accuracy_snapshots" }o--|| "wiki_pages" : "page_id"
  "edit_logs" }o--|| "wiki_pages" : "page_id"
  "facts" }o--|| "entities" : "entity_id"
  "facts" }o--|| "entities" : "subject"
  "hallucination_risk_snapshots" }o--|| "wiki_pages" : "page_id"
  "page_improve_runs" }o--|| "wiki_pages" : "page_id"
  "page_links" }o--|| "wiki_pages" : "source_id"
  "page_links" }o--|| "wiki_pages" : "target_id"
  "pipeline_runs" }o--|| "agent_sessions" : "agent_session_id"
  "resource_citations" }o--|| "resources" : "resource_id"
  "resource_citations" }o--|| "wiki_pages" : "page_id"
  "resource_content_versions" }o--|| "resources" : "resource_id"
  "resource_forum_posts" }o--|| "resources" : "resource_id"
  "resource_papers" }o--|| "resources" : "resource_id"
  "resource_policy_docs" }o--|| "resources" : "resource_id"
  "resource_tabular_sources" }o--|| "resources" : "resource_id"
  "session_pages" }o--|| "sessions" : "session_id"
  "session_pages" }o--|| "wiki_pages" : "page_id"
  "source_snapshots" }o--|| "resource_tabular_sources" : "source_slug"
  "source_snapshots" }o--|| "resources" : "resource_id"
  "summaries" }o--|| "entities" : "entity_id"

STATEMENTS SYSTEM — Phase 1 (#1540)

44 tables.

Diagram (loading…)
erDiagram
  "_archived_entity_coverage_scores" {
    bigserial id PK
  }
  "_archived_statement_citations" {
    bigserial id PK
  }
  "_archived_statement_page_references" {
    bigserial id PK
  }
  "_archived_statements" {
    bigserial id PK
  }
  "benchmark_results" {
    varchar_10_ id PK
  }
  "benchmarks" {
    text id PK
  }
  "division_personnel" {
    varchar_10_ id PK
  }
  "divisions" {
    varchar_10_ id PK
  }
  "entity_assessments" {
    varchar_10_ id PK
  }
  "entity_events" {
    varchar_10_ id PK
  }
  "entity_resources" {
    bigserial id PK
  }
  "equity_positions" {
    varchar_10_ id PK
  }
  "evaluation_dimensions" {
    text id PK
  }
  "full_audit_log" {
    bigserial id PK
  }
  "funding_programs" {
    varchar_10_ id PK
  }
  "funding_rounds" {
    varchar_10_ id PK
  }
  "grant_research_areas" {
    varchar_10_ grant_id PK
    text research_area_id PK
  }
  "grants" {
    varchar_10_ id PK
  }
  "investments" {
    varchar_10_ id PK
  }
  "page_citations" {
    bigserial id PK
  }
  "page_snapshots" {
    varchar_10_ id PK
  }
  "personnel" {
    varchar_10_ id PK
  }
  "policy_stakeholders" {
    varchar_10_ id PK
  }
  "prediction_market_questions" {
    varchar_10_ id PK
  }
  "prediction_market_snapshots" {
    varchar_10_ id PK
  }
  "properties" {
    text id PK
  }
  "publications" {
    varchar_10_ id PK
  }
  "qa_page_checks" {
    bigserial id PK
  }
  "research_area_evaluations" {
    bigserial id PK
  }
  "research_area_organizations" {
    text research_area_id PK
    text organization_id PK
  }
  "research_area_papers" {
    bigserial id PK
  }
  "research_area_risks" {
    text research_area_id PK
    text risk_id PK
  }
  "research_area_scores" {
    text research_area_id PK
    text dimension PK
  }
  "research_areas" {
    text id PK
  }
  "secondary_market_prices" {
    varchar_10_ id PK
  }
  "source_check_evidence" {
    bigserial id PK
  }
  "source_check_verdicts" {
  }
  "sourcing_url_suggestions" {
    bigserial id PK
  }
  "tablebase_audit_log" {
    bigserial id PK
  }
  "things" {
    text id PK
  }
  "website_source_pages" {
    varchar_10_ id PK
  }
  "website_sources" {
    varchar_10_ id PK
  }
  "wikibase_page_assessments" {
    bigserial id PK
  }
  "wikibase_page_similarity" {
    bigserial id PK
  }
  "_archived_statement_citations" }o--|| "_archived_statements" : "statement_id"
  "_archived_statement_citations" }o--|| "resources" : "resource_id"
  "_archived_statement_page_references" }o--|| "_archived_statements" : "statement_id"
  "_archived_statement_page_references" }o--|| "wiki_pages" : "page_id"
  "_archived_statements" }o--|| "entities" : "attributed_to"
  "_archived_statements" }o--|| "entities" : "subject_entity_id"
  "_archived_statements" }o--|| "entities" : "value_entity_id"
  "_archived_statements" }o--|| "properties" : "property_id"
  "benchmark_results" }o--|| "benchmarks" : "benchmark_id"
  "benchmark_results" }o--|| "entities" : "model_id"
  "benchmark_results" }o--|| "entities" : "tested_by_org_id"
  "division_personnel" }o--|| "divisions" : "division_id"
  "division_personnel" }o--|| "entities" : "person_id"
  "divisions" }o--|| "entities" : "parent_org_id"
  "entity_assessments" }o--|| "entities" : "entity_id"
  "entity_events" }o--|| "entities" : "entity_id"
  "entity_resources" }o--|| "entities" : "entity_id"
  "entity_resources" }o--|| "resources" : "resource_id"
  "equity_positions" }o--|| "entities" : "company_entity_id"
  "equity_positions" }o--|| "entities" : "holder_entity_id"
  "funding_rounds" }o--|| "entities" : "company_entity_id"
  "funding_rounds" }o--|| "entities" : "lead_investor_entity_id"
  "grant_research_areas" }o--|| "grants" : "grant_id"
  "grant_research_areas" }o--|| "research_areas" : "research_area_id"
  "grants" }o--|| "entities" : "grantee_entity_id"
  "grants" }o--|| "entities" : "org_entity_id"
  "grants" }o--|| "funding_programs" : "program_id"
  "grants" }o--|| "resource_tabular_sources" : "data_source_id"
  "investments" }o--|| "entities" : "company_entity_id"
  "investments" }o--|| "entities" : "investor_entity_id"
  "page_citations" }o--|| "resources" : "resource_id"
  "page_citations" }o--|| "wiki_pages" : "page_id"
  "page_snapshots" }o--|| "website_source_pages" : "website_source_page_id"
  "personnel" }o--|| "entities" : "org_entity_id"
  "personnel" }o--|| "entities" : "person_entity_id"
  "policy_stakeholders" }o--|| "entities" : "policy_entity_id"
  "policy_stakeholders" }o--|| "entities" : "stakeholder_entity_id"
  "prediction_market_questions" }o--|| "entities" : "entity_id"
  "prediction_market_snapshots" }o--|| "prediction_market_questions" : "question_id"
  "publications" }o--|| "entities" : "entity_id"
  "publications" }o--|| "resources" : "resource_id"
  "qa_page_checks" }o--|| "things" : "thing_id"
  "research_area_evaluations" }o--|| "research_areas" : "research_area_id"
  "research_area_organizations" }o--|| "research_areas" : "research_area_id"
  "research_area_papers" }o--|| "research_areas" : "research_area_id"
  "research_area_papers" }o--|| "resources" : "resource_id"
  "research_area_risks" }o--|| "research_areas" : "research_area_id"
  "research_area_scores" }o--|| "research_areas" : "research_area_id"
  "research_areas" }o--|| "research_areas" : "parent_area_id"
  "secondary_market_prices" }o--|| "entities" : "company_entity_id"
  "source_check_evidence" }o--|| "resources" : "resource_id"
  "things" }o--|| "things" : "parent_thing_id"
  "website_source_pages" }o--|| "website_sources" : "source_id"
  "website_sources" }o--|| "entities" : "entity_id"
  "wikibase_page_assessments" }o--|| "wiki_pages" : "page_id"
  "wikibase_page_similarity" }o--|| "wiki_pages" : "page_id"
  "wikibase_page_similarity" }o--|| "wiki_pages" : "similar_page_id"

Operational — Data Quality Snapshots

6 tables.

Diagram (loading…)
erDiagram
  "bluesky_accounts" {
    text did PK
  }
  "bluesky_posts" {
    text uri PK
  }
  "data_quality_snapshots" {
    bigserial id PK
  }
  "platform_accounts" {
    bigserial id PK
  }
  "political_races" {
    varchar_10_ id PK
  }
  "race_candidates" {
    varchar_10_ id PK
  }
  "bluesky_accounts" }o--|| "entities" : "entity_stable_id"
  "bluesky_posts" }o--|| "bluesky_accounts" : "account_did"
  "bluesky_posts" }o--|| "resources" : "resource_id"
  "platform_accounts" }o--|| "entities" : "entity_stable_id"
  "political_races" }o--|| "entities" : "policy_entity_id"
  "race_candidates" }o--|| "entities" : "candidate_entity_id"
  "race_candidates" }o--|| "entities" : "pac_entity_id"
  "race_candidates" }o--|| "political_races" : "race_id"

12 tables.

Diagram (loading…)
erDiagram
  "campaign_finance" {
    varchar_10_ id PK
  }
  "claim_record_links" {
    bigserial id PK
  }
  "enrichment_runs" {
    text id PK
  }
  "enrichment_targets" {
    bigserial id PK
  }
  "model_system_cards" {
    text id PK
  }
  "operations_log" {
    bigserial id PK
  }
  "political_offices" {
    varchar_10_ id PK
  }
  "political_scores" {
    varchar_10_ id PK
  }
  "political_votes" {
    varchar_10_ id PK
  }
  "proposed_claims" {
    bigserial id PK
  }
  "tablebase_coverage_scans" {
    bigserial id PK
  }
  "tablebase_scanner_results" {
    bigserial id PK
  }
  "campaign_finance" }o--|| "entities" : "politician_entity_id"
  "claim_record_links" }o--|| "proposed_claims" : "claim_id"
  "operations_log" }o--|| "agent_sessions" : "agent_session_id"
  "political_offices" }o--|| "entities" : "politician_entity_id"
  "political_scores" }o--|| "entities" : "politician_entity_id"
  "political_scores" }o--|| "entities" : "scorer_entity_id"
  "political_votes" }o--|| "entities" : "politician_entity_id"
  "proposed_claims" }o--|| "resources" : "resource_id"

QUA-691 / Phase 4 — Frontier safety framework tracker

12 tables.

Diagram (loading…)
erDiagram
  "framework_capability_thresholds" {
    text id PK
  }
  "framework_diff_items" {
    text id PK
  }
  "framework_diffs" {
    text id PK
  }
  "framework_ingest_log" {
    text id PK
  }
  "model_aliases" {
    text alias PK
  }
  "pending_benchmark_links" {
    text id PK
  }
  "safety_framework_versions" {
    text id PK
  }
  "safety_frameworks" {
    text id PK
  }
  "scorecard_grades" {
    text id PK
  }
  "scorecard_snapshots" {
    text id PK
  }
  "third_party_evaluation_models" {
    text evaluation_id PK
    text ai_model_id PK
  }
  "third_party_evaluations" {
    text id PK
  }
  "model_aliases" }o--|| "entities" : "model_stable_id"
  "scorecard_grades" }o--|| "entities" : "entity_id"
  "scorecard_grades" }o--|| "scorecard_snapshots" : "snapshot_id"

AI Incidents — Phase 6 of QUA-687 (QUA-693)

3 tables.

Diagram (loading…)
erDiagram
  "ai_incident_reports" {
    varchar_10_ incident_id PK
    text url PK
  }
  "ai_incidents" {
    varchar_10_ id PK
  }
  "benchmark_results_pending" {
    text id PK
  }
  "ai_incident_reports" }o--|| "ai_incidents" : "incident_id"
  "ai_incidents" }o--|| "entities" : "ai_model_id"
  "ai_incidents" }o--|| "entities" : "developer_org_id"
  "ai_incidents" }o--|| "entities" : "org_id"
  "benchmark_results_pending" }o--|| "benchmarks" : "benchmark_id"
  "benchmark_results_pending" }o--|| "entities" : "resolved_to_stable_id"

Table Reference

Every table, alphabetically, with all columns and foreign keys.

_archived_claim_page_references

Export: claimPageReferences · Section: Operational — Citation & sourcing tables · 8 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
claim_idbigintNOT NULLFK
page_idintegernullFK
footnoteintegernull
sectiontextnull
quote_texttextnull
reference_idvarcharnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: claim_id → _archived_claims(id) (on delete cascade); page_id → wiki_pages(id) (on delete cascade)

_archived_claim_sources

Export: claimSources · Section: Operational — Citation & sourcing tables · 14 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
claim_idbigintNOT NULLFK
resource_idtextnullFK
urltextnull
source_quotetextnull
is_primarybooleanNOT NULLyes
added_attimestamp with time zoneNOT NULLyes
source_verdicttextnull
source_verdict_scorerealnull
source_verdict_issuestextnull
source_checked_attimestamp with time zonenull
source_titletextnull
source_typetextnull
source_locationtextnull

Foreign keys: claim_id → _archived_claims(id) (on delete cascade); resource_id → resources(id) (on delete set null)

_archived_claims

Export: claims · Section: Operational — Citation & sourcing tables · 39 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_idtextNOT NULLFK
entity_typetextNOT NULL
claim_typetextNOT NULL
claim_texttextNOT NULL
valuetextnull
unittextnull
confidencetextnull
source_quotetextnull
claim_categorytextnull
related_entitiesjsonbnull
fact_idtextnull
resource_idsjsonbnull
sectiontextnull
footnote_refstextnull
claim_modetextNOT NULLyes
attributed_totextnull
as_oftextnull
measuretextnull
value_numericdouble precisionnull
value_lowdouble precisionnull
value_highdouble precisionnull
claim_verdicttextnull
claim_verdict_scorerealnull
claim_verdict_issuestextnull
claim_verdict_quotestextnull
claim_verdict_difficultytextnull
claim_verified_attimestamp with time zonenull
claim_verdict_modeltextnull
subject_entitytextnull
propertytextnull
structured_valuetextnull
value_unittextnull
value_datedatenull
qualifiersjsonbnull
inference_typetextnull
is_pinnedbooleanNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(id) (on delete cascade)

_archived_entity_coverage_scores

Export: entityCoverageScores · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_idtextNOT NULL
coverage_scorerealNOT NULL
category_scoresjsonbNOT NULL
statement_countintegerNOT NULL
quality_avgrealnull
scored_attimestamp with time zoneNOT NULLyes

_archived_statement_citations

Export: statementCitations · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 8 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
statement_idbigintNOT NULLFK
resource_idtextnullFK
urltextnull
source_quotetextnull
location_notetextnull
is_primarybooleanNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(id) (on delete set null); statement_id → _archived_statements(id) (on delete cascade)

_archived_statement_page_references

Export: statementPageReferences · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 6 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
statement_idbigintNOT NULLFK
page_idintegerNOT NULLFK
footnote_resource_idvarcharnull
sectiontextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id) (on delete cascade); statement_id → _archived_statements(id) (on delete cascade)

_archived_statements

Export: statements · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 31 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
varietytextNOT NULL
statement_texttextnull
subject_entity_idtextNOT NULLFK
property_idtextnullFK
value_numericdouble precisionnull
value_unittextnull
value_texttextnull
value_entity_idtextnullFK
value_datedatenull
value_seriesjsonbnull
qualifier_keytextnull
valid_starttextnull
valid_endtextnull
temporal_granularitytextnull
attributed_totextnullFK
verdicttextnull
verdict_scorerealnull
verdict_quotestextnull
verdict_modeltextnull
verified_attimestamp with time zonenull
claim_categorytextnull
statustextNOT NULLyes
archive_reasontextnull
source_fact_keytextnull
notetextnull
quality_scorerealnull
quality_dimensionsjsonbnull
scored_attimestamp with time zonenull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: attributed_to → entities(id) (on delete set null); property_id → properties(id) (on delete set null); subject_entity_id → entities(id) (on delete cascade); value_entity_id → entities(id) (on delete set null)

active_agents

Export: activeAgents · Section: Operational — Citation & sourcing tables · 18 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
session_idtextNOT NULL
session_nametextnull
branchtextnull
tasktextNOT NULL
statustextNOT NULLyes
current_steptextnull
issue_numberintegernull
pr_numberintegernull
files_touchedjsonbnull
modeltextnull
worktreetextnull
heartbeat_attimestamp with time zoneNOT NULLyes
started_attimestamp with time zoneNOT NULLyes
completed_attimestamp with time zonenull
metadatajsonbnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

agent_session_entities

Export: agentSessionEntities · Section: Operational — Citation & sourcing tables · 2 columns

ColumnTypeNullKeyDefault
agent_session_idbigintNOT NULLPK
entity_stable_idtextNOT NULLPK

Foreign keys: agent_session_id → agent_sessions(id) (on delete cascade)

agent_session_events

Export: agentSessionEvents · Section: Operational — Citation & sourcing tables · 6 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
agent_idbigintNOT NULLFK
event_typetextNOT NULL
messagetextNOT NULL
metadatajsonbnull
timestamptimestamp with time zoneNOT NULLyes

Foreign keys: agent_id → active_agents(id) (on delete cascade)

agent_session_pages

Export: agentSessionPages · Section: Operational — Citation & sourcing tables · 2 columns

ColumnTypeNullKeyDefault
agent_session_idbigintNOT NULLPK
page_idintegerNOT NULLPK

Foreign keys: agent_session_id → agent_sessions(id) (on delete cascade); page_id → wiki_pages(id) (on delete cascade)

agent_sessions

Export: agentSessions · Section: Operational — Citation & sourcing tables · 31 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
branchtextNOT NULL
tasktextNOT NULL
session_typetextNOT NULL
issue_numberintegernull
linear_idtextnull
slot_numberintegernull
checklist_mdtextNOT NULL
worktreetextnull
pr_urltextnull
pr_outcometextnull
fixes_pr_urltextnull
datedatenull
titletextnull
summarytextnull
modeltextnull
durationtextnull
duration_minutesrealnull
costtextnull
cost_centsintegernull
checks_yamltextnull
issues_jsonjsonbnull
learnings_jsonjsonbnull
recommendations_jsonjsonbnull
reviewedbooleannull
statustextNOT NULLyes
started_attimestamp with time zoneNOT NULLyes
completed_attimestamp with time zonenull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes
heartbeat_attimestamp with time zonenull

ai_incident_reports

Export: aiIncidentReports · Section: AI Incidents — Phase 6 of QUA-687 (QUA-693) · 7 columns

ColumnTypeNullKeyDefault
incident_idvarchar(10)NOT NULLPK
urltextNOT NULLPK
titletextnull
publishertextnull
published_atdatenull
languagevarchar(8)null
created_attimestamp with time zoneNOT NULLyes

Foreign keys: incident_id → ai_incidents(id) (on delete cascade)

ai_incidents

Export: aiIncidents · Section: AI Incidents — Phase 6 of QUA-687 (QUA-693) · 20 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
sourcevarchar(16)NOT NULL
source_incident_idvarchar(128)NOT NULL
reported_datedatenull
incident_datedatenull
severityvarchar(32)null
upstream_severityvarchar(64)null
titletextNOT NULL
summarytextNOT NULL
full_report_urltextnull
ai_model_idtextnullFK
org_idtextnullFK
developer_org_idtextnullFK
attribution_confidencenumeric(3, 2)null
tagstext[]NOT NULLyes
rawjsonbNOT NULL
upstream_fetched_attimestamp with time zoneNOT NULL
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: ai_model_id → entities(stable_id) (on delete set null); developer_org_id → entities(stable_id) (on delete set null); org_id → entities(stable_id) (on delete set null)

auto_update_news_items

Export: autoUpdateNewsItems · Section: Operational — Citation & sourcing tables · 14 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
run_idbigintNOT NULLFK
titletextNOT NULL
urltextNOT NULL
source_idtextNOT NULL
published_attextnull
summarytextnull
relevance_scoreintegernull
topics_jsonjsonbnull
entities_jsonjsonbnull
routed_to_page_idintegernullFK
routed_to_page_titletextnull
routed_tiertextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: routed_to_page_id → wiki_pages(id) (on delete set null); run_id → auto_update_runs(id) (on delete cascade)

auto_update_results

Export: autoUpdateResults · Section: Operational — Citation & sourcing tables · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
run_idbigintNOT NULLFK
page_idintegernullFK
statustextNOT NULL
tiertextnull
duration_msintegernull
error_messagetextnull

Foreign keys: page_id → wiki_pages(id); run_id → auto_update_runs(id) (on delete cascade)

auto_update_runs

Export: autoUpdateRuns · Section: Operational — Citation & sourcing tables · 18 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
datedateNOT NULL
started_attimestamp with time zoneNOT NULL
completed_attimestamp with time zonenull
triggertextNOT NULL
budget_limitrealnull
budget_spentrealnull
sources_checkedintegernull
sources_failedintegernull
items_fetchedintegernull
items_relevantintegernull
pages_plannedintegernull
pages_updatedintegernull
pages_failedintegernull
pages_skippedintegernull
new_pages_createdtextnull
details_jsonjsonbnull
created_attimestamp with time zoneNOT NULLyes

benchmark_results

Export: benchmarkResults · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 15 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
benchmark_idtextNOT NULLFK
model_idtextNOT NULLFK
scoredouble precisionNOT NULL
unittextnull
datetextnull
source_urltextnull
notestextnull
tested_bytextNOT NULLyes
tested_by_org_idtextnullFK
evaluation_datetextnull
methodology_notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: benchmark_id → benchmarks(id); model_id → entities(stable_id) (on delete cascade); tested_by_org_id → entities(stable_id) (on delete set null)

benchmark_results_pending

Export: benchmarkResultsPending · Section: AI Incidents — Phase 6 of QUA-687 (QUA-693) · 20 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
benchmark_idtextNOT NULLFK
raw_model_nametextNOT NULL
scoredouble precisionnull
score_texttextnull
unittextnull
evaluation_datetextnull
tested_bytextNOT NULLyes
source_urltextnull
methodology_notestextnull
raw_payloadjsonbnull
statustextNOT NULLyes
ingester_sourcetextNOT NULL
resolved_to_stable_idtextnullFK
resolved_attimestamp with time zonenull
resolved_bytextnull
rejected_reasontextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: benchmark_id → benchmarks(id) (on delete cascade); resolved_to_stable_id → entities(stable_id) (on delete set null)

benchmarks

Export: benchmarks · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 15 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
slugtextNOT NULL
nametextNOT NULL
categorytextnull
sub_categorytextnull
descriptiontextnull
websitetextnull
scoring_methodtextnull
higher_is_betterbooleanNOT NULLyes
introduced_datetextnull
maintainertextnull
sourcetextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

bluesky_accounts

Export: blueskyAccounts · Section: Operational — Data Quality Snapshots · 11 columns

ColumnTypeNullKeyDefault
didtextNOT NULLPK
handletextNOT NULL
display_nametextnull
descriptiontextnull
follower_countintegernull
post_countintegernull
entity_stable_idtextnullFK
relevance_tagsjsonbnull
last_fetched_attimestamp with time zonenull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_stable_id → entities(stable_id) (on delete set null)

bluesky_posts

Export: blueskyPosts · Section: Operational — Data Quality Snapshots · 15 columns

ColumnTypeNullKeyDefault
uritextNOT NULLPK
cidtextnull
account_didtextNOT NULLFK
texttextnull
posted_attimestamp with time zoneNOT NULL
like_countintegernull
repost_countintegernull
reply_countintegernull
quote_countintegernull
embedded_urltextnull
embedded_titletextnull
reply_to_uritextnull
resource_idtextnullFK
entity_stable_idsjsonbnull
fetched_attimestamp with time zoneNOT NULL

Foreign keys: account_did → bluesky_accounts(did) (on delete cascade); resource_id → resources(stable_id) (on delete set null)

campaign_finance

Export: campaignFinance · Section: Claims-first sourcing — proposed_claims + claim_record_links · 21 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
politician_entity_idvarchar(40)nullFK
politician_display_namevarchar(200)null
cycleintegerNOT NULL
total_raisednumeric(14, 2)null
total_spentnumeric(14, 2)null
cash_on_handnumeric(14, 2)null
individual_contributionsnumeric(14, 2)null
pac_contributionsnumeric(14, 2)null
small_donor_contributionsnumeric(14, 2)null
self_fundingnumeric(14, 2)null
partyvarchar(20)null
office_typevarchar(30)null
statevarchar(5)null
districtvarchar(10)null
fec_candidate_idvarchar(20)null
source_urltextnull
data_as_ofdatenull
notestextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: politician_entity_id → entities(stable_id) (on delete set null)

citation_accuracy_snapshots

Export: citationAccuracySnapshots · Section: Operational — Citation & sourcing tables · 11 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
total_citationsintegerNOT NULL
checked_citationsintegerNOT NULL
accurate_countintegerNOT NULLyes
minor_issues_countintegerNOT NULLyes
inaccurate_countintegerNOT NULLyes
unsupported_countintegerNOT NULLyes
not_verifiable_countintegerNOT NULLyes
average_scorerealnull
snapshot_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id)

citation_content

Export: citationContent · Section: Operational — Citation & sourcing tables · 13 columns

ColumnTypeNullKeyDefault
urltextNOT NULLPK
resource_idtextnull
fetched_attimestamp with time zoneNOT NULL
http_statusintegernull
content_typetextnull
page_titletextnull
full_text_previewtextnull
full_texttextnull
content_lengthintegernull
content_hashtextnull
fetch_methodtextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

citation_quotes

Export: citationQuotes · Section: TableBase — Entity catalog tables · 25 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegerNOT NULLFK
footnoteintegerNOT NULL
urltextnull
resource_idtextnullFK
claim_texttextNOT NULL
claim_contexttextnull
source_quotetextnull
source_locationtextnull
quote_verifiedbooleanNOT NULLyes
verification_methodtextnull
verification_scorerealnull
verified_attimestamp with time zonenull
source_titletextnull
source_typetextnull
extraction_modeltextnull
claim_idbigintnull
accuracy_verdicttextnull
accuracy_issuestextnull
accuracy_scorerealnull
accuracy_checked_attimestamp with time zonenull
accuracy_supporting_quotestextnull
verification_difficultytextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id); resource_id → resources(stable_id) (on delete set null)

Export: claimRecordLinks · Section: Claims-first sourcing — proposed_claims + claim_record_links · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
claim_idbigintNOT NULLFK
record_typetextNOT NULL
record_idtextNOT NULL
match_verdicttextnull
match_confidencerealnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: claim_id → proposed_claims(id) (on delete cascade)

data_quality_snapshots

Export: dataQualitySnapshots · Section: Operational — Data Quality Snapshots · 23 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
captured_attimestamp with time zoneNOT NULLyes
verdicts_totalintegerNOT NULLyes
verdicts_confirmedintegerNOT NULLyes
verdicts_contradictedintegerNOT NULLyes
verdicts_partialintegerNOT NULLyes
verdicts_unverifiableintegerNOT NULLyes
verdicts_outdatedintegerNOT NULLyes
verdicts_needs_recheckintegerNOT NULLyes
personnel_totalintegerNOT NULLyes
personnel_with_sourceintegerNOT NULLyes
personnel_with_start_dateintegerNOT NULLyes
grants_totalintegerNOT NULLyes
grants_with_sourceintegerNOT NULLyes
investments_totalintegerNOT NULLyes
investments_with_sourceintegerNOT NULLyes
funding_rounds_totalintegerNOT NULLyes
entities_totalintegerNOT NULLyes
entities_with_wiki_pageintegerNOT NULLyes
factbase_entitiesintegerNOT NULLyes
factbase_factsintegerNOT NULLyes
pages_totalintegerNOT NULLyes
extrajsonbnullyes

division_personnel

Export: divisionPersonnel · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
division_idtextNOT NULLFK
person_idtextnullFK
person_display_nametextnull
roletextNOT NULL
start_datetextnull
end_datetextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: division_id → divisions(id) (on delete cascade); person_id → entities(stable_id) (on delete set null)

divisions

Export: divisions · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 15 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
slugtextnull
parent_org_idtextnullFK
nametextNOT NULL
division_typetextNOT NULL
leadtextnull
statustextnull
start_datetextnull
end_datetextnull
websitetextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: parent_org_id → entities(stable_id) (on delete set null)

edit_logs

Export: editLogs · Section: Operational — Citation & sourcing tables · 8 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
datedateNOT NULL
tooltextNOT NULL
agencytextNOT NULL
requested_bytextnull
notetextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id)

enrichment_runs

Export: enrichmentRuns · Section: Claims-first sourcing — proposed_claims + claim_record_links · 22 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
labeltextnull
record_typetextnull
entity_idtextnull
tiertextnull
started_attimestamp with time zoneNOT NULLyes
finished_attimestamp with time zonenull
proposes_totalintegerNOT NULLyes
proposes_acceptedintegerNOT NULLyes
proposes_rejectedintegerNOT NULLyes
accepted_t1integerNOT NULLyes
accepted_t2integerNOT NULLyes
accepted_t3integerNOT NULLyes
verdict_confirmedintegerNOT NULLyes
verdict_contradictedintegerNOT NULLyes
verdict_outdatedintegerNOT NULLyes
verdict_partialintegerNOT NULLyes
verdict_unverifiableintegerNOT NULLyes
cost_usdrealNOT NULLyes
notestextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

enrichment_targets

Export: enrichmentTargets · Section: Claims-first sourcing — proposed_claims + claim_record_links · 10 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_idtextNOT NULL
record_typetextNOT NULL
estimated_totalintegerNOT NULL
target_pctrealNOT NULLyes
estimated_attimestamp with time zoneNOT NULLyes
basistextnull
confidencetextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

entities

Export: entities · Section: Operational — Citation & sourcing tables · 17 columns

ColumnTypeNullKeyDefault
idtextNOT NULL
wiki_idtextnull
stable_idtextNOT NULLPK
entity_typetextNOT NULL
titletextNOT NULL
descriptiontextnull
websitetextnull
tagsjsonbnull
clustersjsonbnull
statustextnull
last_updatedtextnull
custom_fieldsjsonbnull
related_entriesjsonbnull
metadatajsonbnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

entity_assessments

Export: entityAssessments · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
entity_idtextNOT NULLFK
dimensiontextNOT NULL
ratingtextNOT NULL
evidencetextnull
assessortextNOT NULLyes
assessed_attextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade)

entity_events

Export: entityEvents · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 13 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
entity_idtextNOT NULLFK
entity_display_nametextnull
datetextNOT NULL
titletextNOT NULL
descriptiontextnull
event_typetextNOT NULL
significancetextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade)

entity_ids

Export: entityIds · Section: TableBase — Entity catalog tables · 5 columns

ColumnTypeNullKeyDefault
wiki_idintegerNOT NULLPK
slugtextNOT NULL
stable_idtextnull
descriptiontextnull
created_attimestamp with time zoneNOT NULLyes

entity_resources

Export: entityResources · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_idtextNOT NULLFK
resource_idtextNOT NULLFK
authored_by_entitybooleanNOT NULLyes
is_subjectbooleanNOT NULLyes
inference_sourcetextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade); resource_id → resources(stable_id) (on delete cascade)

equity_positions

Export: equityPositions · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 17 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
company_idtextNOT NULL
holder_idtextNOT NULL
company_entity_idtextnullFK
company_display_nametextnull
holder_entity_idtextnullFK
holder_display_nametextnull
staketextnull
stake_lownumericnull
stake_highnumericnull
sourcetextnull
notestextnull
as_oftextnull
valid_endtextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: company_entity_id → entities(stable_id) (on delete set null); holder_entity_id → entities(stable_id) (on delete set null)

evaluation_dimensions

Export: evaluationDimensions · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 9 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
labeltextNOT NULL
descriptiontextnull
categorytextnull
scale_mindouble precisionNOT NULLyes
scale_maxdouble precisionNOT NULLyes
higher_is_betterbooleanNOT NULLyes
sort_orderintegerNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

facts

Export: facts · Section: Operational — Citation & sourcing tables · 25 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_idtextNOT NULLFK
fact_idtextNOT NULL
labeltextnull
valuetextnull
numericrealnull
lowrealnull
highrealnull
as_oftextnull
valid_endtextnull
currencytextnull
measuretextnull
subjecttextnullFK
notetextnull
sourcetextnull
formattextnull
format_divisorrealnull
source_quotetextnull
usd_equivalentrealnull
exchange_raterealnull
exchange_rate_datetextnull
dollar_yearintegernull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade); subject → entities(stable_id) (on delete set null)

framework_capability_thresholds

Export: frameworkCapabilityThresholds · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 19 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
version_idtextNOT NULL
risk_domain_canonicaltextNOT NULL
risk_domain_labeltextNOT NULL
tier_labeltextNOT NULL
tier_sort_orderintegerNOT NULL
trigger_descriptiontextNOT NULL
source_quotetextNOT NULL
source_page_hinttextnull
required_mitigationsjsonbnull
associated_evalsjsonbnull
commitment_languagetextnull
extracted_by_modeltextnull
extraction_confidencenumericnull
human_reviewedbooleanNOT NULLyes
human_review_notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

framework_diff_items

Export: frameworkDiffItems · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 12 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
diff_idtextNOT NULL
change_typetextNOT NULL
risk_domain_canonicaltextnull
before_snapshotjsonbnull
after_snapshotjsonbnull
severityintegernull
classifier_tagtextnull
rationaletextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

framework_diffs

Export: frameworkDiffs · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 16 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
from_version_idtextNOT NULL
to_version_idtextNOT NULL
change_summarytextNOT NULL
weakening_flaggedbooleanNOT NULLyes
strengthening_flaggedbooleanNOT NULLyes
neutral_changes_countintegernull
diff_detailsjsonbnull
overall_directiontextnull
human_reviewedbooleanNOT NULLyes
review_verdicttextNOT NULLyes
review_notestextnull
classified_by_modeltextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

framework_ingest_log

Export: frameworkIngestLog · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 8 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
framework_idtextNOT NULL
fetched_attimestamp with time zoneNOT NULLyes
source_urltextNOT NULL
content_hashtextnull
statustextNOT NULL
notestextnull
created_attimestamp with time zoneNOT NULLyes

full_audit_log

Export: fullAuditLog · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 10 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
table_nametextNOT NULL
operationtextNOT NULL
old_rowjsonbnull
new_rowjsonbnull
txn_idbigintnull
session_idtextnull
tooltextnull
application_nametextnull
changed_attimestamp with time zoneNOT NULLyes

funding_programs

Export: fundingPrograms · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 17 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
org_idtextNOT NULL
division_idtextnull
nametextNOT NULL
descriptiontextnull
program_typetextNOT NULL
total_budgetnumericnull
currencytextnullyes
application_urltextnull
open_datetextnull
deadlinetextnull
statustextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

funding_rounds

Export: fundingRounds · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 21 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
company_idtextNOT NULL
company_entity_idtextnullFK
company_display_nametextnull
nametextNOT NULL
datetextnull
raisednumericnull
raised_lownumericnull
raised_highnumericnull
valuationnumericnull
valuation_lownumericnull
valuation_highnumericnull
instrumenttextnull
lead_investortextnull
lead_investor_entity_idtextnullFK
lead_investor_display_nametextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: company_entity_id → entities(stable_id) (on delete set null); lead_investor_entity_id → entities(stable_id) (on delete set null)

grant_research_areas

Export: grantResearchAreas · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 4 columns

ColumnTypeNullKeyDefault
grant_idvarchar(10)NOT NULLPK
research_area_idtextNOT NULLPK
confidencerealnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: grant_id → grants(id) (on delete cascade); research_area_id → research_areas(id) (on delete cascade)

grants

Export: grants · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 20 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
organization_idtextNOT NULL
grantee_idtextnull
org_entity_idtextnullFK
org_display_nametextnull
grantee_entity_idtextnullFK
grantee_display_nametextnull
nametextNOT NULL
amountnumericnull
currencytextNOT NULLyes
periodtextnull
datetextnull
statustextnull
sourcetextnull
notestextnull
program_idtextnullFK
data_source_idtextnullFK
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: data_source_id → resource_tabular_sources(source_slug) (on delete set null); grantee_entity_id → entities(stable_id) (on delete restrict); org_entity_id → entities(stable_id) (on delete restrict); program_id → funding_programs(id) (on delete set null)

groundskeeper_runs

Export: groundskeeperRuns · Section: Operational — Citation & sourcing tables · 12 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
task_nametextNOT NULL
eventtextNOT NULL
successbooleanNOT NULL
duration_msintegernull
summarytextnull
error_messagetextnull
consecutive_failuresintegernull
circuit_breaker_activebooleanNOT NULLyes
metadatajsonbnull
timestamptimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

hallucination_risk_snapshots

Export: hallucinationRiskSnapshots · Section: Operational — Citation & sourcing tables · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
scoreintegerNOT NULL
leveltextNOT NULL
factorsjsonbnull
integrity_issuesjsonbnull
computed_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id) (on delete cascade)

investments

Export: investments · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 23 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
company_idtextNOT NULL
investor_idtextNOT NULL
company_entity_idtextnullFK
company_display_nametextnull
investor_entity_idtextnullFK
investor_display_nametextnull
round_nametextnull
datetextnull
amountnumericnull
amount_lownumericnull
amount_highnumericnull
stake_acquiredtextnull
stake_lownumericnull
stake_highnumericnull
instrumenttextnull
roletextnull
conditionstextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: company_entity_id → entities(stable_id) (on delete set null); investor_entity_id → entities(stable_id) (on delete set null)

jobs

Export: jobs · Section: Operational — Citation & sourcing tables · 18 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
typetextNOT NULL
statustextNOT NULLyes
paramsjsonbnull
resultjsonbnull
errortextnull
priorityintegerNOT NULLyes
retriesintegerNOT NULLyes
max_retriesintegerNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
claimed_attimestamp with time zonenull
started_attimestamp with time zonenull
completed_attimestamp with time zonenull
worker_idtextnull
run_aftertimestamp with time zonenull
dedup_keytextnull
parent_job_idbigintnull
cost_usdnumeric(10, 4)null

llm_call_payloads

Export: llmCallPayloads · Section: Operational — Citation & sourcing tables · 11 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
run_idtextnull
flowtextnull
labeltextnull
modeltextNOT NULL
via_openrouterbooleanNOT NULLyes
requestjsonbNOT NULL
responsetextNOT NULL
tokens_inputintegernull
tokens_outputintegernull
created_attimestamp with time zoneNOT NULLyes

model_aliases

Export: modelAliases · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 7 columns

ColumnTypeNullKeyDefault
aliastextNOT NULLPK
model_stable_idtextNOT NULLFK
sourcetextNOT NULLyes
confidencetextNOT NULLyes
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: model_stable_id → entities(stable_id) (on delete cascade)

model_system_cards

Export: modelSystemCards · Section: Claims-first sourcing — proposed_claims + claim_record_links · 43 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
ai_model_idtextNOT NULL
ai_model_display_nametextnull
versiontextnull
release_datedatenull
deprecation_datedatenull
training_cutoffdatenull
training_compute_flopsnumericnull
training_gpu_hoursnumericnull
training_hardwaretextnull
parameters_totalbigintnull
parameters_activebigintnull
architecturetextnull
modalities_intext[]null
modalities_outtext[]null
context_window_tokensintegernull
output_window_tokensintegernull
languages_supportedtext[]null
safety_frameworktextnull
safety_tiertextnull
safety_tier_domainsjsonbnull
safeguards_summarytextnull
classifier_detailsjsonbnull
fine_tuning_policytextnull
deployment_channelstext[]null
eval_scores_citedjsonbnull
third_party_evalsjsonbnull
red_team_summarytextnull
incident_disclosurestextnull
source_urltextNOT NULL
source_formattextnull
source_hashtextnull
wayback_snapshot_urltextnull
system_prompt_urltextnull
usage_policy_urltextnull
extracted_attimestamp with time zonenull
extractor_versiontextnull
extraction_modeltextnull
extraction_confidencejsonbnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

operations_log

Export: operationsLog · Section: Claims-first sourcing — proposed_claims + claim_record_links · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
descriptiontextNOT NULL
pr_numberintegernull
agent_session_idbigintnullFK
operatortextNOT NULLyes
metadatajsonbnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: agent_session_id → agent_sessions(id) (on delete set null)

page_citations

Export: pageCitations · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 8 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
reference_idvarcharNOT NULL
page_idintegernullFK
titlevarcharnull
urlvarcharnull
notetextnull
resource_idtextnullFK
created_attimestamp with time zonenullyes

Foreign keys: page_id → wiki_pages(id); resource_id → resources(stable_id) (on delete set null)

page_improve_runs

Export: pageImproveRuns · Section: Operational — Citation & sourcing tables · 22 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
enginetextNOT NULL
tiertextNOT NULL
directionstextnull
started_attimestamp with time zoneNOT NULL
completed_attimestamp with time zonenull
duration_srealnull
total_costrealnull
source_cachejsonbnull
research_summarytextnull
citation_auditjsonbnull
cost_entriesjsonbnull
cost_breakdownjsonbnull
section_diffsjsonbnull
quality_metricsjsonbnull
quality_gate_passedbooleannull
quality_gapsjsonbnull
tool_call_countintegernull
refinement_cyclesintegernull
phases_runjsonbnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id)

Export: pageLinks · Section: Operational — Citation & sourcing tables · 7 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
source_idintegernullFK
target_idintegernullFK
link_typetextNOT NULL
relationshiptextnull
weightrealNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

Foreign keys: source_id → wiki_pages(id); target_id → wiki_pages(id)

page_snapshots

Export: pageSnapshots · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 13 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
website_source_page_idvarchar(10)NOT NULLFK
urltextNOT NULL
fetched_attimestamp with time zoneNOT NULLyes
content_hashtextNOT NULL
full_texttextNOT NULL
title_at_timetextnull
http_statusintegerNOT NULLyes
content_lengthintegerNOT NULLyes
extraction_statustextNOT NULLyes
extracted_attimestamp with time zonenull
extracted_factsjsonbnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: website_source_page_id → website_source_pages(id) (on delete cascade)

Export: pendingBenchmarkLinks · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 16 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
model_system_card_idtextNOT NULL
ai_model_idtextNOT NULL
cited_nametextNOT NULL
cited_name_normalizedtextnull
cited_scoredouble precisionnull
cited_metrictextnull
cited_setuptextnull
cited_excerpttextnull
resolved_benchmark_idtextnull
statustextNOT NULLyes
resolution_notestextnull
resolved_attimestamp with time zonenull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

personnel

Export: personnel · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 19 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
person_idtextNOT NULL
organization_idtextNOT NULL
person_entity_idtextnullFK
person_display_nametextnull
org_entity_idtextnullFK
org_display_nametextnull
roletextNOT NULL
role_typetextNOT NULL
start_datetextnull
end_datetextnull
is_founderbooleanNOT NULLyes
appointed_bytextnull
backgroundtextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: org_entity_id → entities(stable_id) (on delete restrict); person_entity_id → entities(stable_id) (on delete restrict)

pipeline_runs

Export: pipelineRuns · Section: Operational — Citation & sourcing tables · 21 columns

ColumnTypeNullKeyDefault
run_idtextNOT NULLPK
agent_session_idbigintnullFK
pipeline_nametextNOT NULL
entity_idtextnull
shapetextnull
statustextNOT NULL
failure_reasontextnull
started_attimestamp with time zoneNOT NULLyes
heartbeat_attimestamp with time zoneNOT NULLyes
ended_attimestamp with time zonenull
snapshot_pathtextnull
error_codetextnull
error_payloadjsonbnull
followup_actionsjsonbNOT NULLyes
cost_usdnumeric(10, 4)null
tokens_inputintegernull
tokens_outputintegernull
tokens_cache_readintegernull
tokens_cache_writeintegernull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: agent_session_id → agent_sessions(id) (on delete set null)

platform_accounts

Export: platformAccounts · Section: Operational — Data Quality Snapshots · 9 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
platformtextNOT NULL
platform_usernametextNOT NULL
platform_user_idtextnull
entity_stable_idtextnullFK
display_nametextnull
profile_urltextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_stable_id → entities(stable_id) (on delete set null)

policy_stakeholders

Export: policyStakeholders · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
policy_entity_idtextNOT NULLFK
stakeholder_entity_idtextnullFK
stakeholder_display_nametextNOT NULL
positiontextNOT NULL
importancetextnull
reasontextnull
sourcetextnull
contextjsonbnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: policy_entity_id → entities(stable_id) (on delete cascade); stakeholder_entity_id → entities(stable_id) (on delete set null)

political_offices

Export: politicalOffices · Section: Claims-first sourcing — proposed_claims + claim_record_links · 15 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
politician_entity_idtextNOT NULLFK
politician_display_nametextnull
office_typetextNOT NULL
jurisdictiontextNOT NULL
districttextnull
partytextnull
statustextNOT NULLyes
term_starttextnull
term_endtextnull
source_urltextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: politician_entity_id → entities(stable_id) (on delete cascade)

political_races

Export: politicalRaces · Section: Operational — Data Quality Snapshots · 21 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
nametextNOT NULL
race_typetextNOT NULL
partytextnull
leveltextNOT NULL
statetextnull
districttextnull
election_datetextnull
statustextNOT NULLyes
outcometextnull
outcome_detailstextnull
ai_angletextnull
ai_angle_summarytextnull
policy_entity_idtextnullFK
measure_titletextnull
measure_descriptiontextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: policy_entity_id → entities(stable_id) (on delete set null)

political_scores

Export: politicalScores · Section: Claims-first sourcing — proposed_claims + claim_record_links · 14 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
politician_entity_idtextNOT NULLFK
politician_display_nametextnull
scorer_orgtextNOT NULL
scorer_entity_idtextnullFK
scorenumericNOT NULL
max_scorenumericNOT NULLyes
yearintegerNOT NULL
score_typetextnull
source_urltextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: politician_entity_id → entities(stable_id) (on delete cascade); scorer_entity_id → entities(stable_id) (on delete set null)

political_votes

Export: politicalVotes · Section: Claims-first sourcing — proposed_claims + claim_record_links · 15 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
politician_entity_idvarchar(40)nullFK
politician_display_namevarchar(200)null
legislation_entity_idvarchar(100)null
legislation_titlevarchar(500)null
votevarchar(20)NOT NULL
vote_datedatenull
chambervarchar(20)null
roll_call_numberintegernull
congress_numberintegernull
sessionintegernull
source_urltextnull
notestextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: politician_entity_id → entities(stable_id) (on delete cascade)

prediction_market_questions

Export: predictionMarketQuestions · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 21 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
platformtextNOT NULL
platform_question_idtextNOT NULL
entity_idtextnullFK
entity_display_nametextnull
question_texttextNOT NULL
question_urltextnull
resolution_datetextnull
resolution_criteriatextnull
question_typetextNOT NULLyes
categorytextnull
is_resolvedbooleanNOT NULLyes
resolution_valuenumericnull
resolution_notestextnull
current_probabilitynumericnull
discovery_methodtextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete set null)

prediction_market_snapshots

Export: predictionMarketSnapshots · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 14 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
question_idvarchar(10)NOT NULLFK
datetextNOT NULL
probabilitynumericnull
probability_lownumericnull
probability_highnumericnull
num_forecastersintegernull
volumenumericnull
open_interestnumericnull
community_predictionnumericnull
sourcetextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: question_id → prediction_market_questions(id) (on delete cascade)

properties

Export: properties · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 14 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
labeltextNOT NULL
categorytextNOT NULL
descriptiontextnull
entity_typestext[]NOT NULLyes
value_typetextNOT NULL
default_unittextnull
staleness_cadencetextnull
unit_format_idtextnull
range_entity_typestext[]null
inverse_property_idtextnull
is_symmetricbooleanNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

proposed_claims

Export: proposedClaims · Section: Claims-first sourcing — proposed_claims + claim_record_links · 22 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
batch_idtextNOT NULL
claim_texttextNOT NULL
entity_idtextnull
target_tabletextNOT NULL
target_fieldtextnull
proposed_valuetextnull
proposed_datajsonbnull
resource_idtextnullFK
source_urltextNOT NULL
agent_evidencetextnull
statustextNOT NULLyes
verdict_confidencerealnull
verdict_reasoningtextnull
extracted_valuetextnull
checker_modeltextnull
verified_attimestamp with time zonenull
evidence_idbigintnull
verification_job_idbigintnull
submitted_bytextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete set null)

publications

Export: publications · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 18 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
entity_idtextNOT NULLFK
entity_display_nametextnull
resource_idtextnullFK
titletextNOT NULL
authorstextnull
urltextnull
venuetextnull
published_datetextnull
publication_typetextNOT NULLyes
citation_countintegernull
is_flagshipbooleanNOT NULLyes
abstracttextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade); resource_id → resources(stable_id) (on delete set null)

qa_page_checks

Export: qaPageChecks · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 11 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
thing_idtextnullFK
page_urltextNOT NULL
directorytextnull
check_typetextNOT NULLyes
resulttextNOT NULL
findingsjsonbnull
depthtextnull
sweep_idtextnull
checked_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

Foreign keys: thing_id → things(id) (on delete set null)

race_candidates

Export: raceCandidates · Section: Operational — Data Quality Snapshots · 20 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
race_idvarchar(10)NOT NULLFK
candidate_entity_idtextnullFK
candidate_display_nametextNOT NULL
is_incumbentbooleanNOT NULLyes
is_winnerbooleanNOT NULLyes
vote_sharenumericnull
statustextNOT NULLyes
pac_entity_idtextnullFK
pac_display_nametextnull
pac_amountnumericnull
pac_positiontextnull
partytextnull
endorsementstextnull
ai_stancetextnull
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: candidate_entity_id → entities(stable_id) (on delete set null); pac_entity_id → entities(stable_id) (on delete set null); race_id → political_races(id) (on delete cascade)

research_area_evaluations

Export: researchAreaEvaluations · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 11 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
research_area_idtextNOT NULLFK
dimensiontextNOT NULL
scoredouble precisionNOT NULL
confidencedouble precisionnull
reasoningtextnull
evaluator_typetextNOT NULLyes
evaluator_idtextNOT NULL
prompt_versiontextNOT NULLyes
evaluated_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

Foreign keys: research_area_id → research_areas(id) (on delete cascade)

research_area_organizations

Export: researchAreaOrganizations · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 5 columns

ColumnTypeNullKeyDefault
research_area_idtextNOT NULLPK
organization_idtextNOT NULLPK
roletextNOT NULLyes
notestextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: research_area_id → research_areas(id) (on delete cascade)

research_area_papers

Export: researchAreaPapers · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
research_area_idtextNOT NULLFK
resource_idtextnullFK
titletextNOT NULL
urltextnull
authorstextnull
published_datetextnull
citation_countintegernull
is_seminalbooleanNOT NULLyes
sort_orderintegerNOT NULLyes
notestextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: research_area_id → research_areas(id) (on delete cascade); resource_id → resources(stable_id) (on delete set null)

research_area_risks

Export: researchAreaRisks · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 6 columns

ColumnTypeNullKeyDefault
research_area_idtextNOT NULLPK
risk_idtextNOT NULLPK
relevancetextNOT NULLyes
effectivenesstextnull
notestextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: research_area_id → research_areas(id) (on delete cascade)

research_area_scores

Export: researchAreaScores · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 10 columns

ColumnTypeNullKeyDefault
research_area_idtextNOT NULLPK
dimensiontextNOT NULLPK
mean_scoredouble precisionNOT NULL
median_scoredouble precisionnull
std_devdouble precisionnull
min_scoredouble precisionnull
max_scoredouble precisionnull
num_evaluatorsintegerNOT NULLyes
model_agreementdouble precisionnull
last_computedtimestamp with time zoneNOT NULLyes

Foreign keys: research_area_id → research_areas(id) (on delete cascade)

research_areas

Export: researchAreas · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 16 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
wiki_idtextnull
titletextNOT NULL
descriptiontextnull
statustextNOT NULLyes
clustertextnull
parent_area_idtextnullFK
first_proposedtextnull
first_proposed_yearintegernull
tagsjsonbNOT NULLyes
metadatajsonbNOT NULLyes
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: parent_area_id → research_areas(id) (on delete set null)

resource_citations

Export: resourceCitations · Section: Operational — Citation & sourcing tables · 3 columns

ColumnTypeNullKeyDefault
resource_idtextNOT NULLPK
page_idintegerNOT NULLPK
created_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id); resource_id → resources(stable_id) (on delete cascade)

resource_content_versions

Export: resourceContentVersions · Section: Operational — Citation & sourcing tables · 12 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
resource_idtextnullFK
urltextNOT NULL
content_hashtextNOT NULL
fetched_attimestamp with time zoneNOT NULL
contenttextnull
content_lengthintegernull
http_statusintegernull
content_typetextnull
fetch_methodtextnull
metadatajsonbnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete set null)

resource_forum_posts

Export: resourceForumPosts · Section: Operational — Citation & sourcing tables · 14 columns

ColumnTypeNullKeyDefault
resource_idtextNOT NULLPK
forumtextNOT NULL
forum_post_idtextnull
forum_slugtextnull
karmaintegernull
comment_countintegernull
author_usernametextnull
forum_tagsjsonbnull
sequence_titletextnull
curatedbooleannull
cross_posted_fromtextnull
canonical_forumtextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete cascade)

resource_papers

Export: resourcePapers · Section: Operational — Citation & sourcing tables · 12 columns

ColumnTypeNullKeyDefault
resource_idtextNOT NULLPK
arxiv_idtextnull
doitextnull
semantic_scholar_idtextnull
abstracttextnull
citation_countintegernull
influential_citation_countintegernull
categoriesjsonbnull
methodologytextnull
yearintegernull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete cascade)

resource_policy_docs

Export: resourcePolicyDocs · Section: Operational — Citation & sourcing tables · 10 columns

ColumnTypeNullKeyDefault
resource_idtextNOT NULLPK
document_typetextnull
jurisdiction_entity_idtextnull
agency_entity_idtextnull
policy_entity_idtextnull
effective_datetextnull
document_statustextnull
reference_numbertextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete cascade)

resource_tabular_sources

Export: resourceTabularSources · Section: Operational — Citation & sourcing tables · 12 columns

ColumnTypeNullKeyDefault
resource_idtextNOT NULLPK
source_slugtextNOT NULL
data_formattextNOT NULL
access_methodtextNOT NULL
record_typetextNOT NULL
update_frequencytextnull
column_mappingjsonbnull
source_schemajsonbnull
verification_configjsonbnull
source_statustextNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete cascade)

resources

Export: resources · Section: Operational — Citation & sourcing tables · 34 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
urltextNOT NULL
titletextnull
typetextnull
summarytextnull
reviewtextnull
abstracttextnull
key_pointsjsonbnull
publication_idtextnull
authorsjsonbnull
author_entity_idsjsonbnull
published_datedatenull
tagsjsonbnull
local_filenametextnull
credibility_overriderealnull
fetched_attimestamp with time zonenull
content_hashtextnull
stable_idtextNOT NULL
fetch_statustextnull
last_fetched_attimestamp with time zonenull
archive_urltextnull
stancetextnull
context_notetextnull
resource_purposetextnull
resource_subtypetextnull
type_metadatajsonbnull
publisher_entity_idtextnull
related_entity_idsjsonbnull
enrichment_statustextnull
enrichment_datetimestamp with time zonenull
importance_scorerealnull
content_lifecycletextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

safety_framework_versions

Export: safetyFrameworkVersions · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 20 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
framework_idtextNOT NULL
version_labeltextNOT NULL
version_sort_orderintegerNOT NULL
published_datedatenull
discovered_datedateNOT NULL
source_urltextNOT NULL
source_url_canonicaltextnull
wayback_snapshot_urltextnull
pdf_archive_urltextnull
content_hashtextNOT NULL
content_length_charsintegernull
summarytextnull
notestextnull
is_draftbooleanNOT NULLyes
superseded_by_version_idtextnull
ingest_statustextNOT NULLyes
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

safety_frameworks

Export: safetyFrameworks · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 13 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
org_idtextNOT NULL
org_display_nametextnull
nametextNOT NULL
short_nametextnull
latest_version_idtextnull
first_published_datedatenull
current_statustextnull
framework_familytextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

scorecard_grades

Export: scorecardGrades · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 16 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
snapshot_idtextNOT NULLFK
entity_idtextNOT NULLFK
entity_display_nametextNOT NULL
dimension_slugtextNOT NULL
dimension_labeltextNOT NULL
dimension_weightnumericnull
dimension_parent_slugtextnull
score_numericnumericnull
score_lettertextnull
score_rawtextNOT NULL
notestextnull
source_urltextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade); snapshot_id → scorecard_snapshots(id) (on delete cascade)

scorecard_snapshots

Export: scorecardSnapshots · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 16 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
scorecard_sourcetextNOT NULL
wave_labeltextnull
published_atdateNOT NULL
captured_attimestamp with time zoneNOT NULLyes
source_urltextNOT NULL
methodology_urltextnull
licensetextnull
org_countintegerNOT NULLyes
dimension_countintegerNOT NULLyes
notestextnull
is_latestbooleanNOT NULLyes
source_activebooleanNOT NULLyes
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

secondary_market_prices

Export: secondaryMarketPrices · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 21 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
company_idtextNOT NULL
company_entity_idtextnullFK
company_display_nametextnull
platformtextNOT NULL
datetextNOT NULL
price_per_sharenumericnull
implied_valuationnumericnull
implied_valuation_lownumericnull
implied_valuation_highnumericnull
volumenumericnull
open_interestnumericnull
bid_pricenumericnull
ask_pricenumericnull
spread_percentnumericnull
price_typetextNOT NULLyes
sourcetextnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: company_entity_id → entities(stable_id) (on delete set null)

service_health_incidents

Export: serviceHealthIncidents · Section: Operational — Citation & sourcing tables · 14 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
servicetextNOT NULL
severitytextNOT NULL
statustextNOT NULLyes
titletextNOT NULL
detailtextnull
detected_attimestamp with time zoneNOT NULLyes
resolved_attimestamp with time zonenull
resolved_bytextnull
check_sourcetextnull
metadatajsonbnull
github_issue_numberintegernull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

session_pages

Export: sessionPages · Section: Operational — Citation & sourcing tables · 2 columns

ColumnTypeNullKeyDefault
session_idbigintNOT NULLPK
page_idintegerNOT NULLPK

Foreign keys: page_id → wiki_pages(id) (on delete cascade); session_id → sessions(id) (on delete cascade)

sessions

Export: sessions · Section: Operational — Citation & sourcing tables · 17 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
datedateNOT NULL
branchtextnull
titletextNOT NULL
summarytextnull
modeltextnull
durationtextnull
costtextnull
cost_centsintegernull
duration_minutesrealnull
pr_urltextnull
checks_yamltextnull
issues_jsonjsonbnull
learnings_jsonjsonbnull
recommendations_jsonjsonbnull
reviewedbooleannull
created_attimestamp with time zoneNOT NULLyes

source_check_evidence

Export: recordSources · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 19 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
record_typetextNOT NULL
record_idtextNOT NULL
field_nametextnull
entity_idtextnull
expected_valuetextnull
resource_idtextnullFK
source_urltextnull
extracted_valuetextnull
extracted_quotetextnull
verdicttextNOT NULL
confidencerealnull
relevance_scorerealnull
is_primary_sourcebooleanNOT NULLyes
checker_modeltextnull
notestextnull
checked_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete set null)

source_check_verdicts

Export: sourceVerdicts · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 15 columns

ColumnTypeNullKeyDefault
record_typetextNOT NULL
record_idtextNOT NULL
field_nametextnull
entity_idtextnull
display_nametextnull
entity_display_nametextnull
verdicttextNOT NULL
confidencerealnull
reasoningtextnull
sources_checkedintegerNOT NULLyes
needs_recheckbooleanNOT NULLyes
next_check_duetimestamp with time zonenull
last_computed_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

source_snapshots

Export: sourceSnapshots · Section: Operational — Citation & sourcing tables · 11 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
source_slugtextNOT NULLFK
resource_idtextnullFK
snapshot_hashtextNOT NULL
record_countintegernull
raw_contenttextNOT NULL
fetched_attimestamp with time zoneNOT NULLyes
mapping_validbooleanNOT NULLyes
parser_versiontextnull
notestextnull
created_attimestamp with time zoneNOT NULLyes

Foreign keys: resource_id → resources(stable_id) (on delete set null); source_slug → resource_tabular_sources(source_slug) (on delete cascade)

sourcing_attempts

Export: sourcingAttempts · Section: Operational — Citation & sourcing tables · 5 columns

ColumnTypeNullKeyDefault
table_nametextNOT NULLPK
record_idtextNOT NULLPK
last_attempt_attimestamp with time zoneNOT NULLyes
attempt_countintegerNOT NULLyes
last_outcometextnull

sourcing_url_suggestions

Export: sourcingUrlSuggestions · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 17 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
record_typetextNOT NULL
record_idtextNOT NULL
field_nametextnull
entity_idtextnull
suggested_urltextNOT NULL
titletextnull
snippettextnull
relevance_scorerealnull
source_providertextNOT NULL
generator_modeltextnull
statustextNOT NULLyes
reviewed_attimestamp with time zonenull
reviewed_bytextnull
notestextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

summaries

Export: summaries · Section: Operational — Citation & sourcing tables · 12 columns

ColumnTypeNullKeyDefault
entity_idtextNOT NULLPK
entity_typetextNOT NULL
one_linertextnull
summarytextnull
reviewtextnull
key_pointsjsonbnull
key_claimsjsonbnull
modeltextnull
tokens_usedintegernull
generated_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete cascade)

tablebase_audit_log

Export: tablebaseAuditLog · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
record_typetextNOT NULL
record_idtextNOT NULL
operationtextNOT NULL
old_datajsonbnull
new_datajsonbNOT NULL
source_urltextnull
verdicttextnull
evidencetextnull
agent_session_idtextnull
pr_numberintegernull
created_attimestamp with time zoneNOT NULLyes

tablebase_coverage_scans

Export: tablebaseCoverageScans · Section: Claims-first sourcing — proposed_claims + claim_record_links · 10 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
entity_typetextNOT NULL
entity_idtextNOT NULL
coverage_scoreintegerNOT NULL
signals_filledintegerNOT NULLyes
signals_totalintegerNOT NULLyes
signalsjsonbNOT NULLyes
scanned_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

tablebase_scanner_results

Export: tablebaseScannerResults · Section: Claims-first sourcing — proposed_claims + claim_record_links · 13 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
scan_run_idtextNOT NULL
record_typetextNOT NULL
entity_idtextNOT NULL
entity_nametextNOT NULL
entity_typetextNOT NULL
total_recordsintegerNOT NULLyes
verified_recordsintegerNOT NULLyes
completeness_pctrealNOT NULLyes
missing_fieldsjsonbNOT NULLyes
entity_importancerealnull
scanned_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

things

Export: things · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 11 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
thing_typetextNOT NULL
parent_thing_idtextnullFK
source_tabletextNOT NULL
source_idtextNOT NULL
entity_typetextnull
source_urltextnull
wiki_idtextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes
synced_attimestamp with time zoneNOT NULLyes

Foreign keys: parent_thing_id → things(id) (on delete set null)

third_party_evaluation_models

Export: thirdPartyEvaluationModels · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 6 columns

ColumnTypeNullKeyDefault
evaluation_idtextNOT NULLPK
ai_model_idtextNOT NULLPK
ai_model_display_nametextnull
raw_name_in_reporttextnull
match_confidencetextNOT NULL
created_attimestamp with time zoneNOT NULLyes

third_party_evaluations

Export: thirdPartyEvaluations · Section: QUA-691 / Phase 4 — Frontier safety framework tracker · 24 columns

ColumnTypeNullKeyDefault
idtextNOT NULLPK
evaluator_org_idtextNOT NULL
evaluator_org_display_nametextnull
report_urltextNOT NULL
report_pdf_urltextnull
titletextNOT NULL
published_datedatenull
risk_domaintext[]NOT NULL
pre_deploymentbooleannull
findings_summarytextnull
capability_levels_assessedjsonbnull
methodology_urltextnull
source_formattextnull
source_hashtextnull
wayback_snapshot_urltextnull
source_systemtextNOT NULL
extracted_attimestamp with time zonenull
extractor_versiontextnull
extraction_modeltextnull
extraction_confidencejsonbnull
notestextnull
synced_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

website_source_pages

Export: websiteSourcePages · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 12 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
source_idvarchar(10)NOT NULLFK
pathtextNOT NULL
page_roletextnull
extract_targetsjsonbnull
refresh_interval_daysintegernull
enabledbooleanNOT NULLyes
last_fetched_attimestamp with time zonenull
last_content_hashtextnull
last_snapshot_idvarchar(10)null
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: source_id → website_sources(id) (on delete cascade)

website_sources

Export: websiteSources · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 13 columns

ColumnTypeNullKeyDefault
idvarchar(10)NOT NULLPK
domaintextNOT NULL
entity_idtextnullFK
entity_display_nametextnull
reliabilitytextNOT NULLyes
refresh_interval_daysintegerNOT NULLyes
enabledbooleanNOT NULLyes
notestextnull
last_run_attimestamp with time zonenull
last_errortextnull
consecutive_failuresintegerNOT NULLyes
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

Foreign keys: entity_id → entities(stable_id) (on delete set null)

wiki_pages

Export: wikiPages · Section: WikiBase — Prose content tables · 40 columns

ColumnTypeNullKeyDefault
idintegerNOT NULLPK
wiki_idtextnull
slugtextNOT NULL
titletextNOT NULL
descriptiontextnull
summarytextnull
categorytextnull
subcategorytextnull
entity_typetextnull
tagstextnull
qualityintegernull
reader_importanceintegernull
research_importanceintegernull
tactical_valueintegernull
backlink_countintegernull
risk_categorytextnull
date_createdtextnull
recommended_scorerealnull
clustersjsonbnull
hallucination_risk_leveltextnull
hallucination_risk_scoreintegernull
content_plaintexttextnull
word_countintegernull
last_updatedtextnull
content_formattextnull
coverage_passingintegernull
coverage_totalintegernull
coverage_itemsjsonbnull
update_frequencyintegernull
days_since_updateintegernull
days_until_dueintegernull
stalenessrealnull
update_priorityrealnull
reader_rankintegernull
research_rankintegernull
synced_attimestamp with time zoneNOT NULLyes
synced_from_branchtextnull
synced_from_committextnull
created_attimestamp with time zoneNOT NULLyes
updated_attimestamp with time zoneNOT NULLyes

wikibase_page_assessments

Export: wikibasePageAssessments · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 21 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
assessortextNOT NULL
methodtextnull
modeltextnull
qualityintegernull
reader_importancerealnull
research_importancerealnull
tactical_valuerealnull
rating_focusrealnull
rating_noveltyrealnull
rating_rigorrealnull
rating_completenessrealnull
rating_concretenessrealnull
rating_actionabilityrealnull
rating_objectivityrealnull
structural_scoreintegernull
word_countintegernull
notetextnull
assessed_attimestamp with time zoneNOT NULLyes
created_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id)

wikibase_page_similarity

Export: wikibasePageSimilarity · Section: STATEMENTS SYSTEM — Phase 1 (#1540) · 6 columns

ColumnTypeNullKeyDefault
idbigserialNOT NULLPKyes
page_idintegernullFK
similar_page_idintegernullFK
similarityintegerNOT NULL
rankintegerNOT NULL
synced_attimestamp with time zoneNOT NULLyes

Foreign keys: page_id → wiki_pages(id); similar_page_id → wiki_pages(id)

Materialized Views & Views

ObjectExportKind
things_searchthingsSearchmaterialized-view