lietzsche;stokes

updated 2026-11-26·3 min read

License, Package Scope & Conformance

MIT license terms, Stokes package layout across CLI/AST/MCP modules, static verification guarantees, and conformance attestation scope.

Stokes is MIT-licensed by Yuliet Li (yvliet) and installs via curl -fsSL https://trystokes.pages.dev/install.sh | sh alongside standalone source builds on github.com/yvliet/stokes.

Package & Module Scope

The repository splits the static AST engine, parallel subagent workers, stress harness, MCP server, and reference Cloudflame testbed into separate modules:

Module PathResponsibilityKey Artifacts
stokes/cli/CLI entrypoint, VT-100 terminal renderer, and CI gate commandsverify, check, cert, scan, audit, remediate, codegen, diff, graph, init, stage-check, bench, mcp
stokes/subagents/Tree-sitter .scm AST engine, BIR normalization, and 5 parallel language workersstokes-sql, stokes-proto, stokes-python, stokes-rust, stokes-verify, reachability_graph.py, actor_base.py
stokes/harness/Property fuzzing, micro-benchmark regression checks, and BGP simulation10,000-case IEEE-754 float battery, Criterion JSON parser, RFC-2439 route flap simulator
stokes/mcp/Native JSON-RPC 2.0 stdio server for IDE coding agents5 MCP tools (stokes_audit, stokes_boundary_graph, stokes_remediate, stokes_inspect_channel, stokes_verify_patch), 3 stokes://* resources (stokes://contracts, stokes://graph, stokes://lockfile), 2 prompts
stokes/tests/Automated unit and integration test suiteCLI, AST digest normalization, and contract invariant tests
cloudflame/Reference three-tier benchmark testbedClickHouse DDL, Python ETL pipeline, and Rust L7 proxy modeling the Nov 18, 2025 incident

Conformance & Verification Guarantees

Every certified workspace holds four guarantees:

  • Zero production runtime injection: Verification runs in pre-commit and CI as a static AST/regex pass. No Stokes probes, sidecars, or wrapper allocators end up in compiled proxy binaries (0 ns hot-path overhead).
  • Normalized semantic AST locking: stokes.lock hashes canonical boundary declarations (columns, types, fixed buffer capacities) and ignores comments and formatting changes.
  • Readable PR attestations: stokes cert writes CONFORMANCE.md alongside stokes.lock so reviewers see exact capacity margins, Criterion timings, and property fuzz coverage on the pull request.
  • Fail-closed strict gating: stokes verify --lockfile=stokes.lock --strict exits non-zero whenever emitted columns exceed downstream buffer capacity, unscoped catalog reflections show up, or lockfile digests drift.
MIT License Text
MIT License

Copyright (c) 2026 Yuliet Li (yvliet)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

See CLI Reference, MCP Protocol Specification, and Cryptographic Conformance & Audit Receipts for command and schema details.

Search wiki and portfolio

type to search across all entries.