Skip to documentation
DMRealm / DevelopersHelp CenterOpen DMRealm ↗

Guides and examples

References and authoring

Unresolved text, selected binding and stable identity are separate responsibilities.

Planned

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

Resolved and unresolved

Canonical Tiptap documents own occurrences. Unresolved mentions preserve labels and context without placeholder entities. Creating a namesake in another request never binds earlier mentions. Neither mentions nor local keys imply semantic or structural relationships.

Bind, create-and-bind, replace, unbind

Planned actionIntent
BindSource edit + target read; bind one selected occurrence
Create-and-bindAlso validate creation permission and type; one combined approval
Replace / unbindExplicit authorized source edit, never automatic name retargeting
Unavailable referenceNeutral display without target label, ID or cause; retain identity internally

Exact-change approval

A rename preserves the selected stable target. A deleted or inaccessible target becomes an Unavailable reference and never rebinds by name. An authorized source editor may explicitly replace or unbind it through a fresh reviewed proposal.

Preserve structured formatting and untouched/unreadable content; do not flatten rich text or string-replace names. Update-not-found, denial, stale approval and transient errors never fall back to create. Canonical occurrence persistence, editor round-trips and transactional create/bind remain backend dependencies.

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.