[Feature Proposal] Ruphex – Flagsmith Integration for Verified Feature-Flag Experiments

Ouverte
#9,006 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
python
Domaine
api, backend

Piste de recherche

This is a design proposal for a whole new integration, so start by reading the Flagsmith API documentation and the repository's existing structure for integrations and SDK/API clients to see where such a module would live. Then narrow the six-part scope into one concrete first slice — connection and authentication, or flag discovery — before writing anything, since the issue as filed defines no file, test or acceptance criterion. Done for this issue means an agreed, scoped design with named entry points, not a working integration.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Description

I propose building a Flagsmith integration for Ruphex that connects feature-flag experimentation with independent implementation verification.

The goal is to enable AI coding agents to create and evaluate competing application variants while using Flagsmith to manage feature flags, experiment allocation and real-user outcomes.

Ruphex will provide the verification layer. Flagsmith will provide the feature-flag and experimentation layer.

Proposed functionality

1. Flagsmith connection
  • Connect to a Flagsmith instance using its supported API.
  • Support both Flagsmith Cloud and self-hosted deployments.
  • Discover projects, environments, feature flags and available configuration.
  • Keep credentials secure and out of source control.
2. Experiment orchestration
  • Create or configure feature flags for competing application variants.
  • Associate variants with an experiment hypothesis.
  • Configure measurable goals and conversion events.
  • Support experiment lifecycle operations through supported Flagsmith interfaces.
3. AI-agent integration
  • Allow an authorized coding agent to propose experiment configurations.
  • Require human approval before consequential operations.
  • Record the agent's actions and experiment configuration.
  • Avoid silently changing production settings.
4. Ruphex verification
  • Verify candidate implementations independently before experiment exposure.
  • Execute acceptance criteria and regression checks.
  • Attach test evidence to each candidate.
  • Distinguish technical correctness from actual user-experiment performance.
5. Results and promotion
  • Retrieve experiment results from supported sources.
  • Display variant-level outcomes and relevant metrics.
  • Keep technical verification results separate from statistical experiment results.
  • Recommend a candidate based on evidence.
  • Require human approval before promoting a winning variant.

Important design principle

Flagsmith should remain responsible for feature-flag management and experiment allocation.

Ruphex should remain responsible for candidate generation, technical verification, evidence collection and decision support.

This integration must not duplicate Flagsmith's existing experimentation functionality.

Initial scope

The first implementation should focus on:

  1. Flagsmith connection and authentication.
  2. Feature-flag discovery and management.
  3. Experiment configuration.
  4. Variant verification through Ruphex.
  5. Results retrieval and evidence presentation.
  6. Human-approved promotion.

Advanced autonomous experimentation can be considered later.

Expected outcome

A reusable, documented, self-hostable Flagsmith integration that demonstrates how AI coding agents can work with real feature-flag experiments while maintaining independent technical verification and human-controlled releases.

Langage dominant
Python
Étoiles
9.9k
Forks
658
Merge moyen
1 j 15 h
PR mergées (30 j)
168

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Flagsmith/flagsmith

Toutes les issues de Flagsmith/flagsmith

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.