{
  "schema_version": "1.0",
  "baseline": "A-runtime-ff-phase-2b",
  "phase": "Phase 2b seed",
  "updated_at": "2026-04-19",
  "owner": "session_a",
  "honest_note": "Seed data for docs/runtime/feature-flags-service/override_examples.json. Loaded at FastAPI startup (FF_OVERRIDES_PATH env overrides default). All rows are A-owned scaffolding — they do not reflect production tenant overrides. Row precedence on evaluation: inline request.overrides.user > inline request.overrides.tenant > store user-row > store tenant-row > evaluator defaults (stage / bucketing / default_value). Expired rows (expires_at in past) are treated as absent by the engine but kept here for inspection. approval_ref is display-only; no approval store is consulted in this phase.",
  "precedence_note": "See phase_2b_contract.json#override_store_shape.precedence_model for the exact 5-step order.",

  "overrides": [
    {
      "id": "ovr-tenant-pty-zeroth-cases-runtime-v1",
      "scope": "tenant",
      "flag_key": "cases.runtime_v1",
      "tenant_id": "pty-zeroth",
      "user_id": null,
      "value": true,
      "expires_at": null,
      "approval_ref": "APP-row-marketplace-propose-42",
      "created_at": "2026-04-19T05:00:00Z",
      "created_by": "U-TA-1",
      "source": "demo-seed",
      "rationale": "Pilot-tenant opt-in to cases.runtime_v1 while global rollout stays draft. Approval ref attached for demo only."
    },
    {
      "id": "ovr-tenant-pty-zeroth-hints-registry-v1",
      "scope": "tenant",
      "flag_key": "hints.registry_v1",
      "tenant_id": "pty-zeroth",
      "user_id": null,
      "value": true,
      "expires_at": "2026-07-01T00:00:00Z",
      "approval_ref": null,
      "created_at": "2026-04-19T05:01:00Z",
      "created_by": "U-TA-1",
      "source": "demo-seed",
      "rationale": "Time-limited hints preview for pilot tenant; expires 2026-07-01."
    },
    {
      "id": "ovr-tenant-pty-beta-dashboard-runtime-v1",
      "scope": "tenant",
      "flag_key": "dashboard.runtime_v1",
      "tenant_id": "pty-beta",
      "user_id": null,
      "value": false,
      "expires_at": null,
      "approval_ref": null,
      "created_at": "2026-04-19T05:02:00Z",
      "created_by": "U-TA-2",
      "source": "demo-seed",
      "rationale": "Beta tenant explicitly turns dashboard off until their signal pipeline is ready."
    },
    {
      "id": "ovr-user-U-42-hints-registry-v1",
      "scope": "user",
      "flag_key": "hints.registry_v1",
      "tenant_id": "pty-zeroth",
      "user_id": "U-42",
      "value": false,
      "expires_at": null,
      "approval_ref": null,
      "created_at": "2026-04-19T05:03:00Z",
      "created_by": "U-42",
      "source": "demo-seed",
      "rationale": "Subscriber opted out of hints even though tenant opted in. Demonstrates user-row winning over tenant-row."
    },
    {
      "id": "ovr-user-U-99-admin-control-plane-v1",
      "scope": "user",
      "flag_key": "admin.control_plane_v1",
      "tenant_id": "pty-zeroth",
      "user_id": "U-99",
      "value": true,
      "expires_at": "2026-04-19T08:00:00Z",
      "approval_ref": "APP-row-sensitive-override-7",
      "created_at": "2026-04-19T05:30:00Z",
      "created_by": "U-TA-1",
      "source": "demo-seed",
      "rationale": "Time-boxed admin elevation for U-99 during incident triage. Approval ref cites sensitive-override row; not verified by this scaffold."
    },
    {
      "id": "ovr-tenant-pty-expired-demo-generate-runtime-v1",
      "scope": "tenant",
      "flag_key": "generate.runtime_v1",
      "tenant_id": "pty-expired-demo",
      "user_id": null,
      "value": true,
      "expires_at": "2026-04-01T00:00:00Z",
      "approval_ref": null,
      "created_at": "2026-03-15T05:04:00Z",
      "created_by": "U-TA-3",
      "source": "demo-seed",
      "rationale": "Intentionally expired row (expires_at in the past) to exercise engine treating expired rows as absent."
    },
    {
      "id": "ovr-tenant-pty-zeroth-tenant-wizard-enabled",
      "scope": "tenant",
      "flag_key": "tenant.<tenant_id>.wizard_enabled",
      "tenant_id": "pty-zeroth",
      "user_id": null,
      "value": true,
      "expires_at": null,
      "approval_ref": "APP-row-wizard-bundle-finalize-11",
      "created_at": "2026-04-19T05:05:00Z",
      "created_by": "U-TA-1",
      "source": "demo-seed",
      "rationale": "Templated per-tenant flag override; resolves with tenant_id substitution at eval time."
    },
    {
      "id": "ovr-tenant-pty-zeroth-flags-registry-v1",
      "scope": "tenant",
      "flag_key": "flags.registry_v1",
      "tenant_id": "pty-zeroth",
      "user_id": null,
      "value": true,
      "expires_at": null,
      "approval_ref": null,
      "created_at": "2026-04-19T05:06:00Z",
      "created_by": "U-TA-1",
      "source": "demo-seed",
      "rationale": "Opt-in for internal-stage flag at tenant level (non-sensitive bootstrap flag)."
    }
  ]
}
