Skip to content
中文

Branches & versioning ​

Kit · Optional business libraries · Back to layer index

SymbolKindPurpose
AgentFamilyinterfaceCompiled family API. Every mutation returns the record after the write.
defineAgentFamilyfunctionCompile a versioned family backed by an App-owned compare-and-swap store. Every mutation reads the record, verifies the caller's expected revision, then commits with a compare-and-swap, so concurrent writers fail with a revision conflict rather than overwriting each other. Reads are also treated as policy checks because the App binds its read rules into the store it supplies.
Familyconstant
FamilyDefinitioninterfaceApp-owned hooks and limits for one family.
FamilyOperationtypeOne of the four family mutations.
familyOperationsconstant
FamilyRecordinterfaceA whole family: its versions and which version is currently active.
FamilyStoreinterfaceCAS must cover every writer and the active pointer in one real storage commit.
FamilyVersioninterfaceImmutable snapshot of App state at one point on a branch.

API reference, usage examples and developer guides.