KeiSeiKit-1.0/_primitives/_rust/frustration-matrix/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

26 lines
1.1 KiB
Rust

//! Library surface for `frustration-matrix`.
//!
//! Exposes the byte-level n-gram firmware (training + likelihood scoring),
//! the regex-category SSoT, and the JSONL chatlog parser for reuse by
//! sibling crates:
//! * `dna-store::axis_semantic` — consumes `firmware`
//! * `kei-frustration-loop` — consumes `firmware`, `firmware_corpus`,
//! `categories`, `jsonl` to drive the per-user online learning loop
//!
//! Kept deliberately narrow: only modules the binary AND external sibling
//! crates need to consume are public. Internal helpers (scan, report,
//! classifier, eval) stay private to the binary.
//!
//! The binary (`main.rs`) continues to compile independently with its own
//! `mod firmware;` declarations — library and binary share source files
//! via Cargo's dual-target rule, not via re-use from one to the other.
//!
//! Constructor Pattern: this cube is pure re-export. Any behaviour change
//! happens inside the individual `firmware*.rs` / `jsonl.rs` /
//! `categories.rs` cubes, not here.
pub mod categories;
pub mod firmware;
pub mod firmware_corpus;
pub mod firmware_ngram;
pub mod jsonl;