1pub mod analyzer;
26pub mod analyzers;
27pub mod cal;
28pub mod config;
29pub mod engine;
30pub mod error;
31pub mod external;
32pub mod llm;
33pub mod manifest;
34pub mod model;
35pub mod policy;
36pub mod recommendation;
37pub mod reference;
38pub mod substrate;
39
40#[cfg(test)]
41mod integration;
42#[cfg(test)]
43mod testkit;
44
45pub use analyzer::{builtin_analyzers, AnalyzeCtx, Analyzer, OutcomeInput};
46pub use engine::{
47 Decision, Engine, Health, LlmMetrics, RunOptions, RunOutcome, RunResult, Scope, ScopeSet,
48 SkipReason, LOOP_NS,
49};
50pub use config::{AnalyzerConfig, AnalyzerConfigUpdate, AnalyzerSetting};
51pub use error::{Error, Result};
52pub use external::CommandAnalyzer;
53pub use llm::{CommandLlm, LlmBackend};
54pub use manifest::{
55 analyzer_family, AnalyzerManifest, AutoApplyClass, CadenceClass, Capability, ParamSpec, Params,
56 TargetClass, Tier, TrustClass,
57};
58pub use model::{ActionKind, GrainRecord, Origin, Severity, TargetRef};
59pub use policy::{AutoApplyGrant, Policy, TelemetryMode};
60pub use recommendation::{
61 dedup_key, validate_code_rules, AuditRecord, GatingEvidence, MetricSnapshot, ObserverType,
62 OutcomeResult, Proposal, RecDraft, RecStatus, Recommendation, Summary,
63};
64pub use reference::ReferenceSubstrate;
65pub use substrate::{
66 BudgetUsage, Capabilities, GrainAccess, GrainSpec, HeadGroup, OmsSubstrate, QueryUsage,
67 ReadOpts, SubstrateRead, TelemetryView,
68};