Skip to main content

Module split_body

Module split_body 

Source
Expand description

Handler for the split-body CLI subcommand (v1.1.03, GAP-V8).

Splits memories whose body exceeds a character threshold into N child memories, reusing the lossless section-based chunker crate::chunking::split_body_by_sections. The original memory is NOT soft-deleted: its metadata is annotated with superseded_by_split so history and searchability are preserved. Each child memory gets a canonical replaces graph relationship pointing back to the original.

Structs§

SplitBodyArgs

Constants§

DEFAULT_SPLIT_THRESHOLD
Character threshold below which a memory is left untouched.

Functions§

run
Validates the parsed args and dispatches to single or batch mode.