Expand description
areev-context — LLM-ready context assembly.
Context module: takes recall results (SearchHits)
and renders budget-aware, provider-optimal context strings — SML for
Claude, Markdown for GPT-class, TOON/JSON for machine consumers — with
progressive disclosure (Full/Summary/Omit) and grain-type sections.
Docs frame this as infrastructure for context engineering (§1 stance).
Re-exports§
pub use assembly::ContextAssembler;pub use assembly::FormattedContext;pub use assembly::RenderingHints;pub use budget::Allocation;pub use policy::FormatPolicy;pub use policy::GrainTypeOverride;pub use policy::MetadataLevel;pub use policy::Ordering;pub use policy::OutputFormat;pub use policy::SectionConfig;
Modules§
- assembly
- Context assembly — orchestrates rendering, budget allocation, ordering, and sections.
- budget
- Token budget allocation.
- policy
- Format policy types for context rendering.
- presets
- Pre-built
FormatPolicyconfigurations for common LLM targets. - render
- Grain renderers for context formatting — a thin delegation layer.