feature(gatekeepers): gatekeeper functions provide context to the forward hook