pub enum RecordKind {
Show 15 variants
MemoryTier,
Topic,
Session,
Checkpoint,
Ticket,
TicketEvent,
GraphManifest,
VectorManifest,
Person,
IdentityBinding,
RoleGrant,
ChannelConfig,
LinkToken,
AuditEntry,
Tombstone,
}Expand description
What a record represents. Drives the merge strategy.
Variants§
MemoryTier
Topic
Session
Checkpoint
Ticket
A tracked work item imported from an external ticket platform.
TicketEvent
An append-only comment/event on a ticket.
GraphManifest
A per-view code-graph manifest: (repo, view_id) -> { path -> content_hash }.
Regenerable from source; reconciled last-writer-wins. See ADR 0012.
VectorManifest
The manifest of a durable vector index: which shards exist, which blob
holds each, and the embedding space they are in. Unlike
GraphManifest it is not regenerable — with
caller-supplied embeddings gonzalo never sees the model — so it merges
Opaque. See ADR 0027.
Person
A human with fleet roles. Not ADR 0015’s Principal, which is a gonzalo
bearer token. See ADR 0022.
IdentityBinding
Binds one external account (chat user id, OIDC subject) to a Person.
See ADR 0022.
RoleGrant
A person’s fleet role, fleet-wide or for one workspace. See ADR 0022, amended by ADR 0023.
ChannelConfig
A chat channel’s configuration: what it follows, a notify preset, and a role ceiling. See ADR 0022, amended by ADR 0023.
LinkToken
A one-time, expiring token that links an account to a person. Stores only the token’s hash, and is marked consumed rather than deleted. See ADR 0022.
AuditEntry
A write-once record of who did what, to what, and with what result. See ADR 0022.
Tombstone
A deletion marker. Hidden from consumer reads (get/list); replicated
by sync and pull through raw reads; physically removed only by
Store::purge. See ADR 0021.
Implementations§
Source§impl RecordKind
impl RecordKind
pub fn merge_class(self) -> MergeClass
Trait Implementations§
Source§impl Clone for RecordKind
impl Clone for RecordKind
Source§fn clone(&self) -> RecordKind
fn clone(&self) -> RecordKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more