Pātuhitia tēnei: Agency and deontic logic