~/Rev_
← projects

#DecoupleX Finance

A forward-looking money planner that makes the month ahead feel prepared, not scary: safe-to-spend before payday, bills matched to paychecks, and a projected balance for any day.

2026-11-09 → 2026-11-13

The north star

Not another budgeting app. Most money apps look backward and quietly shame you with red "over budget" bars. DecoupleX Finance looks forward. After a three-second glance you should know two things: are my bills covered, and what can I spend? Every widget has to answer one question at a glance, or it gets cut.

Status: private beta at finance.decouplex.com (patch 19, Midnight Glass). The iOS app is next.

Built on behavior, not just features

  • Forward-looking, never shaming. No lone red number. Always "here's what's still possible", plus a way back.
  • Costs in what they mean. Not "$180 over" but "pushes your trip back 4 days".
  • Visible progress through money stages: above zero → breathing room → debt-free → safety net → goals → free, with one next step and an estimated date at your own pace. (In design.)
  • Nothing to sell. No credit-score upsell, no offers, no lender referrals, no badges. It's a subscription, so the only customer is the user.

What's shipped

How "safe to spend" is computed: deterministic, explainable, in whole cents.
How "safe to spend" is computed: deterministic, explainable, in whole cents.
  • Forecast engine: paychecks shifted for holidays, bills assigned to the paycheck that has to cover them, a day-by-day projection, safe-to-spend, debt payoff and 0% promo pacing.
  • Real bank data: Plaid with bring-your-own keys, real-time sync from verified webhooks, alerts and a daily digest.
  • Bills that follow reality: when a price changes, the plan follows it automatically: up after one higher charge, down after two lower ones. A price increase triggers an instant alert with the yearly cost and tips for switching. Insurance and lease renewals get a heads-up about five weeks ahead.
  • "I cancelled it": the app watches for charges after you cancel and keeps a running tally of what cancelling saved you.
  • Cards handled carefully: "what I usually pay" is the median of your recent payments and never below the minimum. Payments are planned, never guessed.
  • A pre-purchase check: see what a purchase does to the next two weeks before you pay, then plan it for a safer date in one tap.
  • Debt you can see shrinking: payoff curves per account, with a plain note that the app gives no lending advice.
  • Midnight Glass: dark glass UI, a bottom bar on phones, readable hover charts, and a 5-section layout.

Privacy is the product

I don't want to see my users' balances, and I don't want to be able to. Bank tokens are encrypted and bound to their owner today. Next comes envelope encryption, with keys held in a managed key service: the app can ask for one user's key for one job, and every unlock is logged by the cloud provider and shown to the user ("unlocked 3 times this week, all for bank syncs"). Balances stay masked until tapped.

Honest line: background sync needs the server to unlock tokens, so full zero-knowledge will be an optional mode, not the default.

Stack

One monorepo, independent deployments.
One monorepo, independent deployments.

TypeScript monorepo (npm workspaces), with a pure zero-dependency engine shared by web and (soon) mobile · Next.js 16 / React 19 · Postgres on Neon · Better Auth (passkeys at the apex + magic links) · Plaid (bring-your-own keys) · two Vercel projects, so the product can never take decouplex.com down.

By the numbers

Live one day after the first commit (9 Nov 2026). 19 production patches in the first week. 46 engine and ingest tests plus 15 database tests at v0.2, and 22 more for variable-amount bills.

Known gaps

Encryption beyond bank tokens hasn't shipped yet; it lands before testers connect real banks. Forecast accuracy is unproven until the beta measures it. The money-stages and goals redesign is still on a branch, not in production.

What's next

  1. Calendar: one view of bills per day, and one of the projected balance every night (green/amber/red); tap a day to see each item and the balance after it.
  2. iOS app (Expo) on the same engine: Today, Calendar, Bills, the pre-purchase check, Goals. Face ID unlock; the phone holds only a revocable token.
  3. Privacy with evidence: the key-service design above, plus a public security page.
  4. Redesign part 2: yearly costs set aside per paycheck, a 60-second weekly check-in, a one-line takeaway above every chart, and debt as a journey with a debt-free date.
Entries10
Lanes fed1
Writeups7

Skills it built

Builds Computer Science
10 · 0m

Writeups

2026-11-10Decision Record: Deterministic Before ML, Web Before MobileTwo tempting shortcuts I said no to: proprietary ML on day one, and wrapping the web app as a phone app.2026-11-10Design: "Only the App Sees It" — Privacy by Default for a Finance AggregatorI don't want to see my users' balances, and I don't want to be able to. The design for encrypting every financial field, masking the operator, and unmasking only with the user's time-limited grant.2026-11-10Bring-Your-Own Plaid Keys, and Verifying Webhooks Signed With Each User's KeyEvery user connects their banks with their own Plaid account. That keeps control with them, and it means each webhook has to be verified against that user's own keys.2026-11-09Identity and Secrets for a Platform, Not Just an App: Passkeys at the Apex and Tokens Bound to Their OwnerTwo day-one choices that are painful to change later: where passkeys are registered, and how a stored bank token is tied to the user it belongs to.2026-11-09Merchant Recognition Without ML: Deterministic Rules and a Review Queue That Learns"SQ *BLUE BOTTLE 0423 OAKLAND CA" should just say Blue Bottle. Rules get most of the way, and every question the app asks turns into a new rule.2026-11-09A Provider-Agnostic Bank Layer, and Why It Paid Off One Day LaterI wrote the bank-data layer behind an interface instead of against one vendor. The next day that vendor wasn't available to me, and switching cost one adapter.2026-11-09Magic Links Failed With 403 "Invalid origin": My Landing Page Was Posting to the Wrong AppThe sign-in form worked locally and failed in production with a 403. The auth library was doing its job: the request came from an origin it didn't trust.

Timeline

2026-11-13Builds
Direction set: "prepared, not scared". Never predict card payments, ask for missing details like APR instead of guessing, every important detail visible at a glance. Next: Calendar, then the iOS app
2026-11-13Builds
Patches 6–19 to production: bills that follow price changes, renewal heads-ups, "I cancelled it", card payment medians, the pre-purchase check → "Plan it", debt payoff curves, Midnight Glass theme, phone bottom bar, D/X brand mark#DecoupleX
2026-11-10Builds
Real-time bank sync from verified Plaid webhooks, alerts and a daily digest; Midnight Glass design approved
2026-11-10Builds
Real-time sync and heads-up alerts#DecoupleX
notes
Plaid webhooks verified with each user's own keys, so new transactions land within minutes. Alerts and an optional daily email digest.
2026-11-10Builds
Plaid connections and one-click paychecks and bills#DecoupleX
notes
Bring-your-own Plaid keys, cursor sync, card APRs and due dates from Plaid, paychecks and bills confirmed from real transactions.
2026-11-09Builds
DecoupleX Finance live at finance.decouplex.com one day after the first commit: forecast engine, ingest layer, passkey sign-in#DecoupleX
2026-11-09Builds
finance.decouplex.com goes live#DecoupleX
notes
Landing site and Finance app as two Vercel projects from one repo, so a product can never take the platform down.
2026-11-09Builds
v0.2 · Full app: passkey sign-in, encrypted tokens, every page#DecoupleX
notes
Better Auth passkeys and magic links, AES-256-GCM token encryption bound to each user, per-user repositories, daily sync. 15 database tests.
2026-11-09Builds
v0.1 · Bank data in: merchant recognition and recurring detection#DecoupleX
notes
Provider-agnostic bank layer, CSV import, rules-based merchant recognition and a review queue that turns answers into rules. 19 tests.
2026-11-09Builds
v0.1 · Forecast engine: paychecks, bills and safe-to-spend#DecoupleX
notes
Pure TypeScript engine, money in whole cents. Fed-holiday paydays, bill-to-paycheck assignment, day-by-day projection, debt payoff and 0% promo pacing. 27 tests.
DecoupleX Finance