MandateZClient.track()
The primary method for logging agent actions. Signs the event cryptographically, evaluates policies, runs the oversight gate, and emits to Supabase.Signature
TrackInput
Execution Flow
Examples
Basic tracking
With metadata
With human oversight
Explicit outcome override
Return Value
Returns a completeAgentEvent with all fields populated:
Error Handling
- Throws if the Supabase insert fails
- Throws if the private key is invalid or cannot sign
- Policy and oversight errors are reflected in the
outcomefield, not thrown