sophia: introduce runtime error context, put status under control