Skip to documentation
DMRealm / DevelopersHelp CenterOpen DMRealm ↗

Concepts

Entity model

Realm-scoped identity, section audiences and the planned reference lifecycle.

Internal only

External access unavailable. Examples are internal contracts or explicitly planned local simulations.

Realm, entity, identity

Realm is the tenant root; World is a child entity. The source model is models/realms.py:RealmEntity. Stable entity IDs survive renames and slug changes. Slugs use the existing Realm/type namespace. Names remain non-unique.

Visibility and sharing

Stored visibility values are public, private, dm_only, granted_users and private_draft. A raw visibility nickname does not determine whether a section is eligible for planned authoring. A private draft still has ordinary owner/admin oversight.

Sections and audiences

Planned

Planned initial writes permit the private baseline: the author plus inherent owner/admin oversight. Additional effective readers through publication, section audience or explicit grants make a section ineligible. A shared record can have a private section; evaluate the actual section and sharing effects.

Mentions and references

Planned

Planned structured unresolved mentions preserve label, type/context hints and one version-bound source occurrence. Plain typed text is not automatically such a node. Partial label-only Tiptap storage does not establish editor binding support.

Mentions create no placeholders or semantic relationships. Bind only selected occurrences. Derived backlinks and indexes are not a second editable source.

Proposals and approval

Planned

Every initial write requires DMRealm approval of the exact change and versions. Host chat confirmation is insufficient. Content, audience, grant, source version or duplicate-choice changes require a new validation and approval. Existing revision values are informational, not complete write preconditions.

Contract evidence and limitations

Inspected 2026-10-27: dmrealm-services/packages/common/dmrealm_common/agent_entities.py. Model: models/realms.py:RealmEntity. Synthetic fixtures; no real records.

Source SHA-256: f69d56787ed00673716e8de38020c1de687419cd97dc2d69dff08eac6e891df5

Accepted decisions: agent-entity-integration.md, Q1–Q11. Planned occurrence selectors and batches are conceptual. Local simulation tests cannot establish backend security or transaction guarantees.