Proposition Store
Base persistence port for propositions: CRUD, identity lookups, and the composable query.
A consumer that only needs store-and-retrieve can depend on this contract alone, without inheriting vector, graph, or temporal capabilities. Stores that back those richer capabilities additionally implement the matching opt-in capability interfaces.
Implementations may use different backends (in-memory, database, vector store).
Inheritors
Functions
Append provenance to a proposition (deduplicated); never removes existing entries.
Remove all provenance from a proposition.
Get the total count of propositions.
Get all propositions.
Find propositions in the given context.
Java-friendly variant of findByContextId that accepts a plain string.
Find all propositions that mention a specific entity.
Find all propositions grounded by a specific chunk.
Find a proposition by its ID.
Find propositions at or above the specified abstraction level. Level 0 = raw observations, 1+ = abstractions.
Find all propositions with the given status.
All pinned propositions in contextId.
Pin a proposition so it resists reclamation: pinned propositions are skipped by the decay collector and the sweep policy, are decay-exempt in the default status policy, and are not auto-retired by contradiction resolution.
The provenance entries of a proposition, or an empty list if it has none or does not exist.
Query propositions using a PropositionQuery specification.
Save a proposition. If a proposition with the same ID exists, it will be replaced.
Save multiple propositions.
Save multiple propositions and report which stored proposition each one landed on.
Authoritatively set a proposition's provenance to exactly entries, removing any not listed.
Refresh Proposition.lastAccessed to now for ids — the read-side reinforcement that lets a DECAYING proposition's decay anchor (see Proposition.effectiveConfidenceAt) track actual use rather than only content edits. Best-effort and silent about unknown ids (a stale eager id that has since been deleted is not an error).
Clear a proposition's pin, returning it to normal reclamation.