[backend] implement orphaned build checking in warden