Single-commit clean baseline after security scrub of niche-tells, project codenames, internal jargon, and contributor-email leaks. Contents: - 100 Rust crates (_primitives/_rust/) - 37 agent manifests (_manifests/) + generated specs (_generated/) - 67 user-invocable skills (skills/) - 33 hooks (hooks/) - Composition blocks (_blocks/) - Documentation (docs/, README.md) - TS adapter packages (_ts_packages/) - Assembler (_assembler/) - Roles (_roles/) - Templates (_templates/) - Forgejo CI (.forgejo/) Author: Denis Parfionovich <info@greendragon.info> License: see LICENSE.
21 lines
731 B
Rust
21 lines
731 B
Rust
// SPDX-License-Identifier: Apache-2.0
|
|
// Copyright 2026 <author org>
|
|
//
|
|
//! kei-notify-slack — Slack incoming-webhook impl of
|
|
//! [`kei_runtime_core::NotifyChannel`].
|
|
//!
|
|
//! Layout (Constructor Pattern, ≤200 LOC per file):
|
|
//! - [`error`]: local `Error`/`Result` mapped into runtime-core error.
|
|
//! - [`payload`]: pure `build_payload` function (severity → attachment colour).
|
|
//! - [`channel`]: [`SlackChannel`] — DNA-bearing trait impl.
|
|
//!
|
|
//! Auth: webhook URL read from env `SLACK_WEBHOOK_URL`. URL is overridable
|
|
//! via [`SlackChannel::with_url`] for `wiremock` tests.
|
|
|
|
pub mod channel;
|
|
pub mod error;
|
|
pub mod payload;
|
|
|
|
pub use channel::SlackChannel;
|
|
pub use error::{Error, Result};
|
|
pub use payload::build_payload;
|