# High-Level Flow

1. **User completes KYC once** → Vault + Cloud Agent store raw docs.
2. **Fairway issues EAS attestation** with:
   * Subject address (EOA or ERC-1271 smart account).
   * `kyc_verified_at` timestamp.
   * Current `sanctions_epoch`.
   * Risk score if applicable.
3. **Protocol calls PolicyEngine** before sensitive actions.
4. PolicyEngine checks:
   * Attestation validity + signature.
   * `sanctions_epoch` freshness.
   * `now - kyc_verified_at ≤ max_age` (defined by the dApp).
5. Returns YES/NO + reason code.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fairway.global/developers/build-on-evm/attestation-led-compliance-eas-erc-1271-erc-3643/high-level-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
