Skip to content

Add live savings goals with account progress tracking - #57

Merged
maximecd merged 3 commits into
mainfrom
t3code/add-goals-feature
Aug 29, 2026
Merged

maximecd merged 3 commits into
mainfrom
t3code/add-goals-feature

Conversation

@maximecd

@maximecd maximecd commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add Goals as a live overlay on Accounts: name, target amount, optional target date, exclusive contributing Accounts, and a card grid with progress that caps the bar at 100% while still showing surplus.
  • Keep money in Accounts. Goals do not change Total assets, Net worth, allocation, or Snapshots.
  • Include Goals in the existing MCP get_portfolio payload next to Debts, and renumber the Goals ADR to 0013 after MCP claimed 0012 on main.
  • Keep JSON-RPC parse handling on /mcp only. Opening http://127.0.0.1:3001/ was returning Parse error because MCP caught every unmatched route.

Test plan

  • Fresh Vault and upgrade from the last released schema both apply 20260829190336_add_goals then 20260829190511_add_mcp_token
  • /goals empty state, create with Reporting-currency default, card progress, surplus past 100%, edit, delete
  • Account picker disables Accounts already on another Goal and labels them with that Goal's name
  • Delete an Account; its Goal remains with progress 0 for that Account
  • Dashboard totals are unchanged by Goals
  • get_portfolio returns Goals (name, current/target, contributing Accounts) with a Settings-issued MCP token
  • Production start: http://127.0.0.1:3001/ serves the UI, not a JSON-RPC parse error

maximecd and others added 2 commits August 29, 2026 21:54
- Add Goals CRUD APIs, persistence, and currency conversion
- Add Goals navigation, forms, cards, and localization
Local agents already receive Debts from that tool; Goals belong in the same current-state overlay so they are not invisible over MCP.

Co-authored-by: Cursor <cursoragent@cursor.com>
@maximecd
maximecd force-pushed the t3code/add-goals-feature branch from 223a4c2 to e980eec Compare August 29, 2026 19:57
JSON-RPC catch handlers were wrapping every route, so a missing UI page on :3001 came back as Parse error instead of the app.

Co-authored-by: Cursor <cursoragent@cursor.com>
@maximecd
maximecd merged commit 416a394 into main Aug 29, 2026
3 checks passed
@maximecd
maximecd deleted the t3code/add-goals-feature branch October 27, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant