Create a resolver for active or pending tasks in the same repository