Expand description
§Recursive Language Model (RLM)
Core types, oracle, chunker, event definitions, and the routing subsystem for Recursive Language Model processing.
Driver modules (repl, tools) remain in codetether-agent
due to tight coupling with Provider/SessionBus. The router is
provided here behind the RouterHost trait so the host can
inject its concrete tool-dispatch implementation.
Re-exports§
pub use chunker::Chunk;pub use chunker::ChunkOptions;pub use chunker::ContentType;pub use chunker::RlmChunker;pub use config::RlmConfig;pub use context_index::ContextIndex;pub use context_index::EvidenceKind;pub use context_index::EvidenceRecord;pub use context_index::PlanIntent;pub use context_index::RetrievalPlan;pub use events::RlmCompletion;pub use events::RlmOutcome;pub use events::RlmProgressEvent;pub use events::RlmSubcallFallback;pub use events::S3Config;pub use model_select::RLM_MODEL_ENV;pub use model_select::RlmModelChoice;pub use model_select::RlmModelPurpose;pub use model_select::RlmModelSource;pub use model_select::select_rlm_model;pub use model_select::select_rlm_model_with_env;pub use oracle::AstPayload;pub use oracle::AstResult;pub use oracle::FinalPayload;pub use oracle::GeneratedQuery;pub use oracle::GrepMatch;pub use oracle::GrepOracle;pub use oracle::GrepPayload;pub use oracle::GrepVerification;pub use oracle::OracleResult;pub use oracle::OracleTracePersistResult;pub use oracle::OracleTraceRecord;pub use oracle::OracleTraceStorage;pub use oracle::OracleTraceSyncStats;pub use oracle::QueryTemplate;pub use oracle::SemanticPayload;pub use oracle::TemplateKind;pub use oracle::TraceStep;pub use oracle::TraceValidator;pub use oracle::TreeSitterOracle;pub use oracle::TreeSitterVerification;pub use oracle::ValidatedTrace;pub use oracle::VerificationMethod;pub use result::RlmResult;pub use router::CrateAutoProcessContext;pub use router::HostToolResult;pub use router::IntoCrateCtx;pub use router::ProcessProgress;pub use router::RouterHost;pub use router::RoutingContext;pub use router::RoutingResult;pub use router::auto_process;pub use router::extract_final;pub use router::fallback_result;pub use router::should_route;pub use router::smart_truncate;pub use stats::RlmStats;pub use types::RlmAnalysisResult;pub use types::SubQuery;
Modules§
- capability
- Per-tool output capability classification (issue #231 item 6).
- chunker
- Semantic chunking for large contexts.
- config
- RLM configuration type and defaults.
- context_
index - Persistent, symbol-aware context indexing for RLM evidence.
- context_
trace - Context tracing for RLM iterations.
- engine
- Evidence-first RLM engine.
- events
- Event types and bus trait for RLM processing.
- model_
select - RLM model selection policy.
- oracle
- Deterministic oracle system for validating RLM REPL trace outputs.
- result
- RLM processing result type.
- router
- RLM Router — decides when and how to route content through RLM.
- stats
- RLM processing statistics.
- traits
- Trait abstractions for host-crate dependencies.
- types
- Core RLM types shared across oracle, repl, and router.