feat(agent): record the authenticated subject on command records