Exercise kinds freeze once used #117

Open
opened 2026-11-27 16:43:45 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

History never becomes inconsistent: an Exercise's kind can't change once a Workout uses it, and an Exercise can be hard-deleted only while unused.

Acceptance criteria

  • Changing the kind of a used Exercise is refused; an unused one can change
  • Deleting an unused Exercise works; deleting a used one is refused (archive instead)
Part of #73 (spec: #72) ## What to build History never becomes inconsistent: an Exercise's kind can't change once a Workout uses it, and an Exercise can be hard-deleted only while unused. ## Acceptance criteria - [ ] Changing the kind of a used Exercise is refused; an unused one can change - [ ] Deleting an unused Exercise works; deleting a used one is refused (archive instead)
bobby added the ready-for-agent label 2026-11-27 16:43:45 -05:00
bobby added a new dependency 2026-11-27 16:43:45 -05:00
bobby added a new dependency 2026-11-27 16:43:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks Depends on
Reference: bobby/hapi#117