Entity 01KTDJJYQCH2EVXH5PX45YZGFK

One entity of kind participant. HEAD column = current value per catalog attribute (factWithStamp); log = every assertion ever made on this entity, newest first.

14attrs
2assertions
id
participant:01KTDJJYQCH2EVXH5PX45YZGFK
kind
participant
created_at
created_by
system
state
pending
Read path

HEAD attrs come from Snapshot.factWithStamp(entity, attr) — for each attribute:

SELECT value, asserted_at, asserted_by
FROM current_facts
WHERE entity = 'participant:01KTDJJYQCH2EVXH5PX45YZGFK' AND attribute = '<attr>'

The log comes from Snapshot.EntityHistory(entity) — one query, no view, ordered:

SELECT attribute, value, asserted_at, asserted_by
FROM facts
WHERE entity = 'participant:01KTDJJYQCH2EVXH5PX45YZGFK'
ORDER BY asserted_at ASC, id ASC

HEAD attributes (at t=1780786625)

attributetypevaluelast assertedby
auth content text
endpoint content text
first_name content text
is_operator int
kind text system
last_name content text
lifecycle text
p256dh content text
pid text 567c57c239b0a9c79f2c46a45c7ebe98 system
profile_pixels content blob
status_message content text
tombstoned bool
verified_lat real
verified_lng real

Raw fact log 2 assertions

Every assertion is here forever — the chronicle is append-only. Excised rows are tombstone markers: the value column was set to NULL, but that the fact was asserted at this moment + by this actor stays in the log.

tattributevalueby
pid 567c57c239b0a9c79f2c46a45c7ebe98 system
kind participant system