Concepts

ContextWorks documentation — Concepts.

OverviewThe ContextWorks model on one page: entities, versions, levels, elements, domains, delegation, security, and payloads.EntitiesWhat an entity is: a curated view of one Salesforce object, its parts, the default entity, shipped entities, and what it is not.VersionsHow draft and active versions work: activating, rolling back, what a version snapshots, and versions in observability.LevelsThe three payload depths — list, standard, detailed — their field caps, cumulative behavior, and how elements use levels.SemanticsWhat you tell the agent about a thing: what to call it, what it means, and what people call it.ElementsThe shared library of metrics, formulas, and enrichments: their common shape, reuse across entities, and choosing between them.DomainsWhat a domain is: a named set of entities, one per object, that routes tools; rosters, homes, misses, and deletion.Domain managementHow domain management works: homing entities in domains, admin and manager roles, guards, and enabling it.Domain accessWhich catalog a user gets is decided by Salesforce record sharing on the domain.SecurityHow payloads enforce the calling user's permissions: FLS, sharing, enrichment source handling, and debug logging caveats.Write accessWhat agents may change: the AND chain of org, domain, entity and field, and the separate question of whether a human must approve a write first.PayloadsThe two payload formats — markdown and JSON — what each is for, what stays the same in both, and where format is set.