KeiSeiKit-1.0/_primitives/_rust/kei-shared/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

12 lines
455 B
Rust

//! kei-shared — shared substrate types.
//!
//! Single source of truth for the agent DNA wire format. Consumers
//! (kei-agent-runtime, kei-dna-index) import from here so a format
//! change is a one-file edit, not a two-crate refactor.
//!
//! Constructor Pattern: one file = one responsibility. `dna.rs` owns the
//! parse/compose/validate primitives, nothing else.
pub mod dna;
pub use dna::{compose_dna, is_hex8, parse_dna, DnaError, ParsedDna};