VARUX AXIS Deterministic PostgreSQL Write-Path Control
v0.6 · Pilot Readiness
AXIS Documentation / Core Concepts / Operating Modes

Operating Modes

VerifiedAXIS_OPERATING_MODE

AXIS supports four deterministic operating modes, selected with AXIS_OPERATING_MODE. Modes change how decisions are applied; classification and policy evaluation behave identically in all modes.

Mode reference

ModeBehaviorSide effectsRisk
shadowEvaluates policy and records what would happen — protected writes always proceed to PostgreSQL.Writes execute; no blocking, no approvals; decision evidence recordedLowest operational risk; policy not actually enforced
approval_firstEnforces blocking and approval decisions; allowed writes still proceed to PostgreSQL.Writes execute when allowed; approvals created for REQUIRE_APPROVALMedium; partial enforcement
enforceFull enforcement: every decision outcome is applied, including blocking and execution for allowed writes.Blocked writes never reach PostgreSQL; allowed writes executeHighest; the mode required for true protection
emergency_bypassExplicit emergency mode: bypasses enforcement and logs the bypass; protected writes proceed.Writes execute; bypass events recorded with reason codeSevere; documented and time-limited by policy. "AXIS does not support silent emergency bypass."

Decision application by mode

Decisionshadowapproval_firstenforceemergency_bypass
ALLOWexecuteexecuteexecuteexecute
BLOCKexecute (logged)blockedblockedexecute (bypass logged)
REQUIRE_APPROVALexecute (logged)approval workflowapproval workflowexecute (bypass logged)

How policy decides per mode

Selection and rollout

Adoption path: shadowapproval_firstenforce. In shadow, every write that policy would have blocked still executes — run shadow only where you can tolerate the writes.

AXIS does not auto-switch modes at runtime. Emergency bypass requires explicit configuration and emits unmistakable evidence; treat it as an exception, not a habit.

Verification expectations

ModeWhat to verify
shadowPolicy decisions recorded; writes executed; no approvals created
approval_firstBlocked writes rejected with 403; approvals created and resolvable
enforceDecision exactly applied; blocked writes never reach PostgreSQL
emergency_bypassBypass events present in audit with reason; key required

Related: Configuration · Policy Engine · Security Model