Beacon Verification Rate Gate

Gate ID: beacon-rate

Enforces minimum beacon verification rate for runtime canary coverage. When enabled, blocks or warns for releases where beacon coverage is insufficient in a required environment.

How It Works

  1. Checks if the target environment requires beacon coverage (configurable per environment)
  2. Reads beacon telemetry data from the policy context
  3. If no beacon data exists, applies the configured missing-beacon action (warn or block)
  4. If beacon count is below the minimum, defers rate enforcement (insufficient sample size)
  5. Compares verification rate against threshold, returns pass, warn, or block

Configuration

{
  "PolicyGates": {
    "BeaconRate": {
      "Enabled": false,
      "BelowThresholdAction": "Warn",
      "MissingBeaconAction": "Warn",
      "MinVerificationRate": 0.8,
      "RequiredEnvironments": ["production"],
      "MinBeaconCount": 10
    }
  }
}

Options

OptionTypeDefaultDescription
EnabledboolfalseWhether the gate is active (opt-in)
BelowThresholdActionenumWarnAction when rate is below threshold: Warn or Block
MissingBeaconActionenumWarnAction when no beacon data exists: Warn or Block
MinVerificationRatedouble0.8Minimum acceptable verification rate (0.0–1.0)
RequiredEnvironmentsstring[]["production"]Environments requiring beacon coverage
MinBeaconCountint10Minimum beacons before rate enforcement applies

Context Metadata Keys

The gate reads the following keys from PolicyGateContext.Metadata:

KeyTypeDescription
beacon_verification_ratedouble stringVerification rate (0.0–1.0)
beacon_verified_countint stringNumber of verified beacon events

Beacon Verification States

StateDescriptionDefault Behavior
No dataNo beacon telemetry availableDepends on MissingBeaconAction
Insufficient countFewer beacons than MinBeaconCountRate enforcement deferred (pass with warning)
Below thresholdRate < MinVerificationRateDepends on BelowThresholdAction
Above thresholdRate >= MinVerificationRatePass

Example Gate Results

Pass:

Beacon verification rate (95.0%) meets threshold (80.0%)

Pass (environment not required):

Beacon rate not required for environment 'dev'

Pass (insufficient sample):

Beacon count (3) below minimum (10); rate enforcement deferred

Warn (below threshold):

Beacon verification rate (60.0%) is below threshold (warn mode)

Fail (no data, block mode):

No beacon telemetry data available for this artifact

Fail (below threshold, block mode):

Beacon verification rate (60.0%) is below threshold (80.0%)

Integration

This gate consumes beacon verification rate data derived from stella.ops/beaconAttestation@v1 predicates. The rate is computed by the Signals beacon pipeline as verified_beacons / expected_beacons over a configurable lookback window.


Last updated: 2026-02-19.