Git-like branching and merging
Version Control for Preferences
Treat taste profiles like code. Branch to explore alternative preference directions, commit iterations as you refine, and merge stakeholder input into a single unified profile.
Key Capabilities
Branch & Explore
Create branches from any taste profile to test alternative preference directions without affecting the main profile. Run A/B experiments across branches to measure downstream impact.
Diff & Compare
View structured diffs between any two profile versions. See exactly which dimensions changed, which thresholds shifted, and how new annotations altered the overall preference landscape.
Rollback & Restore
Every commit is immutable. Roll back to any previous version instantly if a batch of annotations introduces noise or a stakeholder review surfaces misalignment.
Collaborative Merge
Multiple teams can work on separate branches and merge results. Conflict resolution surfaces dimension-level disagreements so stakeholders can resolve them explicitly.
Usage
# Create a branch from the main profile
curl -X POST https://api.commandagi.com/v1/profiles/prof_main/branches \
-H "Authorization: Bearer $COMMANDAGI_API_KEY" \
-d '{ "name": "experiment/bold-colors" }'
# Commit new annotations to the branch
curl -X POST https://api.commandagi.com/v1/profiles/prof_main/branches/experiment-bold-colors/commit \
-H "Authorization: Bearer $COMMANDAGI_API_KEY" \
-d '{ "message": "Add 200 bold-palette labels" }'
# Merge back into main
curl -X POST https://api.commandagi.com/v1/profiles/prof_main/merge \
-H "Authorization: Bearer $COMMANDAGI_API_KEY" \
-d '{ "source": "experiment/bold-colors", "strategy": "weighted" }'