Unfortunately, sometimes, developer have no choice :/
Because Agile is not only about how developers work, but also how we all interact in the software development, and, if other roles do not adapt, there is nothing to do.
Scrum is more free about that (really a very light process: «You developer do the job, I do not care how, and we meet to talk time to time»), but XP is more about how to integrate everything.
Because I know that XP is unknown for almost every Agilist, I put here some screenshots from http://www.extremeprogramming.org/
If you compare against https://www.scaledagileframework.com/scrumxp/ you will notice that most of the “XP” part has evaporated.
- Ward Cunningham: “my ideas get plugged into bigger frameworks and to me it looks diluted…”
- Ron Jeffries quoting Kent Beck: “Kent Beck said over a decade ago. ‘I would like the world to be safe for developers.’ safe, not SAFe.”