I can understand your reasoning, but since the instrument display shows the truck as I'm approaching it, I believe it has correctly identified the truck as a truck and I'm skeptical that the software thinks it's a lane line.
I did a 2,000mi road trip last week and have developed three theories about "truck lust".
1) Steering manually, I tend to move to the left side of the lane when passing a truck. Staying in the center of the lane, as auto-steer tries to do, feels like I'm too close to the truck.
2) I believe the truck creates a low pressure area along its side which tends to suck in the car. This is particularly true of trucks with faring under the bed to improve their aerodynamics.
3) I believe #2 is very pronounced if there is a prevailing wind on the opposite side of the truck. For example, if I was driving north, with a wind from the east (BTW, Teslawinds.com is very cool!), and I am passing on the west side, the prevailing crosswind suddenly stops as I am shielded by the truck, causing the steering bias that was correcting for the crosswind to bring the car closer to the truck.
FWIW, autosteer always seems to bring the car back to the middle of the lane, but there is an anxious moment none the less.