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§
Structs§
- Element
Descriptor - Built-in descriptor shape. Plugin loaders can convert this to an owned descriptor later without changing element crate semantics.
- Element
Registration - Owned descriptor shape suitable for future plugin registration.
Enums§
- Element
Authority - Who owns conflict authority for this element.
- Element
Composition Role - Whether this element participates in document-level composition.
- Element
Realtime Model - Local realtime model owned by an element crate.
- Element
Scheduling Role - Scheduling relationship with the realtime queue.
- Element
Shape - Marker shape used by the document.
- Element
Source - Where an element descriptor comes from.
- Element
Write Policy - How writes to this element are allowed to happen.
Traits§
- Element
Plugin - Future plugin boundary: loaders register descriptors, while element crates remain pure and effect-free.