-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Guide
github-actions[bot] edited this page Sep 12, 2026
·
1 revision
python -m pip install -e '.[dev]'
python -m ruff check src tests scripts
python -m ruff format --check src tests scripts
python -m pytest -p no:cacheprovider
python scripts/benchmark.py
python -m build
python -m twine check dist/*
python scripts/verify_release.py 'dist/*'For the Rust interoperability crate:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
RUSTDOCFLAGS='-D warnings' cargo doc --no-deps
cargo publish --dry-runA change should preserve:
- fail-open behavior;
- immutable caller-owned requests;
- exact evidence recovery for accepted recoverable transformations;
- strict complete-payload reduction;
- exact-tokenizer veto when configured;
- bounded receipts, search results, and artifact pages;
- separation between host transcript/memory ownership and Token Terminator's private optimization state.
Do not add PyO3/Rust hot-path complexity without profiling. Request deep-copy, serialization, tokenizer measurement, SQLite, and RTK subprocess costs should be measured separately before choosing an optimization target.
When fixing a correctness bug, add a test that reproduces the old failure mode. v0.5.1 follows this pattern for configuration invariants, Unicode search, cwd cache identity, async temporal parity, Windows URI handling, vault retention, and measurement semantics.
Token Terminator v0.5.1 · Repository · Releases · crates.io · MIT
Documentation is source-controlled from the repository wiki/ directory.
Token Terminator
Core mechanics
- Vault & Exact Recovery
- Temporal Delta Compression
- Request Compiler & Context Compaction
- Async & Adapter Integration
Operations
Development