
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview
Remove the ai_feature feature flag and all associated gating code. The search recommendations feature should be available to all authenticated users without requiring the flag to be enabled. The flag itself and all checks against it should be removed from the codebase.
Complexity: Medium
Target branch: hotfixes
Context
The search recommendations feature has been gated behind the ai_feature feature flag during its beta period. The feature is now stable and reliable, and is ready to be made available to all users. Only the ai_feature flag should be removed - the feature flags system itself and any other flags should remain intact.
The Change
Remove all references to the ai_feature feature flag across the codebase:
- Backend: Remove the
IsAIFeatureEnabledForUser permission class and remove it from the RecommendationView permission list (IsAuthenticated is already present). Remove the ai_feature entry from feature_flags.json.
- Frontend: Remove the
isAIFeatureEnabled Vuex getter and all conditional checks that use it. The shouldShowRecommendations computed property should no longer check the feature flag - recommendations should display whenever the other conditions are met (valid embed topic request, etc.).
- Tests: Update tests that assert feature flag behavior for this specific flag.
- Keep: The
feature_flags system itself, the check_feature_flag model method, and the generic hasFeatureEnabled getter should all remain intact for future use.
How to Get There
- Open a channel in the channel editor
- Use the import from channels flow
- The search recommendations panel should be visible alongside search results
Out of Scope
- Removing or modifying the feature flags system itself (
feature_flags.json schema loading, check_feature_flag model method, generic hasFeatureEnabled getter)
- Changes to the recommendations API logic, UI, or feedback/event tracking beyond removing the feature flag gating
Acceptance Criteria
🤖 This issue was written with AI assistance, under supervision, review and final edits by [@rtibbles] 🤖
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Remove the
ai_featurefeature flag and all associated gating code. The search recommendations feature should be available to all authenticated users without requiring the flag to be enabled. The flag itself and all checks against it should be removed from the codebase.Complexity: Medium
Target branch: hotfixes
Context
The search recommendations feature has been gated behind the
ai_featurefeature flag during its beta period. The feature is now stable and reliable, and is ready to be made available to all users. Only theai_featureflag should be removed - the feature flags system itself and any other flags should remain intact.The Change
Remove all references to the
ai_featurefeature flag across the codebase:IsAIFeatureEnabledForUserpermission class and remove it from theRecommendationViewpermission list (IsAuthenticatedis already present). Remove theai_featureentry fromfeature_flags.json.isAIFeatureEnabledVuex getter and all conditional checks that use it. TheshouldShowRecommendationscomputed property should no longer check the feature flag - recommendations should display whenever the other conditions are met (valid embed topic request, etc.).feature_flagssystem itself, thecheck_feature_flagmodel method, and the generichasFeatureEnabledgetter should all remain intact for future use.How to Get There
Out of Scope
feature_flags.jsonschema loading,check_feature_flagmodel method, generichasFeatureEnabledgetter)Acceptance Criteria
ai_featureentry removed fromfeature_flags.jsonIsAIFeatureEnabledForUserpermission class removed fromviewsets/user.pyIsAIFeatureEnabledForUserremoved fromRecommendationViewpermission listisAIFeatureEnabledVuex getter removed from session moduleshouldShowRecommendationsno longer checks the feature flagai_featureare updated or removedai_featurein the codebase🤖 This issue was written with AI assistance, under supervision, review and final edits by [@rtibbles] 🤖