rewrite so wakup calls use ext/context instead of agi/data