/test-vectors · conformance · index

Conformance test vectors.

Deterministic JSON files any library author can fetch + run against their implementation. Versioned + frozen per spec revision so legislation referencing a vector set has a stable target. Each vector is reproducible: given the same inputs, every conformant implementation must produce the same outputs byte-for-byte.

RFC-004 v1 · sociedad-IA operational-log

Spec: /rfcs/004 · Status: draft · Published: 2026-05-11 · Vectors: 7

Download

/test-vectors/rfc-004-v1.json

Application/json · CC-BY-4.0 · frozen at v1 publication

Conformance vectors for RFC-004 v1 (draft). A library claiming RFC-004 v1 conformance MUST produce these exact outputs given these exact inputs and the shared secret below. The HMAC values are hex-encoded SHA-256 outputs prefixed with 'sha256:'. Vectors are deterministic + reproducible, re-run the reference impl against this file and every assertion holds. License: CC-BY-4.0.

Vectors index

Reference implementation

The TypeScript reference impl + its conformance proof live in the same repo:

How to claim conformance

  1. Fetch the JSON file: curl -sL https://ar-agents.ar/test-vectors/rfc-004-v1.json
  2. Run every vector through your library. Compare expectedCanonical + expectedHmac byte-for-byte.
  3. All 7 vectors must match exactly. mustDifferFrom + mustEqual cross-checks must also hold.
  4. Open a PR to github.com/ar-agents/ar-agents adding your library to the conformance registry with a link to your passing test suite.

Conformance registry

LibraryLanguageVersionRFC-004 v1
apps/landing/src/lib/auditTypeScript(reference)✓ passing (7/7)
(your library here)--open a PR

RFC-005 v1 · Ed25519 asymmetric extension

Spec: /rfcs/005 · Status: draft · Published: 2026-05-11 · Vectors: 3

Download

/test-vectors/rfc-005-v1.json

Application/json · CC-BY-4.0 · includes a demo Ed25519 keypair (DO NOT use in prod)

3 deterministic vectors with base64url-exact Ed25519 signatures. Cross-validated against Node's native crypto.sign(null, msg, privateKey). Conformance proof at apps/landing/test/rfc-005-vectors.test.ts (7 vitest tests, all passing).

The same keypair is published in production at /.well-known/sociedad-ia/keys (public key only). RFC-005 § 4 specifies the publication format.

Versioning policy