Skip to content

Conformance test harness (RSpec) — KEYSTONE #13

Closed
3 of 4 issues completed
Closed

Description

@bradgessler

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.

Sub-issues

Sub-issues

3 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    v2
    P0
    on May 30, 2026
  2. bradgessler commented on Jun 14, 2026

    @bradgessler
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions