Expand description
Progressive extraction: after each owner exchange, a fast model proposes durable facts, and the ones that are new, evidenced and not already stored are written.
Structs§
- Exchange
- The exchange extraction reads, and where its facts are scoped.
- Inline
Fact - A fact proposed by progressive extraction.
- Progressive
Extractor - Proposes facts from an exchange with a model, a bounded number of calls at a time, and writes the ones worth keeping.
Enums§
- Fact
Stance - How the user’s message relates to a proposed fact. Only
Assertedfacts are stored; a missing or unrecognized stance isUnstated. - Fact
Subject - Whom a proposed fact is about, as the extractor reads the user’s
message. An owner identity fact (the user’s own name) is stored only when
it is
Owner: a name the user merely mentions (“Tell Jordan hi”) isOther. Missing or unknown values areUnstated. - Inadmissible
- Why a proposed fact is not stored, before any store call.
Functions§
- admissibility
- Whether a proposal may be stored: the user asserted it, its evidence is a quote found in the user’s own message, and it does not restate a fact already stored. The evidence check validates a citation against its source; it does not interpret what the words mean.
- identity_
fact_ lacks_ quoted_ self_ statement - Consolidation’s identity guard: an owner identity fact (e.g.
user.name) is admitted only when its extractor typed it as the owner’s own (FactSubject::Owner) and itsevidencequotes the owner’s own messages (user_text). The quote check validates a citation against its source; it does not interpret what the words mean. - identity_
fact_ lacks_ self_ statement - True when a proposed owner identity fact (e.g.
user.name) lacks the extractor’s typed statement that the user gave it about themselves (FactSubject::Owner), or its value is empty. A name the user only mentions (“Tell Jordan hi”) never becomes the owner’s. - may_
extract - Whether owner memory may be extracted from a turn: only the owner’s own words, and never on an untrusted public platform.
- owner_
writes_ during_ run owner_writes_sinceover the store’s active facts. A store error reads as no writes, so extraction proceeds as it would without any.- owner_
writes_ since - Facts owner-authored (stated by the owner or saved by the agent on the
owner’s behalf) that were written or refreshed at or after
since: what the agent itself stored during a run that started then. Superseded rows are left out. - parse_
inline_ facts - The JSON array in a reply, leniently: anything around it is ignored, and a reply with no parseable array has no facts.
- worth_
extracting - Whether a user message is long enough to hold a durable fact. Shorter messages (acknowledgments, greetings, single emoji) are not worth an extraction call.