design(goals): first-class goals — agreed design + add-goals OpenSpec change #34
No reviewers
Labels
No labels
area/auth
area/backend
area/ci
area/deploy
area/e2e
area/frontend
area/shared
blocked
good-first-issue
needs-info
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
celilo/lunacycle!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lunacycle-batch-aug-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Design work only — no implementation. Adds:
designs/goal-rollup/— agreed design doc (reviewed 2026-08-01) plus three drawio mockups (embedded-XML PNGs): the goal bar UI, the one-off lifecycle state machine, and the three-lane rollover table.openspec/changes/add-goals/— the OpenSpec change: proposal, two capability specs (goals,goal-items), design decisions (D1–D8), and a 23-task implementation breakdown. Validates clean.scripts/dev.bun.tsfix (separate commit): setsVITE_BACKEND_ORIGINso dev login works — there's no vite proxy, so the SPA was POSTing/api/test-loginto vite and 404ing.The design in one paragraph
A goal ("do 10 points of garden work per cycle") becomes a first-class entity with per-cycle point targets (
goal_month, written by the commit flow). Standing tasks (templateTask.goalId) regenerate every cycle; one-offs (task.goalId) live under the goal as ideas until someone schedules or completes them — that engagement stampsmonthIdand is the pull-in. Unfinished one-offs silently return to idea at rollover. Progress is a points rollup query; no direct ticks on goals; no per-item count targets. Goal-less tasks and the Backlog page are untouched.Next
Once this lands, implementation starts from
openspec/changes/add-goals/tasks.md(schema → server rollup/rollover → goal bar UI → commit flow → tests).🤖 Generated with Claude Code