When you sell in a taxable account and buy the same shares in an IRA, the wash-sale rule operates on an honor system.
The whole idea of extending the wash rule to IRA accounts is a fallacy. I'm not sure why the IRS bothers setting rules they have little power to enforce. Perhaps taxpayers are required by law to bring IRA trading history to the audit of a taxable account.