New 'fork' subcommand copies capability dir + rewrites capability.toml with [lineage].fork_from + parents + creator + created. Refuses clobber, validates slug regex. Tests: 4 integration + 2 unit (epoch_to_iso, split_cap_name) = 6/6. Doc update in AGENT-SUBSTRATE-SCHEMA.md §Orchestrator ergonomics. Zero-chrono ISO-8601 via Hinnant's algorithm (single-file). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
241 B
Rust
6 lines
241 B
Rust
//! kei-capability library surface — exposes `fork` for integration tests.
|
|
//!
|
|
//! The binary (`src/main.rs`) owns Check/Verify dispatch; the library
|
|
//! re-exports the pure copy+rewrite logic used by `kei-capability fork`.
|
|
|
|
pub mod fork;
|