feat(sync): rewrite stacktaces