Metadata-Version: 2.4
Name: fahali-verify-frct
Version: 1.0.0
Summary: Local Ed25519 / RFC 7515 verifier & FastAPI/ASGI circuit-breaker middleware for Fahali Risk Clearance Tokens (FRCT v1).
License: MIT
Project-URL: Homepage, https://fahaliai.com
Project-URL: Documentation, https://mcp.fahaliai.com/llms.txt
Project-URL: Repository, https://github.com/BobMain-2025/spectra-mobile
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: cryptography>=41.0.0

# `fahali-verify-frct` (Python)

Zero-callback Ed25519 / RFC 7515 offline verifier for **Fahali Risk Clearance Tokens (FRCT v1)**.

```python
from fahali_verify_frct import verify_clearance_header

result = verify_clearance_header(
    request.headers,
    expected_intent={
        "venue": "coinbase_prime",
        "asset_class": "crypto",
        "symbols": ["BTC-USD"],
        "max_notional_usd": 250000,
        "max_slippage_bps": 35,
    },
    enforced_constraints=order_constraints,
)
if not result.execution_permitted:
    raise PermissionError(f"{result.code}: {result.error}")
```
