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.
15 lines
625 B
Rust
15 lines
625 B
Rust
//! kei-leak-matrix — single source of truth for content protection patterns.
|
|
//!
|
|
//! See `security/leak-matrix.toml` for the SSoT data file. This crate
|
|
//! parses it once, compiles every regex upfront, and exposes scan +
|
|
//! substitute helpers used by hooks (no-github-push, sync-public.sh,
|
|
//! secrets-guard, genesis-leak-guard) and by ad-hoc CLI use.
|
|
|
|
pub mod cli;
|
|
pub mod matrix;
|
|
pub mod scanner;
|
|
pub mod substituter;
|
|
|
|
pub use matrix::{default_matrix_path, Category, Matrix, Rule, Scope, Severity};
|
|
pub use scanner::{emit_json, exit_code, scan_file, scan_string, scan_tree, Violation};
|
|
pub use substituter::substitute;
|