Cleanups/move processes promises to agent

Last agent-specific promise type goes out of libpromises.