Domdhi logoDOMDHI.OS
FINANCE

The Autopilot Setup

Forcing Functions was the why. This is the what. The exact account ordering -- 401k match, HSA, Roth, back to the 401k -- and why getting the order wrong quietly costs six figures over a career. Set once, runs forever, never asks how you feel about it.

DDominic BacaSOLO ENGINEER · DOMDHI.OS2026.09.256 MIN READ
FINANCE// FIG.01

Forcing functions was the philosophy. Willpower is a stat that depletes, so build mechanics that don't care how you feel.

This is the implementation. The actual wiring. The boring plumbing that does the work while you're busy having a life.

Because here's the thing nobody tells you about investing: the hard part isn't picking funds. The hard part is the sequence. Same dollars, same market, same 30 years... different order, and the gap at the end is not small.

Order Beats Amount

Most people optimize the wrong variable. They agonize over whether to put in 10% or 12%, then dump all of it into whatever account is easiest to reach -- usually the 401k, because it's the one HR set up on day one.

That's a real mistake and it's invisible for decades.

Every dollar has a best home, and the homes are ranked. Not by vibes -- by return per dollar, before the market does anything at all. A match is a return. A tax deduction is a return. Tax-free growth is a return. Stack them in the wrong order and you're leaving guaranteed money on the table to chase unguaranteed money.

The market might give you 7%. The match gives you 100%, instantly, in cash, with no risk and no waiting.

You don't get to pick a better trade than that. There isn't one.

The Order

Here's the ladder. Fill each rung completely before moving to the next.

1. 401k up to the full match.
This is the only 100% instant return you will ever be offered. My employer matches 16%. If I contributed 0%, I'd be turning down 16% of my gross salary every year, forever, for nothing. People do this. Roughly a fifth of employees with a match don't capture all of it. That's not a savings problem, that's a paperwork problem, and paperwork problems are the cheapest kind to fix.

Fix it once. It stays fixed.

2. HSA to the max -- if you have a high-deductible plan.
The HSA is the only account in the US tax code that's triple tax-advantaged. Deductible going in, grows tax-free, comes out tax-free for medical expenses. Nothing else does all three.

And the move most people miss: don't spend it. Pay medical costs out of pocket if you can, keep the receipts, let the HSA invest and compound for thirty years. After 65 it functions like a traditional IRA for anything, with no penalty. It's a stealth retirement account wearing a medical costume.

3. Roth IRA to the max.
Post-tax going in, tax-free forever coming out. The bet you're making: your tax rate in retirement will be higher than it is now, or tax rates in general go up. Given where rates sit historically and where the national debt is pointed... I'll take that bet.

Contributions (not earnings) can also come out penalty-free, which makes it the least-bad emergency backstop of any retirement account. I'm not planning to touch it. But a lever you can pull and won't is worth more than one you don't have.

4. Back to the 401k, up to the annual limit.
Now finish it. The deduction is real, the tax drag is zero while it grows, and at this point you've already captured every higher-ranked dollar.

5. Taxable brokerage for everything after that.
No limits, no penalties, full liquidity. It's the worst tax treatment and the best flexibility, which is exactly why it goes last and exactly why it's where the actual bridge money lives if you plan to stop working before 59½.

That's the ladder. 27% of my gross runs down it plus the 16% match... 43% of my income moving before I ever see it.

Why The Order Costs Six Figures

Run two people. Same income, same 15% savings rate, same 7% return, same 30 years. The only difference is sequence.

Person A does the ladder. Person B puts everything into the 401k and skips the HSA and Roth entirely.

Person B doesn't lose money on the market -- same market. They lose on three separate leaks:

  • Some of the match is left uncaptured in years when their contribution shape doesn't line up with the match formula.
  • The HSA's triple advantage is never used, so those dollars get taxed on the way in or out instead of neither.
  • Every dollar comes out fully taxable in retirement, with no tax-free bucket to blend against, which drives the effective rate up at exactly the wrong time.

None of those show up on a statement. There's no line item that says "you lost this by ordering wrong." It just quietly compounds into a smaller number, and the gap over a full career lands comfortably in the six figures for a normal salary.

The worst bugs are the ones that never throw an error.

Make It Untouchable

The ladder's useless if you have to run it manually every month. That's the failure mode this whole series exists to kill.

  • Contribution percentages, not dollar amounts. A percentage scales with every raise automatically. A fixed dollar amount silently shrinks as a share of income every year you get paid more -- lifestyle creep gets first crack at the difference.
  • Auto-escalation on. If your plan offers it, turn it on. +1% a year. You will not feel it. Your future self will.
  • Direct deposit splits before checking. The money never lands in the account you spend from. There's no temptation because there's nothing to be tempted by.
  • Delete the apps. Not the accounts -- the apps. Checking a balance you're not going to act on is just a stress delivery mechanism. Build a dashboard that tells you what's true once a week instead.

Either way... the goal is a system you'd have to actively sabotage to break. Log in, navigate three menus, undo a rule you set when you had a clear head. That friction is the feature.

The Part That Isn't Advice

Obvious disclaimer, said once: this is what I run, not a recommendation for your situation. The ladder shifts if you don't have a match, if you don't have a high-deductible plan, if you're over the Roth income limits, if you're carrying debt at 22% -- which beats every rung on this list and should be killed first. The numbers that matter are yours, not mine.

But the principle holds regardless of which rungs apply to you: rank your dollars by guaranteed return before risk-adjusted return, fill top-down, and automate the whole thing so the sequence runs without you.

Set It, Then Go Live

The entire point of autopilot is that you stop thinking about it.

I set this up once. It's run every two weeks since, through good months and bad ones, through weeks where I would absolutely have skipped a contribution if skipping required nothing more than not doing something. It doesn't ask permission. It doesn't check whether I'm feeling disciplined.

That's not discipline. That's architecture.

The money moves before I see it, down a ladder I ranked once while I had a clear head, into accounts I can't casually raid. Then I close the laptop and go build something.

The whole system exists so I never have to be impressive on a Tuesday.

GET_TRANSMISSIONS

Raw signal on finance, freedom, fitness, and tech. No spam. Unsubscribe anytime.

D
Dominic Baca

One engineer building Domdhi.OS in public — money, freedom, and the occasional 2am migration. Every number live, every commit public.

FOLLOW THE LOGS →
// NEXT IN THE LOGS