Repository navigation
v0.23.0 — Slice 23: Architecture Slimming, tts-kernel::crypto, Kani 18/18 & v0.22.0 Red-Team Hardening
Pre-release
Pre-release
Pre-1.0 Pre-Release — Slice 23: Architecture Slimming, tts-kernel::crypto, Kani 18/18 & v0.22.0 Differential/Red-Team Hardening
trusted-ts v0.23.0 is a pure hardening, formal-verification, and architecture-slimming release preserving Engine Contract v19 and Box Contract v22 unchanged (41 VM opcodes, 0 new Cargo dependencies, 0 .config/architecture.toml cap edits, 0 crates/tts-engine/src/runtime/ edits).
Highlights & Merged PRs
- Workspace-wide Architecture Slimming (
#82,#83):- Reclaimed
-2,355core token-lines (50,086 → 47,731 / 50,500,2,769headroom):tts-engine18,584 / 19,500(-902),tts-prove8,839 / 9,500(-466),tts-kernel+tts-987net even after addingcrypto.rsand 3 new Kani harnesses.
- Reclaimed
- Shared Zero-Dependency
tts_kernel::crypto(#83):- Lifted pure-Rust
sha256_pair,sha256_hex,hmac_sha256,ct_eq,encode_base64,decode_base64_strict,decode_hex_32, anddecode_base64_32intocrates/tts-kernel/src/crypto.rs(#[cfg(not(verus_keep_ghost))]), deduplicatingsrc/bin/tts-box/{listen/auth.rs, listen/http_resp.rs, pkg/install.rs}.
- Lifted pure-Rust
- Kani Formal Verification
15/15 → 18/18(#83):- Added
kani_regex_nfa_compile_bounded_and_valid,kani_crypto_sha256_hmac_ct_eq_properties, andkani_base64_strict_roundtrip, verifying18/18harnesses with zero failures.
- Added
v0.22.0Differential Fuzzing, Red-Team Suite & Doc Sync (#84):- Added
tests/slice23_v022_fuzz_and_redteam.rs(5/5passing in1.19s): 180 seeded differentialRegExp& URI/Base64 turns vscontract/node-driver.mjs, 5 exponential ReDoS patterns up toN = 120, adversarial binary HTTP (parse: "base64",bodyBase64, non-canonical padding, conflicts, CRLFSet-Cookieinjection,413), 10<source>/app/**traversal/symlink/dotfile/node_modules/limit refusals + post-install.stamptamper checks, and NIST/RFC crypto vectors. - Published
docs/benchmarks-v0.23.0.mdand alignedCLAUDE.md,README.md,SECURITY.md,docs/security-model.md, anddocs/hands-on-testing.md.
- Added
Verification Scorecard (c0c34919)
- External Conformance (
trusted-ts-checks@667a5622,slices/22/conformance.mjs):42 / 42PASS - Workspace Line Coverage (
cargo llvm-cov):91.98%lines (91.59%functions,89.40%regions; gate>= 90%) - Architecture & Structural Lint:
cargo atlas policy&stages0violations (47,731 / 50,500,2,769headroom);deslop-please --allow .deslop-please.allowok - Formal Verification: Verus
143verified (0errors) · Lean 40 sorryAx· Kani18 / 18harnesses ·@tsmodel6 / 6specs (0stale anchors)