KeiSeiKit-1.0/_primitives/_rust/kei-conflict-scan/src/lib.rs
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
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.
2026-05-01 12:09:03 +08:00

16 lines
589 B
Rust

//! kei-conflict-scan — library surface.
//!
//! Detects inconsistencies inside a `~/.claude`-style root:
//! - rule conflicts (contradictory directives in `rules/*.md`)
//! - hook overlap (two hooks on same matcher)
//! - block duplication (>70% text overlap in `_blocks/*.md`)
//! - orphan refs (wikilinks / handoffs to non-existent files)
//! - Constructor-Pattern violations (file >200 LOC / fn >30 LOC)
//!
//! Produces a JSON array consumable by `kei-refactor-engine`.
pub mod conflict;
pub mod scanners;
pub mod tree;
pub use conflict::{Category, Conflict, Severity};