Skip to content

Add catalogue-backed equipment swap alternatives #72

Closed

Description

@johnnyhuy

Part of #5.

The current equipment swap lookup creates alternatives by changing the original exercise name and equipment. Add an opt-in package API that selects real exercises from a caller-supplied catalogue.

The slice is complete when the lookup returns only available equipment allowed by Equipment.alternatives(), requires the same non-empty set of muscle groups, excludes the original exercise, preserves catalogue order and metadata, and returns each exercise ID once. Keep the existing lookup compatible.

Verify matching, exclusions, changed equipment availability, and preservation of catalogue identity with unit tests. Document the new API and attach the passing test transcript to the PR. No iOS or watchOS UI changes are included.

Activity

  1. johnnyhuy commented on Nov 14, 2026

    @johnnyhuy
    ContributorAuthor

    agent claim: agent/issue-72-catalogue-equipment-swaps @ 193cbac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentclaimed by the BetterFit work loop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions