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

Đang mở
#9,006 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
9.9k
Fork
658
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
168

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Flagsmith/flagsmith

Tất cả issue của Flagsmith/flagsmith

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.