generate user story state from stream