- save when the permission ends (consent_until, migration 0032)
- Accounts warns two weeks ahead, says Needs attention once it ran out, and offers
Link again; an expired or revoked session no longer shows a raw API error
- accounts and rows are keyed on identification_hash, which stays the same across
links (the uid doesn't), so linking again adds no copies and keeps edits
- links made with the per-link uid move to the stable key on their next sync
- linking the same bank again replaces the old connection
Tested against the stand-in: first link, moving old IDs, linking again,
the warning and an expired permission.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Saved as BROKE_COUNTRY. US and Canada get Plaid, NZ Akahu, UK and Europe
Enable Banking, Australia Basiq, Brazil Belvo. Countries with no feed are
told to import a statement after sign-in. Onboarding uses the saved
country instead of asking again.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- An Edit button on every account: name, and what kind it is (bank account,
credit card, loan, investment, something else). The kind decides where it
counts: a credit card's balance is money you owe.
- The kind you pick sticks: migration 0031 adds accounts.type_override, and a
trigger puts it back whenever a sync writes the bank's type, so every page
keeps reading accounts.type.
- An imported or hand-added credit card or loan now adds its purchases to what
you owe (it subtracted them, as for a bank account).
- Delete for accounts you added or imported, with their transactions. A linked
account says to hide it or remove the bank, since sync would bring it back.
Tested on a local Supabase: rename + Credit card moved the imported account
under Credit cards; a sync-style write of type depository kept it credit;
deleting removed it and its 358 transactions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- With no Plaid keys, the page said bank linking "isn't available in United
States yet". It is: the keys are missing. It now shows Link a bank or card,
which opens Setup to add the free Plaid keys.
- Test banks: the Delete test data link went to Settings. It's now a button on
this page, with a confirm, that removes the test bank and its transactions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Sign in with a code from your email (the link still works); setup item for the code email
- Use made-up data: a pretend bank with three months of spending, no Plaid account needed
- Is this your pay? when regular money in is filed as something else, with a one-press fix
- They look right: keep every bank-given category in one press
- Your week on Home, Plan in the main menu, history start per bank on Accounts
- A new version of broke is ready, in the sidebar and Settings
- Start skips the rebuild when nothing changed; country screen says it was guessed
- Fix: skipping banks no longer sends you back to setup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Money plan is one card: your AI's two-sentence summary, then numbered next steps, then context and chat
- Removed the next-move card, plan summary, payoff chart, timeline and bills list from the page
- Setup accepts the dashboard address or project ref and works out the Project URL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Disconnects every bank at Plaid and deletes the signed-in user's money data. Sign-in, profile and AI connection stay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>