The solution is blind trusts, with the additional cost picked up as part of their compensation package. The way to guarantee impartiality is to remove any chance of impropriety.
I would also settle for extremely common ETFs like the SPDR S&P 500.
It makes sense that any new investments made during one's time at the SEC should be made into index funds or accounts managed at the independent discretion of a non-SEC manager. But banning all SEC employees from holding any individual stocks during their employment is a deterrent to recruiting.
To incentivise against insider trading: anonymous public disclosure of all un-forced stock sales by SEC employees. This would expose suspicious trades ex post facto. In the event of prosecution or investor lawsuits (a) the name of the employee would be unsealed during discovery and (b) the SEC, the employee, and the supervisor and compliance officer who approved the trade(s) would jointly share civil and criminal liability.
That would suggest a blind trust approach for those within the industry as well: if you're engaged in trading on behalf of others, positions you hold personally represent a distinct conflict of interest and moral hazard.
Can I use this fact to detect upcoming potential investigations or enforcement actions which may not be public knowledge, and use that to my advantage?
[Edit:] This also seems to have the unfair effect that SEC employees get an "out" from previous investments in companies that the SEC is about to investigate. Isn't that ultimately another form of trading on insider knowledge, even if it's mandatory?
On the other hand, if SEC employees are not forced to sell, then their holdings may diminish their impartiality. It seems like the only fair and neutral approach is to require SEC employees to hold no individual stocks at all during their employment - or any type of financial instrument issued by organizations they might potentially investigate.
(Is this perhaps what the SEC means, that employees are forced to sell because they've just joined the SEC? If they're forced to sell an individual instrument only at the beginning of a specific investigation into a single organization who issued the instrument, then that seems like a loophole.)