One of these chambers, on the side of the brake master cylinder ... If the valve is failing slowly, this would fit with your description of the problem getting worse gradually.