分支与版本管理
Kit · 可选业务库 · 返回本层目录
| 符号 | 类别 | 用途 |
|---|---|---|
AgentFamily | interface | Compiled family API. Every mutation returns the record after the write. |
defineAgentFamily | function | Compile 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. |
Family | constant | |
FamilyDefinition | interface | App-owned hooks and limits for one family. |
FamilyOperation | type | One of the four family mutations. |
familyOperations | constant | |
FamilyRecord | interface | A whole family: its versions and which version is currently active. |
FamilyStore | interface | CAS must cover every writer and the active pointer in one real storage commit. |
FamilyVersion | interface | Immutable snapshot of App state at one point on a branch. |