Feature Flags · Runtime Phase 1 Debug preview · registry + evaluation simulator · not an admin control plane

Runtime · Phase 1
Registry is live (real JSON, validated schema, referenced in planning). Phase 2a live: evaluator module + debug page → evaluator.html (pure JS · 19/19 examples pass · determinism verified). Phase 2a+ live: HTTP boundary scaffold → service.html (FastAPI · 4 endpoints · parity-locked Python port · dev-mode only · no Redis cache · no JWT yet). Spec: registry.json · evaluation_model.json · rollout_model.json · schema.json · evaluator_contract.json · evaluator_examples.json · evaluator.js.

Evaluation Simulator ลองจำลอง eval สำหรับ (tenant · user · env)

Input

Flag Registry 16 flags · click a row to expand

Quick Reference state machine + eval order

Rollout States (7)

  • draft — default · evaluator returns default_value
  • internal — staff dogfood only
  • pilot — named cohort
  • staged — rollout_pct bucketing
  • full — 100% rollout
  • paused — reversible emergency pause
  • rolled_back — requires new approval to re-promote

Evaluation Order (9 steps)

  • 1. flag exists?
  • 2. paused/rolled_back?
  • 3. dependencies satisfied?
  • 4. approval ref present (if required)?
  • 5. user override?
  • 6. tenant override?
  • 7. cohort bucketing (staged)?
  • 8. rollout stage map
  • 9. default_value
Feature Flags Runtime · Phase 1 · A-owned · v0.1 · registry live / evaluator not bound ← Planning spec · registry.json ↗