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

未关闭
#9,006 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
python
领域
api, backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
9.9k
派生
658
平均合并
1 天 15 小时
30 天内合并 PR
168

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Flagsmith/flagsmith 的其他 Issue

查看 Flagsmith/flagsmith 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。