Spec
Single-Host Node
What this page covers
A single Stigmem node is a self-contained FastAPI process backed by SQLite (or libSQL/Postgres). This diagram shows the internal component layout and request flow.
Audience: engineers deploying or contributing to the Stigmem reference node.
Key componentsโ
main.py, routes/auth.pyAuthorization: Bearer to an identity with scopes and permissions.routes/facts.py(entity, relation, scope) value divergence; creates contradiction records.decay.pyvalid_until or low confidence.federation_pull.pydb.pyvec_facts and entity_edges for recall.