wip: AppFlow, by @loganj et al