Skip to main content

Module source

Module source 

Source
Expand description

Source trait + Contribution + ContributionContent + SourceError.

Implements plan §5. A Source is the unit of pluggability: every per-turn input — memory, perception, history, tools, the user message — implements the same trait, returns the same Contribution shape, and is composed by crate::builder::BriefBuilder (Phase 2). The crate has zero opinions about what sources you wire in.

Structs§

Contribution
One item produced by Source::contribute.

Enums§

ContributionContent
What a Source can contribute to a crate::types::Brief.
SourceError
Error returned by Source::contribute.

Traits§

Source
A pluggable contributor to the per-turn crate::types::Brief.