1.0 KiB
1.0 KiB
Environment Invariants
These invariants must hold for staging and production.
Required Invariants
- Chain ID in backend config matches allowed chain ID in API and frontend expectations.
- Membership contract address in backend matches deployment registry.
- Quote currency policy matches configured token addresses.
- Origin allowlist includes only approved domains.
- Fail-closed default behavior enabled for unknown membership/entitlement states.
- Org boundary enforcement enabled for workspace-bound paid actions.
- Availability state machine policy loaded with
ACTIVE/GRACE/CONTINUITY/PARKED. PARKEDpolicy blocks paid execution while preserving read/export routes.
Verification Checklist
- Intent endpoint returns expected chain and contract metadata.
- Confirm endpoint rejects tx on wrong chain.
- Checkout gate blocks non-members.
- Runtime activation gate blocks non-active entitlements.
- Boundary mismatch gate blocks paid execution.
continuityandparkedtransitions enforce expected behavior.