SQLGuard Executor

SQLGuard Executor — cert-gated Postgres writes

Canonical product docs: /GATEWAY.md (SQLGuard Gateway — production AI change control).

This file remains for compatibility. Public host default: OFF. Check GET /health → executor.enabled.

Topology (when enabled)


agent ──► SQLGuard Gateway /v1/execute (cert + sql) ──► Postgres

                                                    ▲

                         only Gateway holds DB URL ┘

Enable:


SQLGUARD_EXECUTOR_ENABLED=1

SQLGUARD_EXECUTOR_DATABASE_URL=postgres://writer:...@db/app

API: POST /v1/execute · Decide without write: POST /v1/gateway/decide

Payment ≠ authorization. See /GATEWAY.md.