Assign a feature to a target version.
Arguments
$ARGUMENTS - Feature name and version name, e.g., "Router v0.2.0"
Steps
- •
Get the project for the current working directory:
- •Call
list_projectswithdirectory_pathset to the current working directory - •If no project found, tell the user to run
/manifest:initfirst
- •Call
- •
Parse arguments:
- •
Extract feature search term and version name from $ARGUMENTS
- •
If unclear, ask for clarification:
codePlease specify both feature and version: /manifest:assign [feature name] [version name] Example: /manifest:assign Router v0.2.0
- •
- •
Find the feature:
- •Call
find_featureswithproject_idandquery - •If no matches or multiple matches, clarify with user
- •Call
- •
Find the version:
- •Call
list_versionswith the project ID - •Match by name
- •If not found, list available versions
- •Call
- •
Assign the feature:
- •Call
set_feature_versionwithfeature_idandversion_id
- •Call
- •
Display result:
codeAssigned: [Feature title] → [Version name] [Version name] now has [N] features.
Unassigning
To remove a feature from a version, the user can say "unassign [feature]" and you should:
- •Call
set_feature_versionwithfeature_idandversion_id: null - •Confirm: "Unassigned: [Feature title] (now in backlog)"