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

23 lines
806 B
Rust

//! kei-hibernate — whole-brain export/import for KeiSeiKit state.
//!
//! Wave 14 primitive. Serialises an entire KeiSei installation
//! (sqlite stores + capabilities / roles / blocks / agents /
//! skills / hooks) into a single tar.zst bundle with a SHA-256
//! manifest, then restores it on another machine.
//!
//! Public surface kept deliberately small: `export`, `import`,
//! `inspect`. Each dispatches to a Constructor-Pattern cube.
pub mod error;
pub mod manifest;
pub mod collector;
pub mod sha;
pub mod exporter;
pub mod importer;
pub mod inspector;
pub use error::Error;
pub use exporter::{export, ExportMeta};
pub use importer::{import, ImportReport};
pub use inspector::{inspect, InspectReport};
pub use manifest::{HibernateManifest, ManifestEntry, MANIFEST_FILENAME, MANIFEST_VERSION};