Thanks for your interest. This is a small, standalone Rust binary — a Busbar hook that compresses chat history with headroom-core.
- Be respectful and constructive (see CODE_OF_CONDUCT.md).
- By contributing, you agree your contributions are licensed under the project's Apache-2.0 license.
cargo build --release # the shipped binary
cargo test # unit + wire tests
cargo clippy --all-targets -- -D warnings # lints must be clean
cargo fmt --all # format before committingThe core (src/compress.rs, src/main.rs) stays lean; tests live in
src/tests/. Keep it that way — a hook is read by the people deciding whether
to trust it on their request path.
cargo fmt --all— rustfmt-clean.cargo clippy --all-targets -- -D warnings— no warnings.cargo test— green.- If you touch the wire behavior, add or update a test in
src/tests/that pins it.