Skip to content

[AI] Remove the upstream goal template system - #111

Merged
chrisvasz merged 2 commits into
masterfrom
claude/remove-goals-template-system-c3b243
Oct 9, 2026
Merged

chrisvasz merged 2 commits into
masterfrom
claude/remove-goals-template-system-c3b243

Conversation

@chrisvasz

Copy link
Copy Markdown
Owner

Category goals (#110) replace upstream's goal templates, so this removes the old system entirely:

  • Server: template engine and Peggy grammars, #template/#cleanup note parsing, schedule templates, end-of-month cleanup, cleanup groups, and all the budget/*template*/automation handlers. The goal-*/long-goal-* budget cells are gone too.
  • Client: Budget Automations modal and editors, goal templates help modal, unmigrate modal, schedule indicator in the Spent column, template balance colouring/tooltip, template items in month/category/group menus, Shift+T shortcut, and the goalTemplatesEnabled/goalTemplatesUIEnabled flags.
  • Build: the vite-plugin-peggy workspace only compiled the template grammars, so it's removed from configs, the sync-server Dockerfile, and the lockfile.

Things to know:

  • The DB columns (goal_def, cleanup_def, template_settings, goal, long_goal) and the cleanup_groups table stay in place, unused, to avoid destructive migrations.
  • BUDGET_QUERY no longer accepts the goal dimension, since it read the removed cells.
  • #template lines in category notes now show as plain note text.

🤖 Generated with Claude Code

@github-actions

This comment has been minimized.

chrisvasz and others added 2 commits October 8, 2026 23:01
Category goals replace upstream's goal templates, budget automations and
end-of-month cleanup, so remove them: the template engine and grammars,
note parsing, schedule templates, cleanup groups, their server handlers,
the automations modals and editors, the template menu items, Shift+T
shortcut, feature flags, and the goal/long-goal budget cells. The Peggy
build plugin only compiled the template grammars, so it goes too.

The old database columns and cleanup_groups table are left in place.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drop the schedules provider on the budget table (only the removed
template schedule indicator read it), NotesButton's unused placeholder
prop, the null returns from useBudgetActions, a stray .pegjs typing,
and release notes describing removed things.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chrisvasz
chrisvasz force-pushed the claude/remove-goals-template-system-c3b243 branch from a2d5d1a to 8586753 Compare October 9, 2026 04:07
@chrisvasz
chrisvasz merged commit f65cc87 into master Oct 9, 2026
11 of 14 checks passed
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

VRT tests ❌ failed. View the test report.

To update the VRT screenshots, comment /update-vrt on this PR. The VRT update operation takes about 10 to 15 minutes.

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