sigil-anomaly · crate
Source declarations, signatures and documentation for crate.
Source: sigil/node/sigil-anomaly/src/lib.rs. SHA-256: f799d4d9e119252ba5b177bfad616224d7ff4f1e0f6a9de372fbac0fedad185c.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
error
pub mod error;Source line: 48.
flag
pub mod flag;Source line: 49.
loader
pub mod loader;Source line: 50.
rule
pub mod rule;Source line: 51.
rules
pub mod rules;Source line: 52.
ruleset
pub mod ruleset;Source line: 53.
snapshot
pub mod snapshot;Source line: 54.
pub use error::{AnomalyError, Result};
pub use error::{AnomalyError, Result};Source line: 56.
pub use flag::{Flag, FlagSeverity};
pub use flag::{Flag, FlagSeverity};Source line: 57.
pub use loader::{build_rule, load_rule_set, RuleConfig, RuleConfigFile, RuleKind};
pub use loader::{build_rule, load_rule_set, RuleConfig, RuleConfigFile, RuleKind};Source line: 58.
pub use rule::{AnomalyRule, RuleId, RuleMetadata};
pub use rule::{AnomalyRule, RuleId, RuleMetadata};Source line: 59.
pub use ruleset::{RuleSet, RuleSetProvenance};
pub use ruleset::{RuleSet, RuleSetProvenance};Source line: 60.
pub use snapshot::SnapshotView;
pub use snapshot::SnapshotView;Source line: 61.
::SIGIL_ANOMALY_VERSION
Crate version identifier surfaced to the validator-agent runtime.
pub const SIGIL_ANOMALY_VERSION: &str;Source line: 64.
::ANOMALY_SCHEMA_VERSION
Schema version for serialized rule definitions and flag outputs.
Increment when wire-format-breaking changes are introduced. The validator-agent runtime checks this on startup and refuses to load rule sets emitted under a different schema version.
pub const ANOMALY_SCHEMA_VERSION: u32;Source line: 71.
sigil-anomaly
Off-chain L1 rule-based anomaly detection for Sigil. Pure-fn rules over (transaction, snapshot view). Code-enforced airgap from consensus path: this crate has zero deps on sigil-consensus, sigil-tower, sigil-execution, sigil-state, sigil-storage, sigil-network, or sigil-node. Results are flags only, never consensus inputs.
sigil-anomaly · error
Source declarations, signatures and documentation for error.