Best or technical term for the act of including a *purposeful gaff* in writing?

Solution 1:

How about 'contrived ignorance'.

'Contrived' - Ingeniously or artfully devised or planned (OED).