Hi, I just saw your post with this problem and I also live in Sacramento…. what did you use to get rid of the worms? I have the same type. Yuck!
Those are tapeworm segments in the pics. If you're dealing with tapeworms, follow my directions in this link...post #7:
https://www.backyardchickens.com/t/861285/small-yellow-dots-in-hens-droppings-what-is-this