You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol test harness. Built before the client or any server. Protocol-level TDD.
Language-neutral golden vector corpus (msgpack/JSON/YAML data, not code).
RSpec black-box peer + interop orchestrator (I/O-bound; Ruby is fine and Brad's wheelhouse).
Each impl gets a thin (~100-line) native runner to drive its own sans-IO core against the corpus.
Two-tier (SQLite/TH3): spec + "starter" corpus OPEN so polyglot/community impls can self-test; exhaustive adversarial/fuzz/security harness CLOSED (the moat).
Build internal + fast now, but accurate/precise: determinism (seeded IDs, no wall-clock, no sleep-based sync) is how we get fast AND no-flake.
Rule: no protocol feature lands without a conformance vector.
Prior art to mine: Autobahn TestSuite, h2spec, gRPC interop, JSON Schema Test Suite.
Shipped (keystone): integration/conformance in terminalwire/protocol — the real Go client driven against every server (make conformance), plus the language-neutral corpus + make test matrix gated in CI.
Activity
v2: protocol-surface coverage mapper + close the gaps it found
v2: credit-based flow control for output (+ exhaustive tests)
v2: test flow control as a protocol rule, not an implementation
v2: protocol spec + conformance corpus + Ruby sans-IO core (harness-f…
v2: Go sans-IO protocol core + fix Ruby base64/Go version
v2: Ruby server runtime/context/Thor/Handler + golden vectors + green…
v2: protocol-surface coverage mapper + close the gaps it found
v2: credit-based flow control for output (+ exhaustive tests)
v2: test flow control as a protocol rule, not an implementation
bradgessler commentedon Jun 14, 2026
Shipped (keystone): integration/conformance in terminalwire/protocol — the real Go client driven against every server (
make conformance), plus the language-neutral corpus +make testmatrix gated in CI.