Hey! I kinda relate to your experience and what worked for me was to do a very careful meal tracking and evaluating how i felt after each food intake. I did this to narrow down what was giving me IBS episodes.
I recommend to add and subtract one food item per time, otherwise you are gonna have too many variables and find it more difficult to narrow it down.
I have a collapsed gallbladder and of course was prohibited high fat meals, and for years i had recurring gut issues, relating them to my poor gall. SO wrong! i just cut out the wheat from my menu and felt great ever since! i keep watching my fat intake so that it doesnt go out of control, but what got me here is a good menu tracking and really listening to my body.
have not been on the disciplined side lately, but i am at least aware when i mght have an IBS episode, depending on what i ate, direct conection.
"If you can dream, then dream out loud" - Bono.