Somehow I have the feeling that rifle is OK.
It obviously got hot but from what I can see not nearly hot enough to do any damage to the heat treating of the receiver or bolt which are the only parts you need to worry about. I say this because there is still some stock wood around this areal. If it weren't there, it would mean the metal may have gotten hot enough to lose its outer hardness. the core should be relatively soft as this is where the strength in these actions is derived. Hard outer shell over softer inner core which allows flexibility and eliminates the brittleness.
Wood burns at 450F. Different steels change their homogeneity at different temperatures. Structural steel/Ductile steel will melt around 2600F. Pure Iron will melt about 2100F. Because there are different types of steel designed with different mixtures of compounds and heat treatment there are different temperatures that will effect where the homogeneity will transform. Somewhere around 785C or 1450F is where the steel turns a dark cherry red. Those 98 actions were heated by eye approximately to this temperature and quenched in oil to add carbon to the exterior and make it harder than the core. When I say quenched, I mean dipped quickly into the oil and pulled out quickly. This allows the core to cool more slowly and remain ductile. This is a very brief description of what happens.
I don't believe that rifle came anywhere near 1450F or all of the wood would have burned away. The separating lamination is also an indicator the heat wasn't high enough to cause a problem.
To me, it looks like that stock was cut down and what you see is the result of the fire. I have seen firearms that have been through fires before. I have had them checked by people with experience and the proper Brinnelle hardness testers to back up my own testing to ensure they are still viable and safe. A couple were unsafe and soft. In both cases, from trailer fires, the wood was burned completely away. That takes significant heat for an extended period of time. Trailer fires can be extremely hot.
The metal on the OP's rifle has lost its finish. Again, I have seen that on several firearms from house fires. That particular patina is caused by the FOAM fire retardant used by the firefighters when they lay a coat of it over what may or may not be salvageable material or so that they aren't blowing material around with their hoses. Yes I know, they can adjust their nozzles for just about any situation but the foam only has to go on once.
If that were my rifle, I would get it tested for hardness and if acceptable it would become a winter project. I have one such project rifle barreled in 243Win. It has several thousand rounds down the tube. Original bolt and all. Not even a hint of it letting go or any set back.
Your call, your rifle.