Dealing with frame rot

Cut it out and replace it. Covering it with a frame cap is just delaying the inevitable, you’ll trap rust in there between the layers and it will fail again.

Plan on replacing at least twice as much metal as it looks like you’ll need to from the outside. Once you cut into it I guarantee you’ll find the damage is more extensive than it appears.