API Reference relay_mark_elixir v#0.6.6

Copy Markdown View Source

Modules

Elixir adapter for RelayMark AST and manifest JSON.

Portable validation for one transported Agent Answer document and manifest.

Authored-only canonical AgentSuggestion atom; proposal review and actions belong to hosts.

RelayMark annotation struct.

RelayMark block struct and helpers.

Deterministic JSON bytes shared by portable projections and host digest contracts.

A conservative Markdown projection of collaborative XML trees.

Generic portable values for already-authorized linear paper composition.

A stable block anchor.

One portable block contributed by a semantic layer.

An already-authorized contribution channel with a portable semantic role.

Deterministic placement and safe missing-anchor behavior.

Maintained ProseMirror/Yjs execution and ephemeral command proof over the canonical editor schema.

The single canonical editor and sync compatibility contract.

A portable RelayMark validation diagnostic.

RelayMark document AST struct.

Finite editor mappings read from the canonical directive specifications.

Deterministic stable-once identity allocation for canonical source and finite migration.

Finite historical AST conversion, never a live editing/admission alternative.

Authored static HTML from the strict portable XML contract. Hosts resolve authorized widgets.

One canonical source importer. CommonMark and authored directives become the strict rich AST; relaymark-ast fences are the exact identity/metadata-bearing interchange syntax. Readable Markdown is a derived projection, never a second writable body. A retry uses the same import namespace or retained parsed AST.

Canonical rich AST interchange with portable Yjs XML snapshots. Community Yjs/Yex/Yrs owns transactions and binary encodings. The host installs children in default and optional authored metadata in the relaymark map. This module never changes a live document or authorizes domain actions.

Strict authored source parser for the canonical EntityRef atom.

Finite saved publication input, never an editor, publishing or respondent owner.

RelayMark inline node struct.

Canonical inline reference source escaping. Resolution remains host-owned.

Portable inert authored navigation; hosts authorize internal destinations.

RelayMark projection manifest struct.

Reviewable action projection.

Registry-owned renderer capability requirement and fallback.

Evidence-backed research claim projection.

Structured research comparison projection.

Portable host-read-model binding projection.

Portable entity-reference projection without resolved entity fields.

Form question projection.

Portable layout-hint projection.

Mention projection.

Portable schema-binding projection. Values remain host-owned.

Inline Relay reference projection.

Source projection.

Bounded authored Paper control contract; host interactions stay outside the AST.

RelayMark resource struct.

Lossless chapter-or-section Scripture coordinate.

Typed Scripture evidence projected from a manifest source.

License and attribution identity for a portable Scripture release.

Content-addressed provenance for a portable Scripture release.

Typed relaymark.scripture_release resource properties.

Immutable source identity for a portable Scripture release.

Typed relaymark.scripture_span selector.

Raised when RelayMark.validate_document!/1 receives an invalid document.