Writers’ deal raises hopes for striking actors