Skip to main content

Crate agent_doc_element

Crate agent_doc_element 

Source
Expand description

Pure element descriptors for agent-doc document components.

Element crates describe component semantics only: marker names, aliases, ownership, realtime policy, and scheduling role. They do not read or write files, schedule turns, open IPC, invoke tmux, mutate snapshots, or load plugins. Runtime crates consume these descriptors.

Architecture: every supported element may own a small pure realtime model for its local state and reconciliation rules. The document model composes those element models and owns cross-element invariants such as backlog to queue projection, active-head marker placement, and signals that observe queue/turn/supervisor state.

Re-exports§

pub use element::Component;

Modules§

element
Module: element
id
Boundary ID helpers for agent:boundary markers.

Structs§

ElementDescriptor
Built-in descriptor shape. Plugin loaders can convert this to an owned descriptor later without changing element crate semantics.
ElementRegistration
Owned descriptor shape suitable for future plugin registration.

Enums§

ElementAuthority
Who owns conflict authority for this element.
ElementCompositionRole
Whether this element participates in document-level composition.
ElementRealtimeModel
Local realtime model owned by an element crate.
ElementSchedulingRole
Scheduling relationship with the realtime queue.
ElementShape
Marker shape used by the document.
ElementSource
Where an element descriptor comes from.
ElementWritePolicy
How writes to this element are allowed to happen.

Traits§

ElementPlugin
Future plugin boundary: loaders register descriptors, while element crates remain pure and effect-free.