truncate() sliced source.chunk (arbitrary UTF-8 from the source SQLite database) at a raw byte offset. A multi-byte character straddling byte 40 panics with "byte index 40 is not a char boundary" instead of producing the mismatch diagnostic the code exists to report — and this is the default validate_hdf5 path, not test-only. Cut on the nearest char boundary at or before 40 instead. INT-10
clawhdf5-migrate
CLI tool to migrate SQLite agent memory databases to HDF5 format.
Converts existing SQLite-based agent memory stores (embeddings, text chunks, metadata) into the HDF5 format used by clawhdf5-agent.
Installation
cargo install clawhdf5-migrate
Usage
clawhdf5-migrate --input agent.db --output agent.h5
License
MIT