Backend Plan Audits #
Inspection data for contract-carrying kernel plans.
The planner chooses capsules. The audit layer records what that choice means for trust boundaries: which provider was selected, which device it targets, how its shape, layout, value, and VJP obligations are supported, and whether the plan crosses a trusted-external boundary. Audits are stored inside numerical certificates and compared on replay, so they must have decidable equality.
Whether this capsule crosses a trusted external boundary.
Instances For
Audit row for one selected backend kernel.
- op : BackendOp
- capsuleName : String
- provider : Provider
- device : Device
- trustLevel : TrustLevel
- vjpMode : VJPMode
- shapeContract : ContractDescriptor
- layoutContract : ContractDescriptor
- valueContract : ContractDescriptor
- vjpContract : ContractDescriptor
- numericalPolicy : NumericalPolicy
Instances For
Instances For
Build an audit row from a selected planner kernel.
Instances For
Whether this selected kernel crosses a trusted external boundary.
Instances For
The four contract descriptors of the selected kernel, paired with the field each one fills.
Instances For
Instances For
Capsule names selected by the plan, in plan order.
Instances For
Operation names whose selected capsule is trusted external.
Instances For
Whether the plan crosses any trusted external boundary.
Instances For
Audit a selected kernel plan.
Instances For
Whether a selected kernel plan crosses any trusted external boundary.
Instances For
Operation names whose selected capsules are trusted external.