openmoat 0.27.0

Policy checks for AI coding agents: decides allow, defer, review or deny for each tool call the hook of Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI and seven more agents reports, configures Claude Code's, Codex's and Cursor's own OS sandboxes from the same policy, and keeps a local audit log.
//! Every approval channel this build knows: one folder each under
//! `remote/channels/`, and one row each in [`REGISTRY`]. Adding a channel
//! adds a folder and a row here, and changes nothing in the core
//! (`docs/APPROVALS.md`, "Adding a channel"; the CLI's
//! `tests/architecture.rs` holds it).

use super::channel::Registry;

mod telegram;

/// The channels, in the order `openmoat approvals connect --help` lists them.
pub const REGISTRY: Registry = Registry(&[&telegram::SPEC]);

#[cfg(test)]
mod tests {
    use super::REGISTRY;

    #[test]
    fn every_channel_meets_the_registry_rules() {
        REGISTRY.check().unwrap();
        assert!(!REGISTRY.0.is_empty());
    }
}