I think this whole open source and right to repair/modify will be very interesting with self-driving cars, because of their interaction with the commons. Here are some issues. There have been some discussions about the ethics of self-driving cars if it should sacrifice the lives of the people in the cars to save more lives. In a right to repair/modify wouldn't a lot of people pay to have the algorithm changed for the…
I think those issues are red-herrings. We already have the tools to deal with bad actors in the commons. We already allow people to 'tune' their non-AI cars (and in the process its possible to exceed the pollution limits). The solution is to allow modification, but in an auditable and measurable process similar to Android's "fastboot oem unlock". AI cars should possibly be able to mark human-driven & non-stock-AI-driven cars and respond accordingly. This is assuming all cars will have a standard AI, otherwise the AIs will need to treat all the other AI-cars as black boxes - if a Toyota AI can't predict the behaviour of a Dodge AI car, then a 'tuned' AI shouldn't be treated any different.