TokenZero is a public runtime for recovery-aware context compression.
Contributions should stay inside the public product surface:
- Runtime code in
crates/. - Rust tests next to the owning crate.
- Public docs in
README.mdanddocs/. - Packaging metadata under
package/andpackaging/.
Do not submit secrets, machine-local state, generated caches, unpublished planning notes, model checkpoints, or personal filesystem paths.
Do not add research dumps, audit trees, or planning RFCs to the public tree. Local-only attic (Pareto/, beads_compliance_audit/, ubs_audit/) is gitignored.
Use Cargo for public runtime work.
cargo fmt --all -- --check
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warningsBefore a release branch is pushed, also run:
make release-checkFor staged-only pre-commit checks:
git diff --check --cachedUse conventional commits, for example fix: preserve exact refs across restart.