Repository navigation
v0.19.0 — Slice 19: Pre-1.0 Hardening, 90.92% Coverage, Differential Fuzzing, SIGKILL WAL Soak & 3 Reference Services
Pre-release
Pre-release
Highlights (Pre-1.0 Hardening Release)
v0.19.0 battle-tests the entire v0.10.0–v0.18.0 stack end-to-end with zero breaking contract or schema changes (Engine Contract v17, Box Contract v19, 41 VM opcodes, 0 new Cargo dependencies, and 0 .config/architecture.toml budget increases):
- Core Architecture Slimming (
49,141 → 48,076 / 50,500,-1,065core token-lines reclaimed,2,424headroom) (#66): Behavior-preserving deduplication acrosstts-engine(-331),tts-prove(-296), andtts(-438), pullingdomain.rs(1,054),loop_inv.rs(1,081), andsim/manifest_spec.rs(943) comfortably below concentration caps with zero edits tocrates/tts-engine/src/runtime/(@tsmodel6/6lock hashes preserved). - Two Real Security & Concurrency Edge-Case Fixes (#66):
- Captured outbound
tls_gensynchronously at dispatch time sohttp[].retryacross aSIGHUPTLS reload never inserts a pre-reload TLS socket into the post-reloadkeepAlivepool. - Evaluated
listen[].allowCidrsimmediately at header completion (skip_body), returning403 {"error":"ip_denied"}beforemaxBodyBytes(413) and suppressing CORS headers on error responses to CIDR-denied peers while preserving TLS HSTS.
- Captured outbound
- Differential VM Fuzzing,
SIGKILLWAL Compaction Soak & Edge Chaos (#67):- Deterministic seeded sync + async CPS differential fuzzing vs Node
v24.20.0across--fuel=200/500/1000(13,341.8–14,720.5 ops/s,0divergences) plus Z3tts provesoundness checks. - Multi-cycle
SIGKILLcrash-recovery soak under--db+snapshotEvery: 5, compactEvery: 10(1.790 msp50 durable turn,7.846 msp50 post-SIGKILLrecovery,0lost200 OKwrites,wal verify --json+replayexact parity). - Malformed HTTP/1.1 wire chaos and outbound mTLS
keepAlive+retry+circuitBreaker+SIGHUPlive cert-rotation soak.
- Deterministic seeded sync + async CPS differential fuzzing vs Node
- Workspace Line Coverage Raised to
90.92%& CI Gate Raised85% → 90%(#67, #68):cargo llvm-cov --workspace --summary-only --fail-under-lines 90passes at90.92%lines (33,918 / 37,305),89.88%regions,89.29%functions. - Three Cross-Platform (
boxes: []) Production Reference Services (#68):examples/payments-webhook/— durable HMAC-SHA256 (prevEnv) Stripe-style webhook service with asynctry/catch/finally,Mapdedupe,pcitaint sanitization, outboundkeepAlive+retry+circuitBreaker, andlimits.compactEvery.examples/tenant-mcp-hub/— multi-tenant Streamable HTTP MCP2025-03-26hub routing to on-demandtenant:*poolswith proventenant_rawcrossing taint sanitization,bearer+prevEnv,allowCidrs, and per-IPrateLimit.examples/edge-tls-gateway/— symmetric mTLS gateway (listen[].tls.clientCa+http[].tls+ liveSIGHUProtation), HSTS, CORS, W3Ctraceparent+X-Request-Id, and/readyzgracefulSIGTERMdrain.
Verification Summary
cargo test --workspace&--doc: 285/285 PASS (0 warnings underrustfmt,clippy -D warnings,RUSTDOCFLAGS=-D warnings)cargo llvm-cov --workspace --summary-only --fail-under-lines 90: 90.92% lines / 89.88% regions / 89.29% functionscargo atlas policy&stages: 0 violations (48,076 / 50,500core token-lines,2,424headroom)- Formal proofs: Verus
141(0errors), Lean 40 sorryAx, Kani14/14,@tsmodel6/6 - External black-box conformance (
trusted-ts-checks@44cecc46548fad9232d9ec30f51ba373770a4461,slices/19/conformance.mjs):33/33PASS - Reproducible hardening benchmarks:
docs/benchmarks-v0.19.0.md