I looked at a garage build in 88 and this is their build, that was passed by the AHJ.
Standard wall framing with floor trusses ontop of the walls for a upper storage area. 2x8 rafters
2x8’s are supported mid way by a knee wall but the ends were nailed to the side of floor trusses. No direct contact with the wall.
At a 10/12 pitch, that knee wall ain’t supporting peanuts.
The rafter is in compression and the load transfer ends up at the connection where it is nailed at the side of the ceiling joist that were picked up at the Bargain Barn Lumber Yard.
It looks like the load path above the wall bearing was strengthened with six or so 2xs but it seems a rim joist would help. The stair well opening framing looks terribly inadequate. This is what I am used to: