QWED

Type to search pages, engines and advisories.

    Looking for API details?Search the docs

    Specs

    One protocol, so anyone can implement it

    The documents that define what a QWED verification is, so every engine, SDK, command line tool and client speaks one protocol, and anyone can implement it.

    4 specificationsAll drafts, open for feedback

    The Verification Context defines the record and its words. The other specifications build on it.

    Inside a Verification Context

    A real VERIFIED document from the specification’s conformance tests. Change a field and the page recomputes its proof_ref the way the spec defines it: SHA-256 over the canonical JSON of the statement and its context.

    {
      "spec_version": "1.0",
      "object": {
        "formal_statement": "x**2 - 4 = 0",
        "formalization": {
          "source_query": "Is x squared minus four zero?",
          "translator": "qwed-translator",
          "translation_confidence": 0.9,
          "verified": false
        }
      },
      "context": {
        "interpretation": {
          "theory": "real-closed fields",
          "logic": "first-order"
        },
        "proof": {
          "verifier": "SymPy",
          "verifier_version": "1.14.0",
          "configuration": {
            "timeout_ms": 5000
          },
          "theory_scope": "real-closed fields",
          "trusted_dependencies": ["sympy"],
          "outcome_treatment": "unknown/timeout/error resolve to UNVERIFIABLE or BLOCKED"
        },
        "evidence": {
          "evidence": {
            "roots": [-2, 2]
          },
          "proof_ref": "sha256:deef928135998be76833bd347b39618b5fa5e5a9c6d0358ca3ed36acc28c0272"
        },
        "decision": {
          "admission": "ADMIT"
        }
      },
      "verdict": "VERIFIED"
    }
    • ObjectThe formal statement being verified. How it was derived is shown, never verified.
    • InterpretationThe theory and logic that give the statement its meaning.
    • ProofWhich verifier discharged it, at which exact version, with which settings.
    • EvidenceWhat was retained, and the proof_ref that commits to all of it.
    • DecisionADMIT or DENY. A true statement is not automatically safe to act on.
    • VerdictVERIFIED, UNVERIFIABLE or BLOCKED. Only VERIFIED carries a proof_ref.

    Change one thing

    Stored proof_ref
    sha256:deef928135998be76833bd347b39618b5fa5e5a9c6d0358ca3ed36acc28c0272
    Recomputed now
    sha256:deef928135998be76833bd347b39618b5fa5e5a9c6d0358ca3ed36acc28c0272

    Resolves The document is exactly what was committed to.

    The four specifications

    • v1.0Draft

      Verification Context

      The atomic record of one verification: the formal statement plus the interpretation, proof, evidence and decision needed to reproduce and trust it.

    • v1.0.0Draft

      QWED-SPEC

      The standard interface for deterministic verification: request and response formats, engines, errors and status codes.

    • v1.0.0Draft

      QWED-Attestation

      A standard format for cryptographic proof that a verification happened: attestation models, JWT format and verification chains.

    • v1.1.1Draft

      QWED-Agent

      How AI agents verify actions before running them: registration, tool verification, budget limits and trust levels.

    Versioning

    Every spec is still a draft, so details can change. Changes follow these rules. The words they share are defined once, in the glossary.

    • Breaking changes bump the major version; additive changes bump the minor version.
    • A released version never changes. Each new version lives in its own directory.
    • Feedback is welcome in GitHub Discussions.