Skip to content

v10.0.0: Evidence Is Not Proof

Choose a tag to compare

@rahuldass19 rahuldass19 released this 14 Nov 09:57
· 111 commits to main since this release
86ce62f

v10.0.0: Evidence Is Not Proof

A major release. Routes stop reporting VERIFIED, or admitting a result, on evidence that does not prove the claim: RAG, process and the GitHub Action's verify-process mode are UNVERIFIABLE, a consensus needs two distinct engines, an image is verified only on a plain statement of its size, and a logic verdict, which covers constraints a model translated, is not admitted. /verify/math without = is UNVERIFIABLE, and "verified" has one meaning in the attestation, the audit log and the batch summary. The claude_opus provider is removed, and the Go module path ends in /v10. Read Upgrading to 10.0.0 before upgrading.

No QWED advisory is fixed in this release. The server lock moves past two dependency advisories, and the TypeScript SDK's dev dependencies past one.

Verdicts

  • RAG and process (#320): /verify/rag and /verify/process compared data the request supplies, or matched keywords, and returned VERIFIED. Both are UNVERIFIABLE; the guard's result is in advisory_checks[0].details.
  • The Action's verify-process mode (#602): UNVERIFIABLE · DENY, with verified false and no proof_ref.
  • Logic (#579, #320): no proof from premises that cannot all hold (logic_verifier.vacuous_premises), a check with no constraint is BLOCKED, and /verify/logic carries an admission, which is BLOCKED until the translation is verified (#585).
  • Consensus (#320): an answer that only one engine verified is BLOCKED (no_independent_verification); a consensus is VERIFIED only when two distinct engines verify the same answer.
  • Image (#320): a size claim is decided only when the whole claim states the width, the height or both.
  • Maths without = (#576): UNVERIFIABLE (math.no_claim) on the route, as batch items already were.
  • One meaning of "verified" (#577): VERIFIED, its claim holds, and not reached on a model's translation of the question, in the attestation, the audit log and the batch summary.

Also in this release

  • Translation prompts delimit the caller's text (#582): the question, column names and a refinement's previous error go in the user turn inside their own tags, never in the system prompt.
  • Taint analysis follows taint inside expressions, with sanitisers per sink (#535). Contributed by Ataraxiainc2.
  • LangChain and CrewAI tools report what QWED decided (#600, #606), and the CrewAI SQL tool and the LangChain callback send the schema /verify/sql needs (#608).
  • Running out of memory while parsing ends the maths worker (#612), as math.out_of_memory.

Dependency advisories

  • opentelemetry 1.45.2 in the server lock (GHSA-mf5v-w3w3-f6cg, moderate): opentelemetry-api 1.45.1 parsed a crafted traceparent in quadratic time. QWED calls no propagator itself.
  • dnspython 2.9.2 in the server lock (GHSA-vvf4-9x63-8xvv, high): dnspython 2.9.0 did not bound a WKS record's service number in zone file text. QWED uses it only through email-validator.
  • minimatch 11 in the TypeScript SDK's dev dependencies (GHSA-g3hv-75wg-m249, moderate). Nothing changes in the published SDK.

Upgrading to 10.0.0

  • claude_opus: ACTIVE_PROVIDER=claude_opus is refused with what to set. Use anthropic, move CLAUDE_OPUS_ENDPOINT, CLAUDE_OPUS_API_KEY and CLAUDE_OPUS_DEPLOYMENT to ANTHROPIC_ENDPOINT, ANTHROPIC_API_KEY and ANTHROPIC_MODEL, and unset ANTHROPIC_DEPLOYMENT, which wins over ANTHROPIC_MODEL.
  • Verdicts: a client that acted on VERIFIED from /verify/rag, /verify/process, /verify/logic, /verify/consensus, /verify/image or /verify/math without = now sees UNVERIFIABLE or BLOCKED, as above. The RAG and process guard results move into advisory_checks[0].details.
  • Python SDK integrations: the LangChain and CrewAI tools word undecided results differently; QWEDSQLTool takes schema_ddl and dialect, and the callback sql_schema_ddl and sql_dialect, and without a schema SQL is UNVERIFIABLE.
  • ReasoningVerifier: a provider list with a name it cannot load is BLOCKED.
  • Taint analysis: findings can change; dict.get and other arbitrary obj.get() calls are no longer sources.
  • Go: import github.com/QWED-AI/qwed-verification/sdk-go/v10. The Go, TypeScript and Rust SDKs have no API changes.

Each change is described in full in CHANGELOG.md.

Soundness eval

This release carries eval-results.json: 156 known-answer claims through the Math, Logic, SQL, Code and Schema engines, 0 accepted wrongly.

Upgrade

  • PyPI: qwed==10.0.0
  • npm: @qwed-ai/sdk@10.0.0
  • crates.io: qwed = "10.0.0"
  • Docker: qwedai/qwed-verification:10.0.0
  • GitHub Action: QWED-AI/qwed-verification@v10.0.0
  • Go SDK: go get github.com/QWED-AI/qwed-verification/sdk-go/v10@v10.0.0

Full changelog: see CHANGELOG.md (versions 8.0.0 and earlier are in docs/CHANGELOG-archive.md).