VARUX AXIS Deterministic PostgreSQL Write-Path Control
v0.6 · Pilot Readiness
AXIS Documentation / Testing & Adoption / Testing & Verification

Testing & Verification

VerifiedCI-enforced

The classification contract is "not valid until proven by automated tests in CI." This page lists the test layers, their results, and how to reproduce them.

Test layers

LayerCoversLatest result
Classification contract testsPositive, negative and override cases for QueryType and risk signalsPassing in CI (mutation-survival enforced)
Mutation tests ("Survival Proof")Removing any rule (e.g. IntoClause detection) fails red; restoring passes greenEnforced in CI
Evasion corpusComments, dollar strings, Unicode confusables, mixed encodings, multi-statement payloads, extended-protocol parameter bypass attemptsGrowing in CI
Regression suite (core)End-to-end decision paths over the HTTP API31/31 passed
Chaos suite (core)DB down, slow backend, cancel, reconnect, policy failure10/10 passed
Audit restart testsEvidence continuity across restartsPassing
Wire regression (lab)Simple Query intercept and enforce end-to-end65/65 passed (lab)
Wire chaos (lab)Backend down, wrong target, slow backend, cancel, reconnect14/14 passed (lab)
Real driver matrixpsycopg3, asyncpg, Prisma, pgJDBC single-statement via AXIS37 passed each (2026-07-05)
Stress / throughputRate limits, oversized inputs, concurrencyPassing within configured limits

Operator verification drill

Health: GET /healthstatus: ok.

Policy: GET /policy/status → expected version, operator_auth_enabled.

Evidence: GET /evidence/verifystatus: ok.

Decision drill: dry-run a known-write and a known-block SQL; confirm decisions and would_execute: false.

Approval drill: submit a REQUIRE_APPROVAL write; resolve it; retry with the approval_id; confirm execution and evidence.

Shadow check: compare decisions between shadow and enforce for the same corpus (decisions must match).

Reproducing test results

What tests do not prove

Run the verification drill before and after every policy activation, and include it in the pilot acceptance checklist.

Related: Pilot · Security Review · Changelog