make commod_recipe_context more robust

fixes #967.  don't forget the cycamore companion.