KeiSeiKit-1.0/_primitives/_rust/kei-decompose/src/lib.rs
Parfii-bot a4e667de10 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

34 lines
1.4 KiB
Rust

//! kei-decompose — UNIVERSAL decomposition layer.
//!
//! Supersedes the format-specific kei-decision (Wave 51) by treating it as
//! one adapter among many. Closes Wave 50 META-finding: kit has 6+ MD-output
//! formats (research / wave-audit / sleep / architecture / new-project /
//! compose-solution), but only `research` had a path to action via
//! kei-decision. kei-decompose unifies the decomposition layer.
//!
//! Pipeline:
//! ANY MD output → detect → parser_registry → Action[]
//! ↓
//! emit
//! ↓
//! task.toml[] for kei-spawn
//! ↓
//! dispatch
//! ↓
//! kei-spawn (fork + ledger)
//!
//! Constructor Pattern: each module owns one responsibility, ≤ 200 LOC,
//! ≤ 30 LOC per fn. No async, no network, no md crate (regex-only).
pub mod cli;
pub mod dispatcher;
pub mod emitter;
pub mod normalizer;
pub mod parsers;
pub mod rules_cmd;
pub mod rules_paths;
pub mod rules_rebuild;
pub mod rules_walker;
pub use normalizer::{Action, Severity};
pub use parsers::{registry, FormatParser};