CORE CONCEPTS
Request Lifecycle
What happens from action submission to execution.
- The agent calls
submit_action()orsubmitAction(). - The SDK posts the proposed action to Faramesh.
- The action is canonicalized and hashed.
- The policy engine evaluates rules in document order.
- Risk context and other runtime signals are applied.
- The final decision is computed.
allowexecutes,denyreturns immediately, anddeferqueues the action for review.- Human approval or denial is written back to the ledger.
- Every lifecycle event is appended to the evidence trail.
The exact transport differs by integration, but the sequence does not.