cairn-mod 1.5.2

Lightweight, Rust-native ATProto labeler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Label emission for the v1.5 graduated-action moderation model
//! (§F21).
//!
//! Submodules land incrementally:
//!
//! - [`policy`] — operator-configurable label-emission policy
//!   (`[label_emission]` config block, action-type → label
//!   mapping, reason-label prefix, severity overrides). Used by
//!   the emission core and the recorder integration. (#58)
//! - [`emission`] — pure functions translating an
//!   [`emission::ActionForEmission`] (purpose-specific projection
//!   of a `subject_actions` row) into [`emission::LabelDraft`]s
//!   the recorder signs and persists. (#59)

pub mod emission;
pub mod policy;