sub-second ci gate
verifies cross-language contracts across SQL migrations, Python pipelines, and Rust services before code review.
benchmarks
hardware-level verification benchmarks comparing static ast cross-boundary analysis against slow containerized integration suites.
hardware guarantees
in edge network proxies processing millions of packets per second, invoking malloc or free on the packet path introduces non-deterministic kernel context switches and memory fragmentation. stokes enforces algorithms that operate strictly in-place on fixed stack buffers.
struct FeatureDescriptor is 8 bytes (repr(C, align(8))). 200 descriptors = 1,600 bytes = exactly 25 contiguous cache lines, consuming only 4.8% of 32 KB L1D cache without pointer indirection.
stokes verifies that the downstream proxy implements explicit Result<[Feature; 200], PayloadError> bounds checking, rejecting oversized payloads gracefully without worker thread panics.
proptest sweeps 10,000 randomized permutations in 1.42s with zero panics across empty sets, descending order, and adversarial duplicate keys.
stokes.lock hashes canonical AST schema signatures, eliminating false positives caused by code formatting or comment updates while strictly catching schema drift.
cross_boundary_ast_scan/50k_loc_workspace
time: [37.82 ms 38.12 ms 38.45 ms]
nodes: 124,210 AST nodes / sec
mean: 38.10 ms, std dev: 0.28 ms
runtime overhead profile:
production_proxy_latency: 0.00 ns (zero runtime wrapper)
heap_allocations: 0 bytes
l1d_cache_residency: 100.0%
property verification suite:
proptest::test_feature_bounds:
runs: 10,000 / 10,000 passed (1.42s)
shrunk_counterexamples: 0
panics_encountered: 0verifies cross-language contracts across SQL migrations, Python pipelines, and Rust services before code review.
operates 100% at compile- and CI-time, adding zero proxy wrappers, zero runtime latency, and zero memory overhead.
sweeps 10,000 randomized permutations with adversarial duplicate keys, descending ranks, and empty sets to empirically verify invariant safety.
benchmark faq
details on measurement methodology, criterion harnesses, and cache-line residency.
install stokes to run autonomous cross-compiler verification across ClickHouse, Python, and Rust in your pre-commit hooks and ci pipelines.