Skip to Content

ProfileDoc

Defined in: src/lib/memory/synthesizeProfile.ts:238 

A synthesized profile. Server-authoritative once published; the client caches it and passes it back as SynthesizeProfileOptions.previous.

Properties

config

config: ProfileConfigFingerprint

Defined in: src/lib/memory/synthesizeProfile.ts:248 

The config that produced this doc — see ProfileConfigFingerprint.


generatedAt

generatedAt: number

Defined in: src/lib/memory/synthesizeProfile.ts:262 

Unix ms this doc was produced.


memoryRevisions?

optional memoryRevisions: Record<string, string>

Defined in: src/lib/memory/synthesizeProfile.ts:246 

Revisions of eligible facts at synthesis time, keyed by memory ID.


observationTrends

observationTrends: Record<ObservationTrend, number>

Defined in: src/lib/memory/synthesizeProfile.ts:254 

C2 — counts of observation-trend labels over live vault facts at synthesis time. Lets People Nearby surface “interests trending up” without another LLM pass. Recomputed every synthesis (not delta-cached).


sections

sections: ProfileSection[]

Defined in: src/lib/memory/synthesizeProfile.ts:242 

One section per requested facet (in facet order).


unreadableMemoryIds?

optional unreadableMemoryIds: string[]

Defined in: src/lib/memory/synthesizeProfile.ts:260 

Sorted ids the store listed but could not decrypt at synthesis time. Absent when every memory was readable. A later call regenerates only when this set changes, and attributes a memory once it becomes readable.


vaultWatermark

vaultWatermark: number

Defined in: src/lib/memory/synthesizeProfile.ts:244 

Max change-time across all vault facts (incl. deleted/superseded) at synthesis time.


version

version: number

Defined in: src/lib/memory/synthesizeProfile.ts:240 

PROFILE_DOC_VERSION at synthesis time.

Last updated on