-
Notifications
You must be signed in to change notification settings - Fork 70
feat: Feature flag system (targeting + kill-switches) #625
Copy link
Copy link
Open
Labels
GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea: backendBackend API (Node/Express)Backend API (Node/Express)area: frontendFrontend (React/Vite)Frontend (React/Vite)difficulty: mediumModerate complexityModerate complexitydxDeveloper experienceDeveloper experienceenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea: backendBackend API (Node/Express)Backend API (Node/Express)area: frontendFrontend (React/Vite)Frontend (React/Vite)difficulty: mediumModerate complexityModerate complexitydxDeveloper experienceDeveloper experienceenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Background & current state
Risky features (ZK, asset payouts, token mode) need safe, controllable rollout and kill-switches. There's no feature-flag system; behavior is env-only and requires redeploys to change.
Goal
Add a feature flag system (env + runtime) with targeting and kill-switches, evaluated on both server and client.
Technical design
isEnabled(flag, context)) and client (hydrated safely). Targeting by org/user/percentage. Kill-switch flags for risky subsystems.Edge cases
Task breakdown
Acceptance criteria
Testing & verification
Out of scope
Dependencies / related
Difficulty: medium · Effort: M · dx