ZERO GRAVITY SOLUTIONS — APPROVAL GATE EXPERIMENT

Run: python3 approval_gate.py
Requires: Python 3.9 or later; standard library only. No credentials or network.
Expected: 9 tests followed by OK. Each test starts with a fresh account.

Inspect how an approved proposal is bound to the actor, tenant, account revision,
operation ID, expiry, and exact address. Change a test input and run it again.
Replaying an unchanged approved request within its validity window returns the
stored result. Expired approval is rejected even if a prior execution completed;
a real product should expose a separate authorized operation-status endpoint.

What this demonstrates: application-side authorization and approval checks can
reject an action independently of what a language model proposes. No model is
called, so these tests do not measure language understanding or model quality.

Scope: in-memory, single-process logic. No database transaction, concurrent
request handling, authentication server, CRM adapter, or production controls.
For a deployed service, persist the approval and operation result, enforce
atomic state transitions, and test the actual provider's failure behavior.

These are synthetic fixtures you can reproduce, not client results.
