Product pillar · v0.14.0

product-feature-flags Product Feature Flags

Registry of runtime feature flags exposed to product surfaces. Each flag records its consumers (clients/services that read it), default and current values, optional kill-switch coverage, and the backend store that resolves it. Companion to product lifecycle milestones (which can flip flags as part of a launch or wind-down checklist). Scope: one per product. Lives at `product/feature-flags.yaml`.

$id · https://corpospec.com/schemas/v0.14.0/product-feature-flags.schema.json

Fields

Field Type Required Description
flags FeatureFlag[]
id PathRef? PathRef of this record (conventionally `product/feature-flags`). Optional for back-compat with draft-state payloads that omit the id; required once the registry is saved as a standalone pillar file.

Definitions

Shared types referenced within this schema.

FeatureFlag
type: object
FlagBackend
FlagConsumer
enum: "app", "edge-function", "build-time", "worker", "other"
FlagValue
IsoDate
ISO 8601 date (YYYY-MM-DD).
type: string
PathRef
Path-based cross-reference relative to .corpospec/ root. Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`
pattern: ^[a-z0-9_-]+(/[a-z0-9_.-]+)+$

Reference in your YAML

# yaml-language-server: $schema=https://corpospec.com/schemas/v0.14.0/product-feature-flags.schema.json