One nearest-neighbor result from a memory_check_duplicate lookup
(Pillar 2 / Stream D). similarity is the cosine similarity in
[-1.0, 1.0], rounded to three decimals at the response layer.
Resolved entity record returned by db::entity_get_by_alias and
embedded in the db::entity_register response (Pillar 2 / Stream B).
aliases is the full alias set for the entity, ordered by
created_at ASC, alias ASC for stable display.
Outcome of db::entity_register. created is true when a new
entity memory was inserted, false when an existing entity was
reused (idempotent re-registration that just merged new aliases into
the existing record).
One node returned by db::kg_query (Pillar 2 / Stream C —
memory_kg_query). Each node represents a memory reachable from the
query’s source through one outbound link, carrying the link’s
temporal-validity columns plus the target memory’s display fields and
the traversal path. depth is the actual number of hops from the
source (1..=KG_QUERY_MAX_SUPPORTED_DEPTH); path is the
src->mid->target chain as discovered by the recursive CTE.
v0.7.0 fix campaign R1-M4 — typed relation closed-set for
memory_links.relation. Paired with the SQL-side CHECK constraint
added by the same R1-M4 migration: defense-in-depth so direct-SQL
writers can no longer slip an unknown relation past the Rust
validator.
Marker written to metadata.kind on entity-typed memories. The
db layer keys entity lookups off this field so the alias resolver
never returns a regular memory that happens to share a title with an
entity registered later.