Retirement tax questions

your investment activity (gains and losses) in an IRA or 401k are invisible to the IRS. Only the distribution matters and that is ordinary income.
If you want to do tax harvesting in the future,  invest the $12,000 into a regular brokerage account.